joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45661c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x456654]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x456635
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x456644
or bl, 4
test esi, 0x20000000
je 0x45664f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45ccfc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45cd0e
add esp, 0xfffffff0
call fcn.004034bc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419598
mov eax, dword [0x48ef68]
mov dword [eax + 4], ebx
mov dword [eax], 0x45d0a0
mov eax, dword [0x48ef78]
mov dword [eax + 4], ebx
mov dword [eax], 0x45d0ac
mov eax, ebx
call fcn.0045d0b8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411878]
call fcn.00403168
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411878]
call fcn.00403168
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411878]
call fcn.00403168
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411878]
call fcn.00403168
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411878]
call fcn.00403168
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x4594d4
push eax
push 0
push 0
mov eax, dword [0x48f0dc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b04c]
call fcn.0041c7c0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b04c]
call fcn.0041c7c0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b04c]
call fcn.0041c7c0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045d4d8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d3b4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d3b4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d3b4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45ce4b
call fcn.00403514
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45d198
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45d343
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45d324
mov dl, 1
mov eax, dword [0x411c94]
call fcn.00403168
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403ee8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45d313
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044acec
test al, al
je 0x45d306
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45d354
lea eax, [ebp - 0x254]
call fcn.00408cfc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45d306
xor eax, eax
push ebp
push 0x45d2ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45d38c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45d2e8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404158
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45d2e8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404158
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d306
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45d209
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415788
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d34a
lea eax, [ebp - 0x260]
call fcn.00403ee8
ret

Function at 0x45dc78
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x490bb0]
cmp byte [eax + 0xa5], 0
jne 0x45dce9
cmp dword [0x490bc8], 0
jne 0x45dcaa
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45dc34
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x490bc8], eax
cmp dword [0x490bc4], 0
jne 0x45dcc5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x490bc4], eax
cmp dword [0x490bcc], 0
jne 0x45dce9
push esp
push 0
push 0
push 0x45dbd8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x490bcc], eax
pop edx
ret
Function at 0x45dde0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45ddf7
add esp, 0xfffffff0
call fcn.004034bc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419598
mov eax, dword [0x48f0c8]
cmp word [eax + 2], 0
jne 0x45de1f
mov eax, dword [0x48f0c8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045f4d0
mov eax, dword [0x48f190]
cmp word [eax + 2], 0
jne 0x45de39
mov eax, dword [0x48f190]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045f6c8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411878]
call fcn.00403168
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411878]
call fcn.00403168
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41bb2c]
call fcn.0042357c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45dfc0
mov eax, dword [0x48efdc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042394c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45fc68
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x48efdc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c3c4
test eax, eax
je 0x45df2e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004086f0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c3ec
test eax, eax
je 0x45df42
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404158
mov eax, dword [0x48ee88]
cmp byte [eax], 0
jne 0x45df76
mov eax, ebx
call fcn.0045e0e8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045fe44
mov eax, ebx
call fcn.00460808
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45dfb6
call fcn.00403514
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e368
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x490bb0]
cmp dword [eax + 0x30], 0
je 0x45e412
cmp dword [ebx + 0x94], 0
jne 0x45e40c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45e2f8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45e40c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45e3d2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45e40c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413be0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45e3e1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45ef74
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45efa9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403fd8
jmp 0x45efb6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f3c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x460020
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x460061
mov eax, esi
call fcn.00446270
test al, al
je 0x460061
mov eax, dword [ebx + 0x84]
call fcn.00445f6c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x460061
push 0
mov eax, dword [ebx + 0x84]
call fcn.00445f6c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x463728
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x463756
mov eax, ebx
call fcn.004641dc
cmp dword [ebx + 0x40], 0
je 0x46374f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4637c7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4637b9
cmp dword [ebx + 8], 0
je 0x463778
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x46378a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4637b9
cmp dword [ebx + 8], 0
je 0x46376b
cmp eax, 3
je 0x46379d
dec eax
jne 0x46376b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46376b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46376b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4637e5
cmp dword [ebx + 0x14], 0xcc
je 0x4637e5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004637f0
pop ebx
ret
Function at 0x475168
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4753c8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4751cb
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00474c30
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040bfb0
cmp al, 1
jne 0x4751cb
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00474f48
test al, al
je 0x475357
cmp dword [ebp - 8], 0
jge 0x4751e9
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00474c30
mov eax, dword [ebp - 0x210]
call fcn.004041a8
cmp ebx, eax
jge 0x475233
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00474c30
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x48f2f0]
and eax, 0xff
bt dword [edx], eax
jae 0x475233
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x475247
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00475144
cmp ebx, dword [ebp - 8]
je 0x475349
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x475273
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403394
and eax, 0x7f
movzx eax, word [eax*2 + 0x48d7a4]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x475336
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403394
and eax, 0x7f
movzx eax, word [eax*2 + 0x48d7a4]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00445f6c
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403394
and eax, 0x7f
movzx eax, word [eax*2 + 0x48d7a4]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00445f6c
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47533d
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4753aa
cmp dword [ebp - 8], 0
jge 0x475362
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00474c30
mov eax, dword [ebp - 0x218]
call fcn.004041a8
cmp eax, dword [ebp - 8]
jg 0x47539c
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00474c30
mov eax, dword [ebp - 0x21c]
call fcn.004041a8
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00475144
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4753cf
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00403f0c
ret
Function at 0x4483ac
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x448484
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x48fb50], 0
jne 0x448468
lea eax, [ebp - 4]
mov edx, 0x44849c
call fcn.004618a0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00461c4c
mov esi, eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x448468
mov eax, ebx
call fcn.0046065c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x448461
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoA
test eax, eax
je 0x44844b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4484ac
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x44844b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x48fb50], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448468
mov eax, dword [ebp - 0xc]
call fcn.00460674
ret
mov ebx, dword [0x48fb50]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44848b
lea eax, [ebp - 4]
call fcn.00461808
ret

