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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102658b8
mov eax, dword fs:[0]
push eax
sub esp, 0x88c
mov eax, dword [0x1030f644]
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 dword [ebp - 0x74], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x68], eax
mov al, byte [ebx + 0x64]
test al, al
jne 0x1007bfc3
xor al, al
jmp 0x1007c4b2
lea esi, [ebx + 0x88]
xor edi, edi
push esi
mov dword [ebp - 0x58], edi
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x1007bfe6
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
add esp, 4
mov ecx, dword [ebx + 0x6c]
mov eax, dword [ecx]
cmp eax, ecx
je 0x1007c005
mov edx, dword [ebp + 0x10]
cmp dword [eax + 0xc], edx
je 0x1007bfff
mov eax, dword [eax]
cmp eax, ecx
jne 0x1007bff2
jmp 0x1007c005
mov edi, dword [eax + 8]
mov dword [ebp - 0x58], edi
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
test eax, eax
je 0x1007c024
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
add esp, 4
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x1007bfbc
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x60], eax
lea ecx, [ebx + 0x60]
mov edi, 1
lock xadd dword [ecx], edi
xor ecx, ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], cx
mov dword [ebp - 4], 1
lea esi, [ebx + 0x30]
push esi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x78], esi
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x1007c095
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
add esp, 4
lea eax, [ebx + 0x10]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x7c], eax
push ecx
mov ecx, eax
call fcn.1007c6f0
mov ecx, dword [ebp - 0x60]
mov dword [eax + 8], ecx
lea ecx, [eax + 0xc]
mov dword [eax], 0
mov dword [eax + 4], edi
lea eax, [ebp - 0x40]
cmp ecx, eax
je 0x1007c0cb
push 0
push eax
call fcn.1004d240
push esi
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
test eax, eax
je 0x1007c0e7
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
add esp, 4
push 0x804
lea eax, [ebp - 0x888]
mov byte [ebp - 4], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x5c]
lea edi, [ebp - 0x888]
mov esi, dword [ebp - 0x64]
mov ecx, 0x201
mov dword [ebp - 0x898], 0x47464b50
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0x10]
lea ecx, [eax + eax]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x890], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x894], eax
lea eax, [ecx + 0x814]
push eax
mov dword [ebp - 0x88c], ecx
call fcn.101aff88
add esp, 0x10
mov dword [ebp - 0x70], 0
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x6c], 0
push dword [ebp - 0x78]
push eax
call fcn.1007c980
mov byte [ebp - 4], 4
lea esi, [ebp - 0x898]
mov eax, dword [ebp - 0x5c]
mov ecx, 0x205
mov edx, dword [ebp - 0x70]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
cmp dword [eax + 0x14], 8
jb 0x1007c183
mov eax, dword [eax]
mov esi, dword [ebp - 0x88c]
push esi
push eax
lea eax, [edx + 0x814]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [ebx + 8]
lea eax, [esi + 0x814]
add esp, 0xc
mov byte [ebp - 0x4e], 0
mov dword [ebp - 0x58], eax
cmp dword [edi + 0xc], 0
je 0x1007c47b
test eax, eax
je 0x1007c47b
push eax
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1007c47b
lea eax, [edi + 0x6c]
push eax
mov dword [ebp - 0x5c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [edi + 0x54]
push eax
push 0
push 4
lea eax, [ebp - 0x58]
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x64], eax
test esi, esi
jne 0x1007c20a
cmp eax, 0x3e5
jne 0x1007c332
lea eax, [edi + 0x54]
push eax
push 0
push dword [ebp - 0x58]
push dword [ebp - 0x70]
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test esi, esi
jne 0x1007c239
cmp edi, 0x3e5
jne 0x1007c335
mov byte [ebp - 0x4d], 1
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp - 0x4d], 0
je 0x1007c47b
push 0x1f4
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1007c47b
lea eax, [ebx + 0x30]
push eax
mov dword [ebp - 0x80], eax
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x1007c284
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
add esp, 4
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebx + 0x10]
call fcn.1007c6f0
mov ecx, dword [ebp - 0x68]
add eax, 0xc
cmp ecx, eax
je 0x1007c2b1
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x1007c2a8
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.1004d240
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebx + 0x10]
call fcn.1007c6f0
mov edx, dword [ebp - 0x54]
mov edi, dword [ebx + 0x1c]
mov dword [ebp - 0x68], edi
cmp dword [eax], 0
movzx eax, dl
sete byte [ebp - 0x4e]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, dh
mov edx, dword [ebx + 0x14]
xor ecx, eax
movzx eax, byte [ebp - 0x52]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 0x51]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x28]
and ecx, eax
mov esi, dword [edi + ecx*8]
lea eax, [ecx*8]
mov dword [ebp - 0x64], eax
lea eax, [ecx + ecx]
lea ecx, [eax*4 + 4]
mov eax, dword [edi + eax*4]
mov dword [ebp - 0x60], eax
cmp eax, edx
jne 0x1007c3c0
mov eax, edx
jmp 0x1007c3c5
mov edi, dword [ebp - 0x64]
push 2
mov ecx, 0x1031d6f4
call fcn.1008dde0
mov esi, eax
mov byte [ebp - 0x4d], 0
test esi, esi
je 0x1007c23d
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push str.send_data_failed__err:__d
push eax
call fcn.1008e380
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x1031d6f4
push 0x94
push str.RC::DM::RCNamePipeClient::SendData
push str.d:_rhinopcdomain_src_systemipc_namepipe_rcnamepipeclient.cpp
push eax
push 2
call fcn.1008de20
cmp esi, 1
jbe 0x1007c3ab
lea eax, [ebp - 0x28]
mov ecx, 0x1031d6f4
push eax
call fcn.1008e170
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.1004bcb0
mov byte [ebp - 0x4d], 0
jmp 0x1007c23d
mov eax, dword [ecx + edi]
mov eax, dword [eax]
cmp esi, eax
je 0x1007c419
mov eax, dword [ebp - 0x54]
cmp dword [esi + 8], eax
je 0x1007c3db
mov esi, dword [esi]
mov eax, dword [ebp - 0x60]
jmp 0x1007c323
mov ebx, dword [ebp - 0x60]
mov ecx, esi
mov edi, esi
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x58], edi
mov edi, dword [ebp - 0x68]
nop
cmp ebx, edx
jne 0x1007c3f8
mov eax, edx
jmp 0x1007c3fe
mov eax, dword [ecx + edi + 4]
mov eax, dword [eax]
cmp esi, eax
je 0x1007c40e
mov eax, dword [ebp - 0x54]
cmp eax, dword [esi + 8]
jne 0x1007c40e
mov esi, dword [esi]
jmp 0x1007c3f0
mov edi, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x74]
cmp dword [ebp - 0x5c], esi
jne 0x1007c41d
mov edi, edx
mov esi, edx
cmp edi, dword [edx]
jne 0x1007c43d
cmp esi, edx
jne 0x1007c43d
lea ecx, [ebx + 0x14]
mov byte [ebp - 4], 7
call fcn.1007c7e0
push 8
lea ecx, [ebx + 0x10]
call fcn.10056070
jmp 0x1007c45c
cmp edi, esi
je 0x1007c45c
mov ebx, dword [ebp - 0x7c]
push edi
mov edi, dword [edi]
lea eax, [ebp - 0x84]
push eax
mov ecx, ebx
call fcn.1007c820
cmp edi, esi
jne 0x1007c444
mov ebx, dword [ebp - 0x74]
lea eax, [ebx + 0x30]
mov byte [ebp - 4], 8
push eax
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
test eax, eax
je 0x1007c47b
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
add esp, 4
mov byte [ebp - 4], 9
mov esi, dword [ebp - 0x6c]
test esi, esi
je 0x1007c4a7
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007c4a7
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1007c4a7
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
lea ecx, [ebp - 0x40]
call fcn.1004bcb0
mov al, byte [ebp - 0x4e]
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.101afab5
mov esp, ebp
pop ebp
ret 0x10