joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407178
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
lea esi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x407229
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00406ed4
xor edx, edx
mov eax, 0xf
call fcn.004055d0
mov ebx, eax
mov dword [esi], 0x128
mov edx, esi
mov eax, ebx
call fcn.004055f0
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x407209
push ebp
mov eax, dword [esi + 8]
call fcn.00406f24
pop ecx
test al, al
je 0x4071fa
mov eax, dword [esi + 8]
push eax
push 0xffffffffffffffff
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
je 0x40720d
push 0
push esi
call sub.kernel32.dll_TerminateProcess
push esi
call sub.kernel32.dll_CloseHandle
jmp 0x40720d
mov edx, esi
mov eax, ebx
call fcn.00405610
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4071c9
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407230
lea eax, [ebp - 4]
call fcn.00403174
ret

Function at 0x407560
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004034f8
lea edi, [ebp - 0x12d]
xor eax, eax
push ebp
push 0x4076dc
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 0xf
call fcn.004055d0
mov esi, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, esi
call fcn.004055f0
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x4076a8
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004032f0
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.004046f4
mov eax, dword [ebp - 0x134]
mov edx, dword [ebp - 4]
call fcn.004046bc
test eax, eax
je 0x407622
lea eax, [ebp - 0x13c]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004032f0
mov eax, dword [ebp - 0x13c]
mov edx, dword [ebp - 4]
call fcn.004046bc
test eax, eax
jne 0x407699
mov eax, dword [edi + 8]
push eax
push 0xffffffffffffffff
push 1
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
je 0x40764e
push 0
push ebx
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
push ebx
call sub.kernel32.dll_CloseHandle
jmp 0x407652
mov byte [ebp - 5], 0
cmp byte [ebp - 5], 0
jne 0x407699
call fcn.00407538
test al, al
jne 0x407699
mov edx, dword [edi + 8]
mov eax, 1
call fcn.00407420
mov ebx, eax
test ebx, ebx
je 0x407699
push 0
push ebx
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
push ebx
call sub.kernel32.dll_CloseHandle
cmp byte [ebp - 5], 0
jne 0x407699
mov eax, dword [edi + 8]
call fcn.00406d68
mov edx, edi
mov eax, esi
call fcn.00405610
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4075c7
push esi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4076e3
lea eax, [ebp - 0x13c]
mov edx, 3
call fcn.00403198
lea eax, [ebp - 4]
call fcn.00403174
ret
Function at 0x408b90
Capabilities:
Create process on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
xor eax, eax
push ebp
push 0x408c44
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00407238
lea edx, [ebp - 8]
mov eax, 0x408c58
call fcn.00404cc0
mov eax, dword [ebp - 8]
call fcn.00407560
lea edx, [ebp - 0xc]
mov eax, 0x408c6c
call fcn.00404cc0
mov eax, dword [ebp - 0xc]
call fcn.00407560
lea edx, [ebp - 0x10]
mov eax, 0x408c80
call fcn.00404cc0
mov eax, dword [ebp - 0x10]
call fcn.00407560
push 0
lea edx, [ebp - 0x14]
mov eax, 0x408c94
call fcn.00404cc0
mov eax, dword [ebp - 0x14]
call fcn.00403508
push eax
call sub.kernel32.dll_WinExec
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x408b00
push 0
push 0
call sub.kernel32.dll_CreateThread
push 0x3e8
call sub.kernel32.dll_Sleep
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408c4b
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00403198
ret
Function at 0x40e278
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004034f8
lea edi, [ebp - 0x2c]
xor eax, eax
push ebp
push 0x40e3a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
xor eax, eax
push ebp
push 0x40e36a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 4]
mov edx, 0x40e3c0
call fcn.00403354
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0xc]
call fcn.00410794
mov eax, dword [ebp - 0xc]
call fcn.00403bbc
mov esi, eax
test esi, esi
jl 0x40e360
inc esi
sub ebx, ebx
xor eax, eax
mov dword [edi + 4], eax
xor eax, eax
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + ebx*4]
call fcn.00403508
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [edi + 0x1c], eax
push 0
push 0
push 0x40e3c4
push edi
call sub.mpr.dll_WNetAddConnection2A
test eax, eax
je 0x40e326
push 0
push 0
push 0
push edi
call sub.mpr.dll_WNetAddConnection2A
test eax, eax
jne 0x40e35c
mov byte [ebp - 5], 1
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + ebx*4]
lea eax, [ebp - 0x34]
mov ecx, 0x40e3d0
call fcn.00403354
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov dl, 1
call fcn.0040fd00
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + ebx*4]
call fcn.00403508
push eax
call sub.mpr.dll_WNetCancelConnectionA
inc ebx
dec esi
jne 0x40e2e6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x40e374
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e3ac
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00403198
lea eax, [ebp - 0xc]
mov edx, dword [0x40e254]
call fcn.00403d7c
lea eax, [ebp - 4]
call fcn.00403174
ret

