joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4db35c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4db3ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x19]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4db3a2
lea eax, [ebp - 4]
lea edx, [ebp - 0x19]
mov ecx, 0x11
call fcn.00404ae8
jmp 0x4db3aa
lea eax, [ebp - 4]
call fcn.00404878
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004048cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4db3d1
lea eax, [ebp - 4]
call fcn.00404878
ret

Function at 0x4dba54
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffe30
mov ebp, eax
lea eax, [esp + 0x40]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, ebp
call fcn.00404878
push 0x40
lea eax, [esp + 4]
push eax
call sub.wsock32.dll_gethostname
push esp
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x4dbaae
mov esi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x4dbaa2
push dword [edi]
call sub.wsock32.dll_inet_ntoa
mov edx, ebp
call fcn.0040a0f4
inc ebx
mov edi, dword [esi + ebx*4]
test edi, edi
jne 0x4dba93
call sub.wsock32.dll_WSACleanup
add esp, 0x1d0
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4dbbe0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
or al, al
je 0x4dbbf7
jne 0x4dbbfe
mov dword [ebp - 4], 1
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 1
jne 0x4dbc0d
mov dl, 1
cmp dword [ebp - 4], 1
jne 0x4dbc15
xor edx, edx
mov eax, edx
pop ecx
pop ecx
pop ebp
ret
Function at 0xca2b61
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp edi
xor eax, 0x49ea5b83
clc
rol eax, 2
neg eax
clc
cmp bl, al
xor eax, 0x36842e64
clc
jmp 0xd43091
push edi
xchg di, di
movsx edi, cx
push edx
setl dl
not dx
cdq
push ebx
bswap di
push esi
cmovns di, cx
mov edi, 0x36573857
push eax
lahf
push ebp
rdtsc
cwde
pushfd
bsr bx, bx
movzx ax, al
push ecx
mov ecx, 0
push ecx
sal bp, 0x54
mov esi, dword [esp + 0x28]
shld edx, esp, 5
neg esi
and eax, 0x70293593
add esi, 0x9db3fcd
not esi
mov ebx, ecx
rdtsc
jmp 0x111bb56
xor ebx, eax
stc
cmp dx, si
add edi, eax
jmp 0xc2d09d
inc esi
bsr edx, ebp
mov eax, 0x1242169f
sal dh, cl
not esi
sbb di, si
add esi, ecx
cdq
test ch, 0x26
ror bh, cl
mov ebp, esp
shl di, 0xbd
lea esp, [esp - 0xc0]
stc
mov ebx, esi
xor ah, al
mov edx, 0
sub ebx, edx
lea edi, [0x111bb87]
xadd al, al
lea esi, [esi - 4]
test edi, 0x2b0839ee
cmc
add al, cl
mov eax, dword [esi]
xor eax, ebx
clc
stc
jmp 0xc7a4dd
Function at 0x407278
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x5f0008], 0x8088405
inc edx
mov dword [ebx + 0x5f0008], edx
mul edx
mov eax, edx
pop ebx
ret
Function at 0x422c6c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x422cc5
test eax, edx
je 0x422cc8
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x422c83
movzx eax, word [eax]
sub eax, ecx
jmp 0x422caa
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x422cab
add ecx, 4
js 0x422c9b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x422ca8
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x422caa
xor eax, eax
ret
test eax, eax
je 0x422cd4
test edx, edx
jne 0x422c74
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x42b724
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.0040a2e4
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040f408
mov edi, eax
cmp edi, 0x104
jbe 0x42b6cf
mov eax, edi
add eax, eax
call fcn.00406e70
mov esi, eax
jmp 0x42b6d1
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040f408
push esi
call fcn.00415518
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42b70a
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x42b6f4
mov eax, esp
cmp esi, eax
je 0x42b717
mov eax, esi
call fcn.00406e8c
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x42b750
cmp bl, 0
je 0x42b74c
cmp bl, 0x41
jl 0x42b747
cmp bl, 0x5a
jg 0x42b747
or bl, 0x20
xor al, bl
inc esi
jmp 0x42b72b
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42b690
Function at 0x484004
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x48400c
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4e55d0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
pop ebp
xor eax, eax
mov eax, dword fs:[eax + 0x18]
mov eax, dword [eax + 0xc0]
test eax, eax
jne 0x4e55f5
xor ecx, ecx
mov eax, dword [0x5f37bc]
lea edx, [esp + 4]
int 0x2e
ret 8
xor ecx, ecx
mov eax, dword [0x5f37bc]
lea edx, [esp + 4]
call dword fs:[0xc0]
add esp, 4
ret 8

