joyce8/EMBER2024-capa huggingface dataset:
Function at 0x85cc3d
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov eax, dword [edx - 8]
stc
lea edi, [ebx + ebp]
jmp 0x85cb81
jmp 0x85cce5
dec di
mov edi, 0x9b10a3c9
mov edi, dword [ecx - 8]
clc
jmp 0x85cc89
cmc
jmp 0x85cbf2
mov edi, dword [ecx - 4]
clc
mov dword [ecx - 4], eax
mov ax, word [esp]
not ax
jmp 0x85cbb6
mov dword [edx - 4], edi
jmp 0x85cc32
mov eax, dword [edx]
jmp 0x85cbdc
mov eax, dword [edx - 4]
cmc
mov dword [edx - 8], edi
mov edi, 0xc42245ab
jmp 0x85cbcc
mov dword [ecx], eax
lea eax, [esp + ebx]
mov eax, ebx
push ebp
jmp 0x85cc57
push ebp
mov ebp, ecx
mov edi, dword [ebp]
pop ebp
jmp 0x85cc17
jmp 0x85cc64
push esi
mov esi, ecx
add esi, 4
jmp 0x85cc72
mov eax, dword [edx + 4]
clc
mov dword [edx], edi
bswap edi
call fcn.0085cc3b
mov edi, dword [ecx + 4]
pushfd
sub esp, 0x1e
pushfd
lea esp, [esp + 2]
jmp 0x85cc3d
mov dword [esi], eax
pop esi
jmp 0x85ccd6
add dword [ebp - 4], 4
mov dword [ecx - 8], eax
mov eax, 0xd8a2265d
jmp 0x85cc09
lea esp, [esp + 0x20]
sub edx, 0x10
jmp 0x85cd20
lea esp, [esp + 1]
lea esp, [esp + 0x14]
add ecx, 0x10
pushal
mov dword [esp + 0x10], esi
jmp 0x85cc9a
mov dword [edx + 4], edi
lea esp, [esp + 0x2c]
sub ebx, 4
sub esp, 0x15
jmp 0x85ccb0
cmp eax, 1
jmp 0x85cd08
push ebp
mov eax, dword [ebp - 8]
lea esp, [esp + 4]
jmp 0x828ae6
jle 0x828a63
mov bh, dl
shr cl, 1
jmp 0x85cd33
cmp dword [ebp - 4], ebx
jl 0x828ab6
mov al, byte [esp]
mov eax, 0xfba89865
jmp 0x85ccfb
lea ecx, [eax - 1]
setnp bh
mov dword [ebp - 4], ecx
bswap ebx
jmp 0x85ce94
mov ecx, 0xff
jmp 0x828a4d

Function at 0x85cfb6
Capabilities:
Encrypt data using aes

Disassembly:
lea esp, [esp + 0x10]
xor edi, dword [ebx*4 + reloc.IPHLPAPI.DLL_GetInterfaceInfo]
jmp 0x85d400
add ebp, 9
movzx ebx, byte [ebp]
pop ebp
call fcn.0085d018
xchg bp, cx
mov dword [esp + 8], esi
clc
clc
popal
jmp 0x85d08c
lea ebx, reloc.IPHLPAPI.DLL_GetInterfaceInfo
and bx, 0x85eb
push ebp
pushal
jmp 0x85d0f9

Function at 0x85d018
Capabilities:
Encrypt data using aes

Disassembly:
pushfd
mov edx, dword [edx*4 + reloc.IPHLPAPI.DLL_GetInterfaceInfo]
and edx, ecx
jmp 0x85d03a
push ebx
mov ebx, esi
jmp 0x85d01f
sub esp, 8
and edx, ecx
jmp 0x85cff5
add ebx, 8
mov edx, dword [ebx]
pop ebx
call fcn.0085d065
mov bl, 0x17
xchg edx, esp
adc dword [eax + reloc.IPHLPAPI.DLL_GetInterfaceInfo], ebx
mov byte [edx - 0x5b], cl
aam 0x47
out dx, al
lea esp, [esp + 0x10]
xor edi, dword [edx*4 + reloc.IPHLPAPI.DLL_GetInterfaceInfo]
mov dx, 0x4f00
mov dl, 0xa3
mov dh, 0xe9
jmp 0x85d001

Function at 0x85d065
Capabilities:
Encrypt data using aes

Disassembly:
push edx
jmp 0x85d06f
lea esp, [esp + 3]
lea esp, [esp + 1]
jmp 0x85d04f
mov edx, esi
add edx, 4
mov dword [edx], edi
pop edx
jmp 0x85d0b5
bswap edi
mov ebx, dword [ebx*4 + reloc.IPHLPAPI.DLL_GetInterfaceInfo]
mov edi, edx
clc
call fcn.0085d099

Function at 0x85d19b
Capabilities:
Encrypt data using aes

Disassembly:
mov edx, dword [esi + 0xc]
sub esp, 0x1e
lea esp, [esp + 2]
jmp 0x85d1df
mov dx, si
mov dl, 0x26
mov dl, al
jmp 0x85d185
mov dword [esi + 8], edi
bts di, dx
rcl edi, cl
jmp 0x85d1c9
Function at 0x85d22f
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
pushal
push ecx
mov ecx, edi
jmp 0x85d26f
and ebx, ecx
jmp 0x85d2af
lea ecx, [ecx*4]
lea ecx, reloc.IPHLPAPI.DLL_GetInterfaceInfo
mov edi, dword [ecx]
pop ecx
jmp 0x85d259
mov ebx, dword [ebx*4 + reloc.IPHLPAPI.DLL_GetInterfaceInfo]
call fcn.0085d2bd
stosb byte es:[edi], al
xor eax, 0x893fcca5
movsb byte es:[edi], byte [esi]
xlatb
or dword ds:[ebx + reloc.IPHLPAPI.DLL_GetInterfaceInfo], ecx
mov edi, esi
add edi, 0xe
movzx ebx, byte [edi]
pop edi
jmp 0x85d281
lea esp, [esp + 0x44]
xor edi, dword [ebx*4 + reloc.IPHLPAPI.DLL_GetInterfaceInfo]
push edi
jmp 0x85d297

Function at 0x85d6f8
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push word [esp]
lea esp, [esp + 2]
jmp 0x85d736
lea esp, [esp + 4]
cmp al, 0x5a
pushal
lea esp, [esp + 0x20]
jbe 0x828bcd
ja 0x828bf0
Function at 0x85dfb9
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
call 0x85dfb9
ror dword [ecx - 0x27], 1
mov eax, 0xea71fe4b
js 0x85d58d
ljmp 0xbfac:0x5d228b28
jmp 0x85df90
pop edx
xchg ecx, eax
adc byte [ebx + 0x54e8a50a], dl
or al, byte [eax]
add byte [0x9465028c], dl
call 0x85dfec
adc eax, 0x9465028c
and eax, 0xe8891985
sbb ebx, ebx
clc
invalid
cmp cl, 0x2f
pushfd
lea esp, [esp + 4]
jne 0x85d593
je 0x85dfcf
ficom word [edx + ecx*8 - 0x53]
pop esp
call 0x5600a2eb
les eax, [eax - 0x7af0d407]
leave
cmc
invalid
cmp cl, 0x2b
jne 0x85d57d
call 0x85df85
lea esp, [esp + 4]
pop ecx
jmp 0x85d5a9
push 0x3f
jmp 0x85d55f
mov word [esp], di
lea esp, [esp + 4]
jmp 0x85dfab

Function at 0x85e012
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
lea esp, [esp + 2]
jmp 0x85e048
lea esp, [esp + 8]
movzx ecx, cl
add ecx, 4
jmp 0x85d5a9

