joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402786
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x4176b8
call fcn.0040298c
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x4027c6
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4027c6
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4027de
cmp eax, 0x20b
je 0x4027cb
mov dword [ebp - 0x1c], ebx
jmp 0x4027f2
cmp dword [ecx + 0x84], 0xe
jbe 0x4027c6
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x4027ec
cmp dword [ecx + 0x74], 0xe
jbe 0x4027c6
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x419050], 0xffffffff
or dword [0x419054], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x419048]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x419044]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x41904c], eax
call fcn.00402a28
call fcn.00402ac8
cmp dword [0x419038], ebx
jne 0x402852
push fcn.00402ac8
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.00402ab6
push 0x41900c
push 0x419008
call sub.MSVCR71.dll__initterm
push 0x402a6c
call fcn.00402a16
mov eax, dword [0x419040]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x41903c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x4028a6
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x419004
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x402924
cmp al, bl
je 0x4028d0
cmp dword [ebp - 0x20], ebx
jne 0x402924
mov al, byte [esi]
cmp al, bl
je 0x4028e0
cmp al, 0x20
ja 0x4028e0
inc esi
mov dword [ebp - 0x24], esi
jmp 0x4028d0
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x4028fc
movzx eax, word [ebp - 0x54]
jmp 0x4028ff
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.00401d84
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x40291c
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x402979
cmp al, 0x22
jne 0x402933
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x402946
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x4028be
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.004029c7
ret
Function at 0x4ac5ce
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 0x34]
call fcn.0053546c
jmp 0x5361c9
invalid
pushfd
lds ecx, [edx]
push edi
pushfd
jmp 0x536125
call fcn.005357c9
mov ecx, 0x23d05038
aas
add dword [edx], 4
push 0x47
loopne 0x5361d7
mov esi, 0x907c188d
mov word [ecx], cs
sbb ch, dh
sub al, cl
ror dword [esp + ebx*2], 0x41
jae 0x53623a
int 0xa8
salc
mov al, 0xad
adc ebp, dword [ebp - 0x3d]
std
das
xchg ecx, eax
pop es
jns 0x53618f
jmp 0x536266
fisubr word [eax + edx*4 - 0x2bf26ece]
mov edx, 0xa5e5072d
adc ah, byte [ecx + 0x2766889b]
movsb byte es:[edi], byte [esi]
jb 0x53629e
mov ch, 0xba
cmp dword [edi - 0x63], edx
cmp ch, ch
shr byte [eax + 0x4d], 0x39
les edi, [ebx - 6]
insd dword es:[edi], dx
rcr dword [ecx], cl
dec ebp
popfd
jmp 0xdb7b93af
sub bl, bl
add byte [edi + 0x4d], bh
mov ebp, esp
invalid
pop ds
ljmp 0xa44e
and bh, dl
nop dword [edx - 0x20c020dd]
xor al, 0xdf
ja 0x536276
inc edi
fild word [ebp - 0x21]
cmp bl, bh
fbstp tbyte ss:[edi + ebx*8]
fbstp tbyte [edi + ebx*8]
xor ebx, edi
inc esp
fild word [ebp - 0x21]
xor al, 0xdf
ja 0x53628a
xor al, 0xdf
cmp edi, ebx
inc ebx
fild word [ebp - 0x21]
push eax
fbstp tbyte [edi - 0x21]
inc edi
fistp qword [edx]
fild word [eax - 0x21]
cmp edi, ebx
inc ebx
fbstp tbyte [edi - 0x21]
je 0x5362a4
fbstp tbyte ss:[edi - 0x21]
fistp qword ss:[edx]
fild word [edi + ebx*8 + 0x3b]
fbstp tbyte [ebx]
fbstp tbyte [edi - 0x21]
cmp edi, ebx
cmp bl, bh
inc ebx
fbstp tbyte [edi - 0x21]
xor eax, 0x77df34df
fistp qword [ebx]
fistp qword [edx]
fbstp tbyte [esi]
fistp qword [eax]
fbstp tbyte [edi - 0x21]
cmp ebx, edi
cmp bl, bh
fistp qword ss:[eax]
fild word [ebx - 0x21]
xor al, 0xdf
xor ebx, edi
ja 0x5362d2
inc eax
fistp qword [ecx]
fbstp tbyte [edi - 0x21]
inc ebx
fistp qword [edi]
fbstp tbyte [edi + ebx*8]
ja 0x5362e0
xor ebx, edi
push eax
fistp qword [ecx]
fistp qword [eax]
fistp qword [edi + ebx*8]
inc eax
fbstp tbyte [esi]
fbstp tbyte [edi - 0x21]
cmp ebx, edi
inc eax
fistp qword [ecx]
fistp qword [esi]
fbstp tbyte [edi - 0x21]
cmp ebx, edi
inc eax
fbstp tbyte [0x38df45df]
fild word [ebp - 0x21]
push eax
fbstp tbyte [edi - 0x21]
je 0x53630c
inc esi
fist word [edi - 0x21]
Function at 0x535836
Capabilities:
Decompress data using aplib

