joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d7da
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x441080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.004238db
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004238db
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x42d851
cmp word [ecx], dx
je 0x42d851
mov eax, dword [0x439894]
push edi
dec eax
push eax
push 0x439780
call fcn.0042d779
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x42d8c4
cmp word [eax], dx
je 0x42d8c4
mov eax, dword [edi]
test eax, eax
je 0x42d875
cmp word [eax], dx
je 0x42d875
lea eax, [ebp - 0x10]
push eax
call fcn.0042d15c
jmp 0x42d87e
lea eax, [ebp - 0x10]
push eax
call fcn.0042d1f7
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x42d8ee
mov eax, dword [0x43977c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x439470
call fcn.0042d779
add esp, 0xc
test al, al
je 0x42d8ee
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x42d8b9
cmp word [eax], di
je 0x42d8b9
lea eax, [ebp - 0x10]
push eax
call fcn.0042d15c
pop ecx
jmp 0x42d8f0
lea eax, [ebp - 0x10]
push eax
call fcn.0042d1f7
jmp 0x42d8b6
mov eax, dword [edi]
test eax, eax
je 0x42d8db
cmp word [eax], dx
je 0x42d8db
lea eax, [ebp - 0x10]
push eax
call fcn.0042d111
pop ecx
jmp 0x42d8ee
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x42d9b9
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0042d5fe
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x42d9b9
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x42d9b9
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x42d9b9
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x42d946
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0042676c
test ebx, ebx
je 0x42d9b4
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0042676c
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x42d9b9
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x42d9b9
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.004318a7
add esp, 0x10
xor eax, eax
inc eax
jmp 0x42d9bb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413523
leave
ret
Function at 0x431f75
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00431ef1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4320e4
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4320e4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x432099
jg 0x431fd1
test eax, eax
je 0x43208f
push 1
push 0x1000
call fcn.00423db8
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x431ff4
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x432086
push 0x8000
push ebx
call fcn.00420dff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x43201d
jg 0x432018
cmp ecx, 0x1000
jb 0x43201d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00424a1b
add esp, 0x10
cmp eax, 0xffffffff
je 0x432062
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x432018
jl 0x432049
test ecx, ecx
jne 0x43200a
push dword [ebp - 0xc]
push ebx
call fcn.00420dff
push esi
call fcn.00424c37
add esp, 0xc
xor ebx, ebx
jmp 0x4320f2
cmp byte [edi + 0x24], 0
je 0x432079
cmp dword [edi + 0x20], 5
jne 0x432079
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x432084
mov ebx, dword [edi + 0x18]
jmp 0x432086
xor ebx, ebx
push esi
call fcn.00424c37
pop ecx
jmp 0x4320f2
test ecx, ecx
jg 0x43205b
jl 0x432099
test eax, eax
jae 0x43205b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00428943
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4320b9
cmp byte [edi + 0x1c], 0
je 0x43205b
jmp 0x4320ea
push ebx
call fcn.0042b6d5
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x43205b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4320f2
cmp byte [edi + 0x1c], 0
je 0x4320ef
mov ebx, dword [edi + 0x18]
jmp 0x4320f2
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00428943
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433500
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43352d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43352d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x1000bcb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], ecx
mov ecx, dword [0x102bd258]
call fcn.100090e0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [0x102bd260]
call fcn.10008f20
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000bcee
mov ecx, dword [ebp - 8]
call fcn.10008fa0
mov ecx, dword [eax]
and ecx, 1
jne 0x1000bcf3
jmp 0x1000be84
mov ecx, dword [ebp - 8]
call fcn.10008e90
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1000bd09
jmp 0x1000be84
mov ecx, dword [0x102bd258]
call fcn.10009140
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1000bd26
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x2c], 0
je 0x1000bd2b
jmp 0x1000be84
cmp dword [0x10288bb0], 0xffffffff
je 0x1000bd4c
mov eax, dword [0x10288bb0]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
test ecx, ecx
je 0x1000bd4c
jmp 0x1000be84
call fcn.1009a960
fstp dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
movss xmm0, dword [edx + 0xec]
comiss xmm0, dword [0x100e7fc4]
jbe 0x1000bd98
movzx eax, byte [0x101e0c1d]
test eax, eax
jne 0x1000bd98
cvtss2sd xmm0, dword [ebp - 0xc]
addsd xmm0, qword [0x100e7fa0]
cvtsd2ss xmm0, xmm0
mov ecx, dword [ebp - 4]
movss dword [ecx], xmm0
mov edx, dword [ebp - 4]
movss xmm0, dword [ebp - 0xc]
movss dword [edx + 4], xmm0
mov ecx, dword [ebp - 8]
call fcn.1000f950
movss xmm0, dword [0x102715cc]
ucomiss xmm0, dword [eax]
lahf
test ah, 0x44
jnp 0x1000be58
mov ecx, dword [ebp - 8]
call fcn.1000f950
movss xmm0, dword [eax]
movss dword [0x102715cc], xmm0
mov eax, dword [ebp - 4]
movss xmm0, dword [ebp - 0xc]
subss xmm0, dword [eax + 4]
push ecx
movss dword [esp], xmm0
call fcn.1000a750
add esp, 4
fstp qword [ebp - 0x24]
movsd xmm0, qword [ebp - 0x24]
comisd xmm0, xmmword [0x100e7fa8]
jbe 0x1000be58
mov ecx, dword [ebp - 8]
call fcn.1000f950
mov ecx, dword [ebp - 4]
movss xmm0, dword [eax]
subss xmm0, dword [ecx + 8]
push ecx
movss dword [esp], xmm0
call fcn.10009760
fstp dword [esp]
call fcn.1000a750
add esp, 4
fstp dword [ebp - 0x1c]
movss xmm0, dword [ebp - 0x1c]
comiss xmm0, dword [0x100e7fe0]
jbe 0x1000be58
cvtss2sd xmm0, dword [ebp - 0xc]
addsd xmm0, qword [0x100e7fb0]
mov edx, dword [0x102bd264]
cvtss2sd xmm1, dword [edx + 0x20]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
mov eax, dword [ebp - 4]
movss dword [eax], xmm0
mov ecx, dword [ebp - 4]
movss xmm0, dword [ebp - 0xc]
comiss xmm0, dword [ecx]
jbe 0x1000be84
cvtss2sd xmm0, dword [ebp - 0xc]
addsd xmm0, qword [0x100e7fb0]
cvtsd2ss xmm0, xmm0
mov edx, dword [ebp - 4]
movss dword [edx], xmm0
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 1
mov esp, ebp
pop ebp
ret
Function at 0x1000f850
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x270
jne 0x1000f86e
mov ecx, dword [ebp - 8]
call fcn.10010060
jmp 0x1000f881
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4e0
jb 0x1000f881
mov ecx, dword [ebp - 8]
call fcn.1000fee0
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx], ecx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0xb
mov edx, dword [ebp - 8]
and ecx, dword [edx + 0x1384]
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
shl eax, 7
and eax, 0x9d2c5680
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
shr edx, 0x12
xor edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1000fee0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
jmp 0x1000fefb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xe3
jge 0x1000ff67
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
and edx, 1
je 0x1000ff3f
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x1000ff46
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 + 0xff8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x1000fef2
jmp 0x1000ff72
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x26f
jge 0x1000ffde
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
and edx, 1
je 0x1000ffb6
mov dword [ebp - 0x18], 0x9908b0df
jmp 0x1000ffbd
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
shr eax, 1
xor eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x1000ff69
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 0x9c4]
and edx, 0x80000000
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + ecx + 4]
and ecx, 0x7fffffff
or edx, ecx
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x1c]
and edx, 1
je 0x1001001c
mov dword [ebp - 0x20], 0x9908b0df
jmp 0x10010023
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x1c]
shr eax, 1
xor eax, dword [ebp - 0x20]
mov ecx, 4
imul edx, ecx, 0x18c
mov ecx, dword [ebp - 8]
xor eax, dword [ecx + edx + 4]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [ecx + edx*4 + 4], eax
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret
Function at 0x10010060
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x270
jmp 0x1001007b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4e0
jge 0x100100e7
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 - 0x9bc]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 - 0x9b8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
and edx, 1
je 0x100100bf
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x100100c6
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x10010072
mov esp, ebp
pop ebp
ret
Function at 0x1001b140
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movsx eax, byte [edx + ecx]
test eax, eax
jne 0x1001b15f
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
jmp 0x1001b18f
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + eax]
xor edx, dword [ebp + 0xc]
imul eax, edx, 0x1000193
push eax
mov ecx, 1
shl ecx, 0
add ecx, dword [ebp + 8]
push ecx
call fcn.1001b140
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1003cc50
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e22b6
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x101dccd4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x102bd258]
call fcn.100090e0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [0x102bd260]
call fcn.10008f20
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1003cca3
jmp 0x1003cd54
mov ecx, dword [ebp - 0x10]
call fcn.10008e90
mov dword [ebp - 0x1c], eax
mov ecx, dword [0x102bd970]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [0x10275f14]
cmp ecx, dword [eax + 4]
jle 0x1003cd14
push 0x10275f14
call fcn.1009f6b6
add esp, 4
cmp dword [0x10275f14], 0xffffffff
jne 0x1003cd14
mov dword [ebp - 4], 0
push str.55_8B_EC_81_EC_________53_56_8B_35_________8B_D9_57_8B_CE
push 0x1012d168
call fcn.1009aa80
add esp, 8
mov dword [0x10275f10], eax
mov dword [ebp - 4], 0xffffffff
push 0x10275f14
call fcn.1009f66c
add esp, 4
movss xmm0, dword [0x100e7b4c]
movss dword [ebp - 0x2c], xmm0
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x10]
call fcn.10009030
push eax
call fcn.1003e770
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1003cd54
pushal
movss xmm1, dword [ebp - 0x2c]
push 0
mov ecx, dword [ebp - 0x14]
call dword [0x10275f10]
popal
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10041ea0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movsx eax, byte [edx + ecx]
test eax, eax
jne 0x10041ebf
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
jmp 0x10041eef
imul edx, dword [ebp + 0xc], 0x1000193
mov eax, 1
imul ecx, eax, 0
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + ecx]
xor edx, ecx
push edx
mov edx, 1
shl edx, 0
add edx, dword [ebp + 8]
push edx
call fcn.10041ea0
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10049f70
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x101dccd4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x24c], 0
lea eax, [ebp - 0x248]
push eax
push 0x1012e560
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x254], eax
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp - 0x254]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x1004a0ba
mov eax, dword [ebp - 0x248]
and eax, 0x10
je 0x10049fcf
jmp 0x10049fa6
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x108]
push edx
call fcn.100c20f0
add esp, 8
lea eax, [ebp - 0x108]
push eax
call fcn.100bd7b0
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.100bd7b0
add esp, 4
cmp esi, eax
jae 0x1004a008
jmp 0x10049fa6
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.100bd7b0
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.100bd7b0
add esp, 4
sub esi, eax
lea edx, [ebp + esi - 0x108]
push edx
call fcn.100bcdc0
add esp, 8
test eax, eax
je 0x1004a044
jmp 0x10049fa6
lea eax, [ebp - 0x108]
push eax
call fcn.100bd7b0
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.100bd7b0
add esp, 4
sub esi, eax
mov dword [ebp - 0x250], esi
cmp dword [ebp - 0x250], 0x104
jae 0x1004a077
jmp 0x1004a07c
call fcn.1009fb60
mov edx, dword [ebp - 0x250]
mov byte [ebp + edx - 0x108], 0
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x24c]
shl ecx, 8
add ecx, dword [ebp + 8]
push ecx
call fcn.100c20f0
add esp, 8
mov edx, dword [ebp - 0x24c]
add edx, 1
mov dword [ebp - 0x24c], edx
jmp 0x10049fa6
mov eax, dword [ebp - 0x24c]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009f7aa
mov esp, ebp
pop ebp
ret

Function at 0x1004b440
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0x811c9dc5
mov dword [ebp - 4], 0
jmp 0x1004b465
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jge 0x1004b484
imul eax, dword [ebp - 8], 0x1000193
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 4]
movzx edx, byte [ecx]
xor eax, edx
mov dword [ebp - 8], eax
jmp 0x1004b45c
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x1005bf30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e2e40
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x101dccd4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x102bd258]
call fcn.100090e0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [0x102bd260]
call fcn.10008f20
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1005bf8a
mov ecx, dword [ebp - 0x14]
call fcn.10019630
movzx ecx, al
test ecx, ecx
jne 0x1005bf96
mov byte [0x102b665e], 0
jmp 0x1005c05e
mov ecx, dword [0x102bd258]
call fcn.10009140
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1005bfc4
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x2c]
cmp eax, dword [0x102b6650]
jle 0x1005bfc4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x2c]
mov dword [0x102b6650], edx
cmp dword [0x10288c64], 0xffffffff
je 0x1005bfe0
mov eax, dword [0x10288c64]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
test ecx, ecx
jne 0x1005c008
movzx edx, byte [0x102b665e]
test edx, edx
je 0x1005bfff
push 1
mov eax, dword [0x102b664c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1005c130
add esp, 0xc
mov byte [0x102b665e], 0
jmp 0x1005c05e
cmp dword [0x10288c64], 0xffffffff
jne 0x1005c023
mov edx, dword [0x10288c64]
push edx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1005c02d
mov dword [0x102b663c], 0xe
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0x102b663c
call fcn.10021620
add esp, 0xc
mov eax, dword [eax]
mov dword [0x102b663c], eax
mov byte [0x102b665e], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x1005c070
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e2e5b
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x101dccd4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x102bd258]
call fcn.100090e0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [0x102bd260]
call fcn.10008f20
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1005c0ca
mov ecx, dword [ebp - 0x10]
call fcn.10019630
movzx ecx, al
test ecx, ecx
jne 0x1005c0cc
jmp 0x1005c112
cmp dword [0x10288c64], 0xffffffff
je 0x1005c0e7
mov edx, dword [0x10288c64]
push edx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x1005c0f3
mov dword [0x102b663c], 0
jmp 0x1005c112
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
and edx, 1
je 0x1005c112
push 0
mov eax, dword [0x102b663c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1005c130
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x1005e6f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x102be67c]
mov dword [ebp - 4], eax
jmp 0x1005e708
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1005e71e
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x1005e71c
mov eax, dword [ebp - 4]
jmp 0x1005e799
jmp 0x1005e700
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1005e796
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
cmp ecx, 0xfe0
jbe 0x1005e758
mov edx, dword [ebp - 4]
mov eax, dword [0x102be67c]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x102be67c], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret