joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4aec01
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0x53ba73
call fcn.00517fdf
xor edi, edi
cmp dword [0x59367c], edi
je 0x4aecca
cmp dword [0x593ae4], 0xfffffffe
jne 0x4aecb7
cmp dword [ebp + 8], 0xffffffff
je 0x4aecca
test byte [0x59b500], 1
mov esi, 0x59b4e0
jne 0x4aec60
or dword [0x59b500], 1
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.004546c7
push 0x543d89
call fcn.005162ce
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, esi
call fcn.0044b2f6
cmp dword [0x59b4dc], edi
je 0x4aec74
call fcn.004184c6
push edi
push edi
push 0x4aeba9
call fcn.0051b6fd
add esp, 0xc
mov dword [0x59b4dc], eax
cmp eax, edi
jbe 0x4aeca4
cmp eax, 0xffffffff
je 0x4aeca4
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [ebp + 8]
mov dword [0x593ae4], eax
jmp 0x4aecaa
mov dword [0x59b4dc], edi
push 0x59b4e8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4aecca
mov eax, dword [ebp + 8]
mov dword [0x593ae4], eax
cmp eax, 0xffffffff
jne 0x4aecca
mov dword [0x59b4dc], edi
call fcn.005180b7
ret
Function at 0x4d3dfc
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 0xc], 0x20
push ebx
mov ebx, ecx
jne 0x4d3e4d
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
add eax, 0x17
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
mov ecx, ebx
call fcn.004d37d0
mov ecx, ebx
call fcn.004d3d74
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
jmp 0x4d3ea3
xor eax, eax
cmp dword [ebx + 0x2e4], eax
jne 0x4d3e68
cmp dword [ebp + 0xc], 0x79
je 0x4d3e63
cmp dword [ebp + 0xc], 0x12
jne 0x4d3ea3
xor eax, eax
inc eax
jmp 0x4d3ea3
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
call esi
movzx edi, ax
shr edi, 0xf
push 0x10
and edi, 1
call esi
mov esi, dword [ebp + 0xc]
shr eax, 0xf
and eax, 1
cmp esi, 0x12
je 0x4d3ea8
cmp esi, 0x79
je 0x4d3ea8
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x59b2ec], 0
jne 0x4d3e9f
test byte [ebx + 0x2f4], 2
jne 0x4d3e9f
cmp esi, 0x12
je 0x4d3ecc
cmp esi, 0x79
jne 0x4d3e9f
test edi, edi
jne 0x4d3e9f
test eax, eax
jne 0x4d3e9f
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0041d141
cmp eax, ebx
jne 0x4d3eef
test dword [ebp + 0x10], 0x40000000
jne 0x4d3eef
cmp esi, 0x79
jne 0x4d3efd
mov ecx, dword [ebp + 8]
jmp 0x4d3ef6
cmp esi, 0x79
jne 0x4d3efd
mov ecx, ebx
call fcn.0041996a
jmp 0x4d3f18
cmp dword [ebx + 0x2a0], 0
jge 0x4d3f18
push 0
push 0xc8
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
inc eax
jmp 0x4d3ea1

Function at 0x4d5715
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0041eb95
call fcn.00418746
cmp eax, esi
pop esi
jne 0x4d5731
mov ecx, 0x599660
jmp fcn.00437d2c
ret
Function at 0x4d5f0e
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push 0x74
mov eax, 0x53d475
call fcn.00518048
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x80], eax
call fcn.00401bb0
mov esi, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], edi
cmp esi, 0x13
jne 0x4d5f3c
push 0x55d880
jmp 0x4d5f7f
push 0x66
lea eax, [ebp - 0x78]
push edi
push eax
call fcn.00518320
add esp, 0xc
push edi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
shl eax, 0x10
add esi, 0xffffffdf
or eax, 1
cmp esi, 0xe
ja 0x4d5f6e
or eax, 0x1000000
push 0x32
lea ecx, [ebp - 0x78]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00401aa0
lea ecx, [ebp - 0x7c]
call fcn.00464dfd
mov esi, dword [ebp - 0x7c]
cmp dword [esi - 0xc], edi
jle 0x4d5fd0
push edi
lea ecx, [ebp - 0x7c]
call fcn.0042f30d
movzx ebx, ax
push ebx
call dword [sym.imp.USER32.dll_IsCharLowerW]
test eax, eax
jne 0x4d5fb6
inc edi
cmp edi, dword [esi - 0xc]
jl 0x4d5f97
jmp 0x4d5fd0
movzx eax, bx
push eax
call fcn.0051b35b
pop ecx
movzx eax, ax
push eax
push edi
lea ecx, [ebp - 0x7c]
call fcn.0048764c
mov esi, dword [ebp - 0x7c]
push dword [esi - 0xc]
mov ecx, dword [ebp - 0x80]
push esi
call fcn.004054e0
cmp dword [ebp + 0x10], 0
jne 0x4d5fec
mov ecx, dword [ebp - 0x80]
push 0x2b
call fcn.00417e9c
lea ecx, [esi - 0x10]
call fcn.00401b90
call fcn.005180cb
ret 0xc
Function at 0x4f3f1a
Capabilities:
Get common file path

Disassembly:
push 0x224
mov eax, 0x53e78e
call fcn.00518048
mov esi, ecx
mov dword [ebp - 0x22c], esi
call fcn.00504349
push 0x15c
call fcn.0041730a
pop ecx
mov ecx, eax
mov dword [ebp - 0x228], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp ecx, ebx
je 0x4f3f5e
mov eax, dword [esi + 4]
push ebx
push eax
call fcn.00505b12
jmp 0x4f3f60
xor eax, eax
or dword [ebp - 4], 0xffffffff
push eax
mov ecx, esi
call fcn.0050431b
call fcn.004270c3
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x88]
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push 0x5c
pop eax
mov word [ebp + esi*2 - 0x218], ax
inc esi
xor eax, eax
mov dword [ebp - 0x228], esi
mov word [ebp + esi*2 - 0x218], ax
mov dword [ebp - 0x224], ebx
cmp edi, ebx
je 0x4f4100
cmp dword [edi + 4], ebx
jle 0x4f4100
lea ecx, [ebp - 0x21c]
call fcn.00401bb0
mov edx, dword [edi]
xor eax, eax
inc eax
push eax
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x218]
push eax
push ebx
lea eax, [ebp - 0x21c]
push eax
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x4f40e4
lea ecx, [ebp - 0x220]
call fcn.00401bb0
mov eax, dword [ebp - 0x224]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x4f4035
push dword [ebp - 0x21c]
lea eax, [ebp - 0x220]
push str.10__s
push eax
call fcn.004054a0
add esp, 0xc
jmp 0x4f4067
jge 0x4f4055
push dword [ebp - 0x21c]
inc eax
push eax
lea eax, [ebp - 0x220]
push str._d__s
push eax
call fcn.004054a0
add esp, 0x10
jmp 0x4f4067
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.004056a0
push 0x15c
call fcn.0041730a
pop ecx
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4f408b
mov ecx, eax
call fcn.004c7641
mov esi, eax
jmp 0x4f408d
xor esi, esi
push dword [ebp - 0x220]
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 2
call dword [eax + 0x10]
mov eax, dword [esi]
lea ecx, [ebx + 0xe110]
push ecx
mov ecx, esi
call dword [eax + 0xc]
push ebx
mov ecx, edi
call fcn.004363f6
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x24]
mov ecx, dword [ebp - 0x22c]
push esi
call fcn.0050431b
mov ecx, dword [ebp - 0x220]
inc dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.00401b90
mov esi, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x21c]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00401b90
inc ebx
cmp ebx, dword [edi + 4]
jl 0x4f3fce
call fcn.005180cb
ret
Function at 0x4fe216
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x20a
push esi
mov esi, ecx
jne 0x4fe260
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4fe260
call fcn.004fdacf
test eax, eax
je 0x4fe260
push dword [ebx + 0xc]
mov eax, dword [esi + 0x54]
push dword [ebx + 8]
mov ecx, dword [eax + 0xb4]
push dword [ebx + 4]
call fcn.00409d50
xor eax, eax
inc eax
jmp 0x4fe478
cmp dword [ebx + 4], 0x100
push edi
jne 0x4fe46f
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call edi
test ax, ax
jl 0x4fe35d
push 0x11
call edi
test ax, ax
jl 0x4fe35d
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4fe35d
mov eax, dword [ebx + 8]
cmp eax, 0xd
je 0x4fe2d0
cmp eax, 0x20
jbe 0x4fe35d
cmp eax, 0x24
jbe 0x4fe2c3
cmp eax, 0x26
je 0x4fe2c3
cmp eax, 0x28
jne 0x4fe35d
call fcn.004fdacf
test eax, eax
je 0x4fe35d
mov ecx, esi
call fcn.0041996a
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
call fcn.004fdacf
test eax, eax
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
je 0x4fe305
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.00409d50
jmp 0x4fe46a
call fcn.0041e7b3
test eax, eax
je 0x4fe46a
mov eax, dword [esi + 0x54]
add eax, 0xb8
push eax
mov ecx, esi
call fcn.0041e7eb
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
test eax, eax
jne 0x4fe333
xor edi, edi
jmp 0x4fe336
mov edi, dword [eax + 0x20]
mov esi, dword [esi + 0x54]
mov ecx, dword [esi + 0xb4]
movzx esi, word [esi + 0x20]
call fcn.0041e7b3
push edi
push esi
push 0x111
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4fe46a
mov eax, dword [ebx + 8]
sub eax, 9
je 0x4fe439
sub eax, 0x12
je 0x4fe411
sub eax, 0xb
je 0x4fe37f
dec eax
dec eax
jne 0x4fe46f
push 0x12
call edi
test ax, ax
jl 0x4fe46f
push 0x11
call edi
test ax, ax
jl 0x4fe46f
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4fe46f
call fcn.004fdacf
test eax, eax
jne 0x4fe46a
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
push 1
call fcn.004fda5c
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
push dword [eax + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.0041d141
test eax, eax
je 0x4fe46a
mov esi, dword [esi + 0x54]
lea ebx, [esi + 0x90]
mov esi, dword [esi + 0xb4]
push dword [esi + 0x20]
call edi
push eax
call fcn.0041d141
push 1
push ebx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4fe46a
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4fe425
push 0
call fcn.004fda5c
mov ecx, esi
call fcn.0041e281
test eax, eax
je 0x4fe46f
mov ecx, esi
call fcn.0041e281
jmp 0x4fe463
push dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.0041d141
test eax, eax
je 0x4fe46f
push dword [esi + 0x20]
call edi
push eax
call fcn.0041d141
push 0
push esi
mov ecx, eax
call fcn.00418759
mov ecx, eax
call fcn.0041996a
xor eax, eax
inc eax
jmp 0x4fe477
push ebx
mov ecx, esi
call fcn.0041aeb8
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x510286
Capabilities:
Log keystrokes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0x150]
mov edi, eax
movzx eax, word [ebp + 8]
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
cmp byte [ebp + 0xc], 0
movzx eax, ax
jne 0x5102cb
test edi, edi
jl 0x5102cb
cmp ax, 0x20
je 0x5102c0
cmp word [ebp + 8], 0x71
jne 0x5102cb
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x168]
pop edi
pop esi
pop ebp
ret 8

