joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f050
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x492388
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x42f089
inc eax
mov dword [esi + 0x10], eax
jmp 0x42f19c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x42f09d
mov eax, 0xffffffc7
jmp 0x42f19e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x42f0ae
cmp dword [esi + 8], eax
jne 0x42f09d
cmp dword [esi + 8], eax
jne 0x42f0c7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x42f0c7
mov eax, 0xffffffc7
jmp 0x42f19e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x42f0db
push eax
mov ecx, ebx
call fcn.0042e880
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00402310
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x42f10c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00402330
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0042dff0
test eax, eax
mov dword [esp + 0x38], eax
je 0x42f13f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x537e48
call fcn.00402510
mov eax, dword [esp + 0x38]
jmp 0x42f19e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0042eeb0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x42f183
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0042eed0
mov esi, eax
test esi, esi
jne 0x42f1b3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0042eeb0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x42f155
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x537e48
call fcn.00402510
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x537e48
call fcn.00402510
mov eax, esi
jmp 0x42f19e

Function at 0x433b90
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x433bf0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x433bf0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x433bf0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x433bf0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x433c30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x460290
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 0x4602e3
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 0x4602ca
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 0x466c90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49322e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004675b0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x53b9f4
call fcn.00484de2
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x466d23
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00484de2
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x466d1c
push 0
mov ecx, eax
call fcn.0045dd90
mov dword [esi + 0xc], eax
jmp 0x466d25
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x466d25
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x487448
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x487480
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.004854fc
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004854d4
jmp 0x48748c
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x488b3a
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 0x488b7c
call fcn.0048e5ea
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x488b7c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x488b73
xor eax, eax
jmp 0x488b84
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00488b8a
pop edi
pop esi
pop ebx
ret 4
Function at 0x38435320
Capabilities:
Encode data using xor

Disassembly:
std
mov al, byte [0x4132645c]
sbb byte [ecx], dh
sti
aad 0xc8
lodsd eax, dword [esi]
aam 0x61
adc esi, dword [esi - 7]
and dword [edx + 0x50afedc9], 0xffffffcc
and eax, dword [ebp + 0x24aa1ec8]
push es
cdq
push cs
in al, 0xaa
mov dl, ah
invalid
pop ds
je 0x384352ca
mov dh, 0x7e
add dl, ch
outsd dx, dword [esi]
push cs
div byte [edi + 0x33]
ja 0x3843535a
xor al, dl
shr dword [ebp + 0x77], cl
nop
jns 0x38435325
in al, dx
imul ebp, dword [ebx + 0x33], 0xffffffb7
cmp al, dl
leave
add esi, dword [eax]
jno 0x3843531b
xor al, 0x31
cmpsd dword [esi], dword es:[edi]
push cs
add byte [ecx], 0xdf
sub dword [esi + ebp + 0x63], esp
sbb al, 0x3f
aas
xlatb
and al, 0xc4
pop ds
sbb dword [eax], 0xffffffe6
sbb ah, ah
sbb al, 0xd8
std
in eax, 0
sbb dword [esi], eax
jno 0x3843538a
insd dword es:[edi], dx
into
jb 0x384353b1
push esp
sub eax, edx
cmp bh, byte [ebx - 0x44]
xchg ebp, eax
push ss
sub byte [ebx - 0x70], bl
mov ah, bh
call dword [ebp + 0x35]
cdq
add byte [ecx + edx*2 + 0x15], dl
xchg ebp, eax
dec esi
hlt
sti
mov ebx, 0xf0ddda71
cmp byte [ebp - 0x20], dl
pushal
sbb eax, 0x49f7a637
invalid
out dx, al
enter 0xffffffffffffee99, 0xffffffffffffffd5
and al, 0x34
test dh, cl
imul esp, dword [esi + 0x198e13e5], 0xd92de0bb
aam 0
insb byte es:[edi], dx
test eax, 0xfc978e5f
test al, 0xbd
pushfd
and dword [ebp - 0xe], ebp
mov bh, 0x55
in eax, 0xaf
pop eax
popal
invalid

Function at 0x38435a90
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
inc eax
pushfd
test esp, 0x6ce9ef5e
xor byte [ecx - 6], bl
mov byte [ebp - 0x18d7df6e], dh
out 3, eax
mov esp, ebp
inc ebp
dec esp
mov eax, dword [0x545b3fe6]
out 3, eax
mov esp, ebp
inc ebp
dec esp
mov eax, dword [0x545b3fe6]
aam 0x90
cmpsd dword [esi], dword es:[edi]
fisub dword [esp + ebx*8]
in al, dx
inc ebx
xor dword [esi], esp
push es
cmc
push ecx
sub al, 0x34
push eax
out 0x50, al
jl 0x38435a80
xchg edi, eax
lea eax, [ecx + 0x78]
xor byte [0xef0147], ah
push 0xc5494b74
mov cl, 0xda
rcr dl, 0xd4
and ch, bl
enter 0xffffffffffff8b68, 0x42
dec ebx
adc cl, bh
js 0x38435b41
das
inc ebx
dec ebx
fild qword [ebx + 0x34bcff44]
inc ecx
fistp dword [eax + 0x7c0898da]
ror byte [ebp + 0x10], cl
invalid
invalid
Function at 0x384634ae
Capabilities:
Encode data using xor

Disassembly:
and byte [edx + 0x3bc33353], cl
out dx, al
nop
cvttps2pi mm0, qword [ebx + 0x10]
push 0xffffffffffffffa6
fisttp qword [eax - 0x2c]
in eax, 0x6e
cwde
push 0x54
or esi, esp
xor eax, dword [ebp - 0xa]
imul esp, dword [eax + 0x6d], 0x3abb05f6
pop ebx
lds edx, [ecx]
lahf
cmp cl, byte [eax + 0x56]
add ebp, dword [edi + 0x2aa74b5]
idiv dword [esp + ecx*4 - 0x67]
leave
bound ebp, qword cs:[eax - 0x7c]
js 0x38463482
adc eax, 0x7831d3e5
sbb al, byte [eax]
loopne 0x384634b8
in eax, 0xd3
xor dword [eax + 0x1a], edi
add al, ah
add bl, byte [ebx - 0x502b6380]
wait
sbb byte [esp + edx*8 + 0x6877d1af], 0xbd
or al, 0x53
xor dword [esi - 0x13e583a6], esp
pushfd
aam 0xaf
sal dword [edi + 0x68], 1
mov ebp, 0xa631530c
pop edx
jl 0x384634e0
in al, dx
sub bl, ch
adc edi, edx
pop ebx
push esi
jne 0x384634c3
mov dl, byte [eax - 0x35]
mov dword [0x18ac2f1], eax
or dh, byte [edi + 0x5b]
jae 0x38463471
push eax
or eax, 0x5258cde4
in al, 0xcd
pop eax
int 0x58
push edx
or byte [edx + 0x3b2d13ba], ah
xchg dword [ebx], edx
push ebp
in al, dx
or al, 0xb9
leave
cwde
xchg edx, eax
or al, 0xd9
and dword [ebp + 0x3a8125d9], ecx
jle 0x38463567
cmp bh, byte [esi + 0x6a]
imul esp, dword [ecx], 0x29e10711
dec esp
adc ebp, dword [ebp - 0x75]
sub eax, 0xb62ecdd7
mul edx
mov bl, 0x55
adc cl, bl
invalid
jns 0x384634df
mov eax, 0x2953a52
push 0x6e664090
xor eax, 0x59e345e9
stosb byte es:[edi], al
push ebx
dec ebx
pop dword [0xc99bfac9]
mov edx, eax
aaa
push ds
xchg edi, eax
pop edi
into
comiss xmm7, dword [esi]
xchg cl, ah
fmul dword [ebp + 0x27ddd6fb]
mov al, byte [0x24d0752c]
cmp dword [ebp - 0x158ae685], ecx
jne 0x38463539
and al, 0x39
lea edi, [ebx + 0x19]
jne 0x3846355a
dec ecx
push edi
or al, 0x76
dec eax
stosb byte es:[edi], al
jno 0x384634fa
bound ecx, qword [ecx - 0x6d61d1c1]
mov eax, dword [0xd7d2c033]
rcl dl, 0xd7

Function at 0x38463580
Capabilities:
Encode data using xor

