joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4016e0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebx
sub esp, 0x64
and esp, 0xfffffff0
call fcn.00401c30
call sym.___main
call sub.KERNEL32.dll_GetCommandLineA
lea edx, [ebp - 0x58]
mov ebx, eax
mov dword [esp], edx
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
je 0x40174a
movzx eax, byte [ebx]
cmp al, 0x20
je 0x4017b2
cmp al, 9
je 0x4017b2
cmp al, 0x22
je 0x40179e
cmp al, 0x20
je 0x401790
cmp al, 9
je 0x401742
test al, al
je 0x401742
inc ebx
movzx eax, byte [ebx]
cmp al, 0x20
je 0x401790
cmp al, 9
je 0x401742
test al, al
jne 0x401732
cmp al, 0x20
je 0x401790
cmp al, 9
je 0x401790
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
test byte [ebp - 0x2c], 1
je 0x401783
movzx edx, word [ebp - 0x28]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._WinMain_16
mov ebx, dword [ebp - 4]
sub esp, 0x10
leave
ret
mov edx, 0xa
jmp 0x401763
inc ebx
movzx eax, byte [ebx]
cmp al, 0x20
je 0x401790
cmp al, 9
je 0x401790
jmp 0x40174a
inc ebx
movzx eax, byte [ebx]
cmp al, 0x22
je 0x4017ac
test al, al
jne 0x40179e
jmp 0x401742
inc ebx
movzx eax, byte [ebx]
jmp 0x401742
inc ebx
movzx eax, byte [ebx]
cmp al, 0x20
je 0x4017b2
cmp al, 9
je 0x4017b2
jmp 0x401722

Function at 0x401e80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.___do_sjlj_init
Function at 0x402f8b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40b310]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00401eeb
and dword [ebp - 0x14], 0
cmp dword [0x40c41c], 0
mov dword [ebp - 0x18], eax
jne 0x40303e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4030e6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4030e6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40c41c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40c420], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40c424], eax
call edi
push eax
call esi
mov dword [0x40c42c], eax
test eax, eax
je 0x40303e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40c428], eax
mov eax, dword [0x40c428]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x403097
cmp dword [0x40c42c], ecx
je 0x403097
push eax
call esi
push dword [0x40c42c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x403097
test ebx, ebx
je 0x403097
call edi
test eax, eax
je 0x40308e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40308e
test byte [ebp - 8], 1
jne 0x403097
or dword [ebp + 0x10], 0x200000
jmp 0x4030ca
mov eax, dword [0x40c420]
cmp eax, dword [ebp - 0x18]
je 0x4030ca
push eax
call esi
test eax, eax
je 0x4030ca
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4030ca
mov eax, dword [0x40c424]
cmp eax, dword [ebp - 0x18]
je 0x4030ca
push eax
call esi
test eax, eax
je 0x4030ca
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40c41c]
call esi
test eax, eax
je 0x4030e6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4030e8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004032f6
leave
ret

Function at 0x4032f6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40b310]
jne 0x403300
repz ret
jmp fcn.00404566

Function at 0x405789
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x4057af
cmp dword [ebp + 0xc], 0
je 0x4057af
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
je 0x4057c0
push dword [ebp + 0x10]
push 0x40
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ebp
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x33f279e5
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
mov eax, section..text_1
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x28523d5e
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x54ff2c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x55301b]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
cmp eax, edi
mov dword [ebp - 8], edi
je 0x54ff65
lea ecx, [ebp - 4]
push ecx
push 0x40
push dword [ebp + 0x10]
lea ecx, [ebx + esi]
push ecx
call dword [eax + 0x1c]
test word [ebp - 4], 0x101
je 0x54ff65
xor eax, eax
inc eax
jmp 0x54ffc6
jmp 0x54ff6d
xor edx, edx
cmp dword [ebp + 0x10], edx
jbe 0x54ffa3
add esi, ebx
lea eax, [esi + edx]
mov ecx, dword [eax]
add edi, ecx
mov dword [eax], edi
mov edi, ecx
mov ecx, dword [eax]
add ecx, dword [ebp + 0x14]
add edx, 4
xor ecx, dword [ebp - 8]
xor ecx, dword [ebp + 0x18]
add dword [ebp - 8], ecx
ror dword [ebp + 0x14], 1
rol dword [ebp + 0x18], 2
cmp edx, dword [ebp + 0x10]
mov dword [eax], ecx
jb 0x54ff76
mov esi, dword [ebp + 0xc]
jmp 0x54ffab
call fcn.00559d7e
test eax, eax
je 0x54ffc4
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 4]
add ebx, esi
push dword [ebp + 0x10]
push ebx
call dword [eax + 0x1c]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x14

