joyce8/EMBER2024-capa huggingface dataset:
Function at 0x118d1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0118d140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0118d140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0118d140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0118d140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x118dbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x118dc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x119f87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x118dc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x118dc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x100048f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10056aa0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10071080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.10031273
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.1002ffcc
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.10004d80
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100067a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10071080]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push esi
push edi
mov edi, ecx
je 0x100068e4
mov ecx, dword [0x7f94e0]
test ecx, ecx
je 0x100068e4
mov edx, dword [ecx + 0x84]
test edx, edx
je 0x100068e4
mov eax, dword [0x63d6c0]
cmp eax, dword [edx]
jne 0x100068e4
mov eax, dword [ecx + 0x88]
test eax, eax
je 0x100067ff
cmp word [eax + 0x9e], 0
jne 0x100068e4
mov al, byte [ecx + 0xb1]
cmp al, 0x64
je 0x10006811
cmp al, 0x6f
jne 0x100068e4
cmp byte [edi + 8], 0
jne 0x10006860
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 7
push 0x53f424
call esi
mov ecx, 0x53f424
mov eax, dword [ecx]
mov dword [edi + 8], eax
mov ax, word [ecx + 4]
mov word [edi + 0xc], ax
mov al, byte [ecx + 6]
mov ecx, 0x90909090
mov byte [edi + 0xe], al
mov eax, 0x53f424
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
jmp 0x10006898
cmp byte [0x53f424], 0x90
je 0x100068a1
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push 0x53f424
call esi
mov eax, 0x53f424
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 7
push 0x53f424
call esi
cmp dword [ebp + 8], 2
mov eax, dword [0x10071b1c]
jne 0x100068c8
mov dword [edi + 4], 2
pop edi
mov byte [eax], 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10031260
mov esp, ebp
pop ebp
ret 4
mov dword [edi + 4], 1
pop edi
mov byte [eax], 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10031260
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x10071b1c]
mov dword [edi + 4], 0
mov byte [eax], 0
mov eax, dword [0x10071b18]
mov dword [eax], 0
cmp byte [edi + 8], 0
je 0x1000693d
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push 0x53f424
call esi
mov eax, dword [edi + 8]
mov ecx, 0x53f424
mov dword [ecx], eax
mov ax, word [edi + 0xc]
mov word [ecx + 4], ax
mov al, byte [edi + 0xe]
mov byte [ecx + 6], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 7
push ecx
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10031260
mov esp, ebp
pop ebp
ret 4
Function at 0x10008690
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057066
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x128
mov eax, dword [0x10071080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 4], 1
cmp dword [edx + 0x14], 0xf
jbe 0x100086e0
mov edx, dword [edx]
cmp dword [ebx + 0x34], 0xf
lea ecx, [ebx + 0x20]
push edx
cmova ecx, dword [ebx + 0x20]
lea edx, [ebp - 0x118]
cmp dword [ebx + 0x1c], 0xf
lea eax, [ebx + 8]
push 0x100
cmova eax, dword [ebx + 8]
push edx
push 0x10062019
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x1000871f
mov byte [ebp - 0x119], al
jmp 0x100087b2
xorps xmm0, xmm0
mov dword [ebp - 0x124], 0
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x120], 0
movups xmmword [ebp - 0x134], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008746
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x134]
call fcn.100054b0
mov edx, str.TRUE
lea ecx, [ebp - 0x134]
call fcn.10009180
mov ecx, dword [ebp - 0x120]
mov byte [ebp - 0x119], al
cmp ecx, 0xf
jbe 0x100087b2
mov edx, dword [ebp - 0x134]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100087a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008848
push ecx
push edx
call fcn.100312a8
add esp, 8
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
jbe 0x100087e2
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100087d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008848
push ecx
push edx
call fcn.100312a8
add esp, 8
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp ecx, 0xf
jbe 0x10008824
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000881a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008848
push ecx
push edx
call fcn.100312a8
add esp, 8
mov al, byte [ebp - 0x119]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10031260
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x30
call fcn.10038464
int3
Function at 0x10008e20
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10071080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
cmp dword [eax], 0
mov edi, dword [esi + 4]
jne 0x10008eb6
cmp dword [edi + 4], 2
jne 0x10008ece
mov eax, dword [0x10071b1c]
mov dword [edi + 4], 0
mov byte [eax], 0
mov eax, dword [0x10071b18]
mov dword [eax], 0
cmp byte [edi + 8], 0
je 0x10008ece
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push 0x53f424
call esi
mov eax, dword [edi + 8]
mov ecx, 0x53f424
mov dword [ecx], eax
mov ax, word [edi + 0xc]
mov word [ecx + 4], ax
mov al, byte [edi + 0xe]
mov byte [ecx + 6], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 7
push ecx
call esi
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10031260
mov esp, ebp
pop ebp
ret 4
push 1
push 0xd4
mov ecx, edi
call fcn.10006540
mov ecx, dword [esi + 4]
push 2
call fcn.100067a0
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.10031260
mov esp, ebp
pop ebp
ret 4