Disassembly:
rcl dl, 0xd7
cmp ecx, dword [eax + 0x3c]
xchg cl, ah
cdq
sub dl, byte [ebx - 0x13]
dec edx
adc bh, byte [eax]
invalid
Function at 0x445790
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f463b
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.004e77ff
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x445812
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004e46e4
mov eax, dword [eax]
push 0x6fdd1c
push eax
call fcn.004d5b54
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004e7a8a
test bl, bl
je 0x445812
push 0x6fdd1c
lea ecx, [esp + 0xc]
call fcn.004e7e1a
push 0x6fdd28
lea ecx, [esp + 0xc]
call fcn.004e7e1a
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 0x44584e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004e7a8a
jmp 0x445919
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 0x4458d2
lea edx, [esp + 0x7c]
push 0x6fdd24
push edx
call fcn.004d5b54
add esp, 8
test eax, eax
je 0x4458d2
lea eax, [esp + 0x7c]
push 0x6fdd20
push eax
call fcn.004d5b54
add esp, 8
test eax, eax
je 0x4458d2
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 0x445862
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.004e7a8a
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 0x446130
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 0x446192
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 0x4461a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f46bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x70e350]
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 0x4462d8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x446206
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e7a8a
xor eax, eax
jmp 0x44634f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004e7bc7
push esi
lea ecx, [esp + 0xc]
call fcn.004e7e56
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x6fdd5c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x44632d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00446130
test eax, eax
jne 0x44632d
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 accept
mov ecx, edi
call fcn.00446130
test eax, eax
jne 0x44632d
lea eax, [esp + 0x14]
push 0x6fdd38
push eax
call fcn.004d6ca0
mov esi, eax
add esp, 8
test esi, esi
jne 0x44630c
lea ecx, [esp + 0x14]
push 0x6fdd34
push ecx
call fcn.004d6c20
mov esi, eax
add esp, 8
test esi, esi
jne 0x44630c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x44630f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004e7b77
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x44621e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e7a8a
xor eax, eax
jmp 0x44634f
mov byte [esi], 0
push 0x6fdd30
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.004e7a8a
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 0x44e6ea
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4f51b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.004e9075
xor ebp, ebp
mov dword [esi], 0x6de3b8
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea edi, [esi + 0x44]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x18]
mov dword [edi], fcn.004d2f70
call fcn.0043ba80
lea ecx, [edi + 0x30]
mov byte [esp + 0x38], 1
call fcn.004e6add
lea ebx, [edi + 0x44]
mov ecx, ebx
call fcn.0043ba80
mov dword [ebx], 0x6dde04
mov dword [edi], 0x6de2d0
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x9c], 0x6dd560
lea ecx, [esi + 0xb0]
call fcn.0043ba80
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], 0x6de3ac
mov byte [esp + 0x38], 5
mov dword [esi], 0x6de2d8
mov dword [esi + 0xac], ebp
call fcn.004f2114
mov eax, dword [eax + 0xc]
push 0x40e
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.004ee8aa
mov ecx, dword [esi + 0xcc]
lea eax, [esp + 0x18]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x1c]
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0xd4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xd0], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x44e880
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4f5245
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x6de2d8
mov dword [esp + 0x18], 0
lea ecx, [esi + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x18], 4
call fcn.004ee901
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0x6dd3c8
call fcn.0043bc80
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x18], 5
call fcn.004ee901
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x6dd3c8
call fcn.0043bc80
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.004e6b10
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x6dd3c8
call fcn.0043bc80
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004f0314
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x45e620
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 0x45e68e
cmp si, 0x69
ja 0x45e68e
add esi, 0xffd0
cmp si, 0x11
je 0x45e65e
push 0x11
call edi
test ax, ax
jge 0x45e65e
or esi, 0x2000
cmp si, 0x10
je 0x45e673
push 0x10
call edi
test ax, ax
jge 0x45e673
or esi, 0x4000
cmp si, 0x12
je 0x45e688
push 0x12
call edi
test ax, ax
jge 0x45e688
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x45e69b
mov esi, 0xbd
jmp 0x45e64f
cmp si, 0x6e
jne 0x45e6a8
mov esi, 0xbe
jmp 0x45e64f
cmp si, 0x6f
jne 0x45e649
mov esi, 0xbf
jmp 0x45e64f

Function at 0x45ff20
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x71ed18]
xor edx, edx
cmp eax, edx
jne 0x45ff46
xor eax, eax
mov byte [eax + 0x71ec18], al
inc eax
cmp eax, 0x100
jl 0x45ff2e
mov dword [0x71ed18], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x71ec18
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x45ffd7
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 0x45ffaa
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 0x45ff78
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x460050
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 0x4600a3
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 0x46008a
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 0x4670d0
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 0x467268
cmp ebp, ebx
jle 0x467268
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 0x46712e
dec eax
or eax, 0xfffffff8
inc eax
je 0x467135
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x467144
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x46714b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004e77cb
add esp, 4
cmp eax, ebx
je 0x46716c
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.004e77cb
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 0x46725e
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 0x467245
mov al, byte [edx]
cmp al, 0xc0
jbe 0x467231
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x467226
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 0x467234
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x467234
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x4671d0
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 0x4671c1
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 0x46a5c0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f67f8
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 0x46a5f9
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.004ef8ad
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.004ef8f9
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.0046a680
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.004ef936
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24