joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434820
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e20b
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x487b30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x224], 0
push 0
push 0x1c
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x220]
call fcn.004052f0
mov dword [ebp - 4], 0
push 0x476de4
lea ecx, [ebp - 0x220]
call fcn.00405390
push 0x476de8
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0040dc10
add esp, 0xc
mov ecx, dword [ebp - 0x224]
or ecx, 1
mov dword [ebp - 0x224], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.00443840
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.0045670b
mov esp, ebp
pop ebp
ret
Function at 0x4348f0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ed98
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x487b30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x476e04
push 0x87
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x434a3a
mov eax, dword [ebp - 0x10]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x434a3a
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x434a3a
mov edx, dword [ebp - 0x10]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x434a3a
lea eax, [ebp - 0x20]
push eax
call fcn.00434820
add esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
push 0
push 0x82
push 2
push 0
push 2
push 0x40000000
lea ecx, [ebp - 0x20]
call fcn.00419850
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x4349e5
push 0
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4349ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x20]
call fcn.00419850
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x434a2b
push 0x476e14
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x434a21
call dword [ebp - 0x34]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00443840
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x436f90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x436f99
xor ecx, ecx
jne 0x436f99
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x436fba
mov eax, 0xd
jmp 0x437015
xor eax, eax
jne 0x436fa1
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 0x436fcb
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 0x437850
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x487b30]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.004379b0
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004377e0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4378bb
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.00437a30
mov eax, dword [ebp - 0x224]
jmp 0x43794c
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x437921
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00437850
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x437918
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.00437a30
mov eax, dword [ebp - 0x228]
jmp 0x43794c
mov dword [ebp - 4], 0x100
jmp 0x4378c2
lea ecx, [ebp - 0x14]
call fcn.004379e0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.00437a80
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.00437a30
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0045670b
mov esp, ebp
pop ebp
ret 4
Function at 0x43d530
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x48ddb4]
mov dword [ebp - 4], eax
jmp 0x43d549
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x43d566
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x43d540
mov esp, ebp
pop ebp
ret

Function at 0x43d630
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.0043d600
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x43d6f3
cmp dword [ebp - 4], 0x50000000
jb 0x43d66c
cmp dword [ebp - 4], 0x80000000
ja 0x43d66c
mov dword [ebp - 4], 0x80010000
jmp 0x43d645
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x43d699
jmp 0x43d6f3
cmp dword [ebp - 0x10], 0x10000
jne 0x43d6dc
cmp dword [ebp - 0x14], 0x10000
jb 0x43d6dc
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x43d6cf
mov eax, dword [ebp - 0x24]
jmp 0x43d6f5
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x43d6ee
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x14]
push ecx
call fcn.0043d600
add esp, 4
mov dword [ebp - 4], eax
jmp 0x43d645
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x43d700
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.0043d5d0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x43d7cb
cmp dword [ebp - 4], 0x50000000
jb 0x43d741
cmp dword [ebp - 4], 0x80000000
ja 0x43d741
mov dword [ebp - 4], 0x4fff0000
jmp 0x43d71a
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x43d76e
jmp 0x43d7cb
cmp dword [ebp - 0x10], 0x10000
jne 0x43d7b1
cmp dword [ebp - 0x14], 0x10000
jb 0x43d7b1
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x43d7a4
mov eax, dword [ebp - 0x24]
jmp 0x43d7cd
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x43d7c6
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x10000
push ecx
call fcn.0043d5d0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x43d71a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x43db00
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x43db15
xor eax, eax
jmp 0x43db8a
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0x10000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x43db42
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x38d
jae 0x43db85
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x40], 0
je 0x43db83
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x43db7f
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x43db83
xor eax, eax
jmp 0x43db8a
jmp 0x43db39
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x43dc90
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x48ddc4], eax
je 0x43dcae
mov eax, 0x10dd
jmp 0x43dd8f
mov eax, dword [0x48ddd4]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43dd2c
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x43dd0a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x43dd0a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.0043dac0
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.0044c4a2
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x43dcb6
mov dword [0x48ddd4], 0
call fcn.0043d570
mov ecx, dword [0x48ddd0]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x43dd79
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0044c4a2
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x43dd44
mov dword [0x48ddd0], 0
mov dword [0x48ddc4], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x43e220
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x48ddc8], 0
je 0x43e239
mov eax, dword [0x48ddc8]
jmp 0x43e2d9
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x43e24b
xor eax, eax
jmp 0x43e2d9
push 8
call fcn.0044c473
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x43e2a1
mov dword [ebp - 4], 8
cmp dword [ebp - 8], 0
je 0x43e28a
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.0044c4a2
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov dword [0x48ddc8], eax
mov dword [0x48ddcc], 0
mov eax, dword [ebp - 4]
jmp 0x43e2d9
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x43e2bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x43e26b
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [0x48ddd0]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
mov dword [0x48ddd0], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x43f560
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], 0x678
jne 0x43f581
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
cmp eax, dword [ebp + 0xc]
jbe 0x43f593
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x43f6db
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x14]
push ecx
push 0x40
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x43f6d8
lea eax, [ebp - 4]
push eax
push 0x40
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x43f6bc
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x10]
push eax
call fcn.0045bfd0
add esp, 0xc
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
add eax, 0x5c
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x14]
push edx
call fcn.0045bfd0
add esp, 0xc
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x18], 0
je 0x43f699
lea ecx, [ebp - 0x10]
push ecx
push 0x40
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x43f697
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x664
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x18]
push ecx
call fcn.0045bfd0
add esp, 0xc
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 8], 1
jmp 0x43f6a0
mov dword [ebp - 8], 1
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x442c90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x2001f
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x442cee
cmp dword [ebp - 8], 0
je 0x442cee
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x443710
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x487b30]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.00459420
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jne 0x44376b
cmp dword [ebp - 0x118], 2
jne 0x44376b
mov eax, 8
jmp 0x443786
cmp dword [ebp - 0x11c], 5
jne 0x443784
cmp dword [ebp - 0x118], 1
jb 0x443784
mov eax, 5
jmp 0x443786
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045670b
mov esp, ebp
pop ebp
ret