Function at 0x85e063
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
shl eax, 6
jmp 0x85e065
push edi
jmp 0x85e127
cmp edi, 3
jmp 0x85e1b2
mov ecx, dword [ebp + 8]
mov edx, esi
lea edx, reloc.IPHLPAPI.DLL_GetInterfaceInfo
jmp 0x85e18f
jmp 0x85e1c6
jmp 0x85e0a2
sub esp, 0x14
pop dword [esp + 8]
jmp 0x85e08c
or eax, esi
shl si, cl
lea esi, [ebx + edi]
jmp 0x85e0ae
mov ecx, dword [ebp - 8]
lea esp, [esp + 4]
jmp 0x85d5a9
shl eax, 0xc
btc esi, ebp
lea esi, [ecx + esi]
lea esp, [esp + 0x10]
jmp 0x85e0fa
jb 0x85d5d5
jae 0x85e0e4
movsb byte es:[edi], byte [esi]
xor dword [ecx - reloc.IPHLPAPI.DLL_GetInterfaceInfo], esp
xor ah, byte [eax - 0x4c0ecd39]
stosb byte es:[edi], al
lds esi, [edi + ecx - 0x79]
adc ch, dh
invalid
shl edx, 6
jmp 0x85e120
pop esi
cmp edi, 2
jmp 0x85e0bd
or eax, edx
jmp 0x85d5d5
lea esp, [esp + 4]
cmp edi, 3
jne 0x85d63c
je 0x85e224
mov ss, word [0xac1fec85]
add al, 0xb7
sahf
jmp 0x89ec8c50
invalid
invalid
mov byte [ecx], dl
call fcn.0085e153
lea esp, [esp + 4]
jb 0x85d626
mov dx, 0xa441
xchg dh, dl
jmp 0x85e1dd
bsr dx, si
mov edx, eax
shr edx, 0x10
jmp 0x85e169
jne 0x85d652
push di
lea esp, [esp + 2]
mov byte [ecx + 2], al
jmp 0x85d652
pushfd
xor eax, eax
jmp 0x85e204
mov edx, eax
sub esp, 0x1f
lea esp, [esp + 0xf]
shr edx, 8
call fcn.0085e1b0
lea esp, [esp + 4]
jmp fcn.0085d3c7
or eax, ecx
jmp 0x85d63c

Function at 0x85e153
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
lea esp, [esp + 4]
cmp edi, 2
push edx
jmp 0x85e170

Function at 0x85e1b0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
lea esp, [esp + 0x14]
mov byte [ecx + 1], dl
jmp 0x85d626
jmp 0x85e19a
Function at 0x8f17f4
Capabilities:
Execute anti-debugging instructions

Disassembly:
cpuid
jmp 0x8f181e
xchg cx, di
btr edi, edi
bsf ebp, edx
mov si, word [esp + 4]
mov bx, word [esp + 3]
bswap ecx
jmp 0x8f1884
btc bp, cx
cld
adc esi, ecx
mov dword [esp + 1], eax
jmp 0x8f18b4
dec ebx
add esp, 0x14
lea eax, reloc.IPHLPAPI.DLL_GetInterfaceInfo
neg bp
xchg byte [esp + 3], bl
jmp 0x8f1857
inc bp
mov ax, 0x399a
mov edx, 0x644e7aa7
xor dl, 0x81
pushal
xchg ebx, ecx
jmp 0x8f186d
not cl
lea ebp, [esp - 0x25]
lea esp, [esp + 0x12]
push word [esp]
push dword [esp + 4]
mov bh, ah
jmp 0x8f18cc
lea ebp, [esi*4]
cld
push dword [esp + 3]
mov ebp, 0xbaa99984
xchg dword [esp + 0xd], edi
cmc
jmp 0x8f1897
bt ebp, ebx
pop word [esp + 2]
pop edi
sbb al, 0x99
push word [esp + 2]
jmp 0x8f1922
sub al, 0x6c
pop ax
neg bp
bswap ebp
setnp ch
neg bl
jmp 0x8f194a
bsr ebp, edi
push word [esp + 5]
push dword [esp + 4]
inc di
jmp 0x8f1934
setl dl
rcr dh, cl
mov ah, bh
xchg byte [esp + 2], dl
neg bx
rdtsc
jmp 0x8f18fc
mov byte [esp + 0xc], bh
bswap eax
xchg ebx, ecx
xchg word [esp + 6], ax
sub esp, 0x1e
jmp 0x8f1987
sub esp, 0xe
cpuid
mov ax, 0x641c
mov dl, cl
pop dx
pop dword [esp + 5]
jmp 0x8f190c
cmp edx, 0xc7f70e0a
mov ebp, esp
pop word [esp + 0xb]
xchg cx, bx
jmp 0x8f199b
lea edi, [esp - 0xa]
mov ecx, 0x42ad3553
clc
xchg esi, edi
mov bp, word [esp + 6]
xchg esi, eax
jmp 0x8f1971
mov byte [esp + 0x25], cl
dec ax
mov ebx, 0x8ccc50e9
mov byte [esp + 0xe], cl
sub esp, 0x10
jmp 0x8f1bee
xchg esi, ebx
bsr ebp, ebx
sub esp, 0x16
pop si
not si
xchg dword [esp + 5], esi
jmp 0x8f19c5
lea esp, [esp + 0x5a]
setae cl
dec dx
mov ecx, ebp
lea ebx, [eax + ebx]
mov ah, 0xa
jmp 0x8f19ed
lea ebx, [edi*4]
popal
xchg byte [esp + 8], ah
inc al
pushal
sub esp, 0x1d
jmp 0x8f1a65

