joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ae74
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1f8], 0
je 0x43ae95
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x43aeca
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x43aeba
mov eax, dword [ebp - 4]
call fcn.00439450
test eax, eax
jne 0x43aeba
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43aff4
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0043a848
jmp 0x43aff4
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x43afed
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.0043d700
push eax
call sub.user32.dll_BeginPaint
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.00436774
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0043ae74
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.0043d700
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43aff4
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_DeleteObject
ret
mov esp, ebp
pop ebp
ret
Function at 0x44337c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x45f14c]
cmp byte [eax + 0xc], 0
je 0x4434ee
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4434e7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x460b64], 0
jne 0x4433d5
push 0x4434f4
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [ebp - 4], eax
push 0x4434fc
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460b64], eax
cmp dword [0x45eb28], 0
jne 0x4434d0
push 0x44350c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45eb28], eax
cmp dword [0x45eb28], 0
je 0x4434d0
push 0x443518
mov eax, dword [0x45eb28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460b68], eax
push 0x443528
mov eax, dword [0x45eb28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460b6c], eax
push 0x44353c
mov eax, dword [0x45eb28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460b70], eax
push 0x443554
mov eax, dword [0x45eb28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460b74], eax
push 0x44356c
mov eax, dword [0x45eb28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460b78], eax
push 0x443580
mov eax, dword [0x45eb28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460b7c], eax
push 0x443598
mov eax, dword [0x45eb28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460b80], eax
push 0x4435b0
mov eax, dword [0x45eb28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460b84], eax
push 0x4435cc
mov eax, dword [0x45eb28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460b88], eax
push 0x4435d8
mov eax, dword [0x45eb28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4434ee
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 8]
call fcn.00403e10
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x447ee5
push pe_nt_image_headers32
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.00404080
mov esp, ebp
pop ebp
ret
Function at 0x450a7c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov al, byte [0x450ad4]
mov byte [ebp - 3], al
test byte [ebp - 2], 4
je 0x450a96
or byte [ebp - 3], 1
test byte [ebp - 2], 8
je 0x450aa0
or byte [ebp - 3], 4
test byte [ebp - 2], 1
je 0x450aaa
or byte [ebp - 3], 8
test byte [ebp - 2], 2
je 0x450ab4
or byte [ebp - 3], 0x10
test byte [ebp - 2], 0x10
je 0x450abe
or byte [ebp - 3], 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450ace
or byte [ebp - 3], 2
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x450ad8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x450b1c]
mov byte [ebp - 5], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450af9
or byte [ebp - 5], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450b09
or byte [ebp - 5], 4
test byte [ebp - 1], 0x20
je 0x450b13
or byte [ebp - 5], 2
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x458a7c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x458a8e
add esp, 0xfffffff0
call fcn.004033e4
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0041b534
mov eax, dword [0x45ee28]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x458fec
mov eax, dword [0x45ee34]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x45900c
mov eax, dword [ebp - 4]
call fcn.0045902c
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4122f4]
call fcn.004030a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4122f4]
call fcn.004030a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov dl, 1
mov eax, dword [0x4122f4]
call fcn.004030a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov dl, 1
mov eax, dword [0x4122f4]
call fcn.004030a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov dl, 1
mov eax, dword [0x4122f4]
call fcn.004030a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x10], eax
push 0x5a
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_GetDeviceCaps
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, 0x45443c
push eax
push 0
push 0
mov eax, dword [0x45ef74]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41d70c]
call fcn.0041ed04
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x41d70c]
call fcn.0041ed04
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov dl, 1
mov eax, dword [0x41d70c]
call fcn.0041ed04
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call fcn.00459578
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x4593c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x4593c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x4593c4
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x458c16
call fcn.0040343c
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x45917c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor edx, edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x459347
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x459325
mov dl, 1
mov eax, dword [0x412710]
call fcn.004030a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e10
lea eax, [ebp - 0x11c]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x45930e
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
call fcn.0044371c
test al, al
je 0x459302
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 0
lea ecx, [ebp - 0x264]
mov edx, 0x459358
lea eax, [ebp - 0x25c]
call fcn.00408bd0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x459302
xor eax, eax
push ebp
push 0x4592fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], pe_nt_image_headers32
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x459390
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4592e4
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.00404080
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + eax*4 - 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4592e4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.00404080
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459302
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x4591f1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dl, 1
call fcn.00416e2c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45934e
lea eax, [ebp - 0x268]
call fcn.00403e10
ret
Function at 0x459e80
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x460bb0]
cmp byte [eax + 0xa5], 0
jne 0x459ef7
cmp dword [0x460bc8], 0
jne 0x459eb5
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x459e3c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x460bc8], eax
cmp dword [0x460bc4], 0
jne 0x459ed0
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x460bc4], eax
cmp dword [0x460bcc], 0
jne 0x459ef7
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x459ddc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x460bcc], eax
pop ecx
pop ebp
ret

