joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457fa0
Capabilities:
Get file size
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x491b3b
push eax
mov eax, 0x2718
mov dword fs:[0], esp
call fcn.004715c0
mov eax, dword [0x64a2f0]
push edi
mov dword [esp + 4], eax
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 0x2724], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x272c]
push ecx
lea ecx, [esp + 8]
call fcn.00481289
push 0x5c
lea ecx, [esp + 8]
call fcn.00481503
mov edx, dword [esp + 0x2730]
lea ecx, [esp + 4]
push edx
call fcn.004814dc
mov eax, dword [esp + 4]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x458046
lea ecx, [esp + 4]
mov dword [esp + 0x2724], eax
call fcn.00481100
xor eax, eax
jmp 0x4580c3
push ebx
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
mov esi, eax
push 0x40
push edi
sub esi, 0x40
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test esi, esi
jbe 0x4580a1
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, 0x2710
push 0
jbe 0x458093
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0x2710
push edx
push edi
call ebx
sub esi, 0x2710
jne 0x45806d
jmp 0x4580a1
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push esi
push ecx
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
mov dword [esp + 0x272c], 0xffffffff
call fcn.00481100
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x271c]
pop edi
mov dword fs:[0], ecx
add esp, 0x2724
ret 8
Function at 0x4632a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x4632ec
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x4632ec
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x4632d6
push eax
call ebp
test ax, ax
jl 0x4632e4
inc esi
add edi, 4
cmp esi, 6
jb 0x4632c8
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.00462fa0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x466e90
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x466ef0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x466ef0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x466ef0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x466ef0
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 0x466f00
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 0x4834f0
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x483528
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.004815a7
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048157f
jmp 0x483534
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x484be1
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 0x484c23
call fcn.0048aab4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x484c23
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x484c1a
xor eax, eax
jmp 0x484c2b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00484c31
pop edi
pop esi
pop ebx
ret 4

Function at 0x48afe4
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48b012
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48b030
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048af4a
jmp 0x48b030
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48b030
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048af4a
test edi, edi
mov eax, edi
jne 0x48b01a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x5c151b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
btc eax, eax
sub esp, 6
jmp 0x5c153f
lea esp, [esp + 2]
lea esp, [esp + 8]
mov ebp, esp
movzx eax, word [ebp + 8]
jmp 0x5c158d
bswap edx
setb dl
jmp 0x5c15c1
mov dx, word [esp]
xchg dh, cl
mov ecx, dword [esp]
movzx ecx, word [ebp + 0xc]
dec dx
jmp 0x5c1577
mov ecx, ebp
add ecx, 0xc
mov ebx, dword [ecx]
pop ecx
jmp 0x5c15d0
push ebx
btc ebx, edx
mov dx, word [esp]
push ecx
jmp 0x5c159e
mov dl, 0x7c
not edx
bswap edx
push esi
jmp 0x5f1f89
mov dword [ebp + 0xc], esi
mov esi, dword [esp]
jmp 0x5f1e3a
sub esp, 0x18
lea esp, [esp + 0x18]
imul ecx, esi
clc
jmp 0x5f1e01
cmc
jmp 0x5f1e5b
imul eax, ebx
mov esi, ebx
imul esi, dword [ebp + 0xc]
jmp 0x5f1e24
mov dword [ebx], edx
pop ebx
cmc
jmp 0x5f1e62
add eax, ecx
push ebx
mov ebx, edi
jmp 0x5f1e45
mov dword [edi + 4], esi
cmp eax, ecx
call fcn.005f1e9b
jmp 0x5f1ee9
mov edx, eax
movzx ebx, bx
imul edx, ecx
jmp 0x5f1e17
shr ebx, 0x10
mov dx, 0x76a4
mov edx, dword [esp]
movzx esi, si
and al, 0xf
mov bh, 0xf6
jmp 0x5f1e7b
mov esi, dword [ebp + 8]
shr esi, 0x10
lea edx, [eax + edi]
mov dl, byte [esp]
xor dl, 0xec
jmp 0x5f1ee0
Function at 0x5d1259
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xf05c0e88
jmp 0x5d12d1
mov word [esp], dx
lea esp, [esp + 2]
lea esp, [esp + 2]
mov dword [esp + 0x2c], ebp
pushal
jmp 0x5d129f
mov word [esp], sp
call fcn.005d1287
lea esp, [esp + 0xc]
pop word [esp + 7]
mov dword [esp + 0x3c], edi
jmp 0x5d12c7
lea esp, [esp + 0x3c]
pushfd
jmp 0x5cf4fe
mov ecx, dword [esp]
lea ebp, reloc.USER32.dll_MessageBoxA
btr si, ax
jmp 0x5d1304
jb 0x5d131a
mov bx, si
jmp 0x5d131d
mov bx, si
mov esi, dword [esp + 0x2c]
neg al
jmp 0x5d1345
jb 0x5d135b
btr ebp, edx
rdtsc
jmp 0x5d137e
btr ebp, edx
rdtsc
cpuid
lea edi, [esp]
mov bh, 0x18
setnp ch
call fcn.005d145b
mov bl, 0x23
inc esi
mov ch, 5
sub al, 0xb4
sub cl, byte [ebp - 0x44]
or dword [ecx], esp
pushal
mov dword [reloc.USER32.dll_MessageBoxA], eax
add byte [eax], al
add cl, al
pop eax
into
test eax, 0xb5299d58
and eax, 0x2403bf4c
push edi
cpuid
call 0x5d13aa
rcr dword [eax - 0x32], 0xa9
pop eax
popfd
sub dword [ebp + reloc.USER32.dll_MessageBoxA], esi
and al, 0x57
mov esi, 0xbb058d49
fidiv dword [edi + reloc.USER32.dll_MessageBoxA]
add byte [eax], al
dec ecx
lea eax, reloc.USER32.dll_MessageBoxA
call 0x5d13cf
xchg esp, eax
or dword [ecx + reloc.USER32.dll_MessageBoxA], ebx
dec ebx
loop 0x5d13c7
lea ebp, [eax + ebx]
neg bx
xchg dword [esp], esi
mov dx, 0x8191
jmp 0x5d1394
sti
jmp 0x5d1555
bswap ecx
push dword [esp]
ret 4

Function at 0x5d1287
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushal
lea esp, [esp + 0x44]
call fcn.005d12be
wait
adc eax, 0xd81fec85
or eax, dword [esi + reloc.USER32.dll_MessageBoxA]
mov bh, 0x9e

Function at 0x5d12be
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp + 0x2c], esi
push si
pushal
jmp 0x5d12a8

Function at 0x5ddc1e
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea eax, [eax + edx]
mov dword [esp], edx
mov dx, bx
mov eax, 0xe2086f3c
mov dx, bx
mov dx, bp
jmp 0x5ddc3f
push word [esp + 8]
lea eax, [edx + esi]
pop eax
jmp 0x5ddbfc
lea edx, [edx*4]
xchg ah, bh
rdtsc
mov bh, byte [esp]
jmp 0x5ddc56
push si
mov word [esp], bx
lea esp, [esp + 2]
push ebx
mov bl, byte [esp]
lea eax, [esi*4]
jmp 0x5ddc29
mov dh, 0x95
xchg al, bh
pop ebx
rdtsc
xchg dx, ax
mov ax, word [esp]
jmp 0x5ddc88
mov eax, dword [esp]
push ax
lea eax, [edx + 0x86]
mov byte [esp], ah
jmp 0x5ddcb3
bswap eax
pushfd
mov ax, word [esp + 3]
mov edx, dword [esp + 4]
bswap eax
mov eax, 0xd1ddeac9
jmp 0x5ddc72
mov ax, 0x8cde
lea esp, [esp + 2]
mov eax, dword [esp + 0xc]
lea esp, [esp + 0x10]
pushal
lea esp, [esp + 0x20]
jmp 0x5c39fb
Function at 0x5f7c53
Capabilities:
Encode data using base64
Encrypt data using speck

Disassembly:
jmp 0x5f7d24
pushfd
jmp 0x5f7cc6
lea esp, [esp + 4]
mov al, byte [ecx]
jmp 0x5f7c97
cmc
jmp 0x5f7cdc
push ebx
cmp al, 0x41
jb 0x5c28a2
jae 0x5f7c81
lea esp, [esp + 4]
cmp al, 0x61
jmp 0x5f7cea
cmp al, 0x5a
jbe 0x5c284f
cld
dec dword [edi]
xchg dword [eax + 0xffffcab], edi
or byte [ecx - 0x55], 0xfc
dec dword [edi]
cmp dword [ecx - reloc.USER32.dll_MessageBoxA], 0x1e
ja 0x5c28a2
jb 0x5c2839
jae 0x5f7daf
mov ds, word [esi]
mov ebx, gs
xchg ecx, eax
cld
jae 0x5f7ce2
xchg byte [ebp - 0x3e], dh
mul cl
and byte [ebx], dh
leave
cmp al, 0x30
jb 0x5c287b
pushal
pop word [esp + 0x15]
jmp 0x5f7d0c
cmp al, 0x7a
pushfd
lea esp, [esp + 4]
jbe 0x5c284f
ja 0x5c2839
Function at 0x5f7de6
Capabilities:
Encode data using base64

Disassembly:
cmp dl, 0x30
jmp 0x5f7e72
lea esp, [esp + 8]
cmp dl, 0x61
jb 0x5c290c
jae 0x5f7e25
pop ebp
ret 0x3750
jbe 0x5c28b8
ja 0x5c290c
mov esi, 0x24d5b21c
mov dword [reloc.USER32.dll_MessageBoxA], eax
cmp dl, 0x7a
jmp 0x5f7e0f
jb 0x5c28f6
push si
lea esp, [esp + 2]
cmp dl, 0x39
call fcn.005f7e47

Function at 0x5f8f56
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmc
mov byte [esp + 1], ah
push word [esp]
lea esp, [esp + 2]
jmp 0x5f8f34

Function at 0x61360a
Capabilities:
Encode data using xor

Disassembly:
jmp 0x61363c
lea esp, [esp + 4]
xor eax, 0x7f6d3e9d
cmc
sub esp, 0x1a
jmp 0x613664
clc
ror eax, 1
jmp 0x613626
lea esp, [esp + 2]
push ecx
pushal
cpuid
jmp 0x613728
lea esp, [esp + 3]
jmp 0x6136c9
rol eax, 3
lea esp, [esp + 0x18]
xor eax, 0x10cf6426
sub esp, 7
push dword [esp + 4]
jmp 0x613688
mov al, byte [ecx + esi]
jmp 0x6136d4
mov dword [ebp - 8], eax
lea esp, [esp + 8]
inc ecx
stc
jmp 0x6136b3
mov byte [ebp - 2], al
sub esp, 0xd
sub esp, 7
push dword [esp + 0x10]
jmp 0x61370f
pop ecx
mov ax, 0xac5e
mov eax, dword [esp]
mov eax, dword [ebp - 8]
jmp 0x61369e
mov bl, byte [ebp - 2]
jmp 0x61375e
lea esp, [esp + 0x18]
add al, byte [ebp - 1]
jmp 0x6136f9
lea ebx, [edx + ebx]
mov dword [esp + 0x18], ebp
popal
add ecx, 0xfffffff4
mov dword [ecx], eax
jmp 0x6136ec
add al, bl
mov bx, word [esp]
shr ebx, cl
push esi
jmp 0x61376f
cmc
sub esp, 0xa
lea esp, [esp + 2]
jmp 0x61377c
mov byte [ebp - 1], bl
lea ebx, [ecx*4]
neg ebx
mov ebx, dword [ebp - 8]
jmp 0x61373a
mov esi, ebp
add esi, 0xfffffff4
mov ebx, dword [esi]
pop esi
jmp 0x613745
xor al, bl
pushfd
xor al, dl
call fcn.0061388f
fcom qword [ebp - 0x3b]
lodsb al, byte [esi]
pop edi
out dx, eax
dec esi
invalid

Function at 0x67199a
Capabilities:
Parse pe header

Disassembly:
jmp 0x671a54
mov dword [esp + 0x28], ebx
call fcn.0067199f

Function at 0x67199f
Capabilities:
Parse pe header

Disassembly:
mov dword [esp], ebp
mov dword [esp + 0x28], esp
call fcn.00671a03
mov eax, 0x3dceab3b
fmul dword [esi + reloc.USER32.dll_MessageBoxA]
xabort 0x69
stc
cwde
imul eax, dword [eax + reloc.USER32.dll_MessageBoxA], 0x24
push dword [esp + 1]
pop dword [esp]
mov dword [esp + 3], ebp

Function at 0x6719bf
Capabilities:
Parse pe header

Disassembly:
call fcn.0067050f
push dword [esp + 1]
pop dword [esp]
mov dword [esp + 3], ebp
call fcn.0067199a
mov eax, dword fs:[0x30]
jmp 0x671a27
mov eax, dword [eax + 8]
jmp 0x671a31
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0x671a11
push eax
jmp 0x67050a

Function at 0x671a03
Capabilities:
Parse pe header

Disassembly:
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edi
lea esp, [esp + 0x1c]
jmp 0x6719cf
lea esp, [esp + 1]
mov byte [esp + 1], dl
lea esp, [esp + 3]
jmp 0x6719e5
Function at 0x671a94
Capabilities:
Parse pe header

Disassembly:
pop esi
int3
stosb byte es:[edi], al
sbb eax, 0x3a5fcf50
leave
push eax
loop 0x671aad
insb byte es:[edi], dx
jg 0x671ad9
int1
mov word [esp], ax
call fcn.006719bf
in al, dx
jb 0x671a80
xchg dword [edx - 0xb], esi
ja 0x671a8d
xor byte [ecx - 0x55], 0xeb
push 0x8e6899fe
pop es
test dword [reloc.USER32.dll_MessageBoxA], edx
movsb byte es:[edi], byte ss:[esi]
push 0x1585078e
jl 0x671a43
insb byte es:[edi], dx
mov bh, 0x36
movsb byte es:[edi], byte [esi]
ret
dec esp
ret 0x54a5
sti
jo 0x671ac2
xor dword [eax - 0x29], reloc.USER32.dll_MessageBoxA
ja 0x671a86
idiv dword [esi - 0x14]
mov eax, dword [esi - reloc.USER32.dll_MessageBoxA]
cmpsb byte [esi], byte es:[edi]
push ebp
mov ebp, 0x2d4ad45b
fdivr qword [esi]
iretd
Function at 0x40c700
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x482b3b
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.00477539
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40c782
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00475260
mov eax, dword [eax]
push 0x49c1e0
push eax
call fcn.00467684
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004777c4
test bl, bl
je 0x40c782
push 0x49c1e0
lea ecx, [esp + 0xc]
call fcn.00477b54
push 0x49fd40
lea ecx, [esp + 0xc]
call fcn.00477b54
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 0x40c7be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004777c4
jmp 0x40c889
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 0x40c842
lea edx, [esp + 0x7c]
push 0x49fd3c
push edx
call fcn.00467684
add esp, 8
test eax, eax
je 0x40c842
lea eax, [esp + 0x7c]
push 0x49fd38
push eax
call fcn.00467684
add esp, 8
test eax, eax
je 0x40c842
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 0x40c7d2
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.004777c4
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 0x40d080
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x482bbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4a80f4]
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 0x40d1b8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40d0e6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004777c4
xor eax, eax
jmp 0x40d22f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00477901
push esi
lea ecx, [esp + 0xc]
call fcn.00477b90
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x49fd78
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40d20d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x49fd70
push SysReAllocString
call fcn.00455390
test eax, eax
jne 0x40d20d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x49fd5c
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.00455390
test eax, eax
jne 0x40d20d
lea eax, [esp + 0x14]
push 0x49fd54
push eax
call fcn.00468790
mov esi, eax
add esp, 8
test esi, esi
jne 0x40d1ec
lea ecx, [esp + 0x14]
push 0x49fd50
push ecx
call fcn.00468710
mov esi, eax
add esp, 8
test esi, esi
jne 0x40d1ec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40d1ef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004778b1
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40d0fe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004777c4
xor eax, eax
jmp 0x40d22f
mov byte [esi], 0
push 0x49fd4c
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.004777c4
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 0x41ead0
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 0x41eb3e
cmp si, 0x69
ja 0x41eb3e
add esi, 0xffd0
cmp si, 0x11
je 0x41eb0e
push 0x11
call edi
test ax, ax
jge 0x41eb0e
or esi, 0x2000
cmp si, 0x10
je 0x41eb23
push 0x10
call edi
test ax, ax
jge 0x41eb23
or esi, 0x4000
cmp si, 0x12
je 0x41eb38
push 0x12
call edi
test ax, ax
jge 0x41eb38
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41eb4b
mov esi, 0xbd
jmp 0x41eaff
cmp si, 0x6e
jne 0x41eb58
mov esi, 0xbe
jmp 0x41eaff
cmp si, 0x6f
jne 0x41eaf9
mov esi, 0xbf
jmp 0x41eaff

Function at 0x420240
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4b88a0]
xor edx, edx
cmp eax, edx
jne 0x420266
xor eax, eax
mov byte [eax + 0x4b87a0], al
inc eax
cmp eax, 0x100
jl 0x42024e
mov dword [0x4b88a0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4b87a0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4202f7
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 0x4202ca
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 0x420298
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x420370
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 0x4203c3
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 0x4203aa
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 0x426e00
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 0x426f98
cmp ebp, ebx
jle 0x426f98
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 0x426e5e
dec eax
or eax, 0xfffffff8
inc eax
je 0x426e65
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x426e74
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x426e7b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00477505
add esp, 4
cmp eax, ebx
je 0x426e9c
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.00477505
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 0x426f8e
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 0x426f75
mov al, byte [edx]
cmp al, 0xc0
jbe 0x426f61
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x426f56
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 0x426f64
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x426f64
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x426f00
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 0x426ef1
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 0x429fa0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4841b8
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 0x429fd9
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.0047f016
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.0047f062
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.0042a060
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.0047f09f
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24