Function at 0x40e3d4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004034f8
xor eax, eax
push ebp
push 0x40e456
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
mov edx, 0x44
call fcn.0040450c
mov dword [ebp - 0x48], 0x44
mov word [ebp - 0x18], 1
test ebx, ebx
jne 0x40e417
lea ebx, [ebp - 0x58]
push ebx
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x20
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403508
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e45d
lea eax, [ebp - 4]
call fcn.00403174
ret
Function at 0x40eadc
Capabilities:
Delete file
Get file size
Read file on windows
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004034f8
xor eax, eax
push ebp
push 0x40ecdb
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00404a84
mov edi, eax
cmp edi, 0xffffffff
je 0x40ecbd
push 0
push edi
call sub.kernel32.dll_GetFileSize
mov esi, eax
cmp esi, 0x1000000
jae 0x40ecb2
cmp esi, dword [0x4129a0]
jl 0x40eb6f
push 0
lea eax, [ebp - 0x10]
push eax
push esi
mov eax, dword [0x412990]
push eax
push edi
call sub.kernel32.dll_ReadFile
mov eax, dword [0x411200]
mov eax, dword [eax]
call fcn.00403508
mov ecx, eax
mov eax, dword [0x412990]
mov edx, esi
call fcn.0040845c
test eax, eax
sete al
jmp 0x40eb71
mov al, 1
test al, al
je 0x40ecb2
lea eax, [ebp - 0x2c]
mov ecx, 0x40ecf4
mov edx, dword [ebp - 4]
call fcn.00403354
mov eax, dword [ebp - 0x2c]
call fcn.00403508
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 0x2c]
call fcn.00404a74
test al, al
jne 0x40ecb2
mov eax, dword [ebp - 0x2c]
call fcn.004048d4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x40ecb2
mov edx, dword [0x412994]
mov ecx, dword [0x4129a0]
mov eax, dword [ebp - 8]
call fcn.004048f8
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
call sub.kernel32.dll_GetFileTime
push edi
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x2c]
call fcn.00403508
push eax
mov eax, dword [ebp - 4]
call fcn.00403508
pop edx
call fcn.0040f744
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00404a84
mov edi, eax
cmp edi, 0xffffffff
je 0x40ecb2
mov edx, 2
mov eax, dword [ebp - 0x2c]
call fcn.00404a84
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x40ec90
mov eax, esi
call fcn.0040248c
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov ecx, esi
mov eax, edi
call fcn.004045b0
push 2
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetFilePointer
mov edx, dword [ebp - 0xc]
mov ecx, esi
mov eax, dword [ebp - 8]
call fcn.004048f8
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.004024ac
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetFileTime
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
push edi
call sub.kernel32.dll_CloseHandle
or edi, 0xffffffff
mov eax, dword [ebp - 4]
call fcn.00403508
push eax
call sub.kernel32.dll_DeleteFileA
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x2c]
call fcn.00404adc
cmp edi, 0xffffffff
je 0x40ecbd
push edi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ece2
lea eax, [ebp - 0x2c]
call fcn.00403174
lea eax, [ebp - 4]
call fcn.00403174
ret
Function at 0x40ed88
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call fcn.004034f8
mov eax, dword [ebp - 0x18]
call fcn.004034f8
mov eax, dword [ebp - 0x1c]
call fcn.004034f8
xor eax, eax
push ebp
push 0x40ee8c
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
mov eax, dword [ebp - 0x14]
call fcn.00403508
push eax
mov eax, dword [ebp - 0x18]
call fcn.00403508
mov edx, eax
mov eax, dword [0x412650]
pop ecx
call fcn.0040ed10
pop ecx
test al, al
je 0x40ee71
mov eax, dword [ebp - 0x1c]
call fcn.00404a74
test al, al
je 0x40ee02
mov eax, dword [ebp - 0x1c]
call fcn.00403508
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
push ebp
push 0x40ee56
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 0x1c]
call fcn.00403508
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x40ee60
mov eax, dword [ebp - 0x10]
call fcn.00404514
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FreeResource
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ee93
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00403198
ret
Function at 0x40f744
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], edx
xor edx, edx
push ebp
push 0x40f8d0
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebp - 5], 0
push 2
push 0
push eax
call sub.kernel32.dll_LoadLibraryExA
mov edi, eax
test edi, edi
je 0x40f8b5
mov ebx, 1
push 3
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.004047a0
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x40f8ec
call fcn.00403354
mov eax, dword [ebp - 0x1c]
call fcn.00403508
push eax
push edi
call sub.kernel32.dll_FindResourceA
mov esi, eax
test esi, esi
jne 0x40f7c0
inc ebx
cmp ebx, 0xb
jne 0x40f789
test esi, esi
je 0x40f8af
push esi
push edi
call sub.kernel32.dll_LoadResource
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40f8af
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40f8a6
push 2
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40f8b5
mov ebx, 1
push 3
lea edx, [ebp - 0x28]
mov eax, ebx
call fcn.004047a0
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x40f8ec
call fcn.00403354
mov eax, dword [ebp - 0x24]
call fcn.00403508
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindResourceA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40f84e
inc ebx
cmp ebx, 0xb
jne 0x40f811
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FreeLibrary_1
cmp dword [ebp - 0x14], 0
je 0x40f89e
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_BeginUpdateResourceA
mov ebx, eax
test ebx, ebx
je 0x40f89e
push esi
push edi
call sub.kernel32.dll_SizeofResource
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetUserDefaultLangID
push eax
push 1
push 3
push ebx
call sub.kernel32.dll_UpdateResourceA
test eax, eax
je 0x40f89e
push 0
push ebx
call sub.kernel32.dll_EndUpdateResourceA
test eax, eax
je 0x40f89e
mov byte [ebp - 5], 1
mov eax, dword [ebp - 0x18]
call fcn.00404514
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FreeResource
push edi
call sub.kernel32.dll_FreeLibrary_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f8d7
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00403198
ret
Function at 0x40f950
Capabilities:
Clear file content
Get file size
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x40f958
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004034f8
xor eax, eax
push ebp
push 0x40fb17
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GetLocalTime
lea edx, [ebp - 0x24]
movzx eax, word [ebp - 0x20]
call fcn.004047a0
push dword [ebp - 0x24]
push 0x40fb30
lea edx, [ebp - 0x28]
movzx eax, word [ebp - 0x1e]
call fcn.004047a0
push dword [ebp - 0x28]
push 0x40fb30
lea edx, [ebp - 0x2c]
movzx eax, word [ebp - 0x1a]
call fcn.004047a0
push dword [ebp - 0x2c]
lea eax, [ebp - 8]
mov edx, 5
call fcn.004033c8
lea edx, [ebp - 0x30]
mov eax, 0x40fb3c
call fcn.00404cc0
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x10]
mov ecx, dword [0x41f1dc]
call fcn.00403354
mov eax, dword [ebp - 0x10]
call fcn.00404a74
test al, al
je 0x40fa9a
mov eax, dword [ebp - 0x10]
call fcn.00403508
mov edx, eax
lea eax, [ebp - 0x34]
call fcn.004032c0
mov eax, dword [ebp - 0x34]
mov edx, 2
call fcn.00404a84
mov esi, eax
cmp esi, 0xffffffff
je 0x40faef
push 0
push esi
call sub.kernel32.dll_GetFileSize
mov edx, eax
mov eax, 0x1e
call fcn.00407e9c
mov edi, eax
lea eax, [ebp - 0xc]
mov edx, edi
call fcn.00403638
mov eax, dword [ebp - 0xc]
call fcn.00403508
mov edx, eax
mov ecx, edi
mov eax, esi
call fcn.004045b0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00403454
jne 0x40fa66
xor ebx, ebx
jmp 0x40fa92
xor ecx, ecx
xor edx, edx
mov eax, esi
call fcn.004048c8
mov eax, dword [ebp - 8]
call fcn.00403308
push eax
mov eax, dword [ebp - 8]
call fcn.00403508
mov edx, eax
mov eax, esi
pop ecx
call fcn.004048f8
push esi
call sub.kernel32.dll_SetEndOfFile
push esi
call sub.kernel32.dll_CloseHandle
jmp 0x40faef
mov eax, dword [ebp - 0x10]
call fcn.004048d4
mov esi, eax
cmp esi, 0xffffffff
je 0x40faed
mov eax, dword [ebp - 8]
call fcn.00403308
push eax
mov eax, dword [ebp - 8]
call fcn.00403508
mov edx, eax
mov eax, esi
pop ecx
call fcn.004048f8
push esi
call sub.kernel32.dll_CloseHandle
push 6
lea eax, [ebp - 0x38]
mov ecx, dword [0x41f1dc]
mov edx, dword [ebp - 4]
call fcn.00403354
mov eax, dword [ebp - 0x38]
call fcn.00403508
push eax
call sub.kernel32.dll_SetFileAttributesA
jmp 0x40faef
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40fb1e
lea eax, [ebp - 0x38]
mov edx, 6
call fcn.00403198
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00403198
ret
Function at 0x100029a0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 8], 0
je 0x100029c2
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax + 0x74]
inc eax
xor byte [edx], cl
cmp eax, 7
jb 0x100029b0
mov byte [esi + 8], 0
pop esi
ret

Function at 0x10002cf0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10055805
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10061040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
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.100032a0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10002d7c
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 [0x101842ac], 0xfffffff
jne 0x10002d93
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x1c], 0x101842a8
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x18], 0
call fcn.1005463e
mov ecx, dword [edi]
mov esi, eax
mov edx, dword [edi + 4]
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov dword [ebp - 4], 1
mov ecx, dword [0x101842ac]
mov edi, dword [0x101842c0]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movd xmm1, edi
addsd xmm0, qword [eax*8 + 0x1005e010]
cvtdq2pd xmm1, xmm1
mov eax, edi
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x1005e010]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
movss xmm1, dword [0x101842a4]
comiss xmm2, xmm1
jbe 0x10002e69
divss xmm0, xmm1
call fcn.10001700
call fcn.10055550
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp edi, ecx
jae 0x10002e4b
cmp edi, 0x200
jae 0x10002e49
shl edi, 3
cmp edi, ecx
jae 0x10002e4b
mov edi, ecx
push edi
call fcn.10003130
push ebx
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100032a0
mov ecx, dword [0x101842ac]
mov edx, dword [eax]
jmp 0x10002e6c
mov edx, dword [ebp - 0x14]
mov edi, dword [edx + 4]
inc ecx
mov dword [0x101842ac], ecx
mov dword [esi], edx
mov dword [esi + 4], edi
mov dword [edi], esi
mov dword [edx + 4], esi
mov eax, dword [0x101842bc]
mov ecx, dword [0x101842b0]
and eax, ebx
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [0x101842a8]
jne 0x10002e9d
mov dword [ecx + eax*8], esi
jmp 0x10002eac
cmp ebx, edx
jne 0x10002ea6
mov dword [ecx + eax*8], esi
jmp 0x10002eb0
cmp dword [ecx + eax*8 + 4], edi
jne 0x10002eb0
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
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
Function at 0x10003130
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 8
bsr ecx, eax
push ebx
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x1000315c
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [0x101842a8]
or eax, 1
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x101842b0
lea eax, [edi + edi]
push eax
call fcn.10002c00
mov eax, dword [0x101842a8]
lea ebx, [edi - 1]
mov dword [0x101842bc], ebx
mov dword [0x101842c0], edi
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x10003296
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 [0x101842b0]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 4], edx
cmp ebx, esi
jne 0x100031f4
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x10003261
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x1000322e
mov edx, dword [edx]
mov dword [ebp - 8], edx
cmp edx, eax
je 0x10003226
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 8]
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 + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
jmp 0x10003261
cmp ebx, edx
je 0x1000323e
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x10003272
cmp ebx, edx
jne 0x10003232
mov ebx, dword [eax + 4]
mov dword [ebp - 8], 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 - 8]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 4]
mov dword [eax + 4], edi
mov dword [edx], eax
mov eax, ecx
cmp ecx, esi
je 0x10003296
mov ebx, dword [0x101842bc]
jmp 0x100031a2
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 8], 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 + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x10003261
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100035b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10055860
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10061040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
lea edi, [esi + 0x38]
mov dword [esi + 8], 0
lea eax, [edi + 0x10]
mov dword [esi + 0xc], 0
xorps xmm0, xmm0
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
movups xmmword [esi], xmm0
mov dword [ebp - 0x10], edi
movups xmmword [esi + 0x10], xmm0
movq qword [esi + 0x20], xmm0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [ebp - 4], 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
mov byte [edi], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x100036aa
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x10]
call fcn.1001c260
lea eax, [edi + 0x10]
mov dword [eax], 0
xorps xmm0, xmm0
mov dword [edi + 0x2c], 0
mov eax, esi
mov dword [edi + 0x30], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x34], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x80], 0
movups xmmword [esi + 0x70], xmm0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret