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

Disassembly:
mov dword [rsp + 0x10], edx
push r15
sub rsp, 0x70
mov r15, rcx
test rcx, rcx
je 0x140091ca5
mov eax, dword [rcx + 0x750]
bt rax, 0x1a
jae 0x140091f92
jmp 0x140091cc3
mov rax, qword [reloc.WS2_32.dll_htonl]
test rax, rax
je 0x140091cc3
mov eax, dword [rax + 0x150]
bt rax, 0x1a
jae 0x140091f92
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0x68], rdi
xor ebx, ebx
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r14
mov r14, qword [0x1402e6b48]
mov esi, reloc.WS2_32.dll_inet_ntoa
mov rbp, rbx
mov r13, rbx
mov r12d, ebx
nop word [rax + rax]
cmp esi, 0xb0
jle 0x140091dbe
mov rcx, r14
call fcn.1401e3610
mov rdi, rax
test rax, rax
je 0x140091d6b
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov dword [rax + 0x18], ebx
mov dword [rax + 0x1c], 2
mov eax, 1
mov qword [rdi + 0x28], rbx
mov word [rdi + 0x20], ax
lea rax, [rdi + 0x50]
mov dword [rdi + 0x38], ebx
mov qword [rdi + 0x30], rbx
mov dword [rdi + 0x3c], ebx
mov dword [rdi + 0x40], ebx
mov qword [rdi + 0x10], rax
mov word [rdi + 0x44], bx
mov word [rdi + 0x46], bx
mov qword [rdi + 0x48], rbx
mov rcx, qword [0x1402e6b50]
mov qword [rdi + 0x50], rbx
call fcn.1401e3610
mov rcx, qword [0x1402e6b58]
mov rbx, rax
call fcn.1401e3610
mov ecx, 1
mov dword [rax], ecx
or dword [rdi + 0x1c], ecx
mov qword [rdi + 0x50], rbx
mov qword [rdi + 0x10], rbx
xor ebx, ebx
mov qword [rdi + 0x70], rax
mov dword [rdi + 0x68], 0x800
mov dword [rdi + 0x78], ecx
mov eax, 0x800
mov qword [rdi + 0x58], rbx
mov qword [rdi + 0x60], rbx
jmp 0x140091e57
test r12b, 2
je 0x140091e1f
mov rcx, r14
call fcn.1401e3610
mov rdi, rax
test rax, rax
je 0x140091e13
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov dword [rax + 0x18], ebx
mov dword [rax + 0x1c], 2
mov eax, 1
mov qword [rdi + 0x28], rbx
mov word [rdi + 0x20], ax
lea rax, [rdi + 0x50]
mov dword [rdi + 0x38], ebx
mov qword [rdi + 0x30], rbx
mov dword [rdi + 0x3c], ebx
mov dword [rdi + 0x40], ebx
mov qword [rdi + 0x10], rax
mov word [rdi + 0x44], bx
mov word [rdi + 0x46], bx
mov qword [rdi + 0x48], rbx
mov eax, 0xb0
cmp esi, eax
cmovl eax, esi
jmp 0x140091e57
mov rcx, r14
call fcn.1401e3610
mov rdi, rax
test rax, rax
je 0x140091e4d
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov dword [rax + 0x18], ebx
mov dword [rax + 0x1c], ebx
mov eax, 1
mov word [rdi + 0x20], ax
lea rax, [rdi + 0x28]
mov qword [rdi + 0x10], rax
mov eax, 0xd8
cmp esi, eax
cmovl eax, esi
test rdi, rdi
je 0x140091f59
cmp eax, 0xc
jl 0x140091f54
sub esi, eax
test r13, r13
je 0x140091e76
mov qword [r13], rdi
jmp 0x140091e79
mov rbp, rdi
and r12d, 0xfffffffd
mov r13, rdi
test esi, esi
jg 0x140091d10
test r12b, 4
je 0x140091e92
or dword [rdi + 0x1c], 4
test rbp, rbp
je 0x140091f66
mov rcx, qword [rbp + 0x10]
mov dword [rbp + 0x18], ebx
xor eax, eax
mov dword [rcx], eax
mov dword [rcx + 8], eax
mov word [rcx + 2], bx
mov dword [rcx + 4], reloc.WS2_32.dll_inet_ntoa
mov qword [rsp + 0x40], rbp
mov eax, 0xa
mov word [rcx], ax
mov eax, dword [r15 + 0x520]
mov byte [rsp + 0x38], 0
mov dword [rcx + 8], eax
mov dword [rbp + 0x18], reloc.WS2_32.dll_inet_ntoa
mov qword [rbp], rbx
mov eax, dword [r15 + 0x568]
mov rdx, qword [r15 + 0x3d0]
mov dword [rsp + 0x30], ebx
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
mov word [rsp + 0x28], bx
mov dword [rsp + 0x20], eax
call fcn.1400c7a10
mov r8, rax
test rax, rax
je 0x140091f5e
mov eax, dword [rbp + 0x18]
mov qword [r8 + 0x40], rbp
mov rdx, r15
mov dword [r8 + 0x20], eax
mov eax, 0x100
mov word [r8 + 0x8a], ax
mov eax, dword [rsp + 0x88]
mov r9, qword [r15]
mov rcx, qword [r15 + 8]
mov dword [rsp + 0x30], eax
mov eax, 1
mov dword [rsp + 0x28], eax
add r9, 0xc8
mov dword [rsp + 0x20], eax
call fcn.1400952d0
jmp 0x140091f66
mov rcx, rdi
jmp 0x140091f61
test rbp, rbp
je 0x140091f66
mov rcx, rbp
call fcn.140077120
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x80]
mov r14, qword [rsp + 0x50]
add rsp, 0x70
pop r15
ret