Function at 0x52abb8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0051d3f7
and dword [ebp - 4], 0
cmp dword [0x59d4e8], 0
mov ebx, eax
jne 0x52ac69
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x52ad1a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x52ad1a
push eax
call fcn.0051d385
mov dword [esp], 0x56c1d0
push edi
mov dword [0x59d4e8], eax
call esi
push eax
call fcn.0051d385
mov dword [esp], 0x56c1bc
push edi
mov dword [0x59d4ec], eax
call esi
push eax
call fcn.0051d385
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x59d4f0], eax
call esi
push eax
call fcn.0051d385
pop ecx
mov dword [0x59d4f8], eax
test eax, eax
je 0x52ac69
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0051d385
pop ecx
mov dword [0x59d4f4], eax
mov eax, dword [0x59d4f4]
cmp eax, ebx
je 0x52acc1
cmp dword [0x59d4f8], ebx
je 0x52acc1
push eax
call fcn.0051d400
push dword [0x59d4f8]
mov esi, eax
call fcn.0051d400
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x52acc1
test edi, edi
je 0x52acc1
call esi
test eax, eax
je 0x52acb8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x52acb8
test byte [ebp - 0xc], 1
jne 0x52acc1
or dword [ebp + 0x10], 0x200000
jmp 0x52acfa
mov eax, dword [0x59d4ec]
cmp eax, ebx
je 0x52acfa
push eax
call fcn.0051d400
pop ecx
test eax, eax
je 0x52acfa
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x52acfa
mov eax, dword [0x59d4f0]
cmp eax, ebx
je 0x52acfa
push eax
call fcn.0051d400
pop ecx
test eax, eax
je 0x52acfa
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x59d4e8]
call fcn.0051d400
pop ecx
test eax, eax
je 0x52ad1a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x52ad1c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4063e5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x406409
xor eax, eax
test eax, eax
je 0x40641b
cmp byte [ebp + eax - 0x121], 0x5c
je 0x40641b
xor ecx, ecx
jmp 0x40641e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x40650a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42ce2c], 0
push esi
jne 0x406541
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x40651b
mov dword [ecx*4 + 0x42ce28], eax
inc ecx
cmp ecx, 0x100
jl 0x406516
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406572
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42ce28]
xor eax, esi
inc ecx
dec edx
jne 0x406554
pop edi
not eax
pop esi
ret 0xc
Function at 0x404755
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x40478d
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x40477b
mov al, 1
jmp 0x4047ec
cmp dword [ebx + 0x54], ecx
jne 0x404784
mov al, 2
jmp 0x4047ec
cmp dword [ebx + 0x7c], ecx
jne 0x4047ec
mov al, 3
jmp 0x4047ec
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4047a2
mov al, 4
jmp 0x4047ec
cmp ecx, 5
jne 0x4047c2
cmp ebx, 0
jne 0x4047b0
mov al, 5
jmp 0x4047ec
cmp ebx, 1
jne 0x4047b9
mov al, 6
jmp 0x4047ec
cmp ebx, 2
jne 0x4047c2
mov al, 7
jmp 0x4047ec
cmp ecx, 6
jne 0x4047ea
cmp ebx, 0
jne 0x4047d0
mov al, 8
jmp 0x4047ec
cmp ebx, 1
jne 0x4047d7
mov al, 9
cmp ebx, 2
jne 0x4047de
mov al, 0xa
cmp ebx, 3
jne 0x4047e5
mov al, 0xb
cmp ebx, 4
jne 0x4047ec
mov al, 0xc
pop ebx
leave
ret

Function at 0x40729f
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 4]
mov eax, dword [ebp - 4]
jmp 0x4072d6
mov esp, ebp
pop ebp
ret
Function at 0x4ba040
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x859ceb
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.0084e38c
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4ba0c2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0084bf2a
mov eax, dword [eax]
push 0x10a9eac
push eax
call fcn.0083ac84
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0084e617
test bl, bl
je 0x4ba0c2
push 0x10a9eac
lea ecx, [esp + 0xc]
call fcn.0084e9a7
push 0x10a9eb8
lea ecx, [esp + 0xc]
call fcn.0084e9a7
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA_1]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4ba0fe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0084e617
jmp 0x4ba1c9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA_1]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4ba182
lea edx, [esp + 0x7c]
push 0x10a9eb4
push edx
call fcn.0083ac84
add esp, 8
test eax, eax
je 0x4ba182
lea eax, [esp + 0x7c]
push 0x10a9eb0
push eax
call fcn.0083ac84
add esp, 8
test eax, eax
je 0x4ba182
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_1]
test eax, eax
jne 0x4ba112
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose_1]
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.0084e617
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 0x4ba9d0
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_1]
mov esi, eax
test esi, esi
jne 0x4baa32
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_1]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA_1]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey_1]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4baa40
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x859d6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x119b480]
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 0x4bab78
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4baaa6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0084e617
xor eax, eax
jmp 0x4babef
push 0x10a9ef4
lea ecx, [esp + 0xc]
call fcn.0084e754
push esi
lea ecx, [esp + 0xc]
call fcn.0084e9e3
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x10a9eec
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA_1]
mov esi, eax
cmp esi, 0x20
ja 0x4babcd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x10a9ee4
push accept
call fcn.004ba9d0
test eax, eax
jne 0x4babcd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA_1]
lea eax, [esp + 0x14]
push 0x10a9ed0
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.004ba9d0
test eax, eax
jne 0x4babcd
lea eax, [esp + 0x14]
push 0x10a9ec8
push eax
call fcn.0083bec0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4babac
lea ecx, [esp + 0x14]
push 0x10a9ec4
push ecx
call fcn.0083be40
mov esi, eax
add esp, 8
test esi, esi
jne 0x4babac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA_1]
lea esi, [esp + eax + 0x13]
jmp 0x4babaf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0084e704
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4baabe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0084e617
xor eax, eax
jmp 0x4babef
mov byte [esi], 0
push 0x10a9ec0
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_1]
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.0084e617
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 0x4c3f36
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3a0]
test eax, eax
jne 0x4c3f5e
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup_1]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3a0], eax
pop esi
add esp, 0x190
ret
Function at 0x4ce570
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState_1]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x4ce5de
cmp si, 0x69
ja 0x4ce5de
add esi, 0xffd0
cmp si, 0x11
je 0x4ce5ae
push 0x11
call edi
test ax, ax
jge 0x4ce5ae
or esi, 0x2000
cmp si, 0x10
je 0x4ce5c3
push 0x10
call edi
test ax, ax
jge 0x4ce5c3
or esi, 0x4000
cmp si, 0x12
je 0x4ce5d8
push 0x12
call edi
test ax, ax
jge 0x4ce5d8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4ce5eb
mov esi, 0xbd
jmp 0x4ce59f
cmp si, 0x6e
jne 0x4ce5f8
mov esi, 0xbe
jmp 0x4ce59f
cmp si, 0x6f
jne 0x4ce599
mov esi, 0xbf
jmp 0x4ce59f

Function at 0x4cff20
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x11ad190]
xor edx, edx
cmp eax, edx
jne 0x4cff46
xor eax, eax
mov byte [eax + 0x11ad090], al
inc eax
cmp eax, 0x100
jl 0x4cff2e
mov dword [0x11ad190], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x11ad090
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4cffd7
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 0x4cffaa
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 0x4cff78
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4d0050
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 0x4d00a3
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 0x4d008a
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