Function at 0x45c26c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x45c2a5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004618f0
jmp 0x45c2ae
mov eax, ebx
mov edx, esi
call fcn.0046185c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x45c2b8
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x45c2d9
mov al, byte [esp]
jmp 0x45c2db
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4608a0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x4608cf
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004618f0
jmp 0x4608ed
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00460828
mov edi, eax
test ebx, ebx
je 0x4608ed
cmp dword [esi], 0
je 0x4608ed
dec ebx
jmp 0x4608d6
add esp, 0x108
pop edi
pop esi
pop ebx
ret
Function at 0x470ec8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x470ef6
mov eax, ebx
call fcn.0047196c
cmp dword [ebx + 0x3c], 0
je 0x470eef
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x470f67
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x470f59
cmp dword [ebx + 8], 0
je 0x470f18
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x470f2a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x470f59
cmp dword [ebx + 8], 0
je 0x470f0b
cmp eax, 3
je 0x470f3d
dec eax
jne 0x470f0b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x470f0b
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x470f0b
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x470f85
cmp dword [ebx + 0x10], 0xcc
je 0x470f85
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00470f90
pop ebx
ret
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406787
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x3c871051
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x43bb4f18
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x402bdc
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
mov dword [ebp - 4], 0x208
push eax
push 0
push 0x401424
push ecx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x402c3d
mov eax, dword [ebp - 4]
cmp eax, 2
jb 0x402c38
shr eax, 1
xor ecx, ecx
cmp cx, word [esi + eax*2 - 2]
jne 0x402c38
mov eax, dword [ebp - 8]
sub eax, 1
je 0x402c34
sub eax, 1
jne 0x402c38
mov ecx, esi
call fcn.00402a6e
test eax, eax
jne 0x402c3d
xor eax, eax
jmp 0x402c3d
mov eax, 0x3f7
pop esi
leave
ret 8

Function at 0x403020
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x4036b8
call fcn.00403440
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x4043d0
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x402e3e
cmp eax, esi
jne 0x402e31
xor esi, esi
inc esi
mov edi, esi
jmp 0x402e41
push 0x3e8
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x402e15
xor esi, esi
inc esi
cmp dword [0x4043d4], esi
jne 0x402e53
push 0x1f
call fcn.0051b000
pop ecx
jmp 0x402e8d
cmp dword [0x4043d4], ebx
jne 0x402e87
mov dword [0x4043d4], esi
push 0x4011b8
push 0x4011ac
call fcn.00402f78
pop ecx
pop ecx
test eax, eax
je 0x402e8d
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x402f62
mov dword [0x404044], esi
cmp dword [0x4043d4], esi
jne 0x402eb0
push 0x4011a8
push 0x40119c
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x4043d4], 2
test edi, edi
jne 0x402ebd
xor eax, eax
mov ecx, 0x4043d0
xchg dword [ecx], eax
cmp dword [0x4043d8], 0
je 0x402ee9
push 0x4043d8
call fcn.00403270
pop ecx
test eax, eax
je 0x402ee9
push ebx
push 2
push ebx
mov esi, dword [0x4043d8]
mov ecx, esi
call dword [0x405168]
call esi
push dword [0x404050]
push dword [0x40404c]
push dword [0x404048]
call fcn.00401b97
add esp, 0xc
mov dword [0x404040], eax
cmp dword [0x404058], 0
jne 0x402f47
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x404044], 0
jne 0x402f5b
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x404040]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.0040337b
jmp 0x402df9
Function at 0x403140
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x403730
call fcn.00403440
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x4031a0
cmp eax, 0xffffffff
je 0x4031a0
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x403199
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x403199
cmp edx, 0x10000000
jae 0x403199
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x403196
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x403220
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40325e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x403256
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x403260
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x403246
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x403340
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x403371
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x403371
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x403371
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret