Function at 0x10028830
Capabilities:
Hash data using fnv
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006cd7e
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x100c400c]
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 ebx, ecx
mov esi, dword [ebx + 0x18]
mov edi, dword [ebp + 8]
push esi
mov dword [ebp - 0x13c], edi
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x154], esi
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x10028890
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
add esp, 4
push 0x10c
lea eax, [ebp - 0x138]
mov dword [ebp - 4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x128]
mov dword [ebp - 0x130], 0
add esp, 0xc
mov dword [ebp - method.fmt::v6::basic_memory_buffer_char__500__class_std::allocator_char__.virtual_0], vtable.fmt::v6::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x12c], 0xfa
mov byte [ebp - 4], 1
lea edx, [ebp - 0x138]
mov ecx, dword [ebx + 0x20]
push edx
push edi
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebx + 0x1c], 0
jne 0x10028957
cmp dword [ebx + 0x14], 0
je 0x10028b29
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x13c], eax
test eax, eax
je 0x10028b29
xor edi, edi
push 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
sub eax, edi
push eax
mov eax, dword [ebp - 0x134]
add eax, edi
push eax
push dword [ebx + 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10028bbe
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10028bbe
add edi, eax
mov eax, dword [ebp - 0x13c]
cmp edi, eax
jb 0x10028911
jmp 0x10028b29
cmp byte [ebx + 0x1d], 0
je 0x10028b10
mov eax, dword [edi + 0x1c]
cmp dword [edi + 0x20], eax
jbe 0x10028b10
push 0
push 0
push eax
push dword [ebp - 0x134]
push dword [ebx + 0x14]
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
mov edx, dword [edi + 8]
lea eax, [edi + 8]
mov dword [ebp - 0x144], eax
movzx eax, dl
xor eax, 0x811c9dc5
mov edi, dword [ebx + 0x30]
imul ecx, eax, 0x1000193
mov eax, edx
shr eax, 8
movzx eax, al
mov dword [ebp - 0x14], edx
xor ecx, eax
mov eax, edx
imul ecx, ecx, 0x1000193
shr eax, 0x10
movzx eax, al
xor ecx, eax
mov eax, edx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x3c]
and ecx, eax
mov eax, dword [edi + ecx*8]
add ecx, ecx
lea edx, [ecx*4 + 4]
mov ecx, dword [edi + ecx*4]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x14c], edx
mov edx, dword [ebx + 0x28]
mov dword [ebp - 0x140], ecx
cmp ecx, edx
jne 0x100289fc
mov ecx, edx
jmp 0x10028a13
mov edi, dword [ebp - 0x14c]
mov ecx, dword [ebx + 0x30]
mov esi, dword [ebp - 0x150]
mov ecx, dword [edi + ecx]
mov edi, dword [ebp - 0x14]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x10028a2a
cmp dword [eax + 8], edi
je 0x10028a26
mov eax, dword [eax]
mov ecx, dword [ebp - 0x140]
jmp 0x100289f4
cmp eax, edx
jne 0x10028a9b
mov edi, dword [edx]
mov eax, dword [ebp - 0x144]
push ecx
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x144], eax
mov eax, dword [edi + 4]
push ecx
push ecx
push eax
push edi
mov dword [ebp - 0x140], eax
call fcn.1002b530
mov edx, eax
mov ecx, 0xffffffe
mov eax, dword [ebx + 0x2c]
sub ecx, eax
cmp ecx, 1
jae 0x10028a6d
push str.list_T__too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
inc eax
lea ecx, [ebx + 0x24]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x140]
mov dword [edi + 4], edx
mov dword [eax], edx
mov eax, dword [ecx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.1002b0e0
mov eax, dword [ebp - 0x148]
movzx edi, word [eax + 0xc]
lea eax, [ebp - 0x2c]
push eax
push dword [ebx + 0x14]
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov eax, dword [ebp - 0x24]
and eax, 0xfff0
or eax, edi
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push eax
push dword [ebx + 0x14]
call edi
mov ecx, dword [ebp - 0x13c]
push 0
push 0
mov eax, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x1c]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x134]
add eax, ecx
push eax
push dword [ebx + 0x14]
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push dword [ebp - 0x24]
push dword [ebx + 0x14]
call edi
mov eax, dword [ebp - 0x13c]
push 0
push 0
mov ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x130]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x134]
add eax, ecx
push eax
jmp 0x10028b20
push 0
push 0
push dword [ebp - 0x130]
push dword [ebp - 0x134]
push dword [ebx + 0x14]
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
mov byte [ebp - 4], 0
lea eax, [ebp - 0x128]
mov ecx, dword [ebp - 0x134]
mov dword [ebp - method.fmt::v6::basic_memory_buffer_char__500__class_std::allocator_char__.virtual_0], vtable.fmt::v6::basic_memory_buffer_char__250__class_std::allocator_char__.0
cmp ecx, eax
je 0x10028b77
mov edx, dword [ebp - 0x12c]
mov eax, ecx
cmp edx, 0x1000
jb 0x10028b6d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10028b6d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100696b3
add esp, 8
mov dword [ebp - method.fmt::v6::internal::buffer_char_.virtual_0], vtable.fmt::v6::internal::buffer_char_.0
push esi
mov dword [ebp - 4], 4
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
test eax, eax
je 0x10028ba0
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
add esp, 4
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.10069076
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.1001ce60
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov edx, str.wincolor_sink:_write_to_file__failed._GetLastError__:
push eax
call fcn.10023c20
add esp, 4
lea ecx, [ebp - 0x178]
call fcn.1001d4e0
push 0x100c1b80
mov eax, ecx
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3