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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rbx, r9
mov r14, r8
mov rdi, rdx
mov rsi, rcx
movzx ebp, byte [rsp + 0x90]
lea rax, [0x140272988]
mov qword [rcx], rax
mov rax, qword [rdx]
mov qword [rcx + 8], rax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x10], eax
mov rax, r8
shr rax, 0x20
jne 0x14017b09f
mov eax, r14d
mov dword [rsi + 0x14], eax
test rbx, rbx
mov rax, rbx
cmove rax, r14
mov rcx, rax
shr rcx, 0x20
jne 0x14017b0a7
mov dword [rsi + 0x18], eax
call fcn.1400f6090
mov qword [rsi + 0x20], rax
mov byte [rsi + 0x28], bpl
mov byte [rsi + 0x29], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0x30], xmm0
mov qword [rsi + 0x40], 0
mov rax, qword [rdi]
test rax, rax
je 0x14017b0af
lea rcx, [r14 - 0x40]
cmp rcx, 0x3fffffc0
ja 0x14017b0af
and eax, 7
jne 0x14017b0af
test r14b, 7
je 0x14017adcb
test bpl, bpl
je 0x14017b0af
test rbx, rbx
je 0x14017ae00
mov rax, r14
or rax, rbx
shr rax, 0x20
je 0x14017adeb
mov rax, r14
xor edx, edx
div rbx
test rdx, rdx
jne 0x14017adf7
jmp 0x14017ae00
mov eax, r14d
xor edx, edx
div ebx
test rdx, rdx
je 0x14017ae00
test bpl, bpl
je 0x14017b0af
mov rax, qword [rsi + 8]
mov ecx, dword [rax]
cmp ecx, 0x408305dc
jne 0x14017aea7
cmp dword [rax + 4], 0
je 0x14017ae3d
cmp dword [rax + 0xc], 2
jne 0x14017ae3d
mov ecx, dword [rax + 0x28]
test ecx, ecx
je 0x14017ae3d
mov eax, dword [rax + 0x2c]
test eax, eax
je 0x14017ae3d
mov rax, qword [rsi + 8]
cmp dword [rax + 0x34], 0
je 0x14017ae3d
mov eax, dword [rax + 0x3c]
test eax, eax
jne 0x14017ae45
mov rcx, rsi
call fcn.14017abd0
test bpl, bpl
jne 0x14017b068
mov rcx, qword [rsi + 8]
mov edx, dword [rcx + 4]
mov eax, dword [rsi + 0x14]
cmp edx, eax
jae 0x14017ae61
mov dword [rsi + 0x14], edx
mov eax, edx
mov edx, dword [rcx + 8]
mov ecx, dword [rsi + 0x18]
cmp edx, ecx
jae 0x14017ae70
mov dword [rsi + 0x18], edx
mov ecx, edx
mov r8, qword [rdi]
test r8, r8
je 0x14017aeac
mov edx, eax
lea r9, [rdx - 0x40]
cmp r9, 0x3fffffc0
ja 0x14017aeac
and r8d, 7
jne 0x14017aeac
and edx, 7
jne 0x14017aeac
test ecx, ecx
je 0x14017b068
xor edx, edx
div ecx
test edx, edx
jne 0x14017aeac
jmp 0x14017b068
test bpl, bpl
je 0x14017aeb9
mov rcx, rsi
call fcn.14017abd0
jmp 0x14017b068
mov r15, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
test ecx, ecx
jne 0x14017af26
cmp dword [rax + 4], 0
jne 0x14017af26
cmp dword [rax + 0xc], 0
jne 0x14017af26
mov ecx, dword [rax + 0x28]
test ecx, ecx
jne 0x14017af26
mov ecx, dword [rax + 0x24]
test ecx, ecx
jne 0x14017af26
cmp qword [rax + 0x10], 0
jne 0x14017af26
cmp dword [rax + 0x18], 0
jne 0x14017af26
mov ecx, dword [rax + 0x2c]
test ecx, ecx
jne 0x14017af26
mov rcx, qword [rsi + 8]
cmp dword [rcx + 0x34], 0
jne 0x14017af26
mov ecx, dword [rcx + 0x3c]
test ecx, ecx
jne 0x14017af26
cmp dword [rax + 0x40], 0
jne 0x14017af26
cmp dword [rax + 0x44], 0
jne 0x14017af26
mov ecx, dword [rax + 0x48]
test ecx, ecx
jne 0x14017af26
mov eax, dword [rax + 0x4c]
test eax, eax
je 0x14017af2e
mov rcx, rsi
call fcn.14017abd0
mov rax, qword [rsi + 8]
mov dword [rax], 0x408305dc
mov eax, dword [rsi + 0x14]
mov rcx, qword [rsi + 8]
mov dword [rcx + 4], eax
mov eax, dword [rsi + 0x18]
mov rcx, qword [rsi + 8]
mov dword [rcx + 8], eax
mov rax, qword [rsi + 8]
mov dword [rax + 0xc], 2
mov rax, qword [rsi + 8]
mov qword [rax + 0x10], rbx
mov rax, qword [rsi + 8]
mov dword [rax + 0x28], 0x40
mov rax, qword [rsi + 8]
mov dword [rax + 0x30], reloc.WS2_32.dll_recv
mov rax, qword [rsi + 8]
mov dword [rax + 0x34], 1
mov rax, qword [rsi + 8]
mov dword [rax + 0x3c], gethostbyname
mov rax, qword [rsi + 8]
mov dword [rax + 0x2c], gethostbyname
mov r12, qword [r15 + 8]
test r12, r12
je 0x14017b060
lea r14, [r12 + 1]
xor ebp, ebp
mov rcx, rsi
mov rdx, r14
xor r8d, r8d
call fcn.14017b360
mov ebx, eax
mov rcx, qword [rsi + 0x30]
test eax, eax
je 0x14017afcc
test rcx, rcx
je 0x14017afe0
mov ebp, r14d
jmp 0x14017afd1
test rcx, rcx
je 0x14017afe0
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
mov edx, ebp
call qword [case.0x1400f45b0.0]
mov rax, qword [rsi + 8]
mov dword [rax + 0x18], ebx
mov rcx, qword [rsi + 8]
mov eax, dword [rcx + 0x18]
cmp rax, 0x40
jb 0x14017b060
mov edx, eax
and edx, 7
jne 0x14017b060
add r12, 0x11
mov r8, rax
add r8, r12
jb 0x14017b060
mov rdx, r8
shr rdx, 0x20
jne 0x14017b060
mov edx, dword [rsi + 0x14]
cmp edx, r8d
jb 0x14017b060
mov r8d, dword [rcx + rax + 4]
cmp r8d, 0xc8799269
jne 0x14017b060
add rcx, rax
mov r8d, dword [rcx]
cmp r12, r8
ja 0x14017b060
mov r8d, dword [rcx]
lea r9d, [rax + r8]
xor r10d, r10d
cmp r9d, edx
cmova rcx, r10
add eax, r8d
cmovb rcx, r10
test rcx, rcx
je 0x14017b060
add rcx, 0x10
je 0x14017b060
mov rdx, qword [r15]
mov r8, qword [r15 + 8]
call fcn.140204f20
mov rax, qword [rsi + 8]
mov byte [rax + 0x20], 1
mov rcx, qword [rdi]
movabs rax, 0xfffffffc00000000
and rax, rcx
cmp rax, qword [0x1403bc448]
jne 0x14017b086
call fcn.14004472e
mov qword [rdi], 0
mov rax, rsi
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
int3
int3
int3