joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10011600
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
mov dword [edi + 0x30], 0
cmp eax, 0xffffffff
je 0x10011633
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1001162d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], 0xffffffff
mov ebx, dword [ebp + 0xc]
mov eax, ebx
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
and eax, 0xffffffb3
je 0x10011687
push eax
push str.unsupported_flags_0x_x_passed_to_CFileReader::BOpenFile
push 0x13b3
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier1_fileio.cpp
call fcn.100236e0
add esp, 0x10
test al, al
jne 0x10011684
int3
and ebx, 0x4c
cmp byte [edi + 0x2c], 0
je 0x10011794
xor esi, esi
mov dword [ebp - 0xc], 0x1005c1e0
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
mov dword [ebp - 4], esi
call fcn.10012490
push 0x3a
push dword [ebp - 8]
call fcn.10032f10
add esp, 8
test eax, eax
je 0x10011712
mov ecx, dword [ebp - 8]
mov edx, 0x100
sub eax, ecx
lea esi, [eax + 2]
mov eax, 0xff
cmp esi, eax
cmova esi, eax
cmp esi, edx
mov eax, esi
cmova eax, edx
push eax
push ecx
lea eax, [ebp - 0x118]
push eax
call fcn.1002e6e0
add esp, 0xc
mov byte [ebp + esi - 0x118], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
xor esi, esi
jmp 0x1001172a
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
mov dword [ebp - 0xc], 0x1005c1e0
mov eax, dword [ebp - 4]
cmovne esi, dword [ebp + 0xc]
test eax, eax
je 0x1001174e
push eax
call fcn.10031847
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
test eax, eax
je 0x10011765
push eax
call fcn.10031847
add esp, 4
mov dword [ebp - 8], 0
mov dword [edi + 0x30], esi
test esi, esi
je 0x10011771
or ebx, 2
jmp 0x10011794
push dword [ebp + 8]
push str.Failed_to_get_sector_size_for_drive_file__s_is_on__not_using_unbuffered_IO
push 0x13c2
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier1_fileio.cpp
call fcn.100236e0
add esp, 0x10
test al, al
jne 0x10011790
int3
mov byte [edi + 0x2c], 0
push edi
push ebx
test bl, 0x40
mov ecx, 0
push 0
mov eax, 3
cmovne eax, ecx
push eax
push 1
push dword [ebp + 8]
call fcn.10011e30
add esp, 0x18
test eax, eax
jne 0x100117ca
cmp dword [edi], 0xffffffff
je 0x100117ca
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10011c00
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x1005c1e0
mov dword [ebp - 0x10], 0
call fcn.10012490
push 0
push dword [ebp + 0xc]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0x1005c1e0
mov dword [ebp - 4], 0
call fcn.10012490
lea ecx, [ebp - 0xc]
call fcn.100122c0
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.100122c0
push 1
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
mov eax, dword [ebp - 4]
setne bl
test eax, eax
je 0x10011c6f
push eax
call fcn.10031847
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x10011c7f
push eax
call fcn.10031847
add esp, 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10011c8f
push eax
call fcn.10031847
add esp, 4
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10011c9f
push ecx
call fcn.10031847
add esp, 4
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10011cf0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x1005c1e0
mov dword [ebp - 0x10], 0
call fcn.10012490
mov edi, dword [ebp - 0x14]
push ecx
mov eax, esp
mov dword [eax], edi
call fcn.10011450
add esp, 4
test al, al
jne 0x10011df7
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10011d31
sub ecx, edx
lea esi, [edi - 1]
add esi, ecx
cmp esi, edi
jbe 0x10011dbd
cmp byte [esi], 0x5c
jne 0x10011db5
push 0
push edi
lea ecx, [ebp - 0xc]
mov byte [esi], 0
mov dword [ebp - 0xc], 0x1005c1e0
mov dword [ebp - 4], 0
call fcn.10012490
lea ecx, [ebp - 0xc]
call fcn.100122c0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], 0x1005c1e0
mov eax, dword [ebp - 4]
setne bl
test eax, eax
je 0x10011d97
push eax
call fcn.10031847
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
test eax, eax
je 0x10011dae
push eax
call fcn.10031847
add esp, 4
mov dword [ebp - 8], 0
mov byte [esi], 0x5c
test bl, bl
jne 0x10011dbc
dec esi
cmp esi, edi
ja 0x10011d43
jmp 0x10011dbd
inc esi
mov al, byte [esi]
test al, al
je 0x10011de2
cmp al, 0x5c
jne 0x10011dda
push ecx
mov eax, esp
mov byte [esi], 0
mov dword [eax], edi
call fcn.10011390
add esp, 4
mov byte [esi], 0x5c
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10011dc3
push ecx
mov eax, esp
mov dword [eax], edi
call fcn.10011390
add esp, 4
test al, al
jne 0x10011df7
xor bl, bl
jmp 0x10011df9
mov bl, 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10011e09
push eax
call fcn.10031847
add esp, 4
test edi, edi
je 0x10011e16
push edi
call fcn.10031847
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10011e30
Capabilities:
Inspect section memory permissions
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0x1005c1e0
mov dword [ebp - 0xc], 0
call fcn.10012490
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
mov eax, dword [ebp + 0x1c]
shl ecx, 0x1f
mov edx, ecx
or edx, 0x40000000
mov dword [eax], 0xffffffff
mov eax, ebx
and al, 2
mov eax, 0xc0000000
cmove edx, ecx
cmp ebx, 4
cmove edx, eax
mov eax, edx
or eax, 4
and bl, 8
cmove eax, edx
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
cmp eax, 7
ja case.default.0x10011eca
jmp dword [eax*4 + 0x10011fdc]
xor edi, edi
jmp 0x10011ebe
mov edi, 1
jmp 0x10011ebe
mov edi, 2
jmp 0x10011ebe
mov edi, 3
jmp 0x10011ebe
mov edi, 7
mov eax, dword [ebp + 0x14]
cmp eax, 3
ja case.default.0x10011eca
jmp dword [eax*4 + 0x10011ffc]
mov ebx, 3
jmp 0x10011eeb
mov ebx, 4
jmp 0x10011eeb
mov ebx, 1
jmp 0x10011eeb
mov ebx, 2
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x18]
and ecx, 1
shl ecx, 0x1e
sub ecx, 0xffffff80
mov edx, ecx
or edx, 0x20000000
and al, 2
cmove edx, ecx
mov ecx, dword [ebp + 0x18]
mov esi, edx
mov eax, ecx
or esi, 0x8000000
and al, 8
cmove esi, edx
test cl, 0x10
je 0x10011f2a
and esi, 0xffffff7f
or esi, 0x100
mov eax, ecx
mov ecx, esi
or ecx, 0x4000000
and al, 0x20
push 0
cmove ecx, esi
push ecx
push ebx
push 0
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.100122c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, dword [ebp + 0x1c]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x10011f66
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x10011fb0
mov ebx, dword [ebp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileTime]
test bl, 4
je 0x10011f8d
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0xffffffff
push ecx
push 0
push eax
mov dword [ebp - 4], 0xffffffff
call esi
test bl, bl
jns 0x10011fa7
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 0
push 0
lea eax, [ebp - 8]
push eax
push dword [edi]
call esi
xor esi, esi
jmp 0x10011fb0
mov esi, 0x57
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x10011fc0
push eax
call fcn.10031847
add esp, 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10011fd0
push eax
call fcn.10031847
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10012e30
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0x1005c1e0
mov dword [ebp - 4], 0
call fcn.10012490
lea ecx, [ebp - 0xc]
call fcn.100122c0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10012e81
test al, 3
je 0x10012e7d
and eax, 0xfffffffc
lea ecx, [ebp - 0xc]
push eax
call fcn.100122c0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov bl, 1
jmp 0x10012e83
xor bl, bl
mov eax, dword [ebp - 4]
test eax, eax
je 0x10012e93
push eax
call fcn.10031847
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x10012ea3
push eax
call fcn.10031847
add esp, 4
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10013300
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x10013364
mov edi, dword [esi + 0x20]
lea ecx, [ebp - 4]
push ebx
xor ebx, ebx
push ebx
push ecx
push edi
push dword [esi + 0x10]
mov dword [ebp - 4], ebx
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
je 0x1001333d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x10013340
jmp 0x10013344
mov ebx, dword [ebp - 4]
cmp edi, ebx
je 0x10013351
mov eax, dword [esi + 4]
mov ecx, 1
add eax, 0x1c
xchg dword [eax], ecx
mov eax, dword [esi + 4]
neg edi
add eax, 0x18
lock xadd dword [eax], edi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 8]
test eax, eax
je 0x1001342f
cmp byte [eax], 0
je 0x1001342f
call sub.KERNEL32.dll_GetCurrentProcessId
mov ecx, dword [esi + 8]
mov edi, 0x1005546a
test ecx, ecx
mov edx, edi
push eax
cmovne edx, ecx
lea eax, [ebp - 0x14]
push edx
push str._s.async_u.tmp
push eax
call fcn.10013d00
add esp, 0x10
cmp byte [ebp - 5], 0
jge 0x100133b0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x100133b3
mov eax, edi
jmp 0x100133b3
lea eax, [ebp - 0x14]
push 1
push eax
lea eax, [esi + 0xc]
push eax
call fcn.10013460
add esp, 0xc
test al, al
je 0x10013412
mov eax, dword [esi + 8]
test eax, eax
cmovne edi, eax
cmp byte [ebp - 5], 0
jge 0x100133e2
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x100133e5
mov eax, 0x1005546a
jmp 0x100133e5
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.10011c00
add esp, 8
test al, al
jne 0x10013412
cmp byte [ebp - 5], al
jge 0x10013406
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x10013409
mov eax, 0x1005546a
jmp 0x10013409
lea eax, [ebp - 0x14]
push eax
call fcn.100138c0
add esp, 4
cmp byte [ebp - 5], 0
jge 0x1001344b
call fcn.10023250
push 0
push dword [ebp - 0x14]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.Invalid_FileWriterItem_t
push 0x1587
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier1_fileio.cpp
call fcn.100236d0
add esp, 0xc
test al, al
jne 0x1001344b
int3
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10013460
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0x1005c1e0
mov dword [ebp - 0xc], 0
call fcn.10012490
push dword [ebp - 0x10]
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
call fcn.100144e0
push dword [ebp - 4]
call fcn.1002e0f0
mov eax, dword [ebp - 4]
mov ecx, esp
mov dword [ecx], eax
call fcn.10011cf0
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 4
xor esi, esi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x14]
call fcn.100122c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10013514
call ebx
cmp eax, 0x20
jne 0x10013510
push 0xa
call fcn.10025120
inc esi
add esp, 4
cmp esi, 0xa
jl 0x100134b5
push str.INVALID_HANDLE_VALUE:_ERROR_SHARING_VIOLATION
push 0x8b0
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier1_fileio.cpp
call fcn.100236d0
add esp, 0xc
test al, al
jne 0x10013510
int3
xor bl, bl
jmp 0x1001354e
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push 0
push eax
mov dword [ebp - 8], 0
push dword [esi + 0x14]
push dword [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test byte [ebp + 0x10], 1
je 0x1001353e
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x14]
cmp eax, dword [ebp - 8]
sete bl
call fcn.10023250
push 0
push dword [ebp - 4]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1001356f
push eax
call fcn.10031847
add esp, 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1001357f
push eax
call fcn.10031847
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100138c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0x1005c1e0
mov dword [ebp - 4], 0
call fcn.10012490
lea ecx, [ebp - 0xc]
call fcn.100122c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
mov eax, dword [ebp - 4]
setne bl
test eax, eax
je 0x10013906
push eax
call fcn.10031847
add esp, 4
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x10013916
push ecx
call fcn.10031847
add esp, 4
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001c570
Capabilities:
Create raw socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
xor eax, eax
push esi
mov esi, ecx
push 0x104
push eax
mov dword [esi], vtable.steam2::CBlockingUDPSocket.0
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 3
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x30]
push eax
call fcn.10033d30
add esp, 0xc
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edx, eax
mov dword [esi + 0x1c], edx
cmp edx, 0xffffffff
je 0x1001c60c
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x20]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push 0x10
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0x24]
push eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [esi + 0x28]
push edx
mov dword [ebp - 8], ecx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x1001c60c
cmp dword [esi + 0x24], 0
mov eax, esi
jne 0x1001c60e
mov dword [esi + 0x24], 0
pop esi
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1001c6b0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp + 8], 0x10
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp + 0x10]
push edi
push dword [ecx + 0x1c]
call dword [sym.imp.WS2_32.dll_recvfrom]
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x1001c6fa
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 0x10]
mov byte [ecx + edi], 0
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
mov dword [esi + 8], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0xc], eax
mov eax, ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1001c750
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cvttss2si eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
lea ebx, [edi + 0x30]
fld dword [ebp + 8]
mov esi, dword [edi + 0x1c]
mov dword [ebp - 4], eax
fild dword [ebp - 4]
mov dword [edi + 0x34], esi
mov dword [ebp - 0xc], eax
mov dword [ebx], 1
fstp dword [ebp + 8]
fsub dword [ebp + 8]
fstp dword [ebp + 8]
fld dword [ebp + 8]
fmul qword [0x1005de30]
fadd qword [0x1005de28]
call fcn.10032310
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push ebx
lea eax, [esi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x1001c7cb
push ebx
push dword [edi + 0x1c]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1001c7cb
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1001d930
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005306d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.1001cde0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x1001d9b8
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 8], 0x9249249
je 0x1001dae6
lea eax, [edi + 4]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
push 0x1c
mov dword [ebp - 0x1c], 0
call fcn.10031800
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [esi + 8], ecx
xor ecx, ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], ecx
mov dword [ebp - 4], 1
mov ecx, dword [edi + 8]
fld dword [edi]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
lea edx, [ecx + 1]
mov dword [ebp - 0x10], edx
fild dword [ebp - 0x10]
test edx, edx
jns 0x1001da2d
fadd dword [0x10059f88]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
mov eax, dword [edi + 0x1c]
fild dword [edi + 0x1c]
test eax, eax
jns 0x1001da43
fadd dword [0x10059f88]
fstp dword [ebp - 0x10]
fdiv dword [ebp - 0x10]
fcompi st(1)
fstp st(0)
ja 0x1001da54
mov edx, dword [ebp - 0x28]
jmp 0x1001da7b
push edx
mov ecx, edi
call fcn.100227b0
push eax
mov ecx, edi
call fcn.10022840
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1001cde0
mov ecx, dword [edi + 8]
mov edx, dword [eax]
mov ebx, dword [edx + 4]
lea eax, [ecx + 1]
mov dword [edi + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x1c], 0
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x18]
jne 0x1001dab0
mov dword [ecx + eax*8], esi
jmp 0x1001dabf
cmp edi, edx
jne 0x1001dab9
mov dword [ecx + eax*8], esi
jmp 0x1001dac3
cmp dword [ecx + eax*8 + 4], ebx
jne 0x1001dac3
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.10032bbf
int3
Function at 0x10021670
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
mov edi, 0x10076fb8
cmp edx, dword [0x10076fb8]
je 0x100216a4
mov ecx, edx
xor eax, eax
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x100216a4
pause
push edx
mov ecx, edi
call fcn.10024690
jmp 0x100216ab
lock inc dword [0x10076fbc]
mov edx, dword [ebp + 8]
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, dh
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x10076f98
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.1001cde0
mov eax, dword [eax + 4]
test eax, eax
je 0x10021792
push esi
mov esi, dword [0x10076f9c]
cmp eax, esi
je 0x10021791
movzx ecx, byte [eax + 8]
xor ecx, 0x811c9dc5
imul edx, ecx, 0x1000193
movzx ecx, byte [eax + 9]
xor edx, ecx
movzx ecx, byte [eax + 0xa]
imul edx, edx, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [0x10076fb0]
and edx, ecx
mov ecx, dword [0x10076fa4]
lea edx, [ecx + edx*8]
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x1002176b
cmp ecx, eax
jne 0x10021763
mov dword [edx], esi
mov dword [edx + 4], esi
jmp 0x10021773
mov esi, dword [eax + 4]
mov dword [edx + 4], esi
jmp 0x10021773
cmp ecx, eax
jne 0x10021773
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax]
dec dword [0x10076fa0]
mov ecx, dword [eax + 4]
push 0x1c
push eax
mov dword [ecx], edx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
call fcn.10031830
add esp, 8
pop esi
lock dec dword [0x10076fbc]
cmp dword [0x10076fbc], 0
jne 0x100217a6
xor eax, eax
xchg dword [edi], eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10021d90
Capabilities:
Print debug messages
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
mov esi, dword [ebp + 8]
mov dword [ecx + 0x592c], esi
call fcn.10023e70
test al, al
je 0x10021dad
int3
push 0
push esi
push str._OUT_OF_MEMORY__attempted_allocation_size:__llu__n
lea eax, [ebp - 0x100]
push 0x100
push eax
call fcn.1000a870
add esp, 0x14
mov byte [ebp - 1], 0
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call fcn.10023e70
pop esi
test al, al
jne 0x10021e11
lea eax, [ebp - 0x100]
push eax
push 0x80000bd2
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0memstd.cpp
call fcn.100236d0
add esp, 0xc
test al, al
jne 0x10021e02
int3
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esp, ebp
pop ebp
ret 4