Function at 0x459fc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.00459f58
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x459fe1
xor eax, eax
call fcn.00459f90
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 9], 0
je 0x459ffb
mov al, 1
call fcn.00459f90
mov esp, ebp
pop ebp
ret

Function at 0x45a6c0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x460bb0]
cmp dword [eax + 0x30], 0
je 0x45a78a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x45a781
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x45a640
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x45a781
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45a73b
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x45a781
mov dword [ebp - 0xc], eax
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.00414afc
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x45a750
mov eax, dword [ebp - 4]
inc dword [eax + 0x94]
mov esp, ebp
pop ebp
ret

Function at 0x45b4a4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa4], 0
je 0x45b4e9
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.00403f00
jmp 0x45b4fa
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.00403e64
mov esp, ebp
pop ebp
ret
Function at 0x45c8a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
je 0x45c8f3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0043dbd0
test al, al
je 0x45c8f3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0043d700
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45c8f3
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0043d700
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret
Function at 0x9f0775
Capabilities:
Parse pe header

Disassembly:
jmp 0x9f0c69
call dword [0x9f0244]
jmp 0x9f0c69
call 0x9f0775
ret 0x8789
jne 0x9f092c
jmp 0x9f084b
call 0x9f07bb
arpl di, sp
xchg dword [esp], edx
lea edx, [edx + 0x333]
xchg dword [esp], edx
je 0x9f076e
jne 0x9f076e
sahf
ljmp 2
push ebp
jmp 0x9f0a7b
mov dword [0x9f0240], 1
jmp 0x9f04c2
sub esp, 0xc
jmp 0x9f0b2e
pushal
jmp 0x9f09c3
mov eax, dword [esp + 0x10]
jmp 0x9f0a1a
call 0x9f0971
mov edx, 0x243c8797
lea edi, [edi - 0x79]
xchg dword [esp], edi
jmp 0x9f08f6
call 0x9f09af
add dword [edi - 0x6472dbe4], eax
mov edx, 0x87fffffd
sbb al, 0x24
jmp 0x9f08de
push esp
jmp 0x9f09a9
push eax
jmp 0x9f04c7
push esi
jmp 0x9f0bba
cmp dword [0x9f0240], 0
jmp 0x9f0788
push edi
jmp 0x9f07b4
push ebx
jmp 0x9f07d8
jmp 0x9f096a
Function at 0x440a20
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4adb2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0049ffb4
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x440aa2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049d9a3
mov eax, dword [eax]
push 0x4ce240
push eax
call fcn.0048f584
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a023f
test bl, bl
je 0x440aa2
push 0x4ce240
lea ecx, [esp + 0xc]
call fcn.004a061b
push 0x4d1dc4
lea ecx, [esp + 0xc]
call fcn.004a061b
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x440ade
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a023f
jmp 0x440ba9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x440b62
lea edx, [esp + 0x7c]
push 0x4d1dc0
push edx
call fcn.0048f584
add esp, 8
test eax, eax
je 0x440b62
lea eax, [esp + 0x7c]
push 0x4d1dbc
push eax
call fcn.0048f584
add esp, 8
test eax, eax
je 0x440b62
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x440af2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004a023f
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4413a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x441402
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x441410
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4adbab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4d90a4]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x441548
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x441476
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a023f
xor eax, eax
jmp 0x4415bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a03c8
push esi
lea ecx, [esp + 0xc]
call fcn.004a0657
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x44159d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.004413a0
test eax, eax
jne 0x44159d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.004413a0
test eax, eax
jne 0x44159d
lea eax, [esp + 0x14]
push 0x4d1dd8
push eax
call fcn.00490730
mov esi, eax
add esp, 8
test esi, esi
jne 0x44157c
lea ecx, [esp + 0x14]
push 0x4d1dd4
push ecx
call fcn.004906b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x44157c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x44157f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a0378
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x44148e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a023f
xor eax, eax
jmp 0x4415bf
mov byte [esi], 0
push 0x4d1dd0
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004a023f
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x452e30
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x452e9e
cmp si, 0x69
ja 0x452e9e
add esi, 0xffd0
cmp si, 0x11
je 0x452e6e
push 0x11
call edi
test ax, ax
jge 0x452e6e
or esi, 0x2000
cmp si, 0x10
je 0x452e83
push 0x10
call edi
test ax, ax
jge 0x452e83
or esi, 0x4000
cmp si, 0x12
je 0x452e98
push 0x12
call edi
test ax, ax
jge 0x452e98
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x452eab
mov esi, 0xbd
jmp 0x452e5f
cmp si, 0x6e
jne 0x452eb8
mov esi, 0xbe
jmp 0x452e5f
cmp si, 0x6f
jne 0x452e59
mov esi, 0xbf
jmp 0x452e5f

Function at 0x454660
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4ea030]
xor edx, edx
cmp eax, edx
jne 0x454686
xor eax, eax
mov byte [eax + 0x4e9f30], al
inc eax
cmp eax, 0x100
jl 0x45466e
mov dword [0x4ea030], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4e9f30
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x454717
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4546ea
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4546b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x454790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4547e3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4547ca
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret