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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x727814
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp dword [edi + 0x4c], 0
jne 0x4ccd26
lea ecx, [edi + 8]
call fcn.00481650
mov al, byte [eax]
test al, al
je 0x4ccd26
push 0x14
call fcn.0051dec4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_obj2_class_std::thread_.0
add eax, 0xc
push 0x34
mov dword [ebp - 0x18], eax
call fcn.0051dec4
mov ecx, eax
add esp, 8
xor eax, eax
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [ebp + 0xc]
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp + 0x1c]
movq qword [ecx + 0x10], xmm0
mov word [ebp + 0xc], ax
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 7
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x4ccc6e
lock inc dword [eax + 4]
mov eax, dword [esi]
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 4]
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov eax, dword [edi + 0x44]
test eax, eax
je 0x4ccc92
lock inc dword [eax + 4]
mov eax, dword [edi + 0x40]
mov dword [ecx + 0x20], eax
mov eax, dword [edi + 0x44]
mov dword [ecx + 0x24], eax
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x4cccb7
lock inc dword [eax + 4]
mov eax, dword [edi + 0x38]
mov dword [ecx + 0x28], eax
mov eax, dword [edi + 0x3c]
mov dword [ecx + 0x2c], eax
mov dword [ecx + 0x30], 0x4ccdf0
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp - 0x18]
add esi, 4
mov byte [ebp - 4], 2
push esi
push 0
push ecx
push 0x4d1940
push 0
push 0
call fcn.00532bb0
mov ecx, dword [ebp - 0x18]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x4ccd4b
mov esi, dword [edi + 0x50]
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x4c], ecx
mov dword [edi + 0x50], eax
test esi, esi
je 0x4ccd26
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4ccd26
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4ccd26
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp + 0xc]
call fcn.004813b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 0x1c
push 6
mov dword [esi], 0
call fcn.0051b121
int3
Function at 0x4d6f90
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, 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, dword [esi + 0x18]
and ecx, eax
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 4]
lea edx, [eax + ecx*8]
mov eax, dword [edx + 4]
cmp eax, esi
je 0x4d700e
mov ecx, dword [edi]
mov edx, dword [edx]
cmp ecx, dword [eax + 8]
je 0x4d7010
nop word [eax + eax]
cmp eax, edx
je 0x4d700e
mov eax, dword [eax + 4]
cmp ecx, dword [eax + 8]
jne 0x4d6ff0
mov ecx, dword [ebp + 8]
test eax, eax
pop edi
cmove eax, esi
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebp
ret 8
xor eax, eax
mov ecx, dword [ebp + 8]
test eax, eax
pop edi
cmove eax, esi
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebp
ret 8
Function at 0x4d7920
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 - 0x10], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x4d7a83
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.004d6eb0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x4d7a56
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
mov dword [ebp - 4], ebx
lea eax, [eax + edi*8]
mov dword [ebp - 8], eax
cmp ebx, esi
jne 0x4d79d6
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x4d7a49
mov eax, dword [eax + 4]
mov ebx, dword [ecx + 8]
cmp ebx, dword [eax + 8]
jne 0x4d7a10
mov eax, dword [eax]
mov dword [ebp - 4], eax
cmp eax, ecx
je 0x4d7a08
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
jmp 0x4d7a49
mov edi, eax
cmp dword [ebp - 4], eax
je 0x4d7a26
mov eax, dword [eax + 4]
mov edi, eax
cmp ebx, dword [eax + 8]
je 0x4d7a5f
cmp dword [ebp - 4], eax
jne 0x4d7a17
mov eax, dword [ecx + 4]
mov dword [ebp - 4], eax
mov dword [eax], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov edi, dword [ebp - 4]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax], ecx
mov ebx, dword [ebp - 0x10]
mov ecx, edx
cmp edx, esi
jne 0x4d7982
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov esi, eax
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x4d7a49
push str.invalid_hash_bucket_count
call fcn.0051a0ed
int3
Function at 0x4d7a90
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
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
movzx eax, byte [edx + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
pop ebp
ret 4
Function at 0x4dd0a0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push dword [ebp + 8]
call fcn.00537f8d
add esp, 4
cmp eax, 0xffffffff
jne 0x4dd0c7
push 0x32
call fcn.004d86d0
add esp, 4
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
push eax
call fcn.00538650
add esp, 4
cmp eax, 0xffffffff
jne 0x4dd0e8
call fcn.0052b2e8
push dword [eax]
call fcn.004d87e0
add esp, 4
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4dd115
mov ecx, dword [ebp - 4]
test ecx, ecx
jl 0x4dd115
mov edx, dword [ebp - 8]
jg 0x4dd107
test edx, edx
jb 0x4dd115
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
mov dword [eax + 4], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
push 0x2e
call fcn.004d86d0
add esp, 4
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x50aff0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov byte [eax], 0
mov eax, dword [edi + 0x21f0]
test eax, eax
je 0x50b05c
push 0xffffffffffffffff
push 0xff676980
push 0
push eax
call fcn.0051e730
push 0
push 0
push 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push 0
push eax
push dword [edi + 0x21e8]
mov dword [ebp - 0xc], edx
call dword [sym.imp.KERNEL32.dll_SetWaitableTimer]
test eax, eax
jne 0x50b05c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetWaitableTimer_failed___d__n
push 0xfe
push str.C:_actions_runner_work_app_xbc_win_agent_app_xbc_win_agent_srcServerlibPipepipe_Server.cpp
push 5
call fcn.0050ff70
add esp, 0x14
mov eax, dword [edi]
push 0xffffffffffffffff
push 0
push dword [edi + 4]
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x50b1f8
mov eax, dword [edi]
cmp ebx, eax
ja 0x50b1f8
je 0x50b0f9
mov esi, ebx
shl esi, 5
add esi, edi
mov dword [ebp - 8], esi
cmp dword [esi + 0x224], 0
je 0x50b145
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
lea eax, [esi + 0x208]
push eax
push dword [esi + 0x21c]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
lea edx, [ebx + 0x11]
shl edx, 5
mov ecx, dword [edx + edi]
sub ecx, 0
je 0x50b104
sub ecx, 1
jne 0x50b1f8
test eax, eax
je 0x50b0dd
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x50b0ea
push 0
push ebx
mov ecx, edi
call fcn.0050a630
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov dword [esi + 0x224], 0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test eax, eax
jne 0x50b13e
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
push eax
push str.GetOverlappedResult_failed__d
push 0x126
push str.C:_actions_runner_work_app_xbc_win_agent_app_xbc_win_agent_srcServerlibPipepipe_Server.cpp
push 5
call fcn.0050ff70
add esp, 0x14
mov ecx, edi
push 0
push ebx
call fcn.0050a630
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [edx + edi], 1
lea eax, [ebx + 0x11]
shl eax, 5
mov eax, dword [eax + edi]
sub eax, 1
jne 0x50b1f8
lea eax, [esi + 0x208]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
push dword [esi + 0x21c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [ebp + 8], eax
mov dword [edx], ecx
test eax, eax
je 0x50b18d
test ecx, ecx
jne 0x50b0ef
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
cmp dword [ebp + 8], 0
jne 0x50b1ed
cmp eax, 0x26
je 0x50b1ad
cmp eax, 0xea
je 0x50b1ad
cmp eax, 0x3e5
jne 0x50b1ed
push 1
push dword [ebp + 0xc]
lea eax, [esi + 0x208]
push eax
push dword [esi + 0x21c]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov esi, eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x224], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x50b0f9
cmp eax, 0xea
je 0x50b0f9
push dword [ebp + 0x10]
mov ecx, edi
push ebx
call fcn.0050a630
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x50b3b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [eax]
mov dword [ebp - 0x40c], ecx
xor ecx, ecx
mov dword [ebp - 0x414], eax
mov dword [ebp - 0x408], ecx
push edi
test esi, esi
je 0x50b45d
mov ecx, 0x400
lea eax, [ebp - 0x404]
cmp esi, ecx
mov edi, esi
cmova edi, ecx
push edi
push ebx
push eax
call fcn.0051ff00
add esp, 0xc
lea eax, [ebp - 0x410]
push 0
push eax
push edi
lea eax, [ebp - 0x404]
push eax
mov eax, dword [ebp - 0x40c]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x50b43b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x5aa
jne 0x50b474
mov ecx, dword [ebp - 0x408]
jmp 0x50b453
mov eax, dword [ebp - 0x410]
sub esi, eax
mov ecx, dword [ebp - 0x408]
add ecx, eax
add ebx, eax
mov dword [ebp - 0x408], ecx
test esi, esi
jne 0x50b3e6
mov eax, dword [ebp - 0x414]
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 8
Function at 0x50ea40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72d380
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x21c]
call fcn.0050b2d0
push dword [0x83dba0]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 0
call fcn.0050b2f0
test al, al
jne 0x50eab6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x50eaf3
cmp byte [0x8579fc], 0
jne 0x50eaf3
mov byte [0x8579fc], 1
xor bl, bl
jmp 0x50eaf9
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x50eac0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x21c]
lea eax, [ebp - 0x220]
push eax
push esi
call fcn.0050b3b0
test al, al
jne 0x50eaf7
xor bl, bl
jmp 0x50eaf9
mov bl, 1
lea ecx, [ebp - 0x21c]
call fcn.0050b2e0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 4
Function at 0x510440
Capabilities:
Read file via mapping

Disassembly:
push esi
mov esi, ecx
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.00510500
mov dword [esi + 4], eax
test eax, eax
je 0x510478
push 4
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 8], eax
mov eax, esi
pop esi
ret
Function at 0x511970
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72d721
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x8597c8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x858c1c]
cmp eax, dword [ecx + 0x20]
jg 0x5119d5
mov eax, 0x858c0c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret
push 0x858c1c
call fcn.0051e16d
add esp, 4
cmp dword [0x858c1c], 0xffffffff
jne 0x5119b7
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00520480
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0xffffffffffffffff
push str.WinTrust.dll
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00540bec
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x858c10], eax
test eax, eax
je 0x511af4
push str.CryptCATAdminAcquireContext2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptCATAdminCalcHashFromFileHandle2
push dword [0x858c10]
mov dword [0x858c14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x858c14], 0
mov dword [0x858c18], eax
je 0x511aaa
test eax, eax
je 0x511aaa
push str.CSingletonWinTrustHelper::CSingletonWinTrustHelper
push str._s___support_multiple_sign_platform
push 0x339
push str.C:_actions_runner_work_app_xbc_win_agent_app_xbc_win_agent_srcClientlibDigitalSignatureds_OfcDSManager.cpp
push 0x44
call fcn.0050ff70
add esp, 0x14
mov byte [0x858c0c], 1
jmp 0x511af4
push str.CSingletonWinTrustHelper::CSingletonWinTrustHelper
push str._s___support_single_sign_platform
push 0x331
push str.C:_actions_runner_work_app_xbc_win_agent_app_xbc_win_agent_srcClientlibDigitalSignatureds_OfcDSManager.cpp
push 0x44
call fcn.0050ff70
add esp, 0x14
mov dword [0x858c14], 0
mov dword [0x858c18], 0
push dword [0x858c10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x858c10], 0
jmp 0x511af4
push 0x7365a0
call fcn.0051e47f
push 0x858c1c
call fcn.0051e123
add esp, 8
jmp 0x5119b7
Function at 0x5168a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72de0d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x38]
mov edi, dword [ebp + 8]
push esi
push eax
mov dword [ebp - 0x3c], edi
call fcn.00517900
add esp, 8
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], 0
jb 0x5168f0
mov esi, dword [esi]
push esi
push str.File_version_path__s
push 0x25
push 0x74cf68
push str.util_filesystem::GetFileVersionRaw
push 0x44
push 4
call fcn.0050ef60
add esp, 0x1c
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x24], 8
lea ecx, [ebp - 0x20]
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
push ebx
push str.GetFileVersionInfoSizeW_version_len___d
push 0x29
push 0x74cf68
push str.util_filesystem::GetFileVersionRaw
push 0x44
push 4
mov dword [ebp - 0x3c], ebx
call fcn.0050ef60
add esp, 0x1c
test ebx, ebx
jne 0x516982
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetFileVersionInfoSizeW_failed__error_code:___d
push 0x2c
push 0x74cf68
push str.util_filesystem::GetFileVersionRaw
push 0x45
push 4
call fcn.0050ef60
add esp, 0x1c
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
jmp 0x516a46
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
add ebx, 1
je 0x5169f3
cmp ebx, 0x7fffffff
ja 0x516a6c
cmp ebx, 0x1000
jb 0x5169cf
lea eax, [ebx + 0x23]
cmp eax, ebx
jbe 0x516a71
push eax
call fcn.0051dec4
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x516a76
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x5169d8
push ebx
call fcn.0051dec4
add esp, 4
push ebx
lea esi, [ebx + eax]
mov dword [ebp - 0x1c], eax
push 0
push eax
mov dword [ebp - 0x14], esi
call fcn.00520480
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
mov dword [ebp - 0x18], esi
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
push ecx
push dword [ebp - 0x3c]
cmovae eax, dword [ebp - 0x38]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x516a18
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
jmp 0x516a3e
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
lea ecx, [ebp - 0x1c]
call fcn.004866c0
lea ecx, [ebp - 0x38]
call fcn.00481300
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret
call fcn.00487860
call fcn.004810b0
call fcn.0052981f
int3
Function at 0x517aa0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72e045
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x83e264]
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 - 0x18], edx
mov dword [ebp - 0x20], 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 - 0x1c], eax
lea eax, [ebp - 0x14]
push edx
push eax
call fcn.0050fab0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x517b2a
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x517c98
cmp dword [ebx + 8], 0x4444444
je 0x517cae
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
push 0x3c
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
call fcn.0051dec4
mov ecx, dword [ebp - 0x18]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 7
mov dword [esi + 0x24], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 7
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x819800]
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 + 0x819800]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x517c47
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
fstp qword [esp]
call fcn.00540840
fstp qword [ebp - 0x14]
movsd xmm0, qword [ebp - 0x14]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.0051e900
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x517c29
cmp eax, 0x200
jae 0x517c27
shl eax, 3
cmp eax, ecx
jae 0x517c29
mov eax, ecx
push eax
mov ecx, ebx
call fcn.00519630
push dword [ebp - 0x1c]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0050fab0
mov edx, dword [eax]
jmp 0x517c4a
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov edi, dword [ebp - 0x28]
mov dword [ebx + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ecx
mov dword [ecx], esi
mov dword [edx + 4], esi
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebx + 0xc]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x517c79
mov dword [ecx + eax*8], esi
jmp 0x517c8b
cmp ebx, edx
jne 0x517c82
mov dword [ecx + eax*8], esi
jmp 0x517c8f
mov edx, dword [ebp - 0x18]
cmp dword [ecx + eax*8 + 4], edx
jne 0x517c8f
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x20]
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.0051a0ed
int3