Function at 0x431000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x100df6ef
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x54]
lea esp, [esp + 0x58]
jne 0x10171de4
ja 0x1016a4b5
push esi
pushfd
jmp 0x100e07cd
lea esp, [esp + 8]
jb 0x100c2b35
jmp 0x10172f10
lea esp, [esp + 0x20]
jb 0x10174328
pushal
mov dword [ebp - 8], ecx
pushal
push 0x7eb04c9a
push dword [esp]
pushfd
lea esp, [esp + 0x4c]
jmp 0x10173c19
test edi, ebp
pushal
jmp 0x10171f71
and eax, edx
sub byte [ebx + 0x49fdac08], ah
arpl word [esi - 0x4d], sp
add eax, 0xba025432
invalid
pushal
mov byte [esp], dl
pushfd
lea esp, [esp + 0x24]
ja 0x1016a4b5
push eax
lea esp, [esp + 4]
jb 0x100c2b35
bt bx, 4
bt cx, 0xf
bt ecx, 0xf
clc
cmp byte [edi - 1], 0
pushfd
call fcn.100c376a
js 0x10171da6
add byte [ebx + 0x26], 0x7c
pop ebx
or dword [ecx + 0x15], 0x7f
leave
pop es
pop edi
push ds
js 0x10171e04
cld
stosb byte es:[edi], al
out 0xaa, eax
lds edx, [ebx]
dec edx
inc ebp
invalid
cmp dh, al
cmp ecx, dword [ebp - 4]
push 0x23483f2
lea esp, [esp + 0x24]
jae 0x100c3947
bt edi, 1
pushal
stc
add ecx, 1
jmp 0x10168bad
out 0x28, al
in eax, dx
test al, 0x6e
ljmp 0x56e0
aam 0x56
fdiv st(2), st(0)
push es
int3
or al, 0x34
cwde
or ah, byte [eax + eax*8]
cmc
cmp byte [edi - 1], 0
pushal
call fcn.100c3c20
jbe 0x10172ef5
or al, 0x33
jl 0x10172f31
sub ebp, ebp
movsd dword es:[edi], dword [esi]
dec ebp
or eax, 0xd4581d1
fstp xword [ebx + 0x53c6b493]
push ebx
cmpsd dword [esi], dword es:[edi]
mov ebx, 0x43794f0c
mov ch, 0xd9
out dx, al
xlatb
and byte [ecx + ebp*8 - 0x3f], al
jo 0x10172f01
push es
xor al, 0xfe
sbb eax, ebx
salc
jns 0x10172f42
imul edi, dword [eax + 0x151ce6fd], 0x75ed908c
adc esi, dword [ebx]
mov al, byte [0x730c7a0e]
in eax, dx
jne 0x10172f68
xor esp, dword [eax + 0x730c7a0e]
push ebx
dec esp
lcall 0xc363, 0xb6e4843f
xchg esi, eax
mov ebp, 0x555dcf14
pop ebp
push ebp
sal ecx, cl
pushal
sbb dword [edx], ebp
mov eax, dword [0x43e0e1a]
mov bh, 0xc2
mov esi, 0xc63db942
xor eax, 0x105ea7ee
loop 0x10172f52
cmpsd dword [esi], dword es:[edi]
pop esi
adc dl, ah
rcr byte [eax + 0x72], 1
clc
pop eax
jb 0x10172f7d
jbe 0x10172f09
cwde
test al, 0xba
retf 0xc64c
call fcn.10170d33
Function at 0x401a6c
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.00404f13
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.00404f13
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
push 0x10
call fcn.00404f13
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
mov ebx, 0x405ed0
call fcn.00404f2b
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
je 0x401b2c
mov eax, 0
jmp 0x401c98
cmp dword [ebp + 0xc], 0
jne 0x401b58
mov dword [ebp - 0x1c], esp
mov eax, 3
call fcn.00404f1f
cmp dword [ebp - 0x1c], esp
je 0x401b55
push 6
call fcn.00404f19
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
jne 0x401b80
mov eax, 0x493fd7
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401b7a
push ebx
call fcn.00404f0d
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 8]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 4
call fcn.00404f1f
cmp dword [ebp - 0x1c], esp
je 0x401bab
push 6
call fcn.00404f19
add esp, 4
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x493ec9
mov eax, 5
call fcn.00404f1f
cmp dword [ebp - 0x1c], esp
je 0x401bd7
push 6
call fcn.00404f19
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 2
mov dword [ebp - 0x1c], esp
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x18]
push 0x1c
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 6
call fcn.00404f1f
cmp dword [ebp - 0x1c], esp
je 0x401c6b
push 6
call fcn.00404f19
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
mov eax, 7
call fcn.00404f1f
cmp dword [ebp - 0x1c], esp
je 0x401c90
push 6
call fcn.00404f19
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x401c98
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.00404f0d
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00404f0d
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.00404f0d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40bfb0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48b4cb
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.0047fd94
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40c032
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047d923
mov eax, dword [eax]
push 0x4c9200
push eax
call fcn.0046fbd4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048001f
test bl, bl
je 0x40c032
push 0x4c9200
lea ecx, [esp + 0xc]
call fcn.004803af
push 0x4ccd60
lea ecx, [esp + 0xc]
call fcn.004803af
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 0x40c06e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048001f
jmp 0x40c139
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 0x40c0f2
lea edx, [esp + 0x7c]
push 0x4ccd5c
push edx
call fcn.0046fbd4
add esp, 8
test eax, eax
je 0x40c0f2
lea eax, [esp + 0x7c]
push 0x4ccd58
push eax
call fcn.0046fbd4
add esp, 8
test eax, eax
je 0x40c0f2
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 0x40c082
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.0048001f
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 0x40c950
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48b54b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4d5804]
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 0x40ca88
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40c9b6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048001f
xor eax, eax
jmp 0x40caff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048015c
push esi
lea ecx, [esp + 0xc]
call fcn.004803eb
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4ccd98
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40cadd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x4ccd90
push closesocket
call fcn.00459220
test eax, eax
jne 0x40cadd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x4ccd7c
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00459220
test eax, eax
jne 0x40cadd
lea eax, [esp + 0x14]
push 0x4ccd74
push eax
call fcn.00470c10
mov esi, eax
add esp, 8
test esi, esi
jne 0x40cabc
lea ecx, [esp + 0x14]
push 0x4ccd70
push ecx
call fcn.00470b90
mov esi, eax
add esp, 8
test esi, esi
jne 0x40cabc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40cabf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048010c
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40c9ce
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048001f
xor eax, eax
jmp 0x40caff
mov byte [esi], 0
push 0x4ccd6c
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.0048001f
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 0x41e980
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 0x41e9ee
cmp si, 0x69
ja 0x41e9ee
add esi, 0xffd0
cmp si, 0x11
je 0x41e9be
push 0x11
call edi
test ax, ax
jge 0x41e9be
or esi, 0x2000
cmp si, 0x10
je 0x41e9d3
push 0x10
call edi
test ax, ax
jge 0x41e9d3
or esi, 0x4000
cmp si, 0x12
je 0x41e9e8
push 0x12
call edi
test ax, ax
jge 0x41e9e8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41e9fb
mov esi, 0xbd
jmp 0x41e9af
cmp si, 0x6e
jne 0x41ea08
mov esi, 0xbe
jmp 0x41e9af
cmp si, 0x6f
jne 0x41e9a9
mov esi, 0xbf
jmp 0x41e9af

Function at 0x420130
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4e5fc8]
xor edx, edx
cmp eax, edx
jne 0x420156
xor eax, eax
mov byte [eax + 0x4e5ec8], al
inc eax
cmp eax, 0x100
jl 0x42013e
mov dword [0x4e5fc8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4e5ec8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4201e7
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 0x4201ba
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 0x420188
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x420260
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 0x4202b3
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 0x42029a
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
Function at 0x426cf0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x426e88
cmp ebp, ebx
jle 0x426e88
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x426d4e
dec eax
or eax, 0xfffffff8
inc eax
je 0x426d55
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x426d64
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x426d6b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0047fd60
add esp, 4
cmp eax, ebx
je 0x426d8c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0047fd60
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x426e7e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x426e65
mov al, byte [edx]
cmp al, 0xc0
jbe 0x426e51
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x426e46
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x426e54
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x426e54
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x426df0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x426de1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x429d50
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48cc58
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
test edi, edi
jne 0x429d89
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
push 0x400
lea ecx, [esp + 0xc]
call fcn.00487847
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.00487893
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.00429e10
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.004878d0
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24