joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4209e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
push ebp
mov edi, ecx
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x420a22
call fcn.00426bf7
mov ebp, dword [eax + 0xc]
push 0xf0
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x420a22
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x420a19
xor eax, eax
jmp 0x420a2a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00420a31
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x421f72
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
cmp dword [eax + 4], 0x100
jne 0x421fb7
cmp dword [eax + 8], 0x70
jne 0x421fb7
mov eax, dword [eax + 0xc]
shr eax, 0x10
test ah, 0x40
jne 0x421fb7
push 0x10
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
call esi
test ax, ax
jl 0x421fb7
push 0x11
call esi
test ax, ax
jl 0x421fb7
push 0x12
call esi
test ax, ax
mov eax, 1
jge 0x421fb9
xor eax, eax
pop esi
ret 4

Function at 0x422acd
Capabilities:
Get disk information

Disassembly:
mov eax, 0x422bac
call fcn.004106f8
sub esp, 0x150
lea eax, [ebp - 0x18]
push ebx
push esi
push edi
mov ebx, 0x104
push eax
mov edi, dword [ebp + 8]
push edi
mov esi, dword [ebp + 0xc]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x422b1a
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x10]
xor ebx, ebx
call fcn.0041d028
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ebx
push eax
push edi
call fcn.00422bbe
push ebx
lea eax, [ebp - 0x14]
push ebx
lea ecx, [ebp - 0x1c]
push eax
push ecx
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x422b59
mov dword [ebp - 4], 0xffffffff
call fcn.00422bb6
jmp 0x422b05
test byte [ebp - 0x14], 2
jne 0x422b66
push edi
call dword [sym.imp.USER32.dll_CharUpperA]
test byte [ebp - 0x14], 4
jne 0x422b96
lea eax, [ebp - 0x15c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x422b96
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 4], 0xffffffff
call fcn.00422bb6
mov eax, 1
jmp 0x422b07

Function at 0x42371b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
push edi
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
mov eax, 0x100
cmp edi, eax
ja 0x423762
push eax
lea eax, [ebp - 0x100]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, edi
jne 0x423762
push esi
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x42376c
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x423e48
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
cmp dword [ecx + 0x74], 0
mov esi, ecx
je 0x423e90
push dword [ebp + 8]
call fcn.004283f6
mov esi, eax
test esi, esi
jne 0x423e6a
xor eax, eax
jmp 0x423ebb
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push dword [ebp + 0xc]
push esi
call dword [0x43b610]
mov edi, eax
push esi
call dword [0x43b624]
cmp edi, 1
sbb eax, eax
neg eax
jmp 0x423ebb
push dword [ebp + 0x10]
push 0x4329d8
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x10]
push dword [esi + 0x88]
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x424737
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
push ebp
push 5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x4247cd
mov ebp, 0x18000000
push edi
call fcn.0041e345
mov ebx, eax
test ebx, ebx
je 0x4247be
mov eax, dword [esi + 0x1c]
cmp eax, edi
je 0x4247be
push edi
push eax
call fcn.0042458b
test eax, eax
je 0x4247be
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp dword [esp + 0x14], 0
jne 0x4247a7
mov ecx, eax
and ecx, ebp
cmp ecx, 0x10000000
jne 0x4247a0
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [ebx + 0x24], 2
jmp 0x4247be
cmp dword [esp + 0x14], 0
je 0x4247be
test ebp, eax
jne 0x4247be
test byte [ebx + 0x24], 2
je 0x4247be
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [ebx + 0x24], 0xfd
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x424757
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x426836
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4268d1
call fcn.004106f8
sub esp, 4
xor eax, eax
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x10], ecx
mov dword [ecx], vtable.CNoTrackObject.0
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov esi, ecx
push 0xa
lea ecx, [esi + 0x30]
call fcn.0041cb31
lea ecx, [esi + 0x4c]
push 0xa
mov byte [ebp - 4], 1
call fcn.0041cb31
lea ecx, [esi + 0x68]
push 0xa
mov byte [ebp - 4], 2
call fcn.0041c93c
mov byte [ebp - 4], 3
mov eax, esi
mov dword [esi], vtable.AFX_MODULE_THREAD_STATE.0
mov dword [esi + 0xc], 0x54
mov dword [esi + 0x28], 0x421674
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x42780b
Capabilities:
Allocate thread local storage

Disassembly:
push esi
xor eax, eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], eax
cmp dword [esp + 8], eax
mov dword [ecx + 0x1c], 4
mov dword [ecx + 0xc], 1
mov esi, ecx
je 0x427847
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x42784d
call fcn.0041c900
jmp 0x42784d
mov dword [esi], 0xffffffff
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret 4

Function at 0x4279b8
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov eax, dword [ecx]
mov esi, ecx
cmp eax, 0xffffffff
jne 0x4279d2
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 4]
jmp 0x4279d9
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4279ee
mov ecx, dword [esp + 0xc]
cmp dword [eax + 8], ecx
jle 0x4279ee
mov eax, dword [eax + 0xc]
mov edi, dword [eax + ecx*4]
jmp 0x4279f0
xor edi, edi
cmp dword [esi], 0xffffffff
jne 0x4279ff
add esi, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
ret 4
Function at 0x427a06
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, 0x427ade
call fcn.004106f8
sub esp, 4
push ebx
push esi
mov eax, dword [ecx]
push edi
mov esi, ecx
cmp eax, 0xffffffff
jne 0x427a2e
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [esi + 4]
jmp 0x427a37
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
je 0x427a47
mov edx, dword [ebp + 8]
cmp dword [ebx + 8], edx
jg 0x427b52
cmp dword [ebp + 0xc], 0
je 0x427b5e
test ebx, ebx
jne 0x427ac4
push 0x10
call fcn.004277db
mov dword [ebp - 0x10], eax
mov edi, eax
mov dword [ebp - 4], 0
test edi, edi
je 0x427a8c
mov ebx, edi
mov dword [edi], vtable.CNoTrackObject.0
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
mov dword [edi], vtable.CThreadData.0
jmp 0x427a8e
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
cmp dword [esi], 0xffffffff
jne 0x427aac
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
lea ecx, [esi + 0x18]
call fcn.0042777b
cmp dword [esi], 0xffffffff
jne 0x427ac4
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebx + 0xc]
lea edi, [esi + 0x10]
test eax, eax
jne 0x427af1
mov eax, dword [edi]
shl eax, 2
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x427b00
push 2
mov ecx, dword [edi]
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov dword [ebx + 0xc], eax
cmp dword [ebx + 0xc], 0
jne 0x427b1d
cmp dword [esi], 0xffffffff
jne 0x427b18
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0041c900
mov eax, dword [ebx + 8]
mov ecx, dword [edi]
sub ecx, eax
shl ecx, 2
shl eax, 2
push ecx
push 0
add eax, dword [ebx + 0xc]
push eax
call fcn.004107e0
add esp, 0xc
mov ecx, dword [edi]
mov dword [ebx + 8], ecx
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x427b4f
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x427b52
mov dword [esi + 4], ebx
mov edx, dword [ebp + 8]
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebp + 0xc]
mov dword [ecx + edx*4], eax
cmp dword [esi], 0xffffffff
jne 0x427b6d
add esi, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0xc]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x427bce
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ecx + 0x20]
push edi
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x427bf5
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
jmp 0x427bf8
mov edi, dword [esi + 4]
test edi, edi
je 0x427cb0
mov dword [ebp - 4], 1
mov dword [ebp - 8], 1
cmp dword [edi + 8], 1
jle 0x427c73
mov dword [ebp - 0xc], 8
mov ebx, 4
cmp dword [ebp + 8], 0
je 0x427c47
mov ecx, dword [ebp - 0xc]
mov edx, dword [esi + 0x14]
mov eax, dword [ebp + 8]
cmp dword [edx + ecx + 4], eax
je 0x427c47
mov eax, dword [edi + 0xc]
cmp dword [eax + ebx], 0
je 0x427c61
mov dword [ebp - 4], 0
jmp 0x427c61
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + ebx]
test ecx, ecx
je 0x427c57
push 1
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [edi + 0xc]
mov dword [eax + ebx], 0
add ebx, 4
inc dword [ebp - 8]
add dword [ebp - 0xc], 8
mov eax, dword [ebp - 8]
cmp dword [edi + 8], eax
jg 0x427c20
cmp dword [ebp - 4], 0
je 0x427cb0
push edi
lea ecx, [esi + 0x18]
call fcn.0042778e
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x427c97
push 1
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x427ca9
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x427cb0
mov dword [esi + 4], 0
add esi, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x427cc3
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
cmp dword [ecx], 0
mov esi, ecx
jne 0x427d03
cmp dword [0x438680], 0
jne 0x427cf6
mov ecx, 0x438688
test ecx, ecx
je 0x427cec
push 1
call fcn.0042780b
mov dword [0x438680], eax
jmp 0x427cf6
mov dword [0x438680], 0
mov ecx, dword [0x438680]
call fcn.0042785d
mov dword [esi], eax
mov edi, dword [esi]
mov eax, dword [0x438680]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x427d23
cmp dword [eax + 8], edi
jle 0x427d23
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x427d25
xor edi, edi
test edi, edi
jne 0x427d3d
call dword [esp + 0xc]
push eax
mov edi, eax
push dword [esi]
mov ecx, dword [0x438680]
call fcn.00427a06
mov eax, edi
pop edi
pop esi
ret 4
Function at 0x42803d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, 0x438708
jmp 0x4280b4
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx edi, ah
mov dl, al
and eax, 0x80000000
movzx ecx, dl
shl ecx, 8
shr eax, 0x1f
add ecx, edi
mov dword [esi + 0x70], ecx
mov dword [esi + 0x74], eax
mov ecx, 1
cmp dl, 4
sbb edx, edx
mov edi, ecx
inc edx
sub edi, edx
mov dword [esi + 0x78], edx
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edx
test eax, eax
je 0x428104
test edx, edx
jne 0x428104
mov dword [esi + 0x84], ecx
jmp 0x42810e
mov dword [esi + 0x84], 0
lea edi, [esi + 0x88]
xor eax, eax
test edx, edx
mov dword [edi], eax
je 0x42812d
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
cmp eax, 0x40000
sbb eax, eax
inc eax
mov dword [edi], eax
mov ecx, esi
call fcn.00422935
push 0xc0c0c0
xor edi, edi
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0x808080
mov dword [esi + 0x20], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x28], edi
mov ecx, esi
mov dword [esi + 0x34], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x40], edi
call fcn.00422878
push 0x7f02
push edi
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
mov dword [esi + 0x58], eax
push edi
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], edi
cmp dword [esi + 0x78], 1
sbb eax, eax
mov dword [esi + 0x6c], edi
add eax, 2
pop edi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov eax, esi
pop esi
ret
Function at 0x41cb70
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49116b
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.0048370b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41cbf2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00480ced
mov eax, dword [eax]
push 0x51c214
push eax
call fcn.00473024
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00483996
test bl, bl
je 0x41cbf2
push 0x51c214
lea ecx, [esp + 0xc]
call fcn.00483d72
push 0x51fd8c
lea ecx, [esp + 0xc]
call fcn.00483d72
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 0x41cc2e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00483996
jmp 0x41ccf9
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 0x41ccb2
lea edx, [esp + 0x7c]
push 0x51fd88
push edx
call fcn.00473024
add esp, 8
test eax, eax
je 0x41ccb2
lea eax, [esp + 0x7c]
push 0x51fd84
push eax
call fcn.00473024
add esp, 8
test eax, eax
je 0x41ccb2
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 0x41cc42
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.00483996
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 0x41d4f0
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 0x41d552
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 0x41d560
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4911eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x527048]
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 0x41d698
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41d5c6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00483996
xor eax, eax
jmp 0x41d70f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00483b1f
push esi
lea ecx, [esp + 0xc]
call fcn.00483dae
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 0x41d6ed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.0041d4f0
test eax, eax
jne 0x41d6ed
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 SysReAllocString
mov ecx, edi
call fcn.0041d4f0
test eax, eax
jne 0x41d6ed
lea eax, [esp + 0x14]
push 0x51fda0
push eax
call fcn.004741d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41d6cc
lea ecx, [esp + 0x14]
push 0x51fd9c
push ecx
call fcn.00474150
mov esi, eax
add esp, 8
test esi, esi
jne 0x41d6cc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41d6cf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00483acf
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41d5de
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00483996
xor eax, eax
jmp 0x41d70f
mov byte [esi], 0
push 0x51fd98
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.00483996
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 0x431280
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 0x4312ee
cmp si, 0x69
ja 0x4312ee
add esi, 0xffd0
cmp si, 0x11
je 0x4312be
push 0x11
call edi
test ax, ax
jge 0x4312be
or esi, 0x2000
cmp si, 0x10
je 0x4312d3
push 0x10
call edi
test ax, ax
jge 0x4312d3
or esi, 0x4000
cmp si, 0x12
je 0x4312e8
push 0x12
call edi
test ax, ax
jge 0x4312e8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4312fb
mov esi, 0xbd
jmp 0x4312af
cmp si, 0x6e
jne 0x431308
mov esi, 0xbe
jmp 0x4312af
cmp si, 0x6f
jne 0x4312a9
mov esi, 0xbf
jmp 0x4312af

Function at 0x432d50
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x537f58]
xor edx, edx
cmp eax, edx
jne 0x432d76
xor eax, eax
mov byte [eax + 0x537e58], al
inc eax
cmp eax, 0x100
jl 0x432d5e
mov dword [0x537f58], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x537e58
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x432e07
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 0x432dda
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 0x432da8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x432e80
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 0x432ed3
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 0x432eba
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