Function at 0x8f1c22
Capabilities:
Execute anti-debugging instructions

Disassembly:
bt ecx, ecx
xchg byte [esp + 0x1b], dl
xchg esi, eax
sub esp, 6
lea esp, [esp + 0x18]
mov si, 0xec3d
rol esi, cl
dec cl
jmp 0x8f1c05

Function at 0x8f1d6d
Capabilities:
Execute anti-debugging instructions

Disassembly:
push edi
mov byte [esp + 2], ah
clc
xchg edx, edi
jmp 0x8f1e39
lea esi, [ecx - 0xc2]
rdtsc
mov word [esp + 0x1f], dx
xchg word [esp + 0x24], si
sub esp, 0x12
push dword [esp + 0x1a]
jmp 0x8f1e0c
mov dword [esp + 3], ebx
lea ebp, reloc.IPHLPAPI.DLL_GetInterfaceInfo
not ah
lea edi, [esi + 0x3f]
std
lea edi, [eax - 0x10]
jmp 0x8f1db5
inc edi
lea eax, [edx*4]
xchg bp, si
not dl
dec bx
jmp 0x8f1e22
popal
xchg word [esp + 5], di
stc
mov byte [esp + 3], cl
mov ecx, 0x40c85e37
xchg byte [esp + 4], al
jmp 0x8f1df6
lea ecx, [ebx*4]
neg bl
mov dx, si
bt bx, ax
jmp 0x8f1e63
btr ebp, esp
rdtsc
xchg cx, si
push dword [esp + 5]
pushfd
pop word [esp + 0x10]
jmp 0x8f1de1
mov bh, cl
mov cx, 0xefea
mov bh, byte [esp + 0x1c]
xchg al, dh
cpuid
jmp 0x8f1ea2
mov edi, dword [esp + 7]
std
lea ebp, [ecx*4]
mov dl, dh
rdtsc
cmc
jmp 0x8f1e4d
push word [esp + 0xa]
mov word [esp + 4], sp
xor edi, ebp
push word [esp + 0x1d]
lea esi, [ebx + edi]
not di
jmp 0x8f1e8c
Function at 0x8f5289
Capabilities:
Execute anti-debugging instructions
Packed with generic packer

Disassembly:
call fcn.008f10aa
jmp 0x8f10a5
call 0x8f405e
jmp 0x8f5389
lea esp, [esp + 2]
lea esp, [esp + 2]
mov dword [esp + 0x20], ebx
jmp 0x8f52f4
push bp
lea esp, [esp]
call fcn.008f52c8
lea esp, [esp + 0x38]
jmp 0x8f534f
mov eax, dword [eax + 0xc]
jmp 0x8f539f
mov eax, dword fs:[0x30]
jmp 0x8f5339
push eax
jmp 0x8f4059
pop eax
jmp 0x8f53bf
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x8f5383
sub eax, 0x4f405e
push eax
jmp 0x8f1773

Function at 0x8f52c8
Capabilities:
Execute anti-debugging instructions
Packed with generic packer

Disassembly:
mov word [esp + 2], bp
pushfd
lea esp, [esp + 2]
mov dword [esp + 0x24], esp
jmp 0x8f52dc
mov dword [esp + 0x20], ebp
push ebx
pop word [esp]
lea esp, [esp + 1]
lea esp, [esp + 1]
jmp 0x8f5330
mov dword [esp + 0x1c], esi
call fcn.008f5314

Function at 0x8f5314
Capabilities:
Execute anti-debugging instructions
Packed with generic packer

Disassembly:
push word [esp + 2]
lea esp, [esp + 3]
pushal
lea esp, [esp + 3]
mov dword [esp + 0x38], edi
jmp 0x8f52fe
Function at 0x408010
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46a29b
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.0045ec38
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x408092
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045c84d
mov eax, dword [eax]
push 0x49c1d0
push eax
call fcn.0044ece4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045eec3
test bl, bl
je 0x408092
push 0x49c1d0
lea ecx, [esp + 0xc]
call fcn.0045f253
push 0x49fd44
lea ecx, [esp + 0xc]
call fcn.0045f253
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 0x4080ce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045eec3
jmp 0x408199
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 0x408152
lea edx, [esp + 0x7c]
push 0x49fd40
push edx
call fcn.0044ece4
add esp, 8
test eax, eax
je 0x408152
lea eax, [esp + 0x7c]
push 0x49fd3c
push eax
call fcn.0044ece4
add esp, 8
test eax, eax
je 0x408152
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 0x4080e2
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.0045eec3
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 0x408990
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 0x4089f2
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 0x408a00
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46a31b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4a66f0]
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 0x408b38
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x408a66
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045eec3
xor eax, eax
jmp 0x408baf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045f000
push esi
lea ecx, [esp + 0xc]
call fcn.0045f28f
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 0x408b8d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00408990
test eax, eax
jne 0x408b8d
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 closesocket
mov ecx, edi
call fcn.00408990
test eax, eax
jne 0x408b8d
lea eax, [esp + 0x14]
push 0x49fd58
push eax
call fcn.0044fd20
mov esi, eax
add esp, 8
test esi, esi
jne 0x408b6c
lea ecx, [esp + 0x14]
push 0x49fd54
push ecx
call fcn.0044fca0
mov esi, eax
add esp, 8
test esi, esi
jne 0x408b6c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x408b6f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045efb0
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x408a7e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045eec3
xor eax, eax
jmp 0x408baf
mov byte [esi], 0
push 0x49fd50
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.0045eec3
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 0x4190f0
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 0x41915e
cmp si, 0x69
ja 0x41915e
add esi, 0xffd0
cmp si, 0x11
je 0x41912e
push 0x11
call edi
test ax, ax
jge 0x41912e
or esi, 0x2000
cmp si, 0x10
je 0x419143
push 0x10
call edi
test ax, ax
jge 0x419143
or esi, 0x4000
cmp si, 0x12
je 0x419158
push 0x12
call edi
test ax, ax
jge 0x419158
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41916b
mov esi, 0xbd
jmp 0x41911f
cmp si, 0x6e
jne 0x419178
mov esi, 0xbe
jmp 0x41911f
cmp si, 0x6f
jne 0x419119
mov esi, 0xbf
jmp 0x41911f

Function at 0x41a810
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4b6de8]
xor edx, edx
cmp eax, edx
jne 0x41a836
xor eax, eax
mov byte [eax + 0x4b6ce8], al
inc eax
cmp eax, 0x100
jl 0x41a81e
mov dword [0x4b6de8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4b6ce8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41a8c7
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 0x41a89a
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 0x41a868
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41a940
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 0x41a993
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 0x41a97a
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 0x4213d0
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 0x421568
cmp ebp, ebx
jle 0x421568
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 0x42142e
dec eax
or eax, 0xfffffff8
inc eax
je 0x421435
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x421444
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x42144b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0045ec04
add esp, 4
cmp eax, ebx
je 0x42146c
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.0045ec04
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 0x42155e
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 0x421545
mov al, byte [edx]
cmp al, 0xc0
jbe 0x421531
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x421526
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 0x421534
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x421534
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x4214d0
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 0x4214c1
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 0x424780
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46b7e8
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 0x4247b9
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.004665b7
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.00466603
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.00424840
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.00466640
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24