joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453214
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 0x4533bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4533a0
mov dl, 1
mov eax, dword [0x412ed8]
call fcn.00403e14
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404bd0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45338f
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.00440c9c
test al, al
je 0x453382
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, 0x4533d0
lea eax, [ebp - 0x254]
call fcn.00409bcc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x453382
xor eax, eax
push ebp
push 0x45337b
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 0x453408
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x453364
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404e40
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 0x453364
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404e40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453382
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x453285
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004169cc
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 0x4533c6
lea eax, [ebp - 0x260]
call fcn.00404bd0
ret

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

Disassembly:
push ecx
mov eax, dword [0x471bb0]
cmp byte [eax + 0xa5], 0
jne 0x453d79
cmp dword [0x471bc8], 0
jne 0x453d3a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x453cc4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x471bc8], eax
cmp dword [0x471bc4], 0
jne 0x453d55
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x471bc4], eax
cmp dword [0x471bcc], 0
jne 0x453d79
push esp
push 0
push 0
push 0x453c68
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x471bcc], eax
pop edx
ret
Function at 0x45440c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x471bb0]
cmp dword [eax + 0x30], 0
je 0x4544b6
cmp dword [ebx + 0x94], 0
jne 0x4544b0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45439c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4544b0
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 0x454476
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4544b0
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.00414e24
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x454485
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x455014
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 0x455049
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.00404cc0
jmp 0x455056
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404c24
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45622c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45626d
mov eax, esi
call fcn.0043c318
test al, al
je 0x45626d
mov eax, dword [ebx + 0x84]
call fcn.0043c014
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45626d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043c014
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x459958
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x459986
mov eax, ebx
call fcn.0045a40c
cmp dword [ebx + 0x40], 0
je 0x45997f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4599f7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4599e9
cmp dword [ebx + 8], 0
je 0x4599a8
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 0x4599ba
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4599e9
cmp dword [ebx + 8], 0
je 0x45999b
cmp eax, 3
je 0x4599cd
dec eax
jne 0x45999b
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 0x45999b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45999b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x459a15
cmp dword [ebx + 0x14], 0xcc
je 0x459a15
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.00459a20
pop ebx
ret
Function at 0x46a618
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x108], ebx
mov dword [ebp - 0x10c], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405080
xor eax, eax
push ebp
push 0x46a7b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x46a7c8
call fcn.00404fdc
jne 0x46a690
push 0xff
lea eax, [ebp - 0x103]
push eax
push 0x46a7d4
call sub.kernel32.dll_GetEnvironmentVariableA
mov eax, esi
lea edx, [ebp - 0x103]
mov ecx, 0xff
call fcn.00404e40
jmp 0x46a78a
mov eax, dword [ebp - 4]
mov edx, 0x46a7e8
call fcn.00404fdc
jne 0x46a6cc
push 0xff
lea eax, [ebp - 0x103]
push eax
push 0x46a7f4
call sub.kernel32.dll_GetEnvironmentVariableA
mov eax, esi
lea edx, [ebp - 0x103]
mov ecx, 0xff
call fcn.00404e40
jmp 0x46a78a
mov eax, dword [ebp - 4]
mov edx, 0x46a808
call fcn.00404fdc
jne 0x46a6ee
mov ecx, esi
mov edx, 0x46a81c
mov eax, ebx
call fcn.0046a880
jmp 0x46a78a
mov eax, dword [ebp - 4]
mov edx, 0x46a830
call fcn.00404fdc
jne 0x46a70d
mov ecx, esi
mov edx, 0x46a844
mov eax, ebx
call fcn.0046a880
jmp 0x46a78a
mov eax, dword [ebp - 4]
mov edx, 0x46a854
call fcn.00404fdc
jne 0x46a753
lea edx, [ebp - 0x10c]
mov eax, dword [0x4709c0]
mov eax, dword [eax]
call fcn.00455bdc
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.0040934c
mov edx, dword [ebp - 0x108]
mov eax, esi
mov ecx, 0x46a868
call fcn.00404edc
jmp 0x46a78a
mov eax, dword [ebp - 4]
mov edx, 0x46a874
call fcn.00404fdc
jne 0x46a783
lea edx, [ebp - 0x110]
mov eax, dword [0x4709c0]
mov eax, dword [eax]
call fcn.00455bdc
mov eax, dword [ebp - 0x110]
mov edx, esi
call fcn.00409318
jmp 0x46a78a
mov eax, esi
call fcn.00404bd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a7b7
lea eax, [ebp - 0x110]
mov edx, 3
call fcn.00404bf4
lea eax, [ebp - 4]
call fcn.00404bd0
ret

Function at 0x46a880
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405080
xor eax, eax
push ebp
push 0x46a927
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x42e1d0]
call fcn.0042e2a0
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x46a90a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 8]
call fcn.0042e340
xor ecx, ecx
mov edx, 0x46a93c
mov eax, dword [ebp - 8]
call fcn.0042e3a4
test al, al
je 0x46a8ec
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0042e540
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a911
mov eax, dword [ebp - 8]
call fcn.0042e310
mov eax, dword [ebp - 8]
call fcn.00403e44
ret
Function at 0x46b4c4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405080
mov eax, dword [ebp - 8]
call fcn.00405080
xor eax, eax
push ebp
push 0x46b61a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
xor edx, edx
mov eax, 0xf
call fcn.0046a1c0
mov esi, eax
mov dword [ebp - 0x138], 0x128
lea edx, [ebp - 0x138]
mov eax, esi
call fcn.0046a1e0
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x46b5d9
lea edx, [ebp - 0x13c]
lea eax, [ebp - 0x114]
call fcn.0040974c
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x10]
call fcn.0040897c
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 0x10]
call fcn.0040897c
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x144]
mov eax, dword [ebp - 4]
call fcn.0040897c
mov edx, dword [ebp - 0x144]
pop eax
call fcn.00404fdc
jne 0x46b5c6
mov eax, dword [ebp - 8]
mov edx, 0x46b634
call fcn.00404fdc
jne 0x46b5a3
mov byte [ebp - 9], 1
jmp 0x46b5e1
push 0
mov eax, dword [ebp - 0x130]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
jmp 0x46b5e1
lea edx, [ebp - 0x138]
mov eax, esi
call fcn.0046a200
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x46b53e
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b621
lea eax, [ebp - 0x144]
mov edx, 3
call fcn.00404bf4
lea eax, [ebp - 0x10]
call fcn.00404bd0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404bf4
ret
Function at 0x10026a7
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
xor eax, eax
inc eax
cmp dword [0x1005338], eax
mov dword [ebp - 8], 0x37
mov dword [ebp - 0xc], eax
jl 0x100272a
push ebx
push esi
mov ebx, 0x1005360
xor esi, esi
inc esi
cmp dword [0x1005334], esi
mov dword [ebp - 4], 0xc
jl 0x1002713
push 0xcc0020
xor eax, eax
mov al, byte [ebx + esi]
push 0
push 0
and eax, 0x1f
push dword [eax*4 + 0x1005a20]
push 0x10
push 0x10
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
add dword [ebp - 4], 0x10
inc esi
cmp esi, dword [0x1005334]
jle 0x10026db
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
add dword [ebp - 8], 0x10
add ebx, 0x20
cmp eax, dword [0x1005338]
jle 0x10026c9
pop esi
pop ebx
leave
ret 4

Function at 0x1002d55
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push 4
push 0
push dword [eax*4 + 0x10050d0]
push dword [0x1005950]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x1002d7a
Capabilities:
Set registry value

Disassembly:
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0xc]
mov eax, dword [esp + 0xc]
push 1
push 0
push dword [eax*4 + 0x10050d0]
push dword [0x1005950]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x1003e21
Capabilities:
Parse pe header

Disassembly:
push 0x70
push 0x1001390
call fcn.0100400c
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x1003e5e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1003e5e
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1003e76
cmp eax, 0x20b
je 0x1003e63
mov dword [ebp - 0x1c], ebx
jmp 0x1003e8a
cmp dword [ecx + 0x84], 0xe
jbe 0x1003e5e
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x1003e84
cmp dword [ecx + 0x74], 0xe
jbe 0x1003e5e
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1005b8c], 0xffffffff
or dword [0x1005b90], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1005178]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1005174]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1005b94], eax
call fcn.01004006
cmp dword [0x1005138], ebx
jne 0x1003ee5
push fcn.01004006
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01003ff4
push 0x10011c4
push 0x10011c0
call sub.msvcrt.dll__initterm
mov eax, dword [0x1005170]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x100516c]
xor eax, 0xc3000001
invalid
Function at 0x40719f
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.00409332
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.00409332
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jne 0x40721b
mov eax, dword [0x51f700]
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 0x1c
call fcn.0040933e
cmp dword [ebp - 0x18], esp
je 0x407247
push 6
call fcn.00409338
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0xf01ff
push dword [ebp - 4]
mov eax, 0x27
call fcn.0040933e
cmp dword [ebp - 0x18], esp
je 0x407275
push 6
call fcn.00409338
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push str.SeDebugPrivilege
push 0
mov eax, 0x28
call fcn.0040933e
cmp dword [ebp - 0x18], esp
je 0x4072a1
push 6
call fcn.00409338
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x29
call fcn.0040933e
cmp dword [ebp - 0x18], esp
je 0x407330
push 6
call fcn.00409338
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
mov eax, 0x15
call fcn.0040933e
cmp dword [ebp - 0x18], esp
je 0x407355
push 6
call fcn.00409338
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x40735d
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.00409344
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00409344
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x412f40
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47d4fb
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.0046fb0e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x412fc2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046d4fd
mov eax, dword [eax]
push 0x510200
push eax
call fcn.0045f814
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046fd99
test bl, bl
je 0x412fc2
push 0x510200
lea ecx, [esp + 0xc]
call fcn.00470175
push 0x513d6c
lea ecx, [esp + 0xc]
call fcn.00470175
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 0x412ffe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046fd99
jmp 0x4130c9
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 0x413082
lea edx, [esp + 0x7c]
push 0x513d68
push edx
call fcn.0045f814
add esp, 8
test eax, eax
je 0x413082
lea eax, [esp + 0x7c]
push 0x513d64
push eax
call fcn.0045f814
add esp, 8
test eax, eax
je 0x413082
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 0x413012
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.0046fd99
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 0x4138c0
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 0x413922
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 0x413930
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47d57b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x51af78]
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 0x413a68
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x413996
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046fd99
xor eax, eax
jmp 0x413adf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046ff22
push esi
lea ecx, [esp + 0xc]
call fcn.004701b1
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 0x413abd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.004138c0
test eax, eax
jne 0x413abd
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 SysReAllocStringLen
mov ecx, edi
call fcn.004138c0
test eax, eax
jne 0x413abd
lea eax, [esp + 0x14]
push 0x513d80
push eax
call fcn.004609c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x413a9c
lea ecx, [esp + 0x14]
push 0x513d7c
push ecx
call fcn.00460940
mov esi, eax
add esp, 8
test esi, esi
jne 0x413a9c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x413a9f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046fed2
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4139ae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046fd99
xor eax, eax
jmp 0x413adf
mov byte [esi], 0
push 0x513d78
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.0046fd99
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 0x4243f0
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 0x42445e
cmp si, 0x69
ja 0x42445e
add esi, 0xffd0
cmp si, 0x11
je 0x42442e
push 0x11
call edi
test ax, ax
jge 0x42442e
or esi, 0x2000
cmp si, 0x10
je 0x424443
push 0x10
call edi
test ax, ax
jge 0x424443
or esi, 0x4000
cmp si, 0x12
je 0x424458
push 0x12
call edi
test ax, ax
jge 0x424458
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42446b
mov esi, 0xbd
jmp 0x42441f
cmp si, 0x6e
jne 0x424478
mov esi, 0xbe
jmp 0x42441f
cmp si, 0x6f
jne 0x424419
mov esi, 0xbf
jmp 0x42441f

Function at 0x425c20
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x52be88]
xor edx, edx
cmp eax, edx
jne 0x425c46
xor eax, eax
mov byte [eax + 0x52bd88], al
inc eax
cmp eax, 0x100
jl 0x425c2e
mov dword [0x52be88], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x52bd88
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x425cd7
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 0x425caa
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 0x425c78
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x425d50
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 0x425da3
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 0x425d8a
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