joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4316d0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x43172f
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4316fc
mov eax, 1
jmp 0x43174d
push str.RegDeleteKeyTransactedW
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43172d
push 0
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 4]
jmp 0x43174d
jmp 0x431748
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0
je 0x431748
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x43174d
mov eax, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x431aa0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4814e8
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x49f56c]
xor eax, ebp
mov dword [ebp - 0x2c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x23c], ecx
push 0
lea ecx, [ebp - 0x24]
call fcn.00431550
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x23c]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x23c]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00431960
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x431b33
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x230], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00431580
mov eax, dword [ebp - 0x230]
jmp 0x431bd2
mov dword [ebp - 0x10], 0x100
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x22c]
push edx
push 0
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x431ba0
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00431aa0
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x431b97
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x234], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00431580
mov eax, dword [ebp - 0x234]
jmp 0x431bd2
mov dword [ebp - 0x10], 0x100
jmp 0x431b3a
lea ecx, [ebp - 0x24]
call fcn.00431790
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x23c]
call fcn.00431620
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00431580
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.00464355
mov esp, ebp
pop ebp
ret 4
Function at 0x4321d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x4321d9
xor ecx, ecx
jne 0x4321d9
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x4321fa
mov eax, 0xd
jmp 0x432255
xor eax, eax
jne 0x4321e1
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x43220b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8

Function at 0x434ad0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
cmp edx, dword [ecx + 0x508]
jne 0x434b82
mov eax, dword [ebp - 8]
mov dword [eax + 0x508], 0
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x14]
test edx, edx
je 0x434b4e
mov eax, dword [ebp - 4]
add eax, 0x18
push eax
call fcn.0040b480
add eax, 0x70
mov ecx, eax
call fcn.004162b0
movzx ecx, al
test ecx, ecx
je 0x434b4e
mov edx, dword [ebp - 8]
mov dword [edx + 0x504], 2
push 1
push 0x8013
push 0x111
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.00435ac0
xor eax, eax
jmp 0x434bc7
mov eax, dword [ebp - 8]
cmp dword [eax + 0x500], 4
jl 0x434b74
push str.Fatal_Error:_can_not_download_config_file
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x504], 3
jmp 0x434b7c
mov ecx, dword [ebp - 8]
call fcn.004349b0
xor eax, eax
jmp 0x434bc7
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 0x50c]
jne 0x434bc5
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x50c], 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x14]
test eax, eax
je 0x434baa
jmp 0x434bc5
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x4ec], 0
push 0
push 0
push 0x6b
call fcn.00421280
add esp, 0xc
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x434d80
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
cmp edx, dword [ecx + 0x510]
jne 0x434de6
mov eax, dword [ebp - 8]
mov dword [eax + 0x510], 0
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x14]
test edx, edx
je 0x434dd7
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4ec], 0
sete cl
movzx edx, cl
push edx
mov eax, dword [ebp - 4]
add eax, 0x18
push eax
call fcn.00405310
add esp, 8
jmp 0x434de2
push str.Error:_can_not_download_exe_file
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x434de8
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x435090
Capabilities:
Create process on windows
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x848
mov eax, dword [0x49f56c]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x848], ecx
lea eax, [ebp - 8]
push eax
push 0x48c294
push 1
push 0
push 0x48c354
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4350cf
jmp 0x4351f9
lea ecx, [ebp - 4]
push ecx
push 0x48c344
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax]
call edx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4350f8
jmp 0x435215
push 0x104
lea eax, [ebp - 0x840]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea ecx, [ebp - 0x840]
push ecx
call fcn.00402890
add esp, 8
mov dword [ebp - 0x844], eax
mov edx, dword [ebp - 0x844]
push edx
call fcn.00464855
add esp, 4
sub eax, 4
push eax
mov eax, dword [ebp - 0x844]
push eax
lea ecx, [ebp - 0x428]
push ecx
call fcn.00437510
add esp, 0xc
push str..lnk
lea edx, [ebp - 0x428]
push edx
call fcn.00468d0b
add esp, 8
lea eax, [ebp - 0x840]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 0x50]
call ecx
lea edx, [ebp - 0x220]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 0x24]
call edx
push 0
push 0x10
lea eax, [ebp - 0x630]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x428]
push ecx
lea edx, [ebp - 0x630]
push edx
call fcn.00468d0b
add esp, 8
push 1
lea eax, [ebp - 0x630]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 0x18]
call ecx
push 1
push 0
push 0
lea edx, [ebp - 0x630]
push edx
push str.taskbarpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 8]
call ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00464355
mov esp, ebp
pop ebp
ret
Function at 0x43f070
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
mov esp, ebp
pop ebp
ret 4

Function at 0x4403f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov dword [edx], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], 0x10325476
mov eax, dword [ebp - 4]
mov dword [eax + 0x58], 0
mov esp, ebp
pop ebp
ret
Function at 0x4414d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482917
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x49f56c]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 0x94]
call fcn.00440360
mov dword [ebp - 0x1c], 0x100000
push 0x48943c
mov eax, dword [ebp + 0xc]
push eax
call fcn.00465a1f
add esp, 8
mov dword [ebp - 0x10], eax
push 0x100000
call fcn.00465a8b
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x10], 0
je 0x44159b
cmp dword [ebp - 0x18], 0
je 0x44159b
mov ecx, 1
test ecx, ecx
je 0x441597
mov edx, dword [ebp - 0x10]
push edx
push 0x100000
push 1
mov eax, dword [ebp - 0x18]
push eax
call fcn.00465645
add esp, 0x10
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
push ecx
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x94]
call fcn.00441210
cmp dword [ebp - 0x98], 0x100000
jae 0x441595
jmp 0x441597
jmp 0x44154b
mov byte [ebp - 0x11], 1
cmp dword [ebp - 0x10], 0
je 0x4415ad
mov eax, dword [ebp - 0x10]
push eax
call fcn.00465387
add esp, 4
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00464dcf
add esp, 4
movzx edx, byte [ebp - 0x11]
test edx, edx
je 0x441609
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x94]
call fcn.004412a0
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0xa8]
or edx, 1
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], eax
jmp 0x44164d
push 0x489444
lea ecx, [ebp - 0xa4]
call fcn.00406ad0
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0xa8]
or edx, 2
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x9c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00402940
mov eax, dword [ebp - 0xa8]
or eax, 4
mov dword [ebp - 0xa8], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0xa8]
and ecx, 2
je 0x44169b
and dword [ebp - 0xa8], 0xfffffffd
lea ecx, [ebp - 0xa4]
call fcn.004029a0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0xa8]
and edx, 1
je 0x4416bf
and dword [ebp - 0xa8], 0xfffffffe
lea ecx, [ebp - 0xa0]
call fcn.004029a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00464355
mov esp, ebp
pop ebp
ret
Function at 0x441e80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x441f88
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x441f88
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x441f88
mov eax, dword [ebp - 0x10]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x441f88
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00464a00
add esp, 0xc
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
push 1
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x441f7e
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call fcn.00443f70
test eax, eax
jne 0x441f70
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x451060
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x49f56c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push eax
call fcn.00450f80
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x45108d
mov al, 1
jmp 0x451175
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4510a9
mov al, 1
jmp 0x451175
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x451173
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x418]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
test ecx, ecx
je 0x451142
mov edx, dword [ebp - 4]
movzx eax, word [edx]
cmp eax, 0x5c
jne 0x451133
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 2]
cmp edx, 0x5c
je 0x451133
xor eax, eax
mov ecx, dword [ebp - 4]
mov word [ecx], ax
lea edx, [ebp - 0x418]
push edx
call fcn.00450f80
add esp, 4
movzx eax, al
test eax, eax
jne 0x451128
push 0
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x451128
xor al, al
jmp 0x451175
mov edx, 0x5c
mov eax, dword [ebp - 4]
mov word [eax], dx
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 4], eax
jmp 0x4510d2
lea edx, [ebp - 0x418]
push edx
call fcn.00450f80
add esp, 4
movzx eax, al
test eax, eax
jne 0x45116f
push 0
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x45116f
xor al, al
jmp 0x451175
mov al, 1
jmp 0x451175
xor al, al
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00464355
mov esp, ebp
pop ebp
ret

Function at 0x451b10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4837e7
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x49f56c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x23c], 0
mov byte [ebp - 0x234], 0
push 0x489afc
lea ecx, [ebp - 0x30]
call fcn.00408d90
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x30]
call fcn.00458170
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x30]
call fcn.00406c20
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x451bd6
mov dword [ebp - 0x238], 0x200
lea edx, [ebp - 0x238]
push edx
lea eax, [ebp - 0x234]
push eax
push 0
push 0
push 0x489b18
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x451bcc
mov byte [ebp - 0x234], 0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp + 8]
call fcn.00408d90
mov ecx, dword [ebp - 0x23c]
or ecx, 1
mov dword [ebp - 0x23c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00406bc0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00464355
mov esp, ebp
pop ebp
ret
Function at 0x453690
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 0x58], 0
push 0x40
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.00464570
add esp, 0xc
mov dword [ebp - 0x58], 0x44
mov dword [ebp - 0x2c], 0x81
cmp dword [ebp + 0xc], 0
je 0x4536cc
mov ecx, 0xa
mov word [ebp - 0x28], cx
jmp 0x4536d2
xor edx, edx
mov word [ebp - 0x28], dx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x58]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x45370e
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x453710
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x453940
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483ba6
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x49f56c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x22c], 0
xor eax, eax
mov word [ebp - 0x21c], ax
mov byte [ebp - 0x221], 0
push 0x489d94
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x4539ed
push 0x489dac
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
je 0x4539e0
lea edx, [ebp - 0x21c]
push edx
push 0
push 0
push 0x1a
push 0
call dword [ebp - 0x228]
test eax, eax
jl 0x4539e0
mov byte [ebp - 0x221], 1
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx ecx, byte [ebp - 0x221]
test ecx, ecx
jne 0x453a20
push 0x104
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x453a20
push str.Application_Data
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00406ad0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x22c]
or edx, 1
mov dword [ebp - 0x22c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464355
mov esp, ebp
pop ebp
ret
Function at 0x453c70
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 8], eax
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 4]
je 0x453ccb
push 1
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp 0x453cd5
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x453cef
push 9
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret
Function at 0x454850
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483dd1
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x49f56c]
xor eax, ebp
mov dword [ebp - 0x30], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x18]
call fcn.00448d50
mov dword [ebp - 4], 0
push 0x288
call fcn.00465a8b
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], 0x288
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x4548e7
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00464dcf
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
call fcn.00465a8b
add esp, 4
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4549da
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4549da
lea ecx, [ebp - 0x44]
call fcn.004028e0
mov byte [ebp - 4], 1
mov dword [ebp - 0x48], 0
jmp 0x45492f
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
cmp eax, dword [edx + 0x190]
jae 0x45497e
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x48]
movzx edx, byte [ecx + 0x194]
push edx
push str._02X
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
cmp dword [ebp - 0x48], 0
je 0x454970
push 0x489fd0
lea ecx, [ebp - 0x44]
call fcn.00401c40
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00401c40
jmp 0x454926
lea ecx, [ebp - 0x44]
call fcn.00402190
movzx edx, al
test edx, edx
jne 0x4549c1
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x2c]
add eax, 8
push eax
call fcn.00454a40
add esp, 4
test eax, eax
je 0x4549b5
lea ecx, [ebp - 0x44]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00406470
jmp 0x4549c1
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x18]
call fcn.00406470
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.004029a0
jmp 0x454907
cmp dword [ebp - 0x1c], 0
je 0x4549ec
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00464dcf
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x454a0a
mov ecx, dword [ebp + 8]
call fcn.00443890
test eax, eax
jne 0x454a0a
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
call fcn.00408920
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004063e0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.00464355
mov esp, ebp
pop ebp
ret