Function at 0x10008f20
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10071080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
cmp dword [eax], 0
mov edi, dword [esi + 4]
jne 0x10008fb6
cmp dword [edi + 4], 1
jne 0x10008fce
mov eax, dword [0x10071b1c]
mov dword [edi + 4], 0
mov byte [eax], 0
mov eax, dword [0x10071b18]
mov dword [eax], 0
cmp byte [edi + 8], 0
je 0x10008fce
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push 0x53f424
call esi
mov eax, dword [edi + 8]
mov ecx, 0x53f424
mov dword [ecx], eax
mov ax, word [edi + 0xc]
mov word [ecx + 4], ax
mov al, byte [edi + 0xe]
mov byte [ecx + 6], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 7
push ecx
call esi
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10031260
mov esp, ebp
pop ebp
ret 4
push 1
push 0xd3
mov ecx, edi
call fcn.10006540
mov ecx, dword [esi + 4]
push 1
call fcn.100067a0
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.10031260
mov esp, ebp
pop ebp
ret 4
Function at 0x1000e4a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057695
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x10071080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
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
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push edx
push eax
call fcn.1000ee30
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1000e52a
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x1000e671
cmp dword [ebx + 8], 0x4924924
je 0x1000e687
lea eax, [ebx + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
push 0x38
mov dword [ebp - 0x28], 0
call fcn.10031273
mov ecx, dword [ebp - 0x1c]
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
mov dword [esi + 0x34], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100657f0]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100657f0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x1000e624
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.10050d50
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.10053310
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x1000e606
cmp eax, 0x200
jae 0x1000e604
shl eax, 3
cmp eax, ecx
jae 0x1000e606
mov eax, ecx
push eax
mov ecx, ebx
call fcn.1000ead0
push dword [ebp - 0x20]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1000ee30
mov edx, dword [eax]
jmp 0x1000e627
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x2c]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x20]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x1000e652
mov dword [ecx + eax*8], esi
jmp 0x1000e664
cmp ebx, edx
jne 0x1000e65b
mov dword [ecx + eax*8], esi
jmp 0x1000e668
mov edx, dword [ebp - 0x1c]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1000e668
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x24]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.1002fdf5
int3
Function at 0x1000ead0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x1000ec29
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.1000dfb0
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 0x1000ebfc
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
mov edx, dword [ebx + 0xc]
imul edi, edi, 0x1000193
and edi, dword [ebx + 0x18]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x10], edx
cmp edi, esi
jne 0x1000eb81
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1000ebf2
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x1000ebbb
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x1000ebb3
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x1000ebef
cmp edi, edx
je 0x1000ebcc
nop
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x1000ec05
cmp edi, edx
jne 0x1000ebc0
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], 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 [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x1000eb32
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x1000ebef
push str.invalid_hash_bucket_count
call fcn.1002fdf5
int3
Function at 0x1000f1f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057715
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10071080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, edx
cmp dword [edx + 0x14], 0xf
jbe 0x1000f227
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x1000f245
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x1000f233
push esi
push edx
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.1000f160
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x1000f276
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 ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x71c71c7
je 0x1000f3e0
lea eax, [ebx + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x10], 0
call fcn.10031273
add esp, 4
mov edi, eax
mov dword [ebp - 0x10], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.10002f20
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100657f0]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100657f0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x1000f371
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call fcn.10050d50
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.10053310
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x1000f355
cmp eax, 0x200
jae 0x1000f353
shl eax, 3
cmp eax, ecx
jae 0x1000f355
mov eax, ecx
push eax
mov ecx, ebx
call fcn.1000ec40
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.1000f160
mov edx, dword [eax]
jmp 0x1000f374
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov dword [ebp - 0x10], 0
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x1000f3a3
mov dword [ecx + eax*8], edi
jmp 0x1000f3b5
cmp esi, edx
jne 0x1000f3ac
mov dword [ecx + eax*8], edi
jmp 0x1000f3b9
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1000f3b9
mov dword [ecx + eax*8 + 4], edi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov dword [esi], edi
mov byte [esi + 4], 1
call fcn.1000e9c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.1002fdf5
int3
Function at 0x100157f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057fb5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10071080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
sub eax, 0
je 0x10015891
sub eax, 1
jne 0x1001589d
cmp dword [0x10076ab8], eax
jne 0x1001589d
push ecx
mov dword [0x10076ab8], ecx
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 4
call fcn.10031273
mov dword [ebp - 0x14], eax
mov dword [eax], 0x10015710
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x10015900
push 0
push 0
call fcn.1003bfdd
add esp, 0x1c
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x100158c4
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100158bd
push ecx
push eax
call fcn.10030e18
add esp, 8
test eax, eax
jne 0x100158bd
jmp 0x1001589d
mov eax, dword [0x10076abc]
mov byte [eax + 0x9c], 1
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10031260
mov esp, ebp
pop ebp
ret 0xc
push 1
call fcn.10030d33
push 6
mov dword [ebp - 0x18], 0
call fcn.10030d33
int3