Function at 0x4437d0
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x48ddd8], 0
jne 0x4437f2
push 0
push 0
push 0x4437a0
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x48ddd8], eax
mov eax, dword [0x48ddd8]
pop ebp
ret

Function at 0x443ba0
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 esp, ebp
pop ebp
ret

Function at 0x45670b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x487b30]
jne 0x456715
repz ret
jmp fcn.0045b232
Function at 0x4581c1
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4581f2
call fcn.00459760
mov dword [eax], esi
call fcn.0045974d
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00456df5
add esp, 0x14
push 0x16
pop eax
jmp 0x458247
test dword [ebp + 0xc], 0xfffffff9
jne 0x4581ce
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x45821f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00459773
pop ecx
call fcn.0045974d
mov eax, dword [eax]
jmp 0x458247
test al, 0x10
jne 0x458245
test al, 1
je 0x458245
test byte [ebp + 0xc], 2
je 0x458245
call fcn.00459760
mov dword [eax], 5
call fcn.0045974d
mov dword [eax], 0xd
jmp 0x458216
xor eax, eax
pop esi
pop ebp
ret

Function at 0x46527d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0045ac41
and dword [ebp - 4], 0
cmp dword [0x48db58], 0
mov ebx, eax
jne 0x46532e
push 0x473b1c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4653df
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x473b10
push edi
call esi
test eax, eax
je 0x4653df
push eax
call fcn.0045abcf
mov dword [esp], 0x473b00
push edi
mov dword [0x48db58], eax
call esi
push eax
call fcn.0045abcf
mov dword [esp], 0x473aec
push edi
mov dword [0x48db5c], eax
call esi
push eax
call fcn.0045abcf
mov dword [esp], 0x473ad0
push edi
mov dword [0x48db60], eax
call esi
push eax
call fcn.0045abcf
pop ecx
mov dword [0x48db68], eax
test eax, eax
je 0x46532e
push 0x473ab8
push edi
call esi
push eax
call fcn.0045abcf
pop ecx
mov dword [0x48db64], eax
mov eax, dword [0x48db64]
cmp eax, ebx
je 0x465386
cmp dword [0x48db68], ebx
je 0x465386
push eax
call fcn.0045ac4a
push dword [0x48db68]
mov esi, eax
call fcn.0045ac4a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x465386
test edi, edi
je 0x465386
call esi
test eax, eax
je 0x46537d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46537d
test byte [ebp - 0xc], 1
jne 0x465386
or dword [ebp + 0x10], 0x200000
jmp 0x4653bf
mov eax, dword [0x48db5c]
cmp eax, ebx
je 0x4653bf
push eax
call fcn.0045ac4a
pop ecx
test eax, eax
je 0x4653bf
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4653bf
mov eax, dword [0x48db60]
cmp eax, ebx
je 0x4653bf
push eax
call fcn.0045ac4a
pop ecx
test eax, eax
je 0x4653bf
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x48db58]
call fcn.0045ac4a
pop ecx
test eax, eax
je 0x4653df
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4653e1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46c228
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x48dc28], 0
push esi
jne 0x46c19b
call fcn.0046c0c1
test eax, eax
je 0x46c1de
mov eax, dword [0x48dc28]
cmp eax, 1
jne 0x46c1bc
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x46c1de
pop esi
ret
push eax
call dword [0x48dc30]
test eax, eax
jne 0x46c226
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x46c1e2
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x48dc28]
call dword [0x48dc30]
mov edi, eax
test edi, edi
je 0x46c207
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x46c223
mov edi, esi
add esi, 0xff0
push edi
push dword [0x48dc28]
call dword [0x48dc2c]
add edi, 0x10
cmp edi, esi
jb 0x46c20f
mov eax, edi
pop edi
pop esi
ret
jmp 0x46c188