Function at 0x1400bece0
Capabilities:
Access peb ldr_data
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x280
mov rax, qword [0x1404e4980]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov dword [rsp + 0x4c], 0
mov eax, 0xffff
mov word [rsp + 0x70], ax
mov rcx, qword [rsp + 0x298]
call fcn.1400b78f0
mov qword [rsp + 0x150], rax
mov eax, dword [rsp + 0x4c]
or eax, 1
mov dword [rsp + 0x4c], eax
lea rax, [rsp + 0x1d8]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
mov rax, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
mov qword [rsp + 0xd8], rax
lea rdx, [0x140191ee8]
mov rcx, qword [rsp + 0x2a0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__popen]
mov qword [rsp + 0x1b8], rax
lea rax, [rsp + 0x1d8]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xd8]
mov qword [rax], rcx
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x1b8]
mov qword [rax + 8], rcx
cmp qword [rsp + 0x1e0], 0
je 0x1400bedc4
mov byte [rsp + 0x21], 1
jmp 0x1400bedc9
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
test eax, eax
jne 0x1400bf3e6
call fcn.1400fb7f0
movzx eax, al
test eax, eax
je 0x1400bf12c
mov dword [rsp + 0x80], 0
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x90], rax
mov rax, qword gs:[0x60]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x60]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xf8], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0xf8]
mov rax, qword [rcx + rax + 0x88]
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0xb0]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1c8], rax
mov eax, dword [rsp + 0xb4]
mov dword [rsp + 0x1d0], eax
mov rax, qword [rsp + 0x1c0]
cmp qword [rsp + 0x1c8], rax
je 0x1400beef2
mov dword [rsp + 0x50], 1
jmp 0x1400beefa
mov dword [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x1400bf0bf
mov rax, qword [rsp + 0x1c8]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x74], 0
je 0x1400bf0bf
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x54], eax
movabs rax, 0x67288136e6d2f59e
shr rax, 0x20
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x1c8]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x1c0]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x28]
mov eax, dword [rax + rcx*4]
add rax, qword [rsp + 0x1c0]
mov qword [rsp + 0xb8], rax
movabs rax, 0x67288136e6d2f59e
mov ecx, 0xffffffff
and rax, rcx
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x98]
movzx eax, byte [rax]
mov byte [rsp + 0x24], al
mov rax, qword [rsp + 0x98]
inc rax
mov qword [rsp + 0x98], rax
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
movsx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400bf005
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x7c], eax
jmp 0x1400bf03d
xor eax, eax
test eax, eax
je 0x1400bf019
movsx eax, byte [rsp + 0x20]
or eax, 0x20
mov dword [rsp + 0x58], eax
jmp 0x1400bf022
movsx eax, byte [rsp + 0x20]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x48]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
mov dword [rsp + 0x48], eax
jmp 0x1400befc7
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x7c], eax
jne 0x1400bf0ba
mov rax, qword [rsp + 0x1c8]
mov eax, dword [rax + 0x1c]
add rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x1c8]
mov eax, dword [rax + 0x24]
add rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x100], rax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x100]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x108]
mov eax, dword [rcx + rax*4]
add rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x90], rax
jmp 0x1400bf110
jmp 0x1400bef1f
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov rax, qword [rax]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x1b0], rax
mov byte [rsp + 0x25], 1
movzx eax, byte [rsp + 0x25]
test eax, eax
jne 0x1400bee53
mov qword [rsp + 0x90], 0
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x84], eax
mov ecx, dword [rsp + 0x84]
call qword [rsp + 0x90]
xor eax, eax
add rax, 0x70
mov ecx, 1
imul rcx, rcx, 0
lea rdx, str.popen___failed_
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x30], al
mov eax, 1
add rax, 0x70
mov ecx, 1
imul rcx, rcx, 1
lea rdx, str.popen___failed_
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x31], al
mov eax, 2
add rax, 0x70
mov ecx, 1
imul rcx, rcx, 2
lea rdx, str.popen___failed_
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x32], al
mov eax, 3
add rax, 0x70
mov ecx, 1
imul rcx, rcx, 3
lea rdx, str.popen___failed_
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x33], al
mov eax, 4
add rax, 0x70
mov ecx, 1
imul rcx, rcx, 4
lea rdx, str.popen___failed_
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x34], al
mov eax, 5
add rax, 0x70
mov ecx, 1
imul rcx, rcx, 5
lea rdx, str.popen___failed_
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x35], al
mov eax, 6
add rax, 0x70
mov ecx, 1
imul rcx, rcx, 6
lea rdx, str.popen___failed_
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x36], al
mov eax, 7
add rax, 0x70
mov ecx, 1
imul rcx, rcx, 7
lea rdx, str.popen___failed_
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x37], al
mov eax, 8
add rax, 0x70
mov ecx, 1
imul rcx, rcx, 8
lea rdx, str.popen___failed_
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x38], al
mov eax, 9
add rax, 0x70
mov ecx, 1
imul rcx, rcx, 9
lea rdx, str.popen___failed_
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x39], al
mov eax, 0xa
add rax, 0x70
mov ecx, 1
imul rcx, rcx, 0xa
lea rdx, str.popen___failed_
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x3a], al
mov eax, listen
add rax, 0x70
mov ecx, 1
imul rcx, rcx, 0xb
lea rdx, str.popen___failed_
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x3b], al
mov eax, listen
add rax, 0x70
mov ecx, 1
imul rcx, rcx, 0xc
lea rdx, str.popen___failed_
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x3c], al
mov eax, reloc.WS2_32.dll_listen
add rax, 0x70
mov ecx, 1
imul rcx, rcx, 0xd
lea rdx, str.popen___failed_
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x3d], al
mov eax, reloc.WS2_32.dll_ntohl
add rax, 0x70
mov ecx, 1
imul rcx, rcx, 0xe
lea rdx, str.popen___failed_
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x3e], al
mov byte [rsp + 0x3f], 0
mov byte [rsp + 0x40], 1
lea rax, [rsp + 0x30]
mov qword [rsp + 0x128], rax
lea rdx, [rsp + 0x178]
mov rcx, qword [rsp + 0x128]
call fcn.1400bab30
nop
lea rdx, [rsp + 0x178]
lea rcx, [rsp + 0x198]
call fcn.1400b9050
lea rdx, [0x1401b2250]
lea rcx, [rsp + 0x198]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rsp + 0x178]
call fcn.1401056b0
nop
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x130], 0x80
mov eax, dword [rsp + 0x130]
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0xc8], rax
mov r8, qword [rsp + 0xc0]
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x1400bf4e6
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x68], 0xffffffffffffffff
inc qword [rsp + 0x68]
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x68]
cmp byte [rax + rcx], 0
jne 0x1400bf48f
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x148], rax
mov r8, qword [rsp + 0x148]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x298]
call fcn.140095490
jmp 0x1400bf3e6
lea rcx, [rsp + 0x1d8]
call fcn.1400b9950
mov rax, qword [rsp + 0x298]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14017d1a0
add rsp, 0x280
pop rdi
ret