joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10039120
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10269840]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call fcn.10021970
mov esi, eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x100392de
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x100392de
push ebx
push edi
push 0x38
call fcn.10024440
mov edi, eax
add esp, 4
test edi, edi
je 0x1003917d
push 0x38
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x1003917f
xor edi, edi
or dword [esi + 4], 6
mov edx, dword [ebp + 8]
mov dword [esi + 0xbc], edi
mov dword [esi + 0xb4], 0x10129020
mov dword [edi], edx
mov byte [edi + 0x25], 1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov dword [edi + 0x20], 9
mov dword [esi + 0xd8], edx
mov dword [esi + 0x2c], 9
mov dword [esi + 0x30], 0x25
mov dword [esi + 0x34], 0x27
mov dword [esi + 0x38], 0x26
mov dword [esi + 0x3c], 0x28
mov dword [esi + 0x40], 0x21
mov dword [esi + 0x44], 0x22
mov dword [esi + 0x48], 0x24
mov dword [esi + 0x4c], 0x23
mov dword [esi + 0x50], 0x2d
mov dword [esi + 0x54], 0x2e
mov dword [esi + 0x58], 8
mov dword [esi + 0x5c], 0x20
mov dword [esi + 0x60], 0xd
mov dword [esi + 0x64], 0x1b
mov dword [esi + 0x68], 0xd
mov dword [esi + 0x6c], 0x41
mov dword [esi + 0x70], 0x43
mov dword [esi + 0x74], 0x56
mov dword [esi + 0x78], 0x58
mov dword [esi + 0x7c], 0x59
mov dword [esi + 0x80], 0x5a
xor esi, esi
mov dword [ebp - 0x28], str.xinput1_4.dll
mov dword [ebp - 0x24], str.xinput1_3.dll
mov dword [ebp - 0x20], str.xinput9_1_0.dll
mov dword [ebp - 0x1c], str.xinput1_2.dll
mov dword [ebp - 0x18], str.xinput1_1.dll
push dword [ebp + esi*4 - 0x28]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x100392ac
inc esi
cmp esi, 5
jl 0x10039283
pop edi
pop ebx
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101044f3
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.XInputGetCapabilities
push ebx
mov dword [edi + 0x28], ebx
call esi
push str.XInputGetState
push ebx
mov dword [edi + 0x2c], eax
call esi
mov dword [edi + 0x30], eax
mov al, 1
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101044f3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.101044f3
mov esp, ebp
pop ebp
ret
Function at 0x10052330
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x1026a6ec]
test eax, eax
je 0x1005234c
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x100523a2
mov eax, dword [eax]
test eax, eax
jne 0x10052340
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x1005239f
push esi
push edi
xor edi, edi
mov dword [eax + 8], 0
lea edx, [eax + 0x20]
lea esi, [edi + 0x20]
mov dword [edx], edi
mov ecx, edx
mov dword [eax + 4], edx
add esi, 0x20
add edx, 0x20
mov edi, ecx
cmp esi, 0xfe0
jbe 0x10052375
mov ecx, dword [0x1026a6ec]
mov dword [eax], ecx
mov dword [0x1026a6ec], eax
pop edi
pop esi
test eax, eax
jne 0x100523a2
xor eax, eax
ret
mov edx, dword [eax + 4]
mov ecx, dword [edx]
inc dword [eax + 8]
mov dword [eax + 4], ecx
mov eax, edx
ret
Function at 0x10052d70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10269840]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
imul esi, eax, 0x2c
push edi
add esi, dword [0x1026a6e0]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp - 8]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10052dd0
pop edi
mov eax, 0xa
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101044f3
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x10052df5
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x10052e16
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x10052e16
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x10052e10
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x10052e16
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, bl
xor eax, eax
add cl, cl
shl bl, 2
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
mov ecx, dword [ebp - 4]
mov byte [esi + 0x14], bl
xor ecx, ebp
pop ebx
pop edi
pop esi
call fcn.101044f3
mov esp, ebp
pop ebp
ret
Function at 0x10052f00
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10269840]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x10052ff8
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x10052ff1
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
jb 0x10052fd8
call ebx
cmp dword [ebp - 0x14], eax
jne 0x10052fd8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10052fd8
mov edx, dword [esi]
test edx, edx
jne 0x10052fa1
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x10269dd8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10052ff1
jmp 0x10052fcc
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x10052fcc
shl eax, 3
push eax
push edx
push 0
push dword [0x10269dd8]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10052ff1
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10052f60
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x1005303c
xor ebx, ebx
cmp dword [esi + 8], ebx
jbe 0x1005303c
mov eax, dword [esi]
push dword [eax + ebx*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10053036
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.100532e0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esi + 8]
jb 0x10053004
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101044f3
mov esp, ebp
pop ebp
ret

Function at 0x10053450
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0
je 0x100534a0
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x1005348f
push ebx
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10053488
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x10053465
pop ebx
push dword [edi]
push 0
push dword [0x10269dd8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
pop ebp
ret
Function at 0x10062220
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10269a30]
mov dword [ebp - 0x20], ecx
mov eax, dword [eax + 0x38]
cmp eax, 2
je 0x1006223f
mov byte [ebp - 1], 0
cmp eax, 3
jne 0x10062243
mov byte [ebp - 1], 1
mov eax, dword [0x10269964]
push ebx
push esi
push edi
mov edi, dword [eax + 0x18c]
mov eax, dword [0x102699e4]
test al, 1
jne 0x100622d2
mov esi, dword [0x10269968]
lea ecx, [ebp - 0x1c]
push 0x2d
or eax, 1
mov dword [ebp - 0xc], 0
vpxor xmm0, xmm0, xmm0
push str.CBaseAttributableItem__m_iItemDefinitionIndex
mov dword [0x102699e4], eax
vmovdqu xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 8], 0
call fcn.10002ab0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.10006660
mov ecx, dword [ebp - 8]
mov dword [0x102699e0], eax
cmp ecx, 0xf
jbe 0x100622d2
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100622c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100623c1
push ecx
push edx
call fcn.101041cb
add esp, 8
mov eax, dword [0x102699e0]
mov eax, dword [eax + 4]
movzx ebx, word [edi + eax]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x100622fb
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
jne 0x100623ba
cmp byte [ebp - 1], 0
je 0x100623ba
mov eax, dword [0x10269970]
mov edi, 1
cmp dword [eax + 0x18], edi
jle 0x100623ba
nop dword [eax + eax]
mov ecx, dword [0x10269978]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov eax, dword [0x10269a24]
test al, 1
jne 0x100623ab
mov esi, dword [0x10269968]
lea ecx, [ebp - 0x1c]
push 0x16
or eax, 1
mov dword [ebp - 0xc], 0
vpxor xmm0, xmm0, xmm0
push str.CBasePlayer__m_iHealth
mov dword [0x10269a24], eax
vmovdqu xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 8], 0
call fcn.10002ab0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.10006660
mov ecx, dword [ebp - 8]
mov dword [0x10269a20], eax
cmp ecx, 0xf
jbe 0x100623ab
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100623a1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100623c1
push ecx
push edx
call fcn.101041cb
add esp, 8
mov eax, dword [0x10269970]
inc edi
cmp edi, dword [eax + 0x18]
jl 0x10062320
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1006bfe0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1026997c]
sub esp, 8
cmp dword [eax + 0x4d30], 0
jne 0x1006c004
mov eax, dword [0x10269970]
mov edx, dword [ecx + 0x70]
cmp edx, dword [eax + 0x1c]
je 0x1006c004
inc dword [ecx + 0x78]
mov eax, dword [0x10269970]
push esi
mov eax, dword [eax + 0x1c]
mov dword [ecx + 0x70], eax
mov eax, dword [0x10269a3c]
mov esi, dword [eax + 0x3004]
mov eax, dword [0x1026997c]
mov edx, dword [eax + 0x4d2c]
cmp esi, edx
jle 0x1006c11d
mov eax, dword [eax + 0x4d30]
inc eax
add eax, edx
cmp esi, eax
jg 0x1006c11d
mov eax, dword [ecx + 0x4c]
dec eax
cmp eax, 3
ja case.default.0x1006c04c
jmp dword [eax*4 + 0x1006c194]
mov eax, 2
pop esi
mov esp, ebp
pop ebp
ret
mov eax, edx
mov ecx, dword [0x10269a40]
cdq
mov esi, 0x96
idiv esi
add ecx, 0x13b4
push edx
call fcn.10069280
vmovss xmm1, dword [0x10129e20]
sub esp, 8
vmovss xmm0, dword [eax + 0x100]
vmovss dword [ebp - 4], xmm0
vmovss xmm0, dword [eax + 0x108]
vmovss dword [esp + 4], xmm1
vmovss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
vmovss xmm0, dword [0x10129e20]
vmovss dword [esp + 4], xmm0
vmovss xmm0, dword [ebp - 4]
fstp dword [ebp - 8]
vmovss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
vmovss xmm0, dword [0x10129e20]
vmovss dword [esp + 4], xmm0
vmovss xmm0, dword [ebp - 8]
fstp dword [ebp - 4]
vsubss xmm0, xmm0, dword [ebp - 4]
vmovss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
add esp, 8
xor eax, eax
fstp dword [ebp - 8]
vxorps xmm0, xmm0, xmm0
vcomiss xmm0, dword [ebp - 8]
pop esi
setae al
inc eax
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp dword [ecx + 0x7c], 2
pop esi
setne al
inc eax
mov dword [ecx + 0x7c], eax
mov esp, ebp
pop ebp
ret
cmp byte [ecx + 0x21], 0
mov eax, dword [0x10269970]
mov esi, dword [ecx + 0x68]
mov edx, dword [eax + 0x1c]
je case.default.0x1006c04c
mov eax, dword [ecx + 0x74]
test eax, eax
jne 0x1006c18e
cmp byte [ecx + 0x1b], al
jne 0x1006c183
cmp byte [ecx + 0x1c], al
je 0x1006c15b
mov ecx, dword [ecx + 0x78]
and ecx, 0x80000001
jns 0x1006c14f
dec ecx
or ecx, 0xfffffffe
inc ecx
mov eax, 2
sub eax, ecx
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [ecx + 0x1d], 0
jne 0x1006c183
mov eax, dword [ecx + 0x50]
test eax, eax
je case.0x1006c04c.2
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov eax, 2
jne 0x1006c18e
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
mov eax, edx
cdq
idiv esi
mov ecx, eax
jmp 0x1006c142
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100724b0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 8], 0
je 0x10072508
mov eax, dword [0x102699d4]
cmp dword [eax], 0
je 0x10072508
mov eax, dword [0x10269a34]
cmp byte [eax + 0x4c], 0
jne 0x10072508
mov eax, dword [esi + 0x10]
test eax, eax
je 0x100724ee
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je 0x100724ee
xor eax, eax
cmp byte [esi + 9], al
pop esi
sete al
add eax, 2
ret
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10072508
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je 0x10072508
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x1008ffd0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
cmp ebx, eax
je 0x10090142
mov eax, dword [edx + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x18], eax
movzx eax, byte [ebx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 9]
push esi
push edi
mov edi, dword [edx + 0xc]
mov esi, ebx
xor ecx, eax
mov dword [ebp - 0x1c], edi
movzx eax, byte [ebx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 4], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
nop word [eax + eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0xc]
call fcn.10005c80
push 0x60
push edi
call fcn.101041cb
mov edx, dword [ebp - 0x10]
add esp, 8
dec dword [edx + 8]
cmp ebx, dword [ebp - 0xc]
je 0x1009009e
cmp esi, dword [ebp + 0xc]
jne 0x10090050
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jne 0x10090135
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x100900b0
mov eax, dword [ebp - 0x14]
mov dword [ecx], eax
jmp 0x100900b3
mov eax, dword [ebp - 0x18]
mov dword [ecx + 4], eax
cmp esi, dword [ebp + 0xc]
je 0x10090135
nop dword [eax + eax]
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0xc]
call fcn.10005c80
push 0x60
push edi
call fcn.101041cb
mov edx, dword [ebp - 0x10]
add esp, 8
dec dword [edx + 8]
cmp ebx, dword [ebp - 0xc]
je 0x10090149
cmp esi, dword [ebp + 0xc]
jne 0x10090107
mov eax, dword [ebp - 4]
mov dword [eax], esi
mov eax, dword [ebp - 0x18]
pop edi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0x14]
mov dword [eax], ebx
mov dword [eax + 4], ebx
cmp esi, dword [ebp + 0xc]
jne 0x100900c0
mov eax, dword [ebp - 0x18]
pop edi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10093740
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 8
movzx eax, byte [edx]
push ebx
push esi
xor eax, 0x811c9dc5
push edi
mov edi, ecx
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 8]
imul ebx, ecx, 0x1000193
mov ecx, edi
push ebx
push edx
push eax
call fcn.1008f270
mov esi, dword [eax + 4]
test esi, esi
je 0x100937f5
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0xc]
and ecx, ebx
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x100937bc
cmp eax, esi
jne 0x100937b4
mov eax, dword [edi + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x100937c4
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x100937c4
cmp eax, esi
jne 0x100937c4
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
dec dword [edi + 8]
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea ecx, [esi + 0xc]
call fcn.10005c80
push 0x60
push esi
call fcn.101041cb
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10104052
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x10104079
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x1010407c
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.1010402e
pop esi
leave
ret 8
Function at 0x10004ac1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x38], ebx
je 0x10004b0e
cmp byte [esi + 0x3d], bl
je 0x10004b0e
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10004b3d
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, ebx
je 0x10004b15
sub eax, 1
je 0x10004b18
dec eax
sub eax, 1
jne 0x10004b3d
mov byte [esi + 0x3d], bl
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
mov byte [esi + 0x3d], bl
mov edi, dword [ebp - 4]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10004b35
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.1006653c
add esp, 0x10
cmp edi, eax
jne 0x10004b3d
cmp byte [esi + 0x3d], bl
sete al
jmp 0x10004b10
xor al, al
jmp 0x10004b10

Function at 0x10007786
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x30]
push esi
push edi
or edi, 0xffffffff
mov esi, ecx
cmp ebx, edi
jne 0x100077a0
xor eax, eax
jmp 0x10007870
mov eax, dword [esi + 0x20]
push ebp
mov ecx, dword [eax]
test ecx, ecx
je 0x100077ce
mov edx, dword [esi + 0x30]
mov ebp, dword [edx]
lea eax, [ecx + ebp]
cmp ecx, eax
jae 0x100077ce
lea ecx, [ebp - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
jmp 0x1000786f
cmp dword [esi + 0x4c], 0
je 0x1000786d
mov ecx, esi
call fcn.10005038
mov ecx, dword [esi + 0x38]
mov al, bl
test ecx, ecx
jne 0x100077fa
push dword [esi + 0x4c]
push eax
call fcn.10001d76
test al, al
pop ecx
pop ecx
cmovne edi, ebx
jmp 0x1000786d
mov byte [esp + 0x10], al
lea eax, [esp + 0x3c]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x21]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
sub eax, 0
je 0x1000783e
sub eax, 1
je 0x1000783e
dec eax
sub eax, 1
jne 0x1000786d
push dword [esi + 0x4c]
push dword [esp + 0x14]
jmp 0x100077ec
mov ebp, dword [esp + 0x3c]
lea eax, [esp + 0x18]
sub ebp, eax
je 0x1000785d
push dword [esi + 0x4c]
push ebp
push 1
push eax
call fcn.1006653c
add esp, 0x10
cmp ebp, eax
jne 0x1000786d
lea eax, [esp + 0x10]
mov byte [esi + 0x3d], 1
cmp dword [esp + 0x14], eax
mov eax, ebx
jne 0x1000786f
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x28
ret 4
Function at 0x10008d30
Capabilities:
Read file on windows

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0x14]
mov ebp, ecx
push edi
mov edi, dword [esp + 0x14]
test esi, esi
jg 0x10008d50
jl 0x10008d47
test edi, edi
jne 0x10008d50
xor eax, eax
xor edx, edx
jmp 0x10008e17
cmp dword [ebp + 0x38], 0
je 0x10008d66
push esi
push edi
push dword [esp + 0x18]
call fcn.10008e21
jmp 0x10008e17
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x10008daa
mov eax, dword [ebp + 0x2c]
cmp dword [eax], 0
jbe 0x10008daa
cmp dword [eax], edi
mov esi, edi
mov ebx, dword [esp + 0x14]
cmovb esi, dword [eax]
push esi
push ecx
push ebx
call fcn.10061240
mov eax, dword [ebp + 0x2c]
add ebx, esi
mov dword [esp + 0x20], ebx
add esp, 0xc
mov ebx, edi
sub ebx, esi
sub dword [eax], esi
mov eax, dword [ebp + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x1c]
jmp 0x10008db2
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
cmp dword [ebp + 0x4c], 0
mov ecx, ebx
je 0x10008e0d
mov ecx, ebp
call fcn.10005038
mov edx, dword [esp + 0x14]
mov ecx, ebx
jmp 0x10008ded
push dword [ebp + 0x4c]
push eax
push 1
push edx
call fcn.10065eb5
mov edx, dword [esp + 0x24]
sub ebx, eax
add edx, eax
add esp, 0x10
mov dword [esp + 0x14], edx
mov ecx, ebx
cmp eax, 0xfff
jne 0x10008e1d
mov eax, 0xfff
cmp ebx, eax
ja 0x10008dc9
test ecx, ecx
je 0x10008e0d
push dword [ebp + 0x4c]
push ebx
push 1
push edx
call fcn.10065eb5
mov ecx, ebx
add esp, 0x10
sub ecx, eax
sub edi, ecx
sbb esi, 0
mov eax, edi
mov edx, esi
pop ebx
pop edi
pop esi
pop ebp
ret 0xc
sub edi, ebx
jmp 0x10008e0f

Function at 0x10008ef5
Capabilities:
Write file on windows

Disassembly:
push ecx
push ecx
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x10008f16
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.10008fcb
jmp 0x10008fc5
mov eax, dword [ebx + 0x20]
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov ecx, dword [eax]
mov dword [esp + 0xc], esi
push edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x14], edi
test ecx, ecx
je 0x10008f39
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x10008f3b
xor eax, eax
cdq
mov ebp, eax
mov eax, edx
mov dword [esp + 0x20], eax
test edi, edi
jl 0x10008fb6
jg 0x10008f4e
test esi, esi
je 0x10008fb6
test eax, eax
jl 0x10008f98
jg 0x10008f58
test ebp, ebp
je 0x10008f98
cmp edi, eax
jg 0x10008f68
jl 0x10008f62
cmp esi, ebp
jae 0x10008f68
mov ebp, esi
mov dword [esp + 0x20], edi
push ebp
push dword [esp + 0x20]
push ecx
call fcn.10061240
mov eax, dword [ebx + 0x30]
add esp, 0xc
sub esi, ebp
sbb edi, dword [esp + 0x20]
sub dword [eax], ebp
mov eax, dword [ebx + 0x20]
add dword [eax], ebp
mov eax, dword [esp + 0x1c]
add eax, ebp
test edi, edi
jl 0x10008fb6
jg 0x10008f9c
test esi, esi
je 0x10008fb6
jmp 0x10008f9c
mov eax, dword [esp + 0x1c]
cmp dword [ebx + 0x4c], 0
je 0x10008fb6
push dword [ebx + 0x4c]
push esi
push 1
push eax
call fcn.1006653c
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 0xc