Function at 0x47c5d0
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5594b5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x180
mov eax, dword [0x5ec3c8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x34], edi
mov ecx, dword [edi + 0x128]
mov eax, ecx
mov esi, dword [ebx + 8]
mov dword [ebp - 0x3c], esi
sub eax, 2
je 0x47cd8b
sub eax, 2
je 0x47c6f5
sub esp, 8
mov eax, esp
push ecx
push 0x1b6
mov ecx, edi
mov dword [eax], str.bad_state
mov dword [eax + 4], 9
call fcn.0047a4e0
call fcn.0044f060
push 1
lea ecx, [ebp - 0x190]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], str.ClientPipeCommunications.cpp
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x2c], 0x1b7
call fcn.0041a580
mov edx, str.Unexpected_state
lea ecx, [ebp - 0x190]
call fcn.0041a5e0
mov eax, dword [edi + 0x128]
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x34], eax
call fcn.0041a6e0
lea ecx, [ebp - 0x138]
call fcn.0044dd10
lea eax, [ebp - 0x138]
mov dword [ebp - 4], 0xb
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004f317c
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x5845b0]
mov ecx, edi
call esi
jmp 0x47cf88
movzx eax, word [esi + 9]
sub eax, 1
je 0x47c7af
sub eax, 3
je 0x47c78f
call fcn.0044f060
push 2
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], str.ClientPipeCommunications.cpp
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x2c], 0x1b0
call fcn.0041a580
mov edx, str.Unsupported_protocol
lea ecx, [ebp - 0xf0]
call fcn.0041a5e0
mov ax, word [esi + 9]
lea edx, [ebp - 0x36]
lea ecx, [ebp - 0xf0]
mov word [ebp - 0x36], ax
call fcn.00453af0
lea ecx, [ebp - 0x98]
call fcn.0044dd10
mov dword [ebp - 4], 0xa
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], vtable.std::ios_base.0
push eax
call fcn.004f317c
jmp 0x47cf85
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], esi
call fcn.00480270
jmp 0x47cf85
mov eax, dword [ebx + 0xc]
cmp eax, 0xf
jae 0x47c82f
sub esp, 8
mov ecx, edi
mov eax, esp
push 0
push 0x150
mov dword [eax], str.bad_size
mov dword [eax + 4], 8
call fcn.0047a4e0
call fcn.0044f060
push 1
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], str.ClientPipeCommunications.cpp
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x2c], 0x151
call fcn.0041a580
mov edx, str.Insufficient_message_size
lea ecx, [ebp - 0xf0]
call fcn.0041a5e0
lea ecx, [ebp - 0x98]
call fcn.0044dd10
mov dword [ebp - 4], 2
jmp 0x47c774
cmp dword [esi + 0xb], 0
lea edx, [esi + 0xb]
mov dword [ebp - 0x44], edx
je 0x47cd13
add eax, 0xfffffff1
push 0x5b417e
push eax
call fcn.0050a503
mov esi, eax
add esp, 8
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 3
test esi, esi
jne 0x47c8fa
sub esp, 8
mov ecx, edi
mov eax, esp
push esi
push 0x15e
mov dword [eax], str.mem_err
mov dword [eax + 4], 7
call fcn.0047a4e0
call fcn.0044f060
push 1
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], str.ClientPipeCommunications.cpp
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x2c], 0x15f
call fcn.0041a580
mov edx, str.allocation_failure
lea ecx, [ebp - 0xf0]
call fcn.0041a5e0
lea ecx, [ebp - 0x98]
call fcn.0044dd10
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 4
push eax
mov dword [ebp - 0x98], vtable.std::ios_base.0
call fcn.004f317c
add esp, 4
test esi, esi
je 0x47cf88
push esi
jmp 0x47cf80
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebx + 0xc]
add edx, 0xf
add eax, 0xfffffff1
je 0x47c91b
test esi, esi
je 0x47c94c
push eax
test edx, edx
je 0x47c941
push edx
push esi
call fcn.0050d110
add esp, 0xc
lea eax, [edi + 0x148]
mov dword [ebp - 0x48], 0
push eax
mov dword [ebp - 0x2c], eax
call fcn.004f3843
add esp, 4
test eax, eax
jne 0x47cfa8
jmp 0x47ca09
push 0
push esi
call fcn.0050cdd0
add esp, 0xc
call fcn.005254b7
mov dword [eax], 0x16
call fcn.00522dca
sub esp, 8
mov ecx, edi
mov eax, esp
push 0
push 0x167
mov dword [eax], str.memcpy
mov dword [eax + 4], 6
call fcn.0047a4e0
call fcn.0044f060
push 1
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], str.ClientPipeCommunications.cpp
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x2c], 0x168
call fcn.0041a580
mov edx, str.memcpy_s_failed
lea ecx, [ebp - 0xf0]
call fcn.0041a5e0
lea ecx, [ebp - 0x98]
call fcn.0044dd10
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 5
push eax
mov dword [ebp - 0x98], vtable.std::ios_base.0
call fcn.004f317c
mov byte [ebp - 4], 3
add esp, 4
mov eax, dword [edi]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x5845b0]
mov ecx, dword [ebp - 0x34]
call edi
test esi, esi
je 0x47cf88
push esi
jmp 0x47cf80
mov edx, dword [ebp - 0x44]
lea eax, [edi + 0x17c]
mov byte [ebp - 4], 6
mov dword [ebp - 0x4c], eax
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
lea ecx, [edi + 0x17c]
push eax
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.00427f90
mov edx, dword [eax + 4]
mov dword [ebp - 0x3c], edx
test edx, edx
je 0x47cb72
cmp dword [edi + 0x180], edx
je 0x47cb72
lea ecx, [edx + 0x10]
lea eax, [ebp - 0x18]
cmp ecx, eax
je 0x47ca9b
mov edi, dword [ecx]
mov eax, esi
xor esi, esi
mov dword [ecx], eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x47ca9b
push edi
call fcn.0050aa90
mov edx, dword [ebp - 0x3c]
add esp, 4
mov eax, dword [ebx + 0xc]
add eax, 0xfffffff1
mov dword [edx + 0x14], eax
mov eax, dword [edx + 0xc]
test eax, eax
je 0x47cab7
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x47cc28
cmp dword [edx + 0x18], 0
je 0x47caca
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov dword [ebp - 0x48], eax
jmp 0x47cc28
mov eax, dword [edx + 0x24]
xor ecx, ecx
xor edi, edi
mov dword [ebp - 0x40], ecx
test eax, eax
je 0x47cb1b
mov edx, dword [eax + 4]
lea esi, [eax + 4]
test edx, edx
je 0x47caf5
lea ecx, [edx + 1]
mov eax, edx
lock cmpxchg dword [esi], ecx
cmp eax, edx
je 0x47cb0c
mov edx, eax
test eax, eax
jne 0x47cae2
mov esi, dword [ebp - 0x18]
push dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x3c]
push eax
call fcn.0047fb70
jmp 0x47cc28
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x18]
mov ecx, dword [eax + 0x24]
mov edi, dword [eax + 0x20]
mov dword [ebp - 0x40], ecx
test edi, edi
setne byte [ebp - 0x35]
test ecx, ecx
je 0x47cb5f
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x47cb5f
mov eax, dword [ecx]
mov edi, dword [eax]
mov ecx, edi
call dword [0x5845b0]
mov ecx, dword [ebp - 0x40]
call edi
mov eax, dword [ebp - 0x40]
or ecx, 0xffffffff
lock xadd dword [eax + 8], ecx
jne 0x47cb5f
mov eax, dword [eax]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x5845b0]
mov ecx, dword [ebp - 0x40]
call edi
cmp byte [ebp - 0x35], 0
je 0x47caf8
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov dword [ebp - 0x48], eax
jmp 0x47cc28
call fcn.0044f060
push 1
lea ecx, [ebp - 0x190]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x50]
mov dword [ebp - 0x50], str.ClientPipeCommunications.cpp
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x4c], 0x18e
call fcn.0041a580
add edi, 0x12c
cmp dword [edi + 0x14], 8
jb 0x47cbb1
mov edi, dword [edi]
lea edx, [ebp - 0x4c]
mov dword [ebp - 0x4c], edi
lea ecx, [ebp - 0x190]
call fcn.0041a760
mov edx, 0x5d35c0
lea ecx, [ebp - 0x190]
call fcn.0041a5e0
mov edx, str.Request_with_id
lea ecx, [ebp - 0x190]
call fcn.0041a5e0
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x190]
call fcn.004301e0
mov edx, str._not_found
lea ecx, [ebp - 0x190]
call fcn.0041a5e0
lea ecx, [ebp - 0x138]
call fcn.0044dd10
lea eax, [ebp - 0x138]
mov byte [ebp - 4], 7
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004f317c
add esp, 4
mov byte [ebp - 4], 3
push dword [ebp - 0x2c]
call fcn.004f3868
add esp, 4
cmp dword [ebp - 0x48], 0
je 0x47cd05
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push 0xa8
movq qword [ebp - 0x24], xmm0
call fcn.0050a489
add esp, 4
mov edi, eax
mov dword [ebp - 0x2c], edi
push 0xa8
push 0
push edi
call fcn.0050cdd0
add esp, 0xc
mov dword [edi], 0x5d38fc
lea ecx, [edi + 0xc]
mov dword [edi + 4], 1
push ecx
call fcn.004f75bb
add esp, 4
lea eax, [edi + 0x14]
push 2
push eax
call fcn.004f3824
lea eax, [edi + 0x44]
push eax
call fcn.004f784e
mov ecx, dword [ebp - 0x34]
lea eax, [edi + 0x80]
mov edx, dword [ebp - 0x48]
add esp, 0xc
mov byte [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov word [edi + 0x74], 0
mov byte [edi + 0x76], 0
mov dword [edi + 0x78], 0
mov dword [edi], 0x5d38d4
mov dword [eax], 0x5d38a4
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0x24], eax
mov dword [ebp - 0x24], edi
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1c], 0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 8
push eax
add ecx, 0x278
call fcn.00482b20
lea ecx, [ebp - 0x24]
call fcn.0047f0a0
test esi, esi
je 0x47cf88
push esi
jmp 0x47cf80
sub esp, 8
mov ecx, edi
mov eax, esp
push 0
push 0x19b
mov dword [eax], str.no_id
mov dword [eax + 4], 5
call fcn.0047a4e0
call fcn.0044f060
push 1
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], str.ClientPipeCommunications.cpp
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x2c], 0x19c
call fcn.0041a580
mov edx, str.Header_does_not_have_id
lea ecx, [ebp - 0xf0]
call fcn.0041a5e0
lea ecx, [ebp - 0x98]
call fcn.0044dd10
mov dword [ebp - 4], 9
jmp 0x47c774
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], 0x5d3bf8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xb
mov dword [ebp - 0x1c], 0
push dword [ebx + 0xc]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
push esi
call fcn.00480ea0
test al, al
jne 0x47cde3
sub esp, 8
mov eax, esp
push 0
mov dword [eax], str.st_msg
mov dword [eax + 4], 6
push 0x129
jmp 0x47cf60
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x47cf47
lea ecx, [esi + 0xb]
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x47cf47
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x34]
push edx
add eax, 0xfffffff5
mov dword [ebp - 0x34], 0
mov edx, ecx
mov ecx, dword [edi + 0x4c]
push eax
call fcn.00485870
add esp, 8
test al, al
jne 0x47ceb5
sub esp, 8
mov ecx, edi
mov eax, esp
push 0
push 0x139
mov dword [eax], str.auth_failed
mov dword [eax + 4], 0xb
call fcn.0047a4e0
call fcn.0044f060
push 1
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], str.ClientPipeCommunications.cpp
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x2c], 0x13a
call fcn.0041a580
mov edx, str.Failed_to_verify_received_handshake_response_from_server
lea ecx, [ebp - 0xf0]
call fcn.0041a5e0
lea ecx, [ebp - 0x98]
call fcn.0044dd10
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x98], vtable.std::ios_base.0
call fcn.004f317c
add esp, 4
mov byte [ebp - 4], 0
jmp 0x47cf67
mov edx, dword [ebp - 0x34]
lea ecx, [edi + 0x2d0]
shr edx, 1
xor eax, eax
test esi, esi
push edx
cmovne eax, dword [ebp - 0x2c]
push eax
call fcn.0041d900
call fcn.004f3e24
mov dword [edi + 0x2f0], eax
lea eax, [edi + 0x84]
push eax
mov dword [edi + 0x2f4], edx
mov dword [edi + 0x128], 3
call fcn.004f3843
add esp, 4
test eax, eax
jne 0x47cfae
cmp dword [edi + 0xc8], 8
lea ecx, [edi + 0xb4]
jb 0x47cf16
mov ecx, dword [edi + 0xb4]
xor eax, eax
mov dword [edi + 0xc4], 0
mov word [ecx], ax
lea eax, [edi + 0x84]
push eax
call fcn.004f3868
add esp, 4
push dword [edi + 0xd0]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test esi, esi
je 0x47cf88
push esi
jmp 0x47cf80
sub esp, 8
mov eax, esp
push 0
mov dword [eax], str.get_data
mov dword [eax + 4], 8
push 0x130
mov ecx, edi
call fcn.0047a4e0
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x5845b0]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x47cf88
push eax
call fcn.0050aa90
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0050a47b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push eax
call fcn.004f3949
push eax
call fcn.004f3949
int3