joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402b91
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
push dword [ebp + 0x18]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x402bd4
push 6
call fcn.00403264
add esp, 4
jmp 0x402bd9
mov esp, ebp
pop ebp
ret 0x18

Function at 0x4036d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
push edi
push eax
call fcn.00404100
mov esi, dword [esp + 0x38]
mov ebx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 4
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x10], ebp
test ebx, ebx
je 0x403820
test ecx, ecx
je 0x403820
inc ecx
push ecx
call fcn.0040eee1
mov ebp, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov edx, ecx
mov esi, edi
mov edi, ebp
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00404ea0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x403749
mov byte [edi], 0
inc edi
lea eax, [esp + 0x1c]
push eax
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40380d
push 0x400
mov dword [esp + 0x18], 0x400
mov dword [esp + 0x1c], 1
call fcn.0040eee1
add esp, 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push esi
push edx
push 0
push edi
push eax
call ebx
test eax, eax
je 0x4037d1
cmp eax, 0xea
jne 0x4037f9
push esi
call fcn.0040ef0a
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0040eee1
mov ecx, dword [esp + 0x24]
add esp, 8
lea edx, [esp + 0x14]
mov esi, eax
push edx
lea eax, [esp + 0x1c]
push esi
push eax
push 0
push edi
push ecx
call ebx
test eax, eax
jne 0x40379c
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x4037df
cmp eax, 2
jne 0x4037f9
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
call fcn.004040c0
add esp, 8
mov dword [esp + 0x10], eax
push esi
call fcn.0040ef0a
mov edx, dword [esp + 0x20]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call fcn.0040ef0a
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x40384e
mov ebp, eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x40385a
mov edx, dword [esp + 0x40]
test edx, edx
je 0x40385a
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
call fcn.004040c0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x403910
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x403979
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.004034f0
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret

Function at 0x403980
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x403a12
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x403a04
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x4039fc
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x4039c5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x41349f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4134cd
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4134eb
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00413405
jmp 0x4134eb
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4134eb
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00413405
test edi, edi
mov eax, edi
jne 0x4134d5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x458208
Capabilities:
Encode data using xor

Disassembly:
fdivr st(3), st(0)
test al, 0xbb
les esi, [eax + 0x71]
fild qword [ebx + ecx*8 + 0x783dcd65]
imul ecx, dword [edx + 0x73], 0x8d24b735
out dx, al
and edi, 0xffffffda
sub dword ss:[edi + eax*4 - 0x53], ebp
ror dword [ebp - 0x23612e75], 1
mov es, word [esi + esi + 0x6844a42]
call dword [ebp - 0x7bcbf9ca]
pushfd
add al, bh
cmp esp, ebp
in al, 0x63
xor al, 0
rol dword [ebp + 0x79], 1
inc ecx
cld
cli
pop eax
push ecx
mov eax, dword [0x91691cbf]
ror dword [ecx + 0x582b9f9a], 1
sub ebx, dword [eax + 1]
ljmp 0x7ebc:0xa61d93f
and dword [edi - 0x32], esi
push edi
inc ecx
ja 0x4581d9
in eax, 0x79
pop edx
outsb dx, byte [esi]
xlatb
js 0x458198
outsb dx, byte [esi]
mov dl, 0x90
fcmove st(0), st(3)
push edi
and edx, ebx
xor esp, dword [ecx + ebx*8 - 0x4bebbdbd]
mov ecx, 0xea18af04
js 0x45821b
jne 0x4581e3
fidiv word [edx + eax*2]
xchg ebp, eax
ficomp word [edx]
adc ebp, esi
sub byte [ebx + 0x4f], bl
cmpsd dword [esi], dword es:[edi]
mov esi, 0x9edcc042
arpl word [ebp - 0x1b], ax
xchg ecx, eax
insd dword es:[edi], dx
ret

Function at 0x4682c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
jge 0x46827b
jecxz 0x46825f
lcall 0x2685, 0x76f26d1c
push esi
lodsb al, byte [esi]
sal byte [esi + 0x32a56448], 1
or dword [edx + 0x49], ecx
out 0x67, al
sar dword [edi - 0x50], 0x9c
sar dword [bx - 0x50], 0x9c
scasb al, byte es:[edi]
inc ecx
lea ecx, [eax]
pop ss
inc edi
outsd dx, dword [si]
stosb byte es:[edi], al
iretd
jg 0x468263
pop ss
pushal
out dx, eax
xchg esp, eax
dec byte [esi]
push cs
adc eax, edx
mov dh, byte [ebp - 0x18590aad]
or edx, edx
lahf
jle 0x4682b8
cmpsb byte [esi], byte es:[edi]
out 9, eax
rcr byte [edi - 0x1d2dd782], cl
shl dl, cl
ja 0x46824b
scasb al, byte es:[edi]
inc eax
jmp 0x468289
or eax, 0xc23e9548
mov dh, 0x27
push ss
dec eax
xchg ebp, eax
ret 0x27b6
ja 0x468282
inc esp
mov esp, 0x830849ef
in eax, dx
jnp 0x4682b9
cmp byte fs:[esi + 0x42], ah
dec ecx
cmpsd dword [esi], dword es:[edi]
inc dword [0xf5df67c0]
xchg esp, eax
and dword [ebp - 0x54], 0x18
xlatb
xor eax, 0xb3765c8f
dec edi
lahf
and esi, esi
xchg edx, eax
and edi, dword [ecx]
xchg esi, eax
push ss
mov dh, 0x5c
stc
xor al, byte [esi - 0x45]
jne 0x4682ee
xor dword [ebx], edx
cmc
cmpsb byte [esi], byte es:[edi]
wait
push edi
push es
or dword [ecx + 0x27], edx
cdq
adc eax, 0xaed2e6b1
fcmove st(0), st(7)
in eax, 0x25
out dx, al
and al, 0x66
daa
push edi
pushfd
cmp al, byte [edi - 0x54fc0864]
stosd dword es:[edi], eax
inc ebp
jecxz 0x4682fe
xchg dword [ecx + 0x27], esp
push esi
add byte [eax + 0x4f], ch
sub al, 0x31
dec ecx
jecxz 0x468313
sbb dword [esi], 0x14473fa8
sbb dword [ebx + edx*4], edx
adc eax, 0xffc02c0a
push es
mov bh, 0xb0
invalid

Function at 0x47d340
Capabilities:
Encode data using xor

Disassembly:
and eax, 0xdfc0c1b4
rol eax, 0xdf
mov dword [0x8cf36441], eax
xor al, dl
sbb byte [edx + 0x5f], ch
sub bl, ch
xchg ebp, eax
ja 0x47d33e
ret 0x284c
Function at 0x4ba630
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4ba67b
lea edx, [ebp - 0x14]
push edx
mov eax, dword [0x4c8aac]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push str.TImage2202
push str.TBitmap2202
call fcn.00417e10
mov dword [ebp - 0xc], eax
jmp fcn.007804e9

Function at 0x4bbb81
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c5368
cmp edx, dword [eax]
je 0x4bbba3
add eax, 8
inc ecx
cmp eax, 0x4c53f8
jl 0x4bbb94
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c5368]
jne 0x4bbcd1
mov eax, dword [0x4c9cec]
cmp eax, 1
je 0x4bbcab
test eax, eax
jne 0x4bbbd4
cmp dword [0x4c5294], 1
je 0x4bbcab
cmp edx, 0xfc
je 0x4bbcd1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bbc0b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004bc560
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bc9f0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bbc4e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bc9f0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c0cbc
push edi
call fcn.004be8c0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004bc560
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bc570
lea eax, [ebp - 0xa0]
push 0x4c0c9c
push eax
call fcn.004bc570
push dword [esi + 0x4c536c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bc570
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004be834
add esp, 0x2c
pop edi
jmp 0x4bbcd1
lea eax, [ebp + 8]
lea esi, [esi + 0x4c536c]
push 0
push eax
push dword [esi]
call fcn.004bc9f0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x10002220
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018eb15
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.10001f10
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100022a8
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0xaaaaaaa
je 0x100023fc
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], eax
push 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
call fcn.10161ef8
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 1
mov ecx, dword [edi]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov eax, dword [ebx + 8]
fld dword [ebx]
add eax, 1
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
jns 0x10002312
fadd dword [0x101a87b0]
mov edi, dword [ebx + 0x1c]
fild dword [ebx + 0x1c]
test edi, edi
jns 0x10002322
fadd dword [0x101a87b0]
fdivr st(1)
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x10002398
fdivrp st(1)
sub esp, 8
fstp qword [esp]
call fcn.1016e5b0
fnstcw word [ebp + 0xe]
movzx eax, word [ebp + 0xe]
add esp, 8
or eax, 0xc00
mov dword [ebp - 0x14], eax
fldcw word [ebp - 0x14]
fistp qword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
fldcw word [ebp + 0xe]
cmp eax, 8
ja 0x10002362
mov eax, 8
cmp edi, eax
jae 0x10002377
cmp edi, 0x200
jae 0x10002375
shl edi, 3
cmp edi, eax
jae 0x10002377
mov edi, eax
push edi
mov ecx, ebx
call fcn.10004650
mov esi, dword [ebp - 0x20]
mov ecx, ebx
push dword [ebp - 0x10]
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10001f10
mov edx, dword [eax]
jmp 0x1000239f
mov edx, dword [ebp - 0x18]
fstp st(1)
fstp st(0)
mov edi, dword [edx + 4]
inc dword [ebx + 8]
mov dword [esi + 4], edi
mov dword [esi], edx
mov dword [edi], esi
mov dword [edx + 4], esi
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x10]
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], edi
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
mov edi, dword [ebp + 0xc]
jne 0x100023cd
mov dword [ecx + eax*8], esi
jmp 0x100023dc
cmp ebx, edx
jne 0x100023d6
mov dword [ecx + eax*8], esi
jmp 0x100023e0
cmp dword [ecx + eax*8 + 4], edi
jne 0x100023e0
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.1016049b
int3
Function at 0x10004650
Capabilities:
Hash data using fnv

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push edi
mov edi, 1
mov dword [esp + 0xc], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x100047a5
lea eax, [edx - 1]
or eax, edi
bsr ecx, eax
push ebp
push esi
mov esi, dword [ebx + 4]
lea ebp, [ebx + 0xc]
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, ebp
lea eax, [edi + edi]
push eax
call fcn.10004560
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x1000477f
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebp]
mov ebx, dword [edx + edi*8]
lea ebp, [edx + edi*8]
mov dword [esp + 0x1c], ebp
cmp ebx, esi
jne 0x10004705
mov dword [ebp], eax
mov dword [ebp + 4], eax
jmp 0x1000476e
mov edx, dword [ebp + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x1000473f
mov edx, dword [edx]
mov dword [esp + 0x10], edx
cmp edx, eax
je 0x1000473a
mov ebx, dword [eax + 4]
mov ebp, dword [esp + 0x10]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [ebp + 4], edi
mov ebp, dword [esp + 0x1c]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov dword [ebp + 4], eax
jmp 0x1000476e
cmp ebx, edx
je 0x1000474f
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x10004789
cmp ebx, edx
jne 0x10004743
mov ebp, dword [eax + 4]
mov dword [ebp], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 4], ebp
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [esp + 0x14]
mov eax, ecx
lea ebp, [ebx + 0xc]
cmp ecx, esi
jne 0x100046b1
pop esi
pop ebp
pop edi
pop ebx
add esp, 8
ret 4
mov ebx, dword [eax + 4]
mov ebp, dword [edx]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], ebp
mov edx, dword [ebp + 4]
mov dword [edx], eax
mov dword [ebp + 4], edi
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x1000476e
push str.invalid_hash_bucket_count
call fcn.1016049b
int3
Function at 0x1000e1f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018eed0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov eax, ecx
push esi
push edi
push 8
mov dword [ebp - 0x10], eax
mov dword [eax], 0x101a8998
call fcn.10161ef8
mov esi, eax
add esp, 4
test esi, esi
je 0x1000e23f
push 1
mov dword [ebp - 4], 0
call fcn.10160c91
add esp, 4
mov dword [esi + 4], eax
jmp 0x1000e241
xor esi, esi
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov ebx, dword [ebp - 0x10]
mov dword [edi], 0
mov dword [edx], 0
mov dword [eax + 0x10], esi
mov dword [ebx], 0x101a8fa8
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x3d], 0
mov ebx, dword [ebp - 0x14]
mov dword [eax + 0xc], ebx
mov ebx, dword [ebp - 0x10]
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov edx, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword [edx + 0x4c], 0
mov eax, dword [0x10218c8c]
mov ecx, dword [0x10218c90]
mov dword [edx + 0x44], ecx
mov ecx, dword [ebp - 0xc]
mov dword [edx + 0x40], eax
mov eax, edx
mov dword [edx + 0x38], 0
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1000edf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018f6bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
lea ebx, [esi + 0x38]
mov dword [esi + 0x30], 0
mov byte [esi + 0x34], 0
mov dword [ebp + 8], ebx
mov dword [ebx + 0x24], 0
mov ecx, dword [ebp + 0x30]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x1000ee97
mov eax, dword [ecx]
push ebx
call dword [eax]
mov dword [ebx + 0x24], eax
mov al, byte [ebp + 0x34]
lea ecx, [esi + 0x70]
mov byte [esi + 0x60], al
push 8
mov byte [ebp - 4], 5
mov byte [esi + 0x68], 8
call fcn.1000f9f0
mov ecx, dword [esi + 0x1c]
xor ebx, ebx
mov edx, dword [esi + 0x10]
mov byte [ebp - 4], 6
mov byte [ebp + 0x37], 1
mov dword [ebp - 0x18], edx
test ecx, ecx
jns 0x1000eee2
mov eax, ecx
neg eax
cmp ebx, eax
jae 0x1000eee2
add ecx, ebx
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x1000eeec
add ecx, ebx
mov eax, ecx
shr eax, 5
lea edx, [edx + eax*4]
lea eax, [ebp + 0x37]
and ecx, 0x1f
push eax
push 1
push ecx
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0x10]
call fcn.10016600
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x1000ef1b
mov edx, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x30

Function at 0x1000f3a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018f7af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.1016052e
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x1000f42b
push eax
push esi
call fcn.10160d8e
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.101604db
int3
Function at 0x100174f0
Capabilities:
Hash data using fnv

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x18
mov edx, dword [esp + 0x1c]
push ebp
mov ebp, ecx
cmp edx, eax
je 0x1001767c
mov eax, dword [ebp + 4]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 4]
mov dword [esp + 4], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor ecx, eax
mov dword [esp + 0x20], ebx
movzx eax, byte [edx + 0xa]
mov esi, edx
imul ecx, ecx, 0x1000193
push edi
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebp + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebx + eax*8]
mov dword [esp + 0x18], ecx
lea eax, [ebx + eax*8]
mov dword [esp + 0x14], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
lea ecx, [ecx]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0xc]
call fcn.10004870
push 0x18
push edi
call fcn.10161f28
dec dword [ebp + 8]
add esp, 8
cmp ebx, dword [esp + 0x20]
je 0x100175c1
mov eax, dword [esp + 0x30]
cmp esi, eax
jne 0x10017570
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x2c]
jne 0x10017670
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
pop edi
mov dword [edx], esi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
pop ebp
add esp, 0x18
ret 8
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x2c]
jne 0x100175d9
mov eax, dword [esp + 0x1c]
mov ecx, eax
mov dword [edx], eax
jmp 0x100175dd
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x10017670
lea esp, [esp]
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
imul eax, ecx, 0x1000193
mov ecx, dword [ebp + 0x18]
and ecx, eax
mov eax, dword [esp + 0x24]
lea eax, [eax + ecx*8]
mov dword [esp + 0x2c], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
lea ebx, [ebx]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0xc]
call fcn.10004870
push 0x18
push edi
call fcn.10161f28
dec dword [ebp + 8]
add esp, 8
mov eax, dword [esp + 0x30]
cmp ebx, dword [esp + 0x20]
je 0x10017683
cmp esi, eax
jne 0x10017640
mov ecx, dword [esp + 0x2c]
mov dword [ecx], esi
mov ecx, dword [esp + 0x10]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
pop ebp
add esp, 0x18
ret 8
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x100175f0
mov ecx, dword [esp + 0x10]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
pop ebp
add esp, 0x18
ret 8