Function at 0x4ec478
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
mov edx, esi
call fcn.0040a258
mov eax, ebx
call fcn.0040a3ac
mov eax, dword [ebx]
call fcn.0040a2d8
test eax, eax
jle 0x4ec4a9
mov edx, 1
mov ecx, dword [ebx]
xor byte [ecx + edx - 1], 0x55
inc edx
dec eax
jne 0x4ec49e
pop esi
pop ebx
ret

Function at 0x4ecb48
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, eax
xor ebx, ebx
xor eax, eax
push ebp
push 0x4ecb94
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 2
mov edi, esi
mov eax, edi
call fcn.004eda3c
test al, al
jne 0x4ecb8a
cmp word [edi], 0x5a4d
jne 0x4ecb8a
lea eax, [esi + 0x3c]
mov ebx, dword [eax]
add ebx, esi
cmp dword [ebx], 0x4550
je 0x4ecb8a
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ecba0
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4f0af0
Capabilities:
Parse pe header

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffedc
mov ebp, ecx
mov esi, edx
mov edi, eax
xor ebx, ebx
push 0x1c
lea eax, [esp + 4]
push eax
push edi
call fcn.00415120
cmp eax, 0x1c
jne 0x4f0b6c
cmp dword [esp + 0x10], 0x1000
jne 0x4f0b6c
cmp dword [esp + 4], 0
je 0x4f0b6c
push 0x104
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0xc]
push eax
call fcn.00414df8
test eax, eax
je 0x4f0b6c
mov eax, dword [esp + 4]
mov dword [esi], eax
mov eax, dword [esi]
cmp word [eax], 0x5a4d
jne 0x4f0b6c
mov eax, dword [esi]
mov edx, dword [esi]
add edx, 0x3c
add eax, dword [edx]
cmp dword [eax], 0x4550
jne 0x4f0b6c
mov edx, dword [esi]
add edx, dword [eax + 0x78]
mov dword [ebp], edx
cmp dword [ebp], 0
setne bl
mov eax, ebx
add esp, 0x124
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x500b08
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x500cc3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a204
mov eax, dword [ebp - 4]
call fcn.00500458
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x500b5a
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040afb0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00501750
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x500c39
xor eax, eax
push ebp
push 0x500c32
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.005006f8
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00500cf8
test al, al
je 0x500c10
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00409f64
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x500c10
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.0040aba4
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00414ba0
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00500658
test al, al
je 0x500c0a
mov eax, dword [ebp - 8]
call fcn.0040aba4
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040ac0c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.00500b08
dec ebx
cmp ebx, 0xffffffff
jne 0x500bb9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x500c39
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.005006f8
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00414b50
ret
cmp byte [0x5fef1c], 0
je 0x500c79
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.0040aba4
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.005006e4
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00500658
mov ebx, eax
jmp 0x500ca0
mov eax, dword [ebp - 4]
call fcn.0040aba4
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.005006e4
push eax
call fcn.00414b90
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00500658
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x500cca
lea eax, [ebp - 0x3c]
call fcn.00409ddc
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409e3c
ret

Function at 0x50accc
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x50acd2
ret
Function at 0x5239c4
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x5f5db8
test edx, edx
jne 0x5239e3
xor eax, eax
jmp 0x523b01
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x523a00
push esi
push edx
push eax
call fcn.00523b08
add esp, 0xc
jmp 0x523b01
push esi
push edx
push eax
call fcn.00523dc8
add esp, 0xc
jmp 0x523b01
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x41e9a5
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 0x41e9dd
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x41e9cb
mov al, 1
jmp 0x41ea27
cmp dword [ebx + 0x54], ecx
jne 0x41e9d4
mov al, 2
jmp 0x41ea27
cmp dword [ebx + 0x7c], ecx
jne 0x41ea27
mov al, 3
jmp 0x41ea27
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x41e9f2
mov al, 4
jmp 0x41ea27
cmp ecx, 5
jne 0x41ea12
cmp ebx, 0
jne 0x41ea00
mov al, 5
jmp 0x41ea27
cmp ebx, 1
jne 0x41ea09
mov al, 6
jmp 0x41ea27
cmp ebx, 2
jne 0x41ea12
mov al, 7
jmp 0x41ea27
cmp ecx, 6
jne 0x41ea1e
cmp ebx, 0
jne 0x41ea20
mov al, 8
jmp 0x41ea27
cmp ebx, 1
jne 0x41ea27
mov al, 9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x493ac0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5de08b
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.005cceed
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x493b42
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005c9544
mov eax, dword [eax]
push 0xa07e24
push eax
call fcn.005a7fb4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.005cd178
test bl, bl
je 0x493b42
push 0xa07e24
lea ecx, [esp + 0xc]
call fcn.005cd554
push 0xa07e30
lea ecx, [esp + 0xc]
call fcn.005cd554
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 0x493b7e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.005cd178
jmp 0x493c49
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 0x493c02
lea edx, [esp + 0x7c]
push 0xa07e2c
push edx
call fcn.005a7fb4
add esp, 8
test eax, eax
je 0x493c02
lea eax, [esp + 0x7c]
push 0xa07e28
push eax
call fcn.005a7fb4
add esp, 8
test eax, eax
je 0x493c02
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 0x493b92
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.005cd178
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 0x494450
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 0x4944b2
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 0x4944c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5de10b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xa1a2fc]
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 0x4945f8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x494526
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005cd178
xor eax, eax
jmp 0x49466f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.005cd301
push esi
lea ecx, [esp + 0xc]
call fcn.005cd590
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0xa07e64
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x49464d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push bind
call fcn.00494450
test eax, eax
jne 0x49464d
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 bind
mov ecx, edi
call fcn.00494450
test eax, eax
jne 0x49464d
lea eax, [esp + 0x14]
push 0xa07e40
push eax
call fcn.005a91b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x49462c
lea ecx, [esp + 0x14]
push 0xa07e3c
push ecx
call fcn.005a9130
mov esi, eax
add esp, 8
test esi, esi
jne 0x49462c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x49462f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.005cd2b1
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x49453e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005cd178
xor eax, eax
jmp 0x49466f
mov byte [esi], 0
push 0xa07e38
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.005cd178
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 0x4a1576
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3a0]
test eax, eax
jne 0x4a159e
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3a0], eax
pop esi
add esp, 0x190
ret
Function at 0x4abcc0
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 0x4abd2e
cmp si, 0x69
ja 0x4abd2e
add esi, 0xffd0
cmp si, 0x11
je 0x4abcfe
push 0x11
call edi
test ax, ax
jge 0x4abcfe
or esi, 0x2000
cmp si, 0x10
je 0x4abd13
push 0x10
call edi
test ax, ax
jge 0x4abd13
or esi, 0x4000
cmp si, 0x12
je 0x4abd28
push 0x12
call edi
test ax, ax
jge 0x4abd28
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4abd3b
mov esi, 0xbd
jmp 0x4abcef
cmp si, 0x6e
jne 0x4abd48
mov esi, 0xbe
jmp 0x4abcef
cmp si, 0x6f
jne 0x4abce9
mov esi, 0xbf
jmp 0x4abcef

Function at 0x4adb80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xa2c470]
xor edx, edx
cmp eax, edx
jne 0x4adba6
xor eax, eax
mov byte [eax + 0xa2c370], al
inc eax
cmp eax, 0x100
jl 0x4adb8e
mov dword [0xa2c470], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xa2c370
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4adc37
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 0x4adc0a
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 0x4adbd8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4adcb0
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 0x4add03
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 0x4adcea
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 0x4b4d50
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 0x4b4ee8
cmp ebp, ebx
jle 0x4b4ee8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, reloc.OLEAUT32.dll_VariantInit
mov dword [esp + 0x10], edi
jns 0x4b4dae
dec eax
or eax, 0xfffffff8
inc eax
je 0x4b4db5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x4b4dc4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x4b4dcb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.005cceb9
add esp, 4
cmp eax, ebx
je 0x4b4dec
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.005cceb9
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 0x4b4ede
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 0x4b4ec5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x4b4eb1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x4b4ea6
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 0x4b4eb4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x4b4eb4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x4b4e50
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 0x4b4e41
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 0x4b7730
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
call fcn.005ce8b8
lea eax, [esp + 4]
mov dword [esi], method.CWnd.virtual_0
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
mov dword [esi + 0x44], 0x4d12
inc eax
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], eax
mov eax, esi
pop esi
add esp, 0x190
ret