joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403015
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x403024
pop dword [ebp - 0x4c]
mov eax, 0x40f40ba4
sub eax, 0x40b3db80
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xac3e0414
sub dword [ebp - 0x5c], 0x5debbec9
mov dword [ebp - 0x58], 0x5321bc43
add dword [ebp - 0x58], 0xdf119002
mov dword [ebp - 0x54], 0xc8ac4c27
add dword [ebp - 0x54], 0x839ff807
mov dword [ebp - 0x50], 0xb6d7c1b
sub dword [ebp - 0x50], 0xb6d7c1b
lea eax, [ebp - 0x5c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x9402e5b3
sub dword [ebp - 0x5c], 0x1f907c5d
mov dword [ebp - 0x58], 0xc9eae31b
add dword [ebp - 0x58], 0x77817e5a
mov dword [ebp - 0x54], 0x2c578578
sub dword [ebp - 0x54], 0xc8e8190c
mov dword [ebp - 0x50], 0x466e3d0
add dword [ebp - 0x50], 0xfb991c30
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x8221e2f8
add eax, 0x7e1e9d84
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x37874
push 0
call eax
mov ecx, 0x8d03ebb
add ecx, 0xf7300b3b
mov edx, eax
mov ebx, 0xdd943536
sub ebx, 0xdd4f2136
add ebx, dword [ebp - 0x4c]
mov esi, 0xcc12e2ba
add esi, 0x64855c
sub dword [ebp - 0x28], edi
mov edi, dword [ebx]
xor dword [ebp - 0x3c], 0xb84159ae
xor edi, esi
mov dword [edx], edi
mov dword [ebp - 0x38], 0x48207ad3
add edx, 4
add ebx, 0x66260da9
add ebx, 0x99d9f25b
loop 0x403141
add eax, 0x55c5ce3f
sub eax, 0x55c4b394
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xf15e5829
add ecx, 0xee1a7d7
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x406161
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x406186
mov eax, dword [0x40a880]
cmp eax, 0xffffffff
je 0x40617d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40a880], 0xffffffff
jmp 0x4061f9
cmp dword [0x42f720], ebx
je 0x4061f9
cmp byte [0x42f320], bl
je 0x4061c5
cmp dword [0x40a880], 0xffffffff
jne 0x4061ce
push 4
push 0x40000000
push 0x42f320
call fcn.00405b41
cmp eax, 0xffffffff
mov dword [0x40a880], eax
je 0x4061f9
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40a880], 0xffffffff
je 0x4061f9
push esi
mov esi, 0x42ff40
push 0x40aac8
push esi
call sub.KERNEL32.dll_lstrcatA
lea eax, [ebp + 8]
push ebx
push eax
push esi
call sub.KERNEL32.dll_lstrlenA
push eax
push esi
push dword [0x40a880]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4063a1
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42dd94], 0
push esi
jne 0x4063d8
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4063b2
mov dword [ecx*4 + 0x42dd90], eax
inc ecx
cmp ecx, 0x100
jl 0x4063ad
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406409
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42dd90]
xor eax, esi
inc ecx
dec edx
jne 0x4063eb
pop edi
not eax
pop esi
ret 0xc
Function at 0xf4772c
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp + 0x54], esi
call 0xf4772c
fimul dword [eax + reloc.KERNEL32.dll_SetConsoleCtrlHandler]
add ebx, 0x87af39b0
call fcn.00f47ec2
and al, 0xb5
and eax, 0x2479bf4c
push edi

Function at 0xf499dd
Capabilities:
Encode data using xor

Disassembly:
and eax, 0x3c
setge dh
mov edx, edi
neg dx
jne 0xf49988
je 0xf49988
wait
sbb al, 0xb2
aad 0x24
xchg ebp, eax
jmp 0xdceb444d
setle dh
add edx, edi
jmp 0xf4998a
mov ebx, dword [edi]
bsr dx, sp
jge 0xf49958
setle dh
jmp 0xf499a7
jmp 0xf4996e
mov dword [eax + esi], ebx
call 0xf499c1
ror byte [eax - 0x22], 0xb9
dec eax
imul dword [esi - 0x1b]
jne 0xf499b8
out dx, eax
cwde
push ss
test bl, ah
push ds
fild word [edi]
scasb al, byte es:[edi]
mov ecx, 0xdfebd703
add edx, edi
jmp 0xf4998a
sub esp, 2
jmp 0xf499cf
out dx, eax
mov bh, byte [ecx + 0x39]
ror byte [ebp - 0x24], cl
das
btc eax, esp
jns 0xf499ab
sub esp, 2
jmp 0xf49a25
lea esp, [esp + 2]
add edi, 4
sub esp, 6
jns 0xf49a0b
js 0xf49a2b
call fcn.00f49a3c
cmp dh, byte [ebp + 0x7cbf4c25]
xor al, 0xa6
xor al, 0x53
scasb al, byte es:[edi]
insb byte es:[edi], dx
push edi
mov esi, 0xe24b2889
lea esp, [esp + 0x1c]
xor al, 0x6b
mov dl, bl
lea edx, [ecx*4]
lea ebx, [edi + edi]
jmp 0xf4992b
push word [esp + 4]
mov dword [esp + 3], ebp
pop dword [esp]
jmp 0xf4826f
lea esp, [esp + 2]
jmp 0xf499d3
push word [esp + 4]
mov dword [esp + 3], ebp
pop dword [esp]
jmp 0xf4826f

Function at 0xf4fba9
Capabilities:
Execute anti-debugging instructions

Disassembly:
call fcn.00f4f9e8
jmp 0xf50dca
push eax
call fcn.00f3cc5c
jmp 0xf4f9e3

Function at 0xf4fc00
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0xf50fca
push eax
call fcn.00f3cc5c
jmp 0xf4fb5b

Function at 0xf50d9a
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0xf50d5f
pop eax
sub eax, 0x3779ca05
jmp 0xf50d8a
call 0xf50d9a
dec ebp
push ebx
push esi
inc ebx
push edx
push esp
insb byte es:[edi], dx
insb byte es:[edi], dx
add bl, ch
retf
Function at 0xf50f88
Capabilities:
Encode data using xor

Disassembly:
mov dword [esp + 0x24], eax
jmp 0xf50eb3
call 0xf4fb42
jmp 0xf50f27
popal
jmp 0xf50f0d
popfd
ret
jmp 0xf50fee
jmp 0xf50f55
pop eax
sub eax, 0x9812264b
jmp 0xf50f78
jne 0xf50f0f
pushal
jmp 0xf4fb3d
push 0
pushfd
cmp dword [esp + 4], 0
jmp 0xf50f3d
call 0xf50f88
dec ebp
push ebx
push esi
inc ebx
push edx
push esp
insb byte es:[edi], dx
insb byte es:[edi], dx
add bl, ch
fdivr dword [ebp - 0x12]
jl 0xf50fa9
div byte [edx]
jg 0xf50fd8
int1
add ebx, 0x3a7547c5
inc edi
jne 0xf50fd5
cmp ebx, 0x3a754891
je 0xf50fff
jne 0xf4fa9a
invalid
xor esp, esi
jo 0xf50fc2
xor dword [eax - 0x3d], reloc.KERNEL32.dll_SetConsoleCtrlHandler
ja 0xf50f98
ljmp 0xcf34:0x868bec7e
inc dword [esp + 8]
popfd
ret 4
add al, bh
pop ebx
invalid

Function at 0xf560a3
Capabilities:
Encode data using xor

Disassembly:
pushfd
jmp 0xf56106
mov ax, word [esp]
call fcn.00f560d9
mov ds, word [ecx]
js 0xf5610e
stosd dword es:[edi], eax
adc al, 0x49
sbb eax, 0x55e56c6b
and ebx, esp
das
jmp 0xf3be9e
mov word [esp], sp
lea esp, [esp]
mov dword [esp], edx
adc al, 0x24
mov dword [esp], eax
bswap eax
lea eax, [edx*4]
jmp 0xf560a6

Function at 0xf6e9f7
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 2]
lea esp, [esp + 4]
cmp ebx, 0x34
call fcn.00f6ea9f
cmpsb byte [esi], byte es:[edi]
cmp al, 0xd2
mov ch, 0x44
mov dword [eax], ebp
dec ebx
loop 0xf6ea2f
lea esp, [esp + 4]
cmp dword [ebp + 0xc], 2
mov dl, byte [esp]
jmp 0xf39b51
pop esp
mov cx, 0xbbca
jmp 0xf6ea6a
lea ecx, [ebx - 4]
jmp 0xf6e3f9
Function at 0x107cdca
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg si, bp
rdtsc
xchg bl, bh
stc
pop word [esp]
jmp 0x107cd39

Function at 0x107cff8
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea ebx, reloc.KERNEL32.dll_SetConsoleCtrlHandler
jmp 0x107d185
lea eax, [edi*4]
sub esp, 0xb
pop si
jmp 0x107d0d1
popal
xchg dword [esp], ebp
mov eax, 0xa00723a7
mov word [esp + 1], ax
push ecx
xchg byte [esp + 4], ah
jmp 0x107d023
rdtsc
setne al
xchg word [esp + 9], dx
xor di, sp
bsr ebx, esp
mov bp, cx
jmp 0x107d039
push word [esp + 8]
bt edx, ebx
xchg di, si
bswap ecx
bsr ecx, edx
push dword [esp + 0xf]
jmp 0x107d0a6
lea esp, [esp]
rdtsc
mov word [esp + 3], sp
mov al, 0xbd
xchg byte [esp + 0xc], bl
mov byte [esp + 0xd], ch
jmp 0x107d068
mov edx, dword [esp + 0x10]
clc
mov edi, 0xc7d9f844
cpuid
mov bh, byte [esp + 5]
mov cx, 0x350a
jmp 0x107d12b
lea ecx, [esi*4]
pop word [esp + 0xa]
inc si
rol dx, cl
bsr edi, ecx
mov bx, word [esp + 5]
jmp 0x107d090
setg bl
pop bp
bts di, sp
call fcn.0107d115
push edi
imul ebp, dword [esi + 0x45], 0x636578
dec si
xchg byte [esp + 0x10], cl
btc ecx, esp
push dword [esp + 3]
cpuid
bswap edx
jmp 0x107d0ec
cld
push dword [esp + 4]
xchg word [esp], dx
mov ebp, 0x26bf03ff
xchg dl, dh
cpuid
jmp 0x107d102
setle dh
lea edi, reloc.KERNEL32.dll_SetConsoleCtrlHandler
sub esp, 9
xchg bx, di
mov bl, byte [esp + 2]
mov byte [esp + 0x1b], bl
jmp 0x107d053
Function at 0x10014c10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x10014c1f
pop dword [ebp - 0xc]
mov eax, 0x5abe2ae9
add eax, 0xb5432136
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xdc5c5fbb
sub dword [ebp - 0x1c], 0x8e0a1a70
mov dword [ebp - 0x18], 0xb9893cb1
sub dword [ebp - 0x18], 0x8755f06c
mov dword [ebp - 0x14], 0x67261ca3
add dword [ebp - 0x14], 0xe526278b
mov dword [ebp - 0x10], 0x373b7f8c
sub dword [ebp - 0x10], 0x373b7f8c
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x9b30b46f
sub eax, 0x8b2c43a7
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xc6ce1685
add dword [ebp - 0x1c], 0xada452d1
mov dword [ebp - 0x18], 0x208f6c19
sub dword [ebp - 0x18], 0xdf230aa4
mov dword [ebp - 0x14], 0xbb11d8e0
add dword [ebp - 0x14], 0xa85d938c
mov dword [ebp - 0x10], 0x52f468aa
add dword [ebp - 0x10], 0xad0b9756
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0xef057da0
add eax, 0x20fef344
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x3e54b
push 0
call eax
mov ecx, 0x50bca6e4
sub ecx, 0x50bc6f18
xor edx, edx
add edx, eax
mov edi, 0x10063000
add edi, dword [ebp - 0xc]
mov esi, 0x30c999c1
mov dword [ebp - 4], 0x187d8a2d
mov ebx, dword [edi]
xor dword [ebp - 8], ebx
add ebx, esi
sub dword [ebp - 4], ecx
mov dword [edx], ebx
xor dword [ebp - 4], ebx
add edx, 0xc3274c1b
add edx, 0x3cd8b3e9
add edi, 0x96ada5e8
add edi, 0x69525a1c
loop 0x10014d37
add eax, 0xcd3a4a01
sub eax, 0xcd3977fe
xor ebx, ebx
add ebx, eax
add eax, 0x1104b328
sub eax, 0x1104b323
mov ecx, 0x98a591e7
sub ecx, 0x88a591e7
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x4f8f1a
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x4f8f52
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x4f8f40
mov al, 1
jmp 0x4f8fb1
cmp dword [ebx + 0x54], ecx
jne 0x4f8f49
mov al, 2
jmp 0x4f8fb1
cmp dword [ebx + 0x7c], ecx
jne 0x4f8fb1
mov al, 3
jmp 0x4f8fb1
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4f8f67
mov al, 4
jmp 0x4f8fb1
cmp ecx, 5
jne 0x4f8f87
cmp ebx, 0
jne 0x4f8f75
mov al, 5
jmp 0x4f8fb1
cmp ebx, 1
jne 0x4f8f7e
mov al, 6
jmp 0x4f8fb1
cmp ebx, 2
jne 0x4f8f87
mov al, 7
jmp 0x4f8fb1
cmp ecx, 6
jne 0x4f8faf
cmp ebx, 0
jne 0x4f8f95
mov al, 8
jmp 0x4f8fb1
cmp ebx, 1
jne 0x4f8f9c
mov al, 9
cmp ebx, 2
jne 0x4f8fa3
mov al, 0xa
cmp ebx, 3
jne 0x4f8faa
mov al, 0xb
cmp ebx, 4
jne 0x4f8fb1
mov al, 0xc
pop ebx
leave
ret
Function at 0x543620
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x60a35b
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.005fe0e5
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x5436a2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005fb014
mov eax, dword [eax]
push 0x17cfd58
push eax
call fcn.005ecb94
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.005fe370
test bl, bl
je 0x5436a2
push 0x17cfd58
lea ecx, [esp + 0xc]
call fcn.005fe700
push 0x17cfd64
lea ecx, [esp + 0xc]
call fcn.005fe700
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 0x5436de
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.005fe370
jmp 0x5437a9
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 0x543762
lea edx, [esp + 0x7c]
push 0x17cfd60
push edx
call fcn.005ecb94
add esp, 8
test eax, eax
je 0x543762
lea eax, [esp + 0x7c]
push 0x17cfd5c
push eax
call fcn.005ecb94
add esp, 8
test eax, eax
je 0x543762
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 0x5436f2
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.005fe370
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 0x543fc0
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 0x544022
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 0x544030
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x60a3db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x17e2230]
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 0x544168
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x544096
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005fe370
xor eax, eax
jmp 0x5441df
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.005fe4ad
push esi
lea ecx, [esp + 0xc]
call fcn.005fe73c
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x17cfd98
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x5441bd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00543fc0
test eax, eax
jne 0x5441bd
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.00543fc0
test eax, eax
jne 0x5441bd
lea eax, [esp + 0x14]
push 0x17cfd74
push eax
call fcn.005edce0
mov esi, eax
add esp, 8
test esi, esi
jne 0x54419c
lea ecx, [esp + 0x14]
push 0x17cfd70
push ecx
call fcn.005edc60
mov esi, eax
add esp, 8
test esi, esi
jne 0x54419c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x54419f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.005fe45d
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x5440ae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005fe370
xor eax, eax
jmp 0x5441df
mov byte [esi], 0
push 0x17cfd6c
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.005fe370
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 0x558ef0
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 0x558f5e
cmp si, 0x69
ja 0x558f5e
add esi, 0xffd0
cmp si, 0x11
je 0x558f2e
push 0x11
call edi
test ax, ax
jge 0x558f2e
or esi, 0x2000
cmp si, 0x10
je 0x558f43
push 0x10
call edi
test ax, ax
jge 0x558f43
or esi, 0x4000
cmp si, 0x12
je 0x558f58
push 0x12
call edi
test ax, ax
jge 0x558f58
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x558f6b
mov esi, 0xbd
jmp 0x558f1f
cmp si, 0x6e
jne 0x558f78
mov esi, 0xbe
jmp 0x558f1f
cmp si, 0x6f
jne 0x558f19
mov esi, 0xbf
jmp 0x558f1f

Function at 0x55a8a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x17f2ba0]
xor edx, edx
cmp eax, edx
jne 0x55a8c6
xor eax, eax
mov byte [eax + 0x17f2aa0], al
inc eax
cmp eax, 0x100
jl 0x55a8ae
mov dword [0x17f2ba0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x17f2aa0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x55a957
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 0x55a92a
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 0x55a8f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x55a9d0
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 0x55aa23
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 0x55aa0a
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 0x561a30
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 0x561bc8
cmp ebp, ebx
jle 0x561bc8
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 0x561a8e
dec eax
or eax, 0xfffffff8
inc eax
je 0x561a95
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x561aa4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x561aab
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.005fe0b1
add esp, 4
cmp eax, ebx
je 0x561acc
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.005fe0b1
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 0x561bbe
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 0x561ba5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x561b91
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x561b86
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 0x561b94
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x561b94
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x561b30
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 0x561b21
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 0x565630
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x60c0b8
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 0x565669
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.0060618d
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.006061d9
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.005656f0
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.00606216
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24