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

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push rdi
push r12
push r14
push r15
sub rsp, 0xc0
mov rax, qword [rdx]
xor r9d, r9d
mov r14, qword [rdx + 0x20]
mov rdi, rdx
mov rbx, qword [rcx + 0x10]
xor r8d, r8d
mov r12, rcx
mov dword [rsp + 0xf0], r9d
mov r15d, dword [rax]
mov rax, qword [rdx + 0x48]
lea edx, [r9 + 0x21]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0xf8], r9d
mov qword [rsp + 0x20], r9
call fcn.1400576d0
test eax, eax
jne 0x140079821
mov qword [rsp + 0xb8], rbp
mov qword [rsp + 0xb0], rsi
mov rsi, qword [rbx + 0x18]
mov qword [rsp + 0xa8], r13
movsxd rbp, dword [rsi + 0x54]
lea eax, [rbp + 1]
mov dword [rsi + 0x54], eax
lea eax, [rbp - 1]
test ebp, eax
jne 0x1400790b8
mov rdx, qword [rsi + 0x58]
lea eax, [rbp*2 + 1]
mov rcx, qword [rsi]
movsxd r8, eax
shl r8, 2
call fcn.140012890
mov qword [rsi + 0x58], rax
mov rcx, qword [rsi + 0x58]
test rcx, rcx
je 0x1400790c8
mov dword [rcx + rbp*4], 0xffffffff
mov eax, 0x140
not ebp
mov r8d, ebp
mov word [rdi + 0xa], ax
mov rdx, rdi
mov rcx, r12
call fcn.140078c40
mov rax, qword [rdi + 0x58]
xor r10d, r10d
mov r9, qword [rdi + 0x40]
mov edx, r10d
mov qword [rsp + 0x68], rax
mov ecx, r10d
mov rax, qword [rdi + 0x60]
mov qword [rsp + 0x70], rax
mov eax, dword [rdi + 0x10]
mov dword [rsp + 0x50], eax
mov eax, dword [rdi + 0x14]
mov qword [rdi + 0x10], r10
mov qword [rdi + 0x60], r10
mov qword [rdi + 0x58], r10
movsxd r8, dword [r14]
mov dword [rsp + 0x108], eax
mov qword [rsp + 0x58], r9
test r8, r8
jle 0x14007915e
lea rax, [r14 + 0x48]
nop
test byte [rax], 0x20
jne 0x140079148
inc edx
inc rcx
add rax, 0x78
cmp rcx, r8
jl 0x140079130
mov r8d, r10d
jmp 0x140079161
movsxd rax, edx
imul rcx, rax, 0x78
mov r8d, dword [rcx + r14 + 0x50]
mov dword [rsp + 0xf0], r8d
jmp 0x140079161
mov r8d, ecx
mov esi, dword [r12 + 0x34]
lea eax, [rsi + 1]
mov dword [r12 + 0x34], eax
cmp byte [rdi + 8], 0x73
jne 0x140079194
test r9, r9
mov dword [rsp + 0xf8], eax
mov ecx, 6
mov edx, 8
cmovne ecx, edx
inc eax
mov dword [r12 + 0x34], eax
jmp 0x1400791a4
test r9, r9
mov ecx, 5
mov eax, 7
cmovne ecx, eax
inc dword [r12 + 0x38]
mov r13d, dword [r12 + 0x38]
mov byte [rsp + 0x78], cl
mov dword [rsp + 0x88], esi
mov qword [rsp + 0x80], r10
mov qword [rsp + 0x8c], r10
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x1400791f8
mov r9d, r13d
mov dword [rsp + 0x20], r15d
mov edx, WSAStartup
mov rcx, rbx
call fcn.140033940
mov r9, qword [rsp + 0x58]
xor r10d, r10d
jmp 0x140079224
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], WSAStartup
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r10
test r9, r9
je 0x140079330
mov rdx, rdi
mov rcx, r12
call fcn.140078e80
mov rcx, qword [rbx + 0x18]
mov r14, rax
mov rax, qword [rsp + 0x58]
xor r9d, r9d
movsxd rdx, dword [rbx + 0xb8]
mov r8d, dword [rax]
add r8d, 2
cmp dword [rcx + 0x3c], edx
jg 0x140079276
mov dword [rsp + 0x20], r9d
mov edx, WSAGetLastError
mov r9d, r8d
mov rcx, rbx
mov r8d, esi
call fcn.140033940
mov edx, eax
jmp 0x1400792a1
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], WSAStartup
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov rcx, qword [rbx]
cmp byte [rcx + 0x55], 0
je 0x1400792cc
mov r8, r14
mov edx, 0xfffffffb
call fcn.1400347a0
mov r14, qword [rsp + 0x58]
xor r10d, r10d
mov qword [rsp + 0x98], r14
jmp 0x14007938d
test edx, edx
jns 0x1400792d8
mov edx, dword [rbx + 0xb8]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x140079311
mov r9d, 0xfffffffb
mov r8, r14
mov rcx, rbx
call fcn.1400349e0
mov r14, qword [rsp + 0x58]
xor r10d, r10d
mov qword [rsp + 0x98], r14
jmp 0x14007938d
test r14, r14
je 0x14007931e
mov qword [rdx + 0x10], r14
mov byte [rdx + 1], 0xfb
mov r14, qword [rsp + 0x58]
xor r10d, r10d
mov qword [rsp + 0x98], r14
jmp 0x14007938d
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x14007935d
mov r9d, r15d
mov dword [rsp + 0x20], r10d
mov r8d, esi
mov edx, WSAGetLastError
mov rcx, rbx
call fcn.140033940
xor r10d, r10d
jmp 0x140079388
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], WSAStartup
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
mov r14, qword [rsp + 0x58]
mov edx, dword [rsp + 0xf8]
test edx, edx
je 0x1400793fb
mov rax, qword [rbx + 0x18]
movsxd r9, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], r9d
jg 0x1400793c8
xor r9d, r9d
mov dword [rsp + 0x20], r10d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x6e]
call fcn.140033940
mov r9d, eax
xor r10d, r10d
jmp 0x1400793f3
lea rcx, [r9 + r9*2]
lea eax, [r9 + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], WSAStartup
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r10
mov dword [rdi + 0x18], r9d
or dword [rdi + 0xc], 0x20
mov r15, qword [rsp + 0x60]
lea r8, [rsp + 0x78]
mov qword [rdi + 0x40], r10
mov rdx, r15
mov rcx, r12
mov qword [r15 + 0x50], r10
call fcn.14007ea60
mov qword [r15 + 0x50], rdi
test eax, eax
jne 0x1400797dc
mov rax, qword [rbx + 0x18]
movsxd r15, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], r15d
jg 0x140079458
xor r9d, r9d
mov r8d, esi
mov dword [rsp + 0x20], r9d
mov edx, 0x25
mov r9d, ebp
mov rcx, rbx
call fcn.140033940
mov r15d, eax
xor r8d, r8d
jmp 0x140079486
lea rcx, [r15 + r15*2]
xor r8d, r8d
lea eax, [r15 + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], 0x25
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x1400794b7
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov r8d, dword [rsp + 0xf0]
mov rcx, rbx
lea edx, [r9 + 0x7e]
call fcn.140033940
xor r8d, r8d
jmp 0x1400794e8
mov edx, dword [rsp + 0xf0]
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], 0x7e
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r8
movsxd rcx, dword [rbx + 0xb8]
mov rax, qword [rbx + 0x18]
test r14, r14
je 0x140079545
mov edx, dword [r14]
inc edx
cmp dword [rax + 0x3c], ecx
jg 0x14007951f
mov r9d, edx
mov dword [rsp + 0x20], r13d
mov edx, 0x63
mov r8d, esi
mov rcx, rbx
call fcn.140033940
xor r13d, r13d
jmp 0x140079595
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8 + 0xc], r13d
xor r13d, r13d
mov dword [rax + rcx*8], 0x63
mov dword [rax + rcx*8 + 8], edx
jmp 0x14007958c
cmp dword [rax + 0x3c], ecx
jg 0x140079567
mov dword [rsp + 0x20], r8d
mov r9d, r13d
mov r8d, esi
mov edx, 0x7c
mov rcx, rbx
call fcn.140033940
xor r13d, r13d
jmp 0x140079595
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8 + 8], r13d
xor r13d, r13d
mov dword [rax + rcx*8 + 0xc], r13d
mov dword [rax + rcx*8], 0x7c
mov qword [rax + rcx*8 + 0x10], r13
mov dword [rax + rcx*8 + 4], esi
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x1400795be
xor r9d, r9d
mov dword [rsp + 0x20], r13d
mov r8d, esi
mov rcx, rbx
lea edx, [r9 + 0x78]
call fcn.140033940
jmp 0x1400795e8
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], 0x78
mov dword [rax + rcx*8 + 4], esi
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r13
mov r14, qword [rbx + 0x18]
movsxd rsi, dword [r14 + 0x54]
lea eax, [rsi + 1]
mov dword [r14 + 0x54], eax
lea eax, [rsi - 1]
test esi, eax
jne 0x14007961c
mov rdx, qword [r14 + 0x58]
lea eax, [rsi*2 + 1]
mov rcx, qword [r14]
movsxd r8, eax
shl r8, 2
call fcn.140012890
mov qword [r14 + 0x58], rax
mov rcx, qword [r14 + 0x58]
test rcx, rcx
je 0x14007962c
mov dword [rcx + rsi*4], 0xffffffff
mov edx, dword [rsp + 0x108]
not esi
test edx, edx
jle 0x140079693
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140079666
mov r8d, edx
mov dword [rsp + 0x20], 1
mov edx, 0x2e
mov r9d, esi
mov rcx, rbx
call fcn.140033940
jmp 0x140079693
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], gethostbyname
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], 1
mov qword [rax + rcx*8 + 0x10], r13
mov rax, qword [rsp + 0x100]
mov rdx, rdi
mov r9d, dword [rsp + 0xf0]
mov rcx, r12
mov r8, qword [rdi]
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call fcn.1400761c0
mov edx, dword [rsp + 0x50]
test edx, edx
je 0x140079724
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x1400796fa
mov r8d, edx
mov dword [rsp + 0x20], r13d
mov edx, gethostbyname
mov r9d, ebp
mov rcx, rbx
call fcn.140033940
jmp 0x140079724
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], gethostbyname
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], r13
mov rax, qword [rbx + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x14007973f
mov eax, dword [rbx + 0xb8]
not esi
movsxd rcx, esi
mov dword [rdx + rcx*4], eax
test byte [rdi + 0xc], 8
mov rcx, r12
je 0x140079756
lea rdx, str.recursive_aggregate_queries_not_supported
call fcn.140015580
jmp 0x140079770
lea r8, [rsp + 0x78]
mov qword [rdi + 0x48], r13
mov rdx, rdi
call fcn.14007ea60
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x48], rax
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140079799
xor r8d, r8d
mov dword [rsp + 0x20], r13d
mov r9d, r15d
mov rcx, rbx
lea edx, [r8 + 0xd]
call fcn.140033940
jmp 0x1400797c1
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov qword [rax + rcx*8], reloc.WS2_32.dll_listen
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], r13
mov rax, qword [rbx + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x1400797dc
mov eax, dword [rbx + 0xb8]
not ebp
movsxd rcx, ebp
mov dword [rdx + rcx*4], eax
mov rdx, qword [rdi + 0x40]
mov r13, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xb8]
test rdx, rdx
je 0x140079806
mov rcx, qword [r12]
call fcn.14004c820
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x40], rax
mov rax, qword [rsp + 0x68]
mov qword [rdi + 0x58], rax
mov rax, qword [rsp + 0x70]
mov qword [rdi + 0x60], rax
add rsp, 0xc0
pop r15
pop r14
pop r12
pop rdi
pop rbx
ret