joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e4f0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x478b80]
cmp byte [eax + 0xc], 0
je 0x43e65d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43e656
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x479b68], 0
jne 0x43e544
push 0x43e664
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43e66c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479b68], eax
cmp dword [0x474b24], 0
jne 0x43e63f
push 0x43e67c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x474b24], eax
cmp dword [0x474b24], 0
je 0x43e63f
push 0x43e688
mov eax, dword [0x474b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479b6c], eax
push 0x43e698
mov eax, dword [0x474b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479b70], eax
push 0x43e6ac
mov eax, dword [0x474b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479b74], eax
push 0x43e6c4
mov eax, dword [0x474b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479b78], eax
push 0x43e6dc
mov eax, dword [0x474b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479b7c], eax
push 0x43e6f0
mov eax, dword [0x474b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479b80], eax
push 0x43e708
mov eax, dword [0x474b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479b84], eax
push 0x43e720
mov eax, dword [0x474b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479b88], eax
push 0x43e73c
mov eax, dword [0x474b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479b8c], eax
push 0x43e748
mov eax, dword [0x474b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x479b90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e65d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x442c94
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004044f8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x442ce3
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404768
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44a55c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44a5ac]
test si, 4
je 0x44a570
or bl, 1
test si, 8
je 0x44a57a
or bl, 4
test si, 1
je 0x44a584
or bl, 8
test si, 2
je 0x44a58e
or bl, 0x10
test si, 0x10
je 0x44a598
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a5a7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44a5b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44a5e8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a5c9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a5d8
or bl, 4
test esi, 0x20000000
je 0x44a5e3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x450cac
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x450cbe
add esp, 0xfffffff0
call fcn.00403aa4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d52c
mov eax, dword [0x478820]
mov dword [eax + 4], ebx
mov dword [eax], 0x451050
mov eax, dword [0x47882c]
mov dword [eax + 4], ebx
mov dword [eax], 0x45105c
mov eax, ebx
call fcn.00451068
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415800]
call fcn.0040373c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415800]
call fcn.0040373c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415800]
call fcn.0040373c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415800]
call fcn.0040373c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415800]
call fcn.0040373c
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, 0x44d480
push eax
push 0
push 0
mov eax, dword [0x478980]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ef90]
call fcn.00420650
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ef90]
call fcn.00420650
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ef90]
call fcn.00420650
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004514b8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451380
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451380
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451380
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x450dfb
call fcn.00403afc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x451164
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 0x45130f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4512f0
mov dl, 1
mov eax, dword [0x415c1c]
call fcn.0040373c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004044f8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4512df
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.0043e850
test al, al
je 0x4512d2
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, 0x451320
lea eax, [ebp - 0x254]
call fcn.0040966c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4512d2
xor eax, eax
push ebp
push 0x4512cb
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 0x451358
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4512b4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404768
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 0x4512b4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404768
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4512d2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4511d5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041971c
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 0x451316
lea eax, [ebp - 0x260]
call fcn.004044f8
ret

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

Disassembly:
push ecx
mov eax, dword [0x479bb4]
cmp byte [eax + 0xa5], 0
jne 0x451cc9
cmp dword [0x479bcc], 0
jne 0x451c8a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x451c14
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x479bcc], eax
cmp dword [0x479bc8], 0
jne 0x451ca5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x479bc8], eax
cmp dword [0x479bd0], 0
jne 0x451cc9
push esp
push 0
push 0
push 0x451bb8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x479bd0], eax
pop edx
ret
Function at 0x45235c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x479bb4]
cmp dword [eax + 0x30], 0
je 0x452406
cmp dword [ebx + 0x94], 0
jne 0x452400
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4522ec
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x452400
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 0x4523c6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x452400
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.00417b8c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4523d5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x452f64
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 0x452f99
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.004045e8
jmp 0x452fa6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040454c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4540e0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x454121
mov eax, esi
call fcn.0043a058
test al, al
je 0x454121
mov eax, dword [ebx + 0x84]
call fcn.00439d54
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x454121
push 0
mov eax, dword [ebx + 0x84]
call fcn.00439d54
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x459ee8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004049a8
xor eax, eax
push ebp
push 0x459f7f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.004044f8
mov eax, dword [ebp - 4]
call fcn.004047b8
test eax, eax
jle 0x459f61
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 1
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov dl, byte [edx + ecx - 1]
xor dl, 0x10
and edx, 0xff
sub edx, 0xf
call fcn.004046e0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004047c0
mov eax, dword [ebp - 8]
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x459f2d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459f86
lea eax, [ebp - 0x14]
call fcn.004044f8
lea eax, [ebp - 4]
call fcn.004044f8
ret
Function at 0x4614ec
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x4615c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x78]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
dec eax
test eax, eax
jb 0x4615c4
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
add eax, dword [edx + 0x20]
mov edx, dword [ebp - 0x20]
shl edx, 2
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x4615bc
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
add eax, dword [edx + 0x24]
mov edx, dword [ebp - 0x20]
add edx, edx
add eax, edx
mov ax, word [eax]
mov word [ebp - 0x2e], ax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
movzx edx, word [ebp - 0x2e]
shl edx, 2
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
jmp 0x4615c4
inc dword [ebp - 0x20]
dec dword [ebp - 0x38]
jne 0x461553
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4626ec
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor ecx, ecx
mov dword [ebp - 0xc], ecx
test dl, dl
je 0x462703
add esp, 0xfffffff0
call fcn.00403aa4
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4627bb
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push 1
push 0
push 0x4627e4
push 0x80000000
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x462790
mov dword [ebp - 0x1c], 0x104
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
xor edx, edx
call fcn.004045e8
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0x462820
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x462787
push 0x40
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x415e40]
call fcn.00419c80
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0046283c
mov eax, dword [ebp - 0x10]
call fcn.0040376c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4627c2
lea eax, [ebp - 0xc]
call fcn.004044f8
ret
Function at 0x463898
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
xor ebx, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x463a63
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 6
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x463a7c
call fcn.00409704
mov eax, dword [ebp - 0x28]
call fcn.004049b8
push eax
call sub.kernel32.dll_OutputDebugStringA
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 8]
call fcn.004046f0
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00462e20
test al, al
je 0x4639f9
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00463d30
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4639f9
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x1c0]
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x20]
call fcn.00404780
mov eax, dword [ebp - 0x20]
call fcn.004047b8
test eax, eax
jne 0x46396c
lea eax, [ebp - 0x20]
call fcn.00408fec
push dword [ebp - 0x20]
push 0x463aa4
push dword [ebp - 0x18]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404878
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x463aa4
mov edx, 0x463ab0
mov eax, dword [ebp - 0x24]
call fcn.00461a58
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x24]
call fcn.00404590
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x463abc
call fcn.00409704
mov eax, dword [ebp - 0x40]
call fcn.004049b8
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x24]
call fcn.004049b8
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x463a23
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463a6a
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.0040451c
lea eax, [ebp - 0x38]
call fcn.00404bd8
lea eax, [ebp - 0x34]
call fcn.004044f8
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.0040451c
lea eax, [ebp - 0x18]
call fcn.004044f8
ret
Function at 0x467889
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov ecx, 3
push ebx
push esi
push edi
lea edi, [ebp - 0x20]
mov dword [ebp - 0x10], 0x2710
mov esi, 0x474ee4
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov byte [ebp - 0x20], 0x5c
mov byte [ebp - 0x1f], 0x5c
mov byte [ebp - 0x1e], 0x2e
mov byte [ebp - 0x1d], 0x5c
mov byte [ebp - 0x1c], 0x4c
mov byte [ebp - 0x1b], 0x50
mov byte [ebp - 0x1a], 0x54
mov byte [ebp - 0x19], 0x4d
mov byte [ebp - 0x18], 0x48
mov byte [ebp - 0x17], 0x31
mov byte [ebp - 0x16], 0
mov byte [ebp - 0x15], 0
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x13], 0
mov byte [ebp - 0x12], 0
call fcn.00466f0b
mov edi, eax
call fcn.00466f0b
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4679d4
call fcn.00466f0b
mov edi, eax
mov esi, 1
mov eax, esi
add al, 0x30
mov byte [ebp - 0x17], al
push 0
push 0x80
push 3
push 0
push 7
push 0xc0000000
lea edx, [ebp - 0x20]
push edx
call fcn.00466c24
add esp, 0x1c
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4679ae
push 0
lea eax, [ebp - 4]
push eax
push 0x120
push dword [ebp + 0x10]
push 0x130
push dword [ebp + 0xc]
push 0x860021b0
push ebx
call fcn.00466cad
add esp, 0x20
test eax, eax
je 0x467994
push ebx
call fcn.00466e94
pop ecx
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0046d3dc
add esp, 8
mov ebx, eax
test ebx, ebx
jne 0x46797f
mov eax, ebx
jmp 0x4679e7
inc dword [ebp - 8]
push 1
call fcn.00466d49
cmp dword [ebp - 8], 0xa
pop ecx
jle 0x4679c0
mov eax, ebx
jmp 0x4679e7
push ebx
call fcn.00466e94
pop ecx
call fcn.00466f81
mov ebx, eax
cmp ebx, 0x57
jne 0x4679c0
mov eax, 0x753c
jmp 0x4679e7
call fcn.00466f81
cmp eax, 5
jne 0x4679c0
push 0x32
call fcn.00466d49
pop ecx
inc esi
cmp esi, 4
jb 0x46790c
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
cmp edi, edx
jae 0x4679e2
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x10]
cmp edi, ecx
jb 0x467900
mov eax, 0x4f1a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x469fb9
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x10], edx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x46ab81
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov byte [eax], 0x52
mov edx, dword [ebp + 0xc]
mov byte [edx + 1], 0x43
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 2], 0x36
mov eax, dword [ebp + 0xc]
mov byte [eax + 3], 0
mov edx, dword [ebp + 0xc]
mov dword [edx + 4], 0xb8
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 4
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], 0xb7e15163
mov ebx, 1
mov eax, dword [ebp + 0xc]
add eax, 8
mov edx, dword [eax]
inc ebx
add edx, 0x9e3779b9
mov dword [eax + 4], edx
add eax, 4
cmp ebx, 0x2b
jle 0x46abd1
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov edi, ecx
cmp dword [ebp - 8], 0x2c
mov esi, ecx
mov ebx, eax
jle 0x46abfd
mov eax, dword [ebp - 8]
jmp 0x46ac02
mov eax, 0x2c
lea edx, [eax + eax*2]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x14]
jg 0x46ac7c
push 3
mov eax, dword [ebp + 0xc]
add esi, dword [eax + ebx*4 + 8]
add esi, edi
push esi
call fcn.0046aedf
mov edx, dword [ebp + 0xc]
mov esi, eax
add esp, 8
mov dword [edx + ebx*4 + 8], eax
lea edx, [edi + esi]
push edx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov edx, dword [ecx + eax*4]
add edx, esi
add edi, edx
push edi
call fcn.0046aedf
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov edi, eax
add esp, 8
mov dword [ecx + edx*4], eax
lea eax, [ebx + 1]
cdq
mov ecx, 0x2c
idiv ecx
mov eax, dword [ebp - 0xc]
mov ebx, edx
inc eax
cdq
idiv dword [ebp - 8]
mov dword [ebp - 0xc], edx
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x14]
jle 0x46ac17
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46fed0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push es
mov ax, 0x101f
mov es, eax
xor eax, eax
mov esi, eax
mov ecx, 0x8000
xor al, byte es:[esi]
inc esi
loop 0x46fee5
pop es
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
jne 0x46fef9
mov byte [ebp - 1], 0x55
mov al, byte [ebp - 1]
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop esi
pop ecx
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x401050
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_narrow_argv
call sym.__initialize_narrow_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___argv
mov edi, dword [eax]
call sym.__get_initial_narrow_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._main
mov dword [esp], eax
call sym._exit
nop
nop