joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c4490
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x100c44ae
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 4
jae 0x100c44cf
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 8]
movzx eax, byte [edx]
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
imul ecx, dword [ebp - 4], 0x1000193
mov dword [ebp - 4], ecx
jmp 0x100c44a5
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x100c6fe0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x1c]
call fcn.100cdda0
cmp dword [0x103a91dc], 0
jne 0x100c6fff
jmp 0x100c7114
mov eax, dword [0x103a91dc]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov dword [ebp - 0x28], eax
mov ecx, 8
shl ecx, 2
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + ecx]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x18]
call dword [ebp - 0x34]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100c7054
jmp 0x100c7114
jmp 0x100c705f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
je 0x100c7114
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0x811c9dc5
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 8]
movsx eax, byte [edx]
test eax, eax
je 0x100c70a7
jmp 0x100c708f
xor ecx, ecx
je 0x100c70b4
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0xc], 0
jmp 0x100c70cc
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x38]
jae 0x100c70eb
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0xc]
movsx ecx, byte [eax]
xor ecx, dword [ebp - 0x10]
imul edx, ecx, 0x1000193
mov dword [ebp - 0x10], edx
jmp 0x100c70c3
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
push edx
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x44]
call fcn.100d0170
mov ecx, dword [eax]
mov edx, dword [ebp - 0x48]
mov dword [ecx + 0xc], edx
jmp 0x100c7056
mov esp, ebp
pop ebp
ret
Function at 0x100e6a30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10338928]
mov dword [ebp - 4], eax
jmp 0x100e6a48
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x100e6a5e
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x100e6a5c
mov eax, dword [ebp - 4]
jmp 0x100e6ad9
jmp 0x100e6a40
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 0x100e6ad6
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 0x100e6a98
mov edx, dword [ebp - 4]
mov eax, dword [0x10338928]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x10338928], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x100e7bd0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10338040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], 0
push 0
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x100e7d6e
mov dword [ebp - 0x20], 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x100e7d64
mov dword [ebp - 0x24], 1
cmp dword [ebp - 0x20], 0x10
jb 0x100e7d04
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x100e7d04
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x100e7d04
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x100e7c8f
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shl edx, 2
push edx
push 0
mov eax, dword [0x1033893c]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x100e7c8d
mov dword [ebp - 0x24], 0
jmp 0x100e7d21
jmp 0x100e7ce4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x100e7ce4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 2
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x1033893c]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x100e7cdc
mov dword [ebp - 0x24], 0
jmp 0x100e7d21
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov dword [ebp - 0x20], 0x1c
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x100e7c22
cmp dword [ebp - 0x24], 0
je 0x100e7d39
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x100e7d39
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0
jne 0x100e7d64
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x100e7d64
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x1033893c]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1030cc2a
mov esp, ebp
pop ebp
ret
Function at 0x100e7d80
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.100e7bd0
add esp, 4
test eax, eax
jne 0x100e7dc3
mov dword [ebp - 0xc], 9
jmp 0x100e7e31
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x100e7e31
mov dword [ebp - 4], 0
jmp 0x100e7ddd
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x100e7e31
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
push edx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100e7e2f
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.100e7a50
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100e7dd4
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x100e7e40
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x100e7eb4
mov dword [ebp - 4], 0
jmp 0x100e7e60
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x100e7ea0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100e7e9e
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100e7e57
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x1033893c]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esp, ebp
pop ebp
ret
Function at 0x100e7ec0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10338040]
xor eax, ebp
mov dword [ebp - 4], eax
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x10338930]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 5
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x100e7f0e
mov eax, dword [ebp - 0x10]
sub eax, 5
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 8]
push edx
push 0x40
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100e7f30
mov eax, 0xa
jmp 0x100e801b
cmp dword [ebp + 0xc], 0
je 0x100e7f7c
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 0x10]
add ecx, 5
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 1], eax
mov edx, dword [ebp - 0xc]
mov al, byte [edx + 0x14]
and al, 1
movzx ecx, al
test ecx, ecx
je 0x100e7f7a
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov byte [ecx], 0xeb
mov edx, dword [ebp - 0x1c]
mov byte [edx + 1], 0xf9
jmp 0x100e7fbc
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x100e7fa9
mov eax, dword [ebp - 0xc]
add eax, 0xc
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax]
mov dword [ecx], edx
mov dx, word [eax + 4]
mov word [ecx + 4], dx
mov al, byte [eax + 6]
mov byte [ecx + 6], al
jmp 0x100e7fbc
mov ecx, dword [ebp - 0xc]
add ecx, 0xc
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov dword [edx], eax
mov cl, byte [ecx + 4]
mov byte [edx + 4], cl
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov dl, byte [ebp + 0xc]
and dl, 1
shl dl, 1
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + 0x14]
and cl, 0xfd
or cl, dl
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x14], cl
mov al, byte [ebp + 0xc]
and al, 1
shl al, 2
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx + 0x14]
and dl, 0xfb
or dl, al
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x14], dl
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1030cc2a
mov esp, ebp
pop ebp
ret
Function at 0x100e8510
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x100e8559
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x100e8559
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x100e8559
xor eax, eax
jmp 0x100e859a
mov dword [ebp - 4], 1
jmp 0x100e856b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x100e8595
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x100e8593
xor eax, eax
jmp 0x100e859a
jmp 0x100e8562
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x100e9f40
Capabilities:
Get number of processors
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x10338040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x100e9f74
xor al, al
jmp 0x100ea0c9
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0xc]
add edx, 0x14
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
jmp 0x100e9f92
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x2c]
je 0x100ea085
mov edx, dword [ebp - 0x1c]
sub edx, 8
mov dword [ebp - 0x24], edx
jne 0x100e9fab
jmp 0x100e9f8a
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x48], ecx
lea edx, [ebp - 0x34]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x34], 0
je 0x100e9fd6
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
jmp 0x100e9fdd
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x100e9ff6
mov edx, dword [ebp - 0x18]
movzx eax, word [edx]
cmp eax, 0x5a4d
je 0x100ea002
mov byte [ebp - 0xe], 0
mov cl, byte [ebp - 0xe]
mov byte [ebp - 0xd], cl
jmp 0x100ea03d
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x20], eax
je 0x100ea01b
mov ecx, dword [ebp - 0x20]
cmp dword [ecx], 0x4550
je 0x100ea027
mov byte [ebp - 0xf], 0
mov dl, byte [ebp - 0xf]
mov byte [ebp - 0xd], dl
jmp 0x100ea03d
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 8], ecx
mov byte [ebp - 0x10], 1
mov dl, byte [ebp - 0x10]
mov byte [ebp - 0xd], dl
mov al, byte [ebp - 0xd]
mov byte [ebp - 0x11], al
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
jne 0x100ea050
jmp 0x100e9f8a
mov edx, dword [ebp - 8]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
push edx
mov ecx, dword [ebp + 8]
call fcn.100fd2b0
jmp 0x100e9f8a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ecx]
cmp eax, dword [edx + 4]
jne 0x100ea0a1
mov dword [ebp - 0x40], 1
jmp 0x100ea0a8
mov dword [ebp - 0x40], 0
mov cl, byte [ebp - 0x40]
mov byte [ebp - 0x12], cl
movzx edx, byte [ebp - 0x12]
test edx, edx
jne 0x100ea0bf
mov dword [ebp - 0x44], 1
jmp 0x100ea0c6
mov dword [ebp - 0x44], 0
mov al, byte [ebp - 0x44]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1030cc2a
mov esp, ebp
pop ebp
ret
Function at 0x100eb760
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 0xf
jbe 0x100eb7a0
mov dword [ebp - 0x14], 1
jmp 0x100eb7a7
mov dword [ebp - 0x14], 0
mov cl, byte [ebp - 0x14]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
test edx, edx
je 0x100eb7c3
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], 0x811c9dc5
mov dword [ebp - 8], 0
jmp 0x100eb7e8
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x1c]
jae 0x100eb807
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 8]
movzx edx, byte [ecx]
xor edx, dword [ebp - 0x10]
imul eax, edx, 0x1000193
mov dword [ebp - 0x10], eax
jmp 0x100eb7df
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100ea9f0
add esp, 0xc
mov ecx, dword [ebp - 0x24]
or ecx, 1
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x10267790
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 1
jne 0x102677c3
push 0
push 0
push 0
push 0x100c76c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x102677bc
xor eax, eax
jmp 0x102677c5
mov eax, 1
jmp 0x102677c5
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x102e01d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1030e6a0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10338040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x3c]
and ecx, 1
je 0x102e02d6
mov edx, dword [ebp - 0x1c]
add edx, 0x40
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x20]
mov edx, dword [ecx]
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0
je 0x102e0242
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x20]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx]
mov ecx, dword [edx]
lea edx, [ecx + eax*2]
mov dword [ebp - 0x20], edx
jmp 0x102e025e
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
mov ecx, dword [edx]
lea edx, [ecx + eax*2]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x2c]
sar eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x38]
shl ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x1000
jb 0x102e02bf
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.100835a0
add esp, 8
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.1030d0a5
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0xc]
mov dword [edx], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x1c]
mov dword [ecx], 0
xor edx, edx
sar edx, 1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x2c]
mov dword [ecx], edx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x10]
mov dword [eax], 0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x20]
mov dword [edx], 0
xor eax, eax
sar eax, 1
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x30]
mov dword [edx], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x3c]
and edx, 0xfffffffe
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x3c], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1030cc2a
mov esp, ebp
pop ebp
ret
Function at 0x1030c6ee
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 0x1030c715
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x1030c718
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.1030c6ca
pop esi
leave
ret 8
Function at 0x408273
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, dword [eax + 4]
mov edi, dword [eax]
add edx, edx
mov eax, 0x1505
test edx, edx
jle 0x40829b
movzx ecx, byte [esi + edi]
imul eax, eax, 0x21
add eax, ecx
inc esi
cmp esi, edx
jl 0x40828d
pop edi
pop esi
pop ebp
ret 4
invalid

Function at 0x408e90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 0x30]
sub eax, ebx
je 0x445b6e
sub eax, 1
jne 0x408e33
mov dl, 0
add byte [eax], al
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x20]
push edi
mov dx, word [ecx]
mov ecx, eax
call fcn.00408e71
mov dword [esp + 0x28], eax
pop ecx
test eax, eax
je 0x408e5c
mov ecx, eax
sub ecx, dword [esp + 0x10]
sar ecx, 1
sub edi, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x38], edi
mov edx, edi
sub edi, ecx
js 0x408e6c
push ecx
push dword [esp + 0x24]
push eax
call fcn.0042637e
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x24]
jne 0x445b5d
mov ecx, dword [esp + 0x3c]
sub eax, ecx
sar eax, 1
push eax
push ebx
push ecx
lea ecx, [esp + 0x4c]
call fcn.00408817
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x54]
call fcn.0040890f
push dword [esp + 0x14]
lea eax, [esp + 0x54]
push esi
push eax
push dword [esp + 0x24]
call fcn.00408a30
add esp, 0x10
lea ecx, [esp + 0x50]
inc dword [esp + 0x14]
call fcn.0040e8a0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
inc dword [esp + 0x28]
lea eax, [eax + ecx*2]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x34]
jl 0x408d6c
lea ecx, [esp + 0x40]
call fcn.0040b1ff
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0x10]
lea eax, [eax + edi*2]
mov dword [esp + 0x24], eax
jmp 0x408ddb
lea eax, [eax + edx*2]
jmp 0x408e63
push ebp
mov ebp, esp
sub esp, 0x94
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x408ea5
mov eax, dword [esi + 0xc]
sub eax, 1
jne 0x408edb
push 0xa
lea eax, [ebp - 0x94]
push eax
push dword [esi]
call fcn.00425156
sub eax, 1
je 0x445cd1
sub eax, 1
jne 0x445be5
fld qword [esi]
lea eax, [ebp - 0x94]
push ecx
push ecx
fstp qword [esp]
push 0x49fb78
push eax
call fcn.0041faa3
add esp, 0x10
jmp 0x408ec0
pushal
lea eax, [esp + 0x60]
push esi
push eax
push dword [esp + 0x30]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], esi
and al, 0x78
call fcn.00408a5d
add esp, 0x1c
lea ecx, [esp + 0x50]
call fcn.0040e8cd
mov dword [esp + 0x14], esi
jmp 0x408d7d
and al, 0x24
call fcn.00408a5d
add esp, 0x10
lea ecx, [esp + 0x60]
inc dword [esp + 0x14]
call fcn.0040e8cd
lea ecx, [esp + 0x40]
call fcn.0040bfec
inc dword [esp + 0x28]
inc dword [esp + 0x2c]
jmp 0x408e60
out dx, al
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00424940
pop ecx
pop ecx
jmp 0x408eed