Disassembly:
bts bx, 8
neg bl
mov bx, word [esi]
pushfd
and ebx, 0xfff
cmp ch, 0x68
stc
add dword [ebx + edi], edx
lea esp, [esp + 4]
cmp al, 0x4b
add esi, 2
pushal
pushal
jmp 0x539fa2
lea esp, [esp + 0x48]
je 0x537669
bt si, bp
push 0x49b05601
clc
cmp ebx, 3
lea esp, [esp + 4]
jle 0x5322a7
push ebp
pushfd
pushfd
lea esp, [esp + 0xc]
je 0x4abed3
pushal
pushal
lea esp, [esp + 0x40]
jmp 0x4abeef
sub ecx, 8
movzx di, bl
ror bx, 5
shr ecx, 1
adc edi, 0x3d19d36e
ror di, 0xa
mov edi, dword [esi]
shld bx, ax, 0xa
add edi, dword [ebp + 0x10]
add bh, dh
mov bl, 0xfa
bts bx, di
mov bh, 0xa1
add esi, 8
shld bx, dx, cl
shld bx, sp, cl
rcl bh, cl
mov bx, word [esi]
pushfd
shr ebx, 0xc
bt ecx, 4
mov word [esp], 0xa8a7
test bl, 0xdd
cmp ebx, 1
mov dword [esp], edi
pushfd
mov dword [esp + 4], 0x95f7951e
lea esp, [esp + 8]
je 0x5262b2
pushfd
pushal
clc
mov word [esp], bx
cmp ebx, 2
pushal
mov word [esp], 0xf973
push dword [esp]
jmp 0x4b05a5
test ah, 0x28
mov bl, cl
clc
stc
mov bx, word [esi]
jmp 0x532a80
pushal
lea esp, [esp + 0x20]
je 0x4abed3
pushfd
lea esp, [esp + 4]
jmp 0x4abeef
cmc
cmc
cmp bl, 0x1d
and ebx, 0xfff
test dl, 0x9c
push ecx
test ecx, edx
add word [ebx + edi], ax
push 0x16a628b5
push esi
lea esp, [esp + 0xc]
jmp 0x4abeef
jmp 0x538701
bsr bx, bp
call fcn.004ac7ef
jmp 0x5375bb
lea ebx, [ebp + 0x3402ba74]
movsx esi, cl
pop esi
not ch
pushal
movsx bx, bl
mov edi, dword [esp + 0x20]
movzx bx, cl
push 0x9f05c099
movsx cx, cl
lea ecx, [edx + 0x2d2e8700]
mov ebx, dword [esp + 0x28]
not ecx
mov ecx, dword [esp + 0x2c]
push 0x95f8d6ef
call fcn.0053892d
add eax, 0x23bcccb4
aas
jp 0x53753d
sar dword [edi], 1
aas
popfd
jmp 0x5375e0
cld
push 0x7f
cli
inc ebx
arpl word [edx], cx
push es
sbb al, 9
xor eax, 0x64a6cbd
mov cs, word [ebp + 0x73f6fb5b]
aaa
jnp 0x537610
stc
mov ecx, ss
cmp eax, ebx
invalid
test eax, 0xf1096fcc
inc ecx
lodsb al, byte [esi]
ret 0x8298
adc bl, cl
rcr bx, 8
mov bx, word [esi]
pushal
push 0x90fd4f87
pushal
and ebx, 0xfff
clc
add word [ebx + edi], dx
push 0x5a89fc4e
lea esp, [esp + 0x48]
jmp 0x4abeef
push dword [esp]
pushal
lea esp, [esp + 0x28]
je 0x537576
sar di, 5
jl 0x53682f
adc di, ax
cmc
add dword [ebp - 4], ecx
jmp 0x526209
mov word [esp], 0x2519
dec ecx
pushfd
call fcn.005357da
stosb byte es:[edi], al
pushfd
mov byte [esp], 0xe9
push eax
pushfd
lea esp, [esp + 0x30]
jmp 0x5380e4
Function at 0x53763d
Capabilities:
Encode data using xor

Disassembly:
pushfd
adc ecx, ecx
push eax
mov word [esp], 0xba40
lea esp, [esp + 0xc]
call fcn.005250e4
jge 0x5384a0
jb 0x533dd3
pushfd
pushal
pushal
push dword [esp]
push dword [esp + 0x48]
ret 0x4c
jo 0x538953
jb 0x533dd3
pushal
push esi
mov word [esp + 0xc], 0xe54c
push ebp
push dword [esp + 0x28]
ret 0x2c
push 0x376ed77e
movsx ebp, dl
push dword [esp]
mov ebp, dword [esp + 8]
push dword [esp]
mov byte [esp + 4], 0xc0
push dword [esp + 0x10]
ret 0x24
call fcn.00534a4c
arpl word [esi], dx
test al, 0x23
aas
fsub st(5), st(0)
sbb edx, dword [ebp - 0x79]
mov ebp, 0xddf811b
pop ds
dec ebp
outsd dx, dword [esi]
sbb edi, 0x6f4d1f0d
jns 0x538965
pop ds
or byte [esi - 0x3e], al
mov ebx, 0x51b7c
pop esi
add ebx, dword [edx + 0x51]
outsb dx, byte [esi]
sar ch, cl
arpl word [ecx + 0x2e089334], di
dec esp
pop ebp
salc
mov eax, dword [0xb22c6825]
pop edx
daa
test al, 0xa1
mov ebp, 0x808187ed
std
lodsb al, byte [esi]
lds ebp, [edx - 0x6a]
dec ebx
xor dword [ebx + 0x20], esp
cli
stc
mov bh, 0xa4
and dl, bh
jne 0x538986
mov dh, 0x70
and al, 0x46
dec ebx
lodsd eax, dword [esi]
jg 0x5389fc
dec edx
add edx, esp
jge 0x538935
invalid
Function at 0x405d68
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x405d8a
mov eax, 0xfffffffd
jmp 0x405e67
mov ebx, dword [0x56b1d8]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x405e35
mov ebx, dword [0x56b1d8]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x405dd9
mov ebx, dword [0x56b1d8]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x405dd9
mov eax, 1
jmp 0x405ddb
xor eax, eax
test eax, eax
je 0x405e07
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x405df0
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x56b1d8]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x405e5d
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x405e67
mov esp, ebp
pop ebp
ret 4

Function at 0x40606e
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x406121
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]

Function at 0x406b76
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.0040606e
test eax, eax
je 0x406bb9
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x406bb9
cmp word [eax], 0x5a4d
jne 0x406bb9
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x406bb9
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.00406140
mov eax, dword [ebp + 8]
jmp 0x406bd2
mov esp, ebp
pop ebp
ret 4

Function at 0x415dc2
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
and eax, 1
leave
ret
Function at 0x4282c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4837fb
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.00478293
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x428342
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004761aa
mov eax, dword [eax]
push 0x55d228
push eax
call fcn.00468ec4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047851e
test bl, bl
je 0x428342
push 0x55d228
lea ecx, [esp + 0xc]
call fcn.004788ae
push 0x560da4
lea ecx, [esp + 0xc]
call fcn.004788ae
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 0x42837e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047851e
jmp 0x428449
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 0x428402
lea edx, [esp + 0x7c]
push 0x560da0
push edx
call fcn.00468ec4
add esp, 8
test eax, eax
je 0x428402
lea eax, [esp + 0x7c]
push 0x560d9c
push eax
call fcn.00468ec4
add esp, 8
test eax, eax
je 0x428402
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 0x428392
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.0047851e
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 0x428c40
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 0x428ca2
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 0x428cb0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48387b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x567248]
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 0x428de8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x428d16
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047851e
xor eax, eax
jmp 0x428e5f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0047865b
push esi
lea ecx, [esp + 0xc]
call fcn.004788ea
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x428e3d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00428c40
test eax, eax
jne 0x428e3d
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.00428c40
test eax, eax
jne 0x428e3d
lea eax, [esp + 0x14]
push 0x560db8
push eax
call fcn.00469f40
mov esi, eax
add esp, 8
test esi, esi
jne 0x428e1c
lea ecx, [esp + 0x14]
push 0x560db4
push ecx
call fcn.00469ec0
mov esi, eax
add esp, 8
test esi, esi
jne 0x428e1c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x428e1f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0047860b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x428d2e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047851e
xor eax, eax
jmp 0x428e5f
mov byte [esi], 0
push 0x560db0
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.0047851e
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 0x4394d0
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 0x43953e
cmp si, 0x69
ja 0x43953e
add esi, 0xffd0
cmp si, 0x11
je 0x43950e
push 0x11
call edi
test ax, ax
jge 0x43950e
or esi, 0x2000
cmp si, 0x10
je 0x439523
push 0x10
call edi
test ax, ax
jge 0x439523
or esi, 0x4000
cmp si, 0x12
je 0x439538
push 0x12
call edi
test ax, ax
jge 0x439538
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43954b
mov esi, 0xbd
jmp 0x4394ff
cmp si, 0x6e
jne 0x439558
mov esi, 0xbe
jmp 0x4394ff
cmp si, 0x6f
jne 0x4394f9
mov esi, 0xbf
jmp 0x4394ff

Function at 0x43ac70
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x577a18]
xor edx, edx
cmp eax, edx
jne 0x43ac96
xor eax, eax
mov byte [eax + 0x577918], al
inc eax
cmp eax, 0x100
jl 0x43ac7e
mov dword [0x577a18], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x577918
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x43ad27
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 0x43acfa
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 0x43acc8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x43ada0
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 0x43adf3
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 0x43adda
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 0x441830
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 0x4419c8
cmp ebp, ebx
jle 0x4419c8
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 0x44188e
dec eax
or eax, 0xfffffff8
inc eax
je 0x441895
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x4418a4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x4418ab
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0047825f
add esp, 4
cmp eax, ebx
je 0x4418cc
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.0047825f
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 0x4419be
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 0x4419a5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x441991
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x441986
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 0x441994
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x441994
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x441930
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 0x441921
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 0x444c30
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x484d48
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 0x444c69
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.0047fc0c
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.0047fc58
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.00444cf0
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.0047fc95
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24