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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rax, qword [rdx]
mov r12, rcx
movzx esi, byte [rdx + 0x20]
mov rdi, rdx
mov rbx, qword [rcx + 0x10]
not esi
and esi, 1
mov r15d, r9d
mov ecx, dword [rax]
mov edx, dword [r12 + 0x38]
inc edx
mov dword [rsp + 0x70], ecx
mov dword [r12 + 0x38], edx
mov eax, dword [rdi + 8]
lea ebp, [rcx + rsi]
add ebp, dword [rsp + 0x98]
cmp dword [rsp + 0xa0], 0
mov dword [rsp + 0x78], edx
mov dword [rsp + 0x80], eax
je 0x140079667
mov r14d, r9d
sub r14d, ecx
sub r14d, esi
jmp 0x140079673
lea eax, [rdx + rbp]
mov dword [r12 + 0x38], eax
lea r14d, [rdx + 1]
mov eax, dword [r8 + 0x14]
mov qword [rsp + 0x88], r13
lea r13d, [rax + 1]
test eax, eax
jne 0x14007968b
mov r13d, dword [r8 + 0x10]
mov rcx, rbx
call fcn.14002c340
mov r9d, dword [rsp + 0x90]
mov r8d, r14d
mov rdx, qword [rdi]
mov rcx, r12
mov dword [rdi + 0x1c], eax
mov byte [rsp + 0x20], 5
call fcn.14004bd00
mov r9d, dword [rsp + 0x70]
xor r10d, r10d
test esi, esi
je 0x140079720
mov rax, qword [rbx + 0x18]
lea edx, [r14 + r9]
movsxd rcx, dword [rbx + 0xb8]
mov r8d, dword [rdi + 0xc]
cmp dword [rax + 0x3c], ecx
jg 0x1400796f1
mov r9d, edx
mov dword [rsp + 0x20], r10d
mov edx, WSAStartup
mov rcx, rbx
call fcn.14002bc90
mov r9d, dword [rsp + 0x70]
jmp 0x140079720
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], WSAStartup
mov byte [rax + rcx*8 + 3], r10b
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
cmp dword [rsp + 0xa0], 0
jne 0x140079744
lea r8d, [r14 + r9]
mov edx, r15d
mov r9d, dword [rsp + 0x98]
add r8d, esi
mov rcx, r12
call fcn.140049f10
mov eax, dword [rsp + 0x80]
sub ebp, eax
movsxd rcx, dword [rbx + 0xb8]
lea edx, [r14 + rax]
mov rax, qword [rbx + 0x18]
cmp dword [rax + 0x3c], ecx
jg 0x140079781
mov eax, dword [rsp + 0x78]
mov r8d, edx
mov edx, 0x63
mov dword [rsp + 0x20], eax
mov r9d, ebp
mov rcx, rbx
call fcn.14002bc90
xor r9d, r9d
jmp 0x1400797b5
lea eax, [rcx + 1]
xor r9d, r9d
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x78]
mov dword [rax + rcx*8 + 0xc], edx
mov word [rax + rcx*8], 0x63
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 8], ebp
mov qword [rax + rcx*8 + 0x10], r9
cmp dword [rsp + 0x80], 0
lea r15, [0x14012aae0]
jle 0x140079bb9
mov ecx, dword [r12 + 0x38]
mov eax, dword [rsp + 0x70]
mov ebp, eax
lea r8d, [rcx + 1]
add ecx, dword [rdi + 8]
mov dword [r12 + 0x38], ecx
sub ebp, dword [rdi + 8]
add ebp, esi
mov dword [rsp + 0xa0], r8d
test esi, esi
movsxd rsi, dword [rbx + 0xb8]
je 0x140079829
lea edx, [r14 + rax]
mov rax, qword [rbx + 0x18]
cmp dword [rax + 0x3c], esi
jg 0x140079810
mov r8d, edx
mov edx, socket
jmp 0x14007983d
lea eax, [rsi + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rsi + rsi*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], socket
jmp 0x140079873
mov rax, qword [rbx + 0x18]
mov edx, dword [rdi + 0xc]
cmp dword [rax + 0x3c], esi
jg 0x14007985c
mov r8d, edx
mov edx, 0x6d
mov dword [rsp + 0x20], r9d
mov rcx, rbx
xor r9d, r9d
call fcn.14002bc90
mov r8d, dword [rsp + 0xa0]
mov esi, eax
xor r9d, r9d
jmp 0x14007988a
lea eax, [rsi + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rsi + rsi*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x6d
mov qword [rax + rcx*8 + 0x10], r9
mov qword [rax + rcx*8 + 8], 0
mov dword [rax + rcx*8 + 4], edx
mov byte [rax + rcx*8 + 3], 0
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov edx, dword [rdi + 8]
cmp dword [rax + 0x3c], ecx
jg 0x1400798b3
mov dword [rsp + 0x20], edx
mov r9d, r14d
mov edx, 0x5f
mov rcx, rbx
call fcn.14002bc90
jmp 0x1400798e2
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x5f
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r9
mov ecx, dword [rdi + 0x18]
test ecx, ecx
jns 0x1400798f1
mov ecx, dword [rbx + 0xb8]
dec ecx
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
jne 0x140079909
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea r15, [rax + rcx*8]
mov rax, qword [r12]
cmp byte [rax + 0x55], 0
jne 0x140079e63
mov eax, dword [rsp + 0x98]
xor edx, edx
add eax, ebp
mov rbp, qword [r15 + 0x10]
mov dword [r15 + 8], eax
movzx r8d, word [rbp + 6]
mov rcx, qword [rbp + 0x18]
call fcn.1400f4290
mov rcx, qword [rbx]
cmp byte [rcx + 0x55], 0
je 0x140079950
mov r8, rbp
mov edx, 0xfffffffa
call fcn.14002ca30
jmp 0x140079989
movsxd rax, dword [rbx + 0xb8]
lea rdx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rdx, [rdx - 3]
cmp byte [rax + rdx*8 + 1], 0
lea rdx, [rax + rdx*8]
je 0x140079981
mov r9d, 0xfffffffa
mov r8, rbp
mov rcx, rbx
call fcn.14002cd50
jmp 0x140079989
mov qword [rdx + 0x10], rbp
mov byte [rdx + 1], 0xfa
movzx r9d, word [rbp + 8]
mov rcx, r12
mov r8d, dword [rsp + 0x80]
dec r9d
mov rdx, qword [rdi]
call fcn.14007b460
mov qword [r15 + 0x10], rax
movsxd rbp, dword [rbx + 0xb8]
mov rax, qword [rbx + 0x18]
lea edx, [rbp + 1]
cmp dword [rax + 0x3c], ebp
jg 0x1400799d7
mov dword [rsp + 0x20], edx
mov r8d, edx
mov edx, send
xor r9d, r9d
mov rcx, rbx
call fcn.14002bc90
xor r15d, r15d
jmp 0x140079a0c
mov rax, qword [rbx + 0x68]
lea rcx, [rbp*2]
add rcx, rbp
mov dword [rbx + 0xb8], edx
xor r15d, r15d
mov word [rax + rcx*8], send
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r15
mov rcx, rbx
call fcn.14002c340
mov dword [rdi + 0x14], eax
mov edx, dword [r12 + 0x38]
inc edx
mov dword [r12 + 0x38], edx
mov r8d, dword [rdi + 0x14]
mov dword [rdi + 0x10], edx
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140079a54
mov r9d, r8d
mov dword [rsp + 0x20], r15d
mov r8d, edx
mov rcx, rbx
mov edx, 0xe
call fcn.14002bc90
jmp 0x140079a83
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], send
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov edx, dword [rdi + 0xc]
cmp dword [rax + 0x3c], ecx
jg 0x140079ab0
mov r8d, edx
mov dword [rsp + 0x20], r15d
mov edx, 0x85
xor r9d, r9d
mov rcx, rbx
call fcn.14002bc90
jmp 0x140079ade
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x85
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r15
test r13d, r13d
je 0x140079b41
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov r8d, dword [rdi + 0x1c]
cmp dword [rax + 0x3c], ecx
jg 0x140079b11
mov r9d, r8d
mov dword [rsp + 0x20], r15d
mov r8d, r13d
mov edx, socket
mov rcx, rbx
call fcn.14002bc90
jmp 0x140079b41
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], socket
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
mov edx, dword [rbx + 0xb8]
test esi, esi
jns 0x140079b4e
lea esi, [rdx - 1]
mov rax, qword [rbx]
lea r15, [0x14012aae0]
cmp byte [rax + 0x55], 0
je 0x140079b63
mov rax, r15
jmp 0x140079b72
movsxd rax, esi
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rax, [rax + rcx*8]
mov r8d, dword [rsp + 0xa0]
mov rcx, r12
mov dword [rax + 8], edx
mov edx, r14d
mov r9d, dword [rdi + 8]
call fcn.140049f10
mov edx, dword [rbx + 0xb8]
test ebp, ebp
jns 0x140079b99
lea ebp, [rdx - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x140079ba7
mov rax, r15
jmp 0x140079bb6
movsxd rax, ebp
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
movzx eax, byte [rdi + 0x20]
xor ebp, ebp
movsxd rcx, dword [rbx + 0xb8]
not al
mov r8d, dword [rdi + 0xc]
and eax, 1
lea edx, [rax + 0x7d]
mov rax, qword [rbx + 0x18]
cmp dword [rax + 0x3c], ecx
jg 0x140079bee
mov r9d, dword [rsp + 0x78]
mov rcx, rbx
mov dword [rsp + 0x20], ebp
call fcn.14002bc90
jmp 0x140079c22
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8], dl
mov edx, dword [rsp + 0x78]
mov dword [rax + rcx*8 + 8], edx
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov byte [rax + rcx*8 + 1], bpl
test r13d, r13d
je 0x140079e63
mov rax, qword [rbx + 0x18]
movsxd rsi, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], esi
jg 0x140079c5d
xor r9d, r9d
mov dword [rsp + 0x20], 1
mov r8d, r13d
mov edx, 0x43
mov rcx, rbx
call fcn.14002bc90
mov esi, eax
xor r13d, r13d
jmp 0x140079c93
lea rcx, [rsi + rsi*2]
lea eax, [rsi + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8 + 4], r13d
xor r13d, r13d
mov dword [rax + rcx*8 + 8], r13d
mov qword [rax + rcx*8 + 0x10], r13
mov word [rax + rcx*8], 0x43
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], 1
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov edx, dword [rdi + 0xc]
cmp dword [rax + 0x3c], ecx
jg 0x140079cc0
mov r8d, edx
mov dword [rsp + 0x20], r13d
mov edx, 0x35
xor r9d, r9d
mov rcx, rbx
call fcn.14002bc90
jmp 0x140079cee
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x35
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r13
cmp byte [rdi + 0x21], 0
je 0x140079d61
mov ebp, dword [r12 + 0x38]
inc ebp
mov dword [r12 + 0x38], ebp
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov edx, dword [rdi + 0xc]
mov r12d, dword [rsp + 0x70]
cmp dword [rax + 0x3c], ecx
jg 0x140079d31
mov r8d, edx
mov dword [rsp + 0x20], ebp
mov edx, 0x60
mov r9d, r12d
mov rcx, rbx
call fcn.14002bc90
jmp 0x140079d66
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x60
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], r13
jmp 0x140079d66
mov r12d, dword [rsp + 0x70]
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov edx, dword [rdi + 0xc]
cmp dword [rax + 0x3c], ecx
jg 0x140079d93
mov r8d, edx
mov dword [rsp + 0x20], r13d
mov edx, 0x75
xor r9d, r9d
mov rcx, rbx
call fcn.14002bc90
jmp 0x140079dc1
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x75
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r13
cmp byte [rdi + 0x21], 0
je 0x140079e3a
movsxd rcx, dword [rbx + 0xb8]
lea r8d, [r14 + r12]
mov rax, qword [rbx + 0x18]
lea edx, [rcx + 2]
cmp dword [rax + 0x3c], ecx
jg 0x140079df4
mov r9d, edx
mov dword [rsp + 0x20], ebp
mov edx, 0x25
mov rcx, rbx
call fcn.14002bc90
jmp 0x140079e22
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x25
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], r13
movsxd rax, dword [rbx + 0xb8]
test eax, eax
jle 0x140079e3a
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8 - 0x15], 0x80
mov edx, dword [rbx + 0xb8]
test esi, esi
jns 0x140079e47
lea esi, [rdx - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
jne 0x140079e5f
movsxd rax, esi
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea r15, [rax + rcx*8]
mov dword [r15 + 8], edx
mov r13, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret