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

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.0052e2d7
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x523365
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.00523378
pop edi
pop esi
pop ebx
ret 8

Function at 0x52498e
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5249c6
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0052295c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00522934
jmp 0x5249d2
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x526353
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x526395
call fcn.0052e2d7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x526395
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x52638c
xor eax, eax
jmp 0x52639d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005263a3
pop edi
pop esi
pop ebx
ret 4

Function at 0x52e807
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x52e835
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x52e853
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0052e76d
jmp 0x52e853
mov eax, dword [esi + 0x14]
test eax, eax
je 0x52e853
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0052e76d
test edi, edi
mov eax, edi
jne 0x52e83d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x531672
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x53169a
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x5316ab
push 2
call edi
test ax, ax
jge 0x5316ab
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.00523fc3
cmp dword [esi + 0x30], ebx
jne 0x531785
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.00523fc3
cmp eax, dword [esp + 0x34]
jne 0x531785
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x531721
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x531766
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x531785
cmp eax, 0x205
je 0x531785
cmp eax, 0x201
je 0x531785
cmp eax, 0x204
je 0x531785
cmp eax, ebx
jne 0x53174c
cmp dword [esp + 0x1c], 0x1b
je 0x531785
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x648f84]
jbe 0x53177b
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x5316de
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x413e5d
Capabilities:
Hide graphical window

Disassembly:
push dword [0x484700]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x413e89
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x484700]
call esi
push 0
push dword [0x4846f8]
call esi
pop esi
ret

Function at 0x414dbd
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ee
push dword [ebp + 8]
call edi
mov esi, eax
test esi, esi
mov dword [ebp - 8], esi
je 0x414f44
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextLengthA]
push esi
call ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 0xd0]
push 0x7f
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowTextA]
call esi
push 0x3ef
push dword [ebp + 8]
call edi
mov edi, eax
test edi, edi
mov dword [ebp - 0x10], edi
je 0x414f44
push edi
call ebx
cmp dword [ebp - 4], eax
jge 0x414e2f
lea eax, [ebp - 0xd0]
push 0x7f
push eax
push edi
call esi
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
je 0x414f44
lea eax, [ebp - 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0xd0]
push eax
push esi
call fcn.004156c9
push 1
push 0x47bcd8
push esi
mov edi, eax
call fcn.004156c9
push esi
push dword [ebp - 8]
movzx ebx, ax
call dword [sym.imp.USER32.dll_ReleaseDC]
and dword [ebp + 8], 0
movzx esi, di
add esi, ebx
shr edi, 0x10
test esi, esi
mov dword [ebp - 0x14], edi
je 0x414f44
test edi, edi
je 0x414f44
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
sub eax, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x20]
cmp eax, esi
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
jge 0x414ece
mov edi, esi
push 1
sub edi, eax
add edi, ebx
add esi, ebx
pop ebx
mov dword [ebp - 4], esi
mov dword [ebp + 8], ebx
jmp 0x414ed4
mov edi, dword [ebp + 8]
push 1
pop ebx
mov eax, dword [ebp - 0x14]
cmp ecx, eax
jge 0x414ee4
add eax, 4
mov dword [ebp + 8], ebx
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
je 0x414f44
mov esi, dword [sym.imp.USER32.dll_GetWindowPlacement]
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x50], 0x2c
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp - 0x34]
push ebx
push dword [ebp - 0xc]
mov ebx, dword [sym.imp.USER32.dll_MoveWindow]
sub eax, edi
push dword [ebp - 4]
push dword [ebp - 0x30]
push eax
push dword [ebp - 0x10]
call ebx
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x2c
push eax
push dword [ebp - 8]
call esi
mov ecx, dword [ebp - 0x34]
push 1
push dword [ebp - 0xc]
lea eax, [edi + edi]
sub ecx, eax
push dword [ebp - 4]
push dword [ebp - 0x30]
push ecx
push dword [ebp - 8]
call ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44f08c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, ecx
call edi
sub eax, dword [esi + 0x74]
cmp eax, 0x7530
jbe 0x44f0c4
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x70]
mov dword [esi + 0x5c], eax
mov dword [esi + 0x64], ecx
mov ecx, dword [esi + 0x6c]
xor eax, eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x60], ecx
mov dword [esi + 0x6c], eax
call edi
mov dword [esi + 0x74], eax
mov edi, dword [esi + 0x64]
test edi, edi
jne 0x44f0d0
mov eax, dword [esi + 0x5c]
jmp 0x44f119
push ebx
push ebp
push 0xa
xor eax, eax
pop ecx
xor ebp, ebp
test eax, eax
jne 0x44f117
or eax, 0xffffffff
xor edx, edx
div ecx
mov ebx, dword [esi + 0x5c]
cmp ebx, eax
jbe 0x44f0f5
shr ebx, 1
shr edi, 1
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], edi
mov eax, dword [esi + 0x5c]
mov edi, dword [esi + 0x64]
imul eax, ecx
xor edx, edx
div edi
xor edx, edx
imul eax, eax, 0x3e8
div ecx
lea ecx, [ecx + ecx*4]
inc ebp
shl ecx, 1
cmp ebp, 3
jb 0x44f0d9
pop ebp
pop ebx
pop edi
pop esi
ret

Function at 0x4505cf
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push ebx
push eax
mov ebx, ecx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [ebp - 4], eax
je 0x450621
push eax
call fcn.00433b07
pop ecx
mov dword [ebx + 0x40], eax
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x450621
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x47cbe4
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x450625
xor al, al
jmp 0x450686
push esi
push edi
mov edi, ebx
lea eax, [ebx + 4]
neg edi
sbb edi, edi
mov esi, dword [ebp - 0xc]
push 0xd
and edi, eax
pop ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x47e2f4
rep movsd dword es:[edi], dword [esi]
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueA
pop edi
pop esi
test eax, eax
je 0x450684
mov eax, dword [ebp - 4]
shr eax, 2
mov dword [ebx + 0x3c], eax
shl eax, 2
push eax
call fcn.00433b07
mov dword [ebx + 0x38], eax
xor eax, eax
cmp dword [ebx + 0x3c], eax
pop ecx
jbe 0x450684
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x38]
mov edx, dword [edx + eax*4]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [ebx + 0x3c]
jb 0x450672
mov al, 1
pop ebx
leave
ret 4
Function at 0x101c9f5
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
push 0x1004b28
call fcn.0101cc70
and dword [ebp - 4], 0
dec dword [ebp + 0x10]
js 0x101c9f1
mov ecx, dword [ebp + 8]
sub ecx, dword [ebp + 0xc]
mov dword [ebp + 8], ecx
call dword [ebp + 0x14]
jmp 0x101c9de
or dword [ebp - 4], 0xffffffff
call fcn.0101ccab
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x55c14dfe
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x46383be1
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4021fc
Capabilities:
Check if file exists
Get file attributes
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x40400c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor edi, edi
xor eax, eax
mov ebx, 0x206
push ebx
mov word [ebp - 0x20c], ax
lea eax, reloc.KERNEL32.dll_HeapAlloc
push edi
push eax
mov dword [ebp - reloc.KERNEL32.dll_HeapAlloc], edi
mov dword [ebp - reloc.KERNEL32.dll_HeapAlloc], edi
mov dword [ebp - reloc.KERNEL32.dll_HeapAlloc], edi
call sub.msvcrt.dll_memset
add esp, 0xc
test esi, esi
je 0x4022fa
xor eax, eax
mov word [esi], ax
lea eax, reloc.KERNEL32.dll_HeapAlloc
push eax
push 0x20019
push edi
push 0x401214
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4022e6
mov word [ebp - 6], ax
lea eax, reloc.KERNEL32.dll_HeapAlloc
push eax
lea eax, reloc.KERNEL32.dll_HeapAlloc
push eax
lea eax, reloc.KERNEL32.dll_HeapAlloc
push eax
push edi
push 0x401064
push dword [ebp - 0x210]
mov dword [ebp - reloc.KERNEL32.dll_HeapAlloc], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4022e6
cmp dword [ebp - reloc.KERNEL32.dll_HeapAlloc], 2
lea eax, reloc.KERNEL32.dll_HeapAlloc
jne 0x4022cd
push 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - reloc.KERNEL32.dll_HeapAlloc], eax
jmp 0x4022e6
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, reloc.KERNEL32.dll_HeapAlloc
je 0x4022e6
lea eax, reloc.KERNEL32.dll_HeapAlloc
mov ecx, esi
call fcn.004015c5
cmp dword [ebp - reloc.KERNEL32.dll_HeapAlloc], edi
je 0x4022fa
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00402bf4
leave
ret
Function at 0x402be5
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x4031a8
call fcn.0040306c
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], HeapAlloc
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov edi, dword [eax + 4]
mov esi, ebx
push ebx
push edi
push 0x404390
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x402a5c
cmp eax, edi
jne 0x402a4f
xor edi, edi
inc edi
mov esi, edi
jmp 0x402a5f
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x402a33
xor edi, edi
inc edi
cmp dword [0x404394], edi
jne 0x402a71
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x402a9f
cmp dword [0x404394], ebx
jne 0x402a99
mov dword [0x404394], edi
push 0x401018
push 0x40100c
call fcn.004029d3
pop ecx
pop ecx
test eax, eax
je 0x402a9f
jmp 0x402bce
mov dword [0x40402c], edi
cmp dword [0x404394], edi
jne 0x402ac2
push 0x401008
push section..text
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x404394], 2
test esi, esi
jne 0x402ad2
push ebx
push 0x404390
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x404398], 0
je 0x402af4
push 0x404398
call fcn.00402ee0
pop ecx
test eax, eax
je 0x402af4
push ebx
push 2
push ebx
call dword [0x404398]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x20]
mov cl, byte [esi]
cmp cl, 0x20
ja 0x402b51
test cl, cl
je 0x402b10
test edi, edi
jne 0x402b51
mov al, byte [esi]
test al, al
je 0x402b20
cmp al, 0x20
ja 0x402b20
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x402b10
test byte [ebp - 0x3c], 1
je 0x402b2c
movzx eax, word [ebp - 0x38]
jmp 0x402b2f
push 0xa
pop eax
push eax
push esi
push ebx
push 0x400000
call main
mov dword [0x404028], eax
cmp dword [0x404040], 0
jne 0x402baa
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cl, 0x22
jne 0x402b62
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x20], edi
movzx eax, cl
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x402b75
inc esi
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x402b01
cmp dword [0x40402c], 0
jne 0x402bbe
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x404028]
mov dword [ebp - 4], HeapAlloc
jmp 0x402bda
mov dword [ebp - 4], HeapAlloc
mov eax, 0xff
call fcn.004030b1
ret
call fcn.00402fa1
jmp 0x4029fc

Function at 0x402e50
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x402e66
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], reloc.KERNEL32.dll_HeapAlloc
jne 0x402e81
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0x402e90
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
movzx ebx, word [ecx + 6]
add eax, 0x18
push esi
xor edx, edx
add eax, ecx
push edi
test ebx, ebx
je 0x402ece
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x402ec6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x402ed0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x402eb6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x42b540
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c1ceb
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.004b5abf
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42b5c2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004b3080
mov eax, dword [eax]
push 0x649284
push eax
call fcn.004a4914
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004b5d4a
test bl, bl
je 0x42b5c2
push 0x649284
lea ecx, [esp + 0xc]
call fcn.004b60da
push 0x64cdfc
lea ecx, [esp + 0xc]
call fcn.004b60da
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 0x42b5fe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004b5d4a
jmp 0x42b6c9
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 0x42b682
lea edx, [esp + 0x7c]
push 0x64cdf8
push edx
call fcn.004a4914
add esp, 8
test eax, eax
je 0x42b682
lea eax, [esp + 0x7c]
push 0x64cdf4
push eax
call fcn.004a4914
add esp, 8
test eax, eax
je 0x42b682
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 0x42b612
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.004b5d4a
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 0x42c920
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c1e4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x65dec8]
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 0x42ca58
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42c986
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b5d4a
xor eax, eax
jmp 0x42cacf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004b5e87
push esi
lea ecx, [esp + 0xc]
call fcn.004b6116
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x64ce34
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42caad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x64ce2c
push closesocket
call fcn.0048f280
test eax, eax
jne 0x42caad
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x64ce18
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0048f280
test eax, eax
jne 0x42caad
lea eax, [esp + 0x14]
push 0x64ce10
push eax
call fcn.004a5ab0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42ca8c
lea ecx, [esp + 0x14]
push 0x64ce0c
push ecx
call fcn.004a5a30
mov esi, eax
add esp, 8
test esi, esi
jne 0x42ca8c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42ca8f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004b5e37
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42c99e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b5d4a
xor eax, eax
jmp 0x42cacf
mov byte [esi], 0
push 0x64ce08
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.004b5d4a
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 0x441630
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 0x44169e
cmp si, 0x69
ja 0x44169e
add esi, 0xffd0
cmp si, 0x11
je 0x44166e
push 0x11
call edi
test ax, ax
jge 0x44166e
or esi, 0x2000
cmp si, 0x10
je 0x441683
push 0x10
call edi
test ax, ax
jge 0x441683
or esi, 0x4000
cmp si, 0x12
je 0x441698
push 0x12
call edi
test ax, ax
jge 0x441698
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4416ab
mov esi, 0xbd
jmp 0x44165f
cmp si, 0x6e
jne 0x4416b8
mov esi, 0xbe
jmp 0x44165f
cmp si, 0x6f
jne 0x441659
mov esi, 0xbf
jmp 0x44165f

Function at 0x442e20
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x66e820]
xor edx, edx
cmp eax, edx
jne 0x442e46
xor eax, eax
mov byte [eax + 0x66e720], al
inc eax
cmp eax, 0x100
jl 0x442e2e
mov dword [0x66e820], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x66e720
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x442ed7
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 0x442eaa
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 0x442e78
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x442f50
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 0x442fa3
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 0x442f8a
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