Function at 0x14005f3c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbx
push rsi
sub rsp, 0x98
mov qword [rax + 0x10], rbp
mov edx, 0x12c
mov qword [rax + 0x18], rdi
mov r8d, WSAGetLastError
mov qword [rax + 0x20], r12
mov rsi, rcx
mov qword [rax - 0x18], r13
mov qword [rax - 0x20], r14
mov qword [rax - 0x28], r15
call fcn.140061ca0
lea rcx, fcn.140066830
mov byte [rsi + 0xa0], 0
mov qword [rsi], rcx
xor ebx, ebx
lea rcx, fcn.140066830
mov eax, 0xcff20a67
mov qword [rsi + 0x78], rcx
mov r9, qword [0x140143798]
test r9, r9
jne 0x14005f48c
mov rdx, qword [0x1401436b0]
mov ecx, ebx
test rdx, rdx
je 0x14005f461
mov r11, qword [0x1401436a8]
nop
cmp dword [r11 + 0x20], 0x2fb2e854
je 0x14005f5c0
inc ecx
add r11, 0x28
movsxd rax, ecx
cmp rax, rdx
jb 0x14005f440
mov eax, 0xcff20a67
mov dword [0x140143468], 0x12
mov byte [0x140143245], bl
mov r9, rbx
mov qword [0x140143470], rbx
mov qword [0x140143478], rbx
xor r9, rax
mov qword [0x140143798], r9
xor r9, rax
jne 0x14005f4b2
mov dword [0x140143468], 0x14
mov r9, rbx
mov byte [0x140143245], bl
mov qword [0x140143470], rbx
mov qword [0x140143478], rbx
mov rax, qword gs:[0x30]
xor edx, edx
mov r8d, 0xc8
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call r9
mov rdi, rax
movabs rcx, 0x1dccecd101b59cc
movabs rdx, 0x63f567d419f060eb
test rax, rax
je 0x14005f6e2
mov qword [rdi + 0x30], rbx
movabs rax, 0x63f567d4238905a0
mov qword [rdi + 0x38], rbx
mov r8d, pe_nt_image_headers64
mov qword [rdi + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
movdqa xmm0, xmmword [rsp + 0x40]
mov qword [rsp + 0x78], rcx
mov ecx, dword [0x140143770]
mov qword [rsp + 0x70], rdx
pxor xmm0, xmmword [rsp + 0x70]
mov dword [rdi + 0x28], ecx
lea eax, [rcx + 1]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rdi + 0x48]
mov dword [0x140143770], eax
mov dword [rdi + 0x10], 0xa
lea rax, fcn.140073430
mov qword [rdi], rax
mov dword [rdi + 0x14], select
mov dword [rdi + 0x18], 0x3c
mov qword [rdi + 0x1c], select
mov qword [rdi + 8], rbx
mov byte [rdi + 0x24], bl
mov byte [rdi + 0x2c], 1
mov byte [rcx], bl
test rcx, rcx
je 0x14005f6e5
cmp byte [rsp + 0x40], bl
je 0x14005f5b4
lea rdx, [rsp + 0x40]
sub rdx, rcx
test r8, r8
je 0x14005f6e5
movzx eax, byte [rdx + rcx]
dec r8
mov byte [rcx], al
inc rcx
cmp byte [rdx + rcx], bl
jne 0x14005f591
test r8, r8
je 0x14005f6e5
xor edx, edx
call fcn.1400a5760
jmp 0x14005f6e5
mov rsi, qword [r11 + 0x10]
mov edi, ebx
movsxd r15, dword [rsi + 0x3c]
mov r12d, dword [r15 + rsi + 0x88]
mov r14d, dword [r12 + rsi + 0x20]
lea r13, [r12 + rsi]
mov ebp, dword [r13 + 0x18]
add r14, rsi
test ebp, ebp
je 0x14005f647
nop word [rax + rax]
mov eax, edi
mov rdx, rbx
movsxd r9, dword [r14 + rax*4]
add r9, rsi
cmp byte [r9], bl
je 0x14005f60a
inc rdx
cmp byte [rdx + r9], bl
jne 0x14005f601
mov r10d, ebx
mov r8d, ebx
test rdx, rdx
je 0x14005f641
mov rax, rbx
nop dword [rax + rax]
movsx ecx, byte [rax + r9]
inc r8d
imul eax, r10d, 0x1f
add ecx, eax
mov eax, r8d
mov r10d, ecx
cmp rax, rdx
jb 0x14005f620
cmp ecx, 0xe040e233
je 0x14005f663
inc edi
cmp edi, ebp
jb 0x14005f5f0
mov rsi, qword [rsp + 0xb0]
mov eax, 0xcff20a67
mov dword [0x140143468], 0x13
jmp 0x14005f46b
cmp di, 0xffff
je 0x14005f647
mov eax, dword [r13 + 0x24]
add rax, rsi
movsx rcx, di
movsx rdx, word [rax + rcx*2]
mov ecx, dword [r13 + 0x1c]
add rcx, rsi
mov r9d, dword [rcx + rdx*4]
add r9, rsi
cmp r9, r13
jb 0x14005f69f
mov eax, dword [r15 + rsi + 0x8c]
add rax, r12
add rax, rsi
cmp r9, rax
jbe 0x14005f647
cmp r9, rsi
jb 0x14005f647
mov eax, dword [r15 + rsi + 0x50]
add rax, rsi
cmp r9, rax
ja 0x14005f647
test r9, r9
je 0x14005f647
mov rcx, qword [r11 + 0x18]
mov eax, 0xcff20a67
add rcx, rsi
mov rsi, qword [rsp + 0xb0]
cmp r9, rcx
jbe 0x14005f482
mov dword [0x140143468], 0x15
jmp 0x14005f46b
mov rdi, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.140069300
mov r9, qword [0x140143798]
test r9, r9
jne 0x14005f878
mov rdx, qword [0x1401436b0]
mov ecx, ebx
test rdx, rdx
je 0x14005f72d
mov r11, qword [0x1401436a8]
cmp dword [r11 + 0x20], 0x2fb2e854
je 0x14005f762
inc ecx
add r11, 0x28
movsxd rax, ecx
cmp rax, rdx
jb 0x14005f715
mov dword [0x140143468], 0x12
mov byte [0x140143245], bl
mov r9, rbx
mov qword [0x140143470], rbx
mov qword [0x140143478], rbx
mov eax, 0xcff20a67
xor r9, rax
mov qword [0x140143798], r9
jmp 0x14005f87d
mov rsi, qword [r11 + 0x10]
mov edi, ebx
movsxd r15, dword [rsi + 0x3c]
mov r12d, dword [r15 + rsi + 0x88]
mov r14d, dword [rsi + r12 + 0x20]
lea r13, [rsi + r12]
mov ebp, dword [r13 + 0x18]
add r14, rsi
test ebp, ebp
je 0x14005f7e7
nop dword [rax + rax]
mov eax, edi
mov rdx, rbx
movsxd r8, dword [r14 + rax*4]
add r8, rsi
cmp byte [r8], bl
je 0x14005f7aa
inc rdx
cmp byte [rdx + r8], bl
jne 0x14005f7a1
mov r10d, ebx
mov r9d, ebx
test rdx, rdx
je 0x14005f7e1
mov rax, rbx
nop dword [rax + rax]
movsx ecx, byte [r8 + rax]
inc r9d
imul eax, r10d, 0x1f
add ecx, eax
mov eax, r9d
mov r10d, ecx
cmp rax, rdx
jb 0x14005f7c0
cmp ecx, 0xe040e233
je 0x14005f7fe
inc edi
cmp edi, ebp
jb 0x14005f790
mov rsi, qword [rsp + 0xb0]
mov dword [0x140143468], 0x13
jmp 0x14005f737
cmp di, 0xffff
je 0x14005f7e7
mov ecx, dword [r13 + 0x24]
add rcx, rsi
movsx rdx, di
movsx r8, word [rcx + rdx*2]
mov ecx, dword [r13 + 0x1c]
add rcx, rsi
mov r9d, dword [rcx + r8*4]
add r9, rsi
cmp r9, r13
jb 0x14005f83a
mov eax, dword [r15 + rsi + 0x8c]
add rax, rsi
add rax, r12
cmp r9, rax
jbe 0x14005f7e7
cmp r9, rsi
jb 0x14005f7e7
mov eax, dword [r15 + rsi + 0x50]
add rax, rsi
cmp r9, rax
ja 0x14005f7e7
test r9, r9
je 0x14005f7e7
mov rcx, qword [r11 + 0x18]
add rcx, rsi
mov rsi, qword [rsp + 0xb0]
cmp r9, rcx
jbe 0x14005f74e
mov dword [0x140143468], 0x15
jmp 0x14005f737
mov eax, 0xcff20a67
xor r9, rax
jne 0x14005f8a3
mov dword [0x140143468], 0x14
mov r9, rbx
mov byte [0x140143245], bl
mov qword [0x140143470], rbx
mov qword [0x140143478], rbx
mov rax, qword gs:[0x30]
xor edx, edx
mov rcx, qword [rax + 0x60]
lea r8d, [rdx + 0x58]
mov rcx, qword [rcx + 0x30]
call r9
mov rdx, rax
test rax, rax
je 0x14005f91e
mov ecx, dword [0x140143770]
mov qword [rax + 0x30], rbx
mov qword [rax + 0x38], rbx
mov qword [rax + 0x40], rbx
mov dword [rax + 0x10], 0x46
mov dword [rax + 0x14], 0xa
mov dword [rax + 0x18], 0xc8
mov qword [rax + 0x1c], setsockopt
mov qword [rax + 8], rbx
mov byte [rax + 0x24], bl
lea eax, [rcx + 1]
mov dword [0x140143770], eax
lea rax, fcn.140073430
mov qword [rdx], rax
mov dword [rdx + 0x28], ecx
mov byte [rdx + 0x2c], 1
mov qword [rdx + 0x48], rbx
mov byte [rdx + 0x50], bl
jmp 0x14005f921
mov rdx, rbx
mov rcx, rsi
mov qword [rsi + 0x90], rdx
call fcn.140069300
mov qword [rsi + 0x98], rbx
mov r9, qword [0x140143798]
test r9, r9
jne 0x14005fac8
mov rdx, qword [0x1401436b0]
mov ecx, ebx
test rdx, rdx
je 0x14005f978
mov r11, qword [0x1401436a8]
nop dword [rax]
cmp dword [r11 + 0x20], 0x2fb2e854
je 0x14005f9ad
inc ecx
add r11, 0x28
movsxd rax, ecx
cmp rax, rdx
jb 0x14005f960
mov dword [0x140143468], 0x12
mov byte [0x140143245], bl
mov r9, rbx
mov qword [0x140143470], rbx
mov qword [0x140143478], rbx
mov eax, 0xcff20a67
xor r9, rax
mov qword [0x140143798], r9
jmp 0x14005facd
mov rsi, qword [r11 + 0x10]
mov edi, ebx
movsxd r15, dword [rsi + 0x3c]
mov r12d, dword [r15 + rsi + 0x88]
mov r14d, dword [rsi + r12 + 0x20]
lea r13, [rsi + r12]
mov ebp, dword [r13 + 0x18]
add r14, rsi
test ebp, ebp
je 0x14005fa37
nop dword [rax]
nop word [rax + rax]
mov eax, edi
mov rdx, rbx
movsxd r8, dword [r14 + rax*4]
add r8, rsi
cmp byte [r8], bl
je 0x14005f9fa
inc rdx
cmp byte [rdx + r8], bl
jne 0x14005f9f1
mov r10d, ebx
mov r9d, ebx
test rdx, rdx
je 0x14005fa31
mov rax, rbx
nop dword [rax + rax]
movsx ecx, byte [r8 + rax]
inc r9d
imul eax, r10d, 0x1f
add ecx, eax
mov eax, r9d
mov r10d, ecx
cmp rax, rdx
jb 0x14005fa10
cmp ecx, 0xe040e233
je 0x14005fa4e
inc edi
cmp edi, ebp
jb 0x14005f9e0
mov rsi, qword [rsp + 0xb0]
mov dword [0x140143468], 0x13
jmp 0x14005f982
cmp di, 0xffff
je 0x14005fa37
mov ecx, dword [r13 + 0x24]
add rcx, rsi
movsx rdx, di
movsx r8, word [rcx + rdx*2]
mov ecx, dword [r13 + 0x1c]
add rcx, rsi
mov r9d, dword [rcx + r8*4]
add r9, rsi
cmp r9, r13
jb 0x14005fa8a
mov eax, dword [r15 + rsi + 0x8c]
add rax, rsi
add rax, r12
cmp r9, rax
jbe 0x14005fa37
cmp r9, rsi
jb 0x14005fa37
mov eax, dword [r15 + rsi + 0x50]
add rax, rsi
cmp r9, rax
ja 0x14005fa37
test r9, r9
je 0x14005fa37
mov rcx, qword [r11 + 0x18]
add rcx, rsi
mov rsi, qword [rsp + 0xb0]
cmp r9, rcx
jbe 0x14005f999
mov dword [0x140143468], 0x15
jmp 0x14005f982
mov eax, 0xcff20a67
xor r9, rax
jne 0x14005faf3
mov dword [0x140143468], 0x14
mov r9, rbx
mov byte [0x140143245], bl
mov qword [0x140143470], rbx
mov qword [0x140143478], rbx
mov rax, qword gs:[0x30]
xor edx, edx
mov rcx, qword [rax + 0x60]
lea r8d, [rdx + 0x78]
mov rcx, qword [rcx + 0x30]
call r9
test rax, rax
je 0x14005fb86
movabs rcx, 0x63900af47c8601b8
mov dword [rsp + 0x30], setsockopt
mov qword [rsp + 0x50], rcx
movabs rdx, 0x63f567d419f060eb
movabs rcx, 0x1dccecd101b59cc
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x58], rcx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x78], rcx
mov r9d, 0x50
movdqa xmm0, xmmword [rsp + 0x70]
mov r8b, 1
pxor xmm0, xmmword [rsp + 0x50]
mov rcx, rax
mov dword [rsp + 0x28], 0x50
movdqa xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x20], 0x23
call fcn.140061a10
jmp 0x14005fb89
mov rax, rbx
mov rdx, rax
mov qword [rsi + 0x80], rax
mov rcx, rsi
call fcn.140069300
mov r9, qword [0x140143798]
test r9, r9
jne 0x14005fd2b
mov rdx, qword [0x1401436b0]
mov ecx, ebx
test rdx, rdx
je 0x14005fbd7
mov rdi, qword [0x1401436a8]
cmp dword [rdi + 0x20], 0x2fb2e854
je 0x14005fc0c
inc ecx
add rdi, 0x28
movsxd rax, ecx
cmp rax, rdx
jb 0x14005fbc0
mov dword [0x140143468], 0x12
mov byte [0x140143245], bl
mov r9, rbx
mov qword [0x140143470], rbx
mov qword [0x140143478], rbx
mov eax, 0xcff20a67
xor r9, rax
mov qword [0x140143798], r9
jmp 0x14005fd30
mov rsi, qword [rdi + 0x10]
mov r11d, ebx
movsxd r15, dword [rsi + 0x3c]
mov r12d, dword [r15 + rsi + 0x88]
mov r14d, dword [rsi + r12 + 0x20]
lea r13, [rsi + r12]
mov ebp, dword [r13 + 0x18]
add r14, rsi
test ebp, ebp
je 0x14005fc99
nop dword [rax]
nop word [rax + rax]
mov eax, r11d
mov rdx, rbx
movsxd r8, dword [r14 + rax*4]
add r8, rsi
cmp byte [r8], bl
je 0x14005fc5b
inc rdx
cmp byte [rdx + r8], bl
jne 0x14005fc52
mov r10d, ebx
mov r9d, ebx
test rdx, rdx
je 0x14005fc91
mov rax, rbx
nop dword [rax]
movsx ecx, byte [r8 + rax]
inc r9d
imul eax, r10d, 0x1f
add ecx, eax
mov eax, r9d
mov r10d, ecx
cmp rax, rdx
jb 0x14005fc70
cmp ecx, 0xe040e233
je 0x14005fcb0
inc r11d
cmp r11d, ebp
jb 0x14005fc40
mov rsi, qword [rsp + 0xb0]
mov dword [0x140143468], 0x13
jmp 0x14005fbe1
cmp r11w, 0xffff
je 0x14005fc99
mov eax, dword [r13 + 0x24]
add rax, rsi
movsx rcx, r11w
movsx rdx, word [rax + rcx*2]
mov ecx, dword [r13 + 0x1c]
add rcx, rsi
mov r9d, dword [rcx + rdx*4]
add r9, rsi
cmp r9, r13
jb 0x14005fced
mov eax, dword [r15 + rsi + 0x8c]
add rax, rsi
add rax, r12
cmp r9, rax
jbe 0x14005fc99
cmp r9, rsi
jb 0x14005fc99
mov eax, dword [r15 + rsi + 0x50]
add rax, rsi
cmp r9, rax
ja 0x14005fc99
test r9, r9
je 0x14005fc99
mov rcx, qword [rdi + 0x18]
add rcx, rsi
mov rsi, qword [rsp + 0xb0]
cmp r9, rcx
jbe 0x14005fbf8
mov dword [0x140143468], 0x15
jmp 0x14005fbe1
mov eax, 0xcff20a67
xor r9, rax
mov r15, qword [rsp + 0x80]
mov r14, qword [rsp + 0x88]
mov r13, qword [rsp + 0x90]
mov r12, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0xc0]
mov rbp, qword [rsp + 0xb8]
jne 0x14005fd86
mov dword [0x140143468], 0x14
mov r9, rbx
mov byte [0x140143245], bl
mov qword [0x140143470], rbx
mov qword [0x140143478], rbx
mov rax, qword gs:[0x30]
xor edx, edx
mov rcx, qword [rax + 0x60]
lea r8d, [rdx + 0x68]
mov rcx, qword [rcx + 0x30]
call r9
test rax, rax
je 0x14005fe1f
movabs rcx, 0x199c15bb718415aa
mov dword [rsp + 0x28], 0x19
mov qword [rsp + 0x60], rcx
lea rdx, [rsp + 0x60]
movabs rcx, 0x1dccecd101b59a9
mov dword [rsp + 0x20], 0x64
mov qword [rsp + 0x68], rcx
mov r9d, 0x23
movdqa xmm0, xmmword [rsp + 0x60]
movabs rcx, 0x63f567d419f060eb
mov qword [rsp + 0x70], rcx
mov r8d, 0xaa
movabs rcx, 0x1dccecd101b59cc
mov qword [rsp + 0x78], rcx
mov rcx, rax
pxor xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x60], xmm0
call fcn.14005ea70
mov rbx, rax
mov rdx, rbx
mov qword [rsi + 0x88], rbx
mov rcx, rsi
call fcn.140069300
mov rax, qword [0x140143498]
lea rcx, [rsi + 0x78]
mov qword [rax + 0x80], rcx
mov rcx, rsi
call fcn.14006d2b0
mov rax, rsi
add rsp, 0x98
pop rsi
pop rbx
ret