Function at 0x10016140
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10071080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, byte [ebp + 8]
xorps xmm0, xmm0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor bh, bh
push edi
xor edi, edi
movq qword [ebp - 0x210], xmm0
test bl, bl
je 0x100161c9
lea eax, [ebp - 0x208]
push eax
push 0x40
push 0xd
push 0x538672
call esi
mov eax, 0x538672
movq xmm0, qword [eax]
mov edi, dword [eax + 8]
mov bh, byte [eax + 0xc]
mov dword [eax], 0x90909090
mov dword [eax + 4], 0x90909090
mov dword [eax + 8], 0x90909090
mov byte [eax + 0xc], 0x90
lea eax, [ebp - 0x208]
push eax
push dword [ebp - 0x208]
movq qword [ebp - 0x210], xmm0
push 0xd
push 0x538672
call esi
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x204]
push 0x1ff
push eax
call fcn.10015960
lea eax, [ebp - 0x204]
push eax
push dword [0x7f94cc]
call dword [0x10071b7c]
add esp, 0x18
test bl, bl
je 0x1001623a
lea eax, [ebp - 0x208]
push eax
push 0x40
push 0xd
push 0x538672
call esi
movq xmm0, qword [ebp - 0x210]
mov eax, 0x538672
movq qword [eax], xmm0
mov dword [eax + 8], edi
mov byte [eax + 0xc], bh
lea eax, [ebp - 0x208]
push eax
push dword [ebp - 0x208]
push 0xd
push 0x538672
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10031260
mov esp, ebp
pop ebp
ret
Function at 0x10016f80
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x18
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
cmp edx, eax
je 0x100170d6
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
push esi
push edi
mov edi, dword [ebx + 0xc]
mov esi, edx
xor ecx, eax
mov dword [ebp - 0x18], edi
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 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 - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x10
push eax
call fcn.100312a8
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x10]
je 0x10017039
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x10016ff7
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x100170cc
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
pop edi
mov dword [edx], esi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x1001704d
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov dword [edx], eax
jmp 0x10017050
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x100170cc
nop word [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 [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x10
push eax
call fcn.100312a8
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp - 0x10]
je 0x100170dd
cmp esi, eax
jne 0x100170a7
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x10017060
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8