Function at 0x140079520
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 0x140079587
mov r14d, r9d
sub r14d, ecx
sub r14d, esi
jmp 0x140079593
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 0x1400795ab
mov r13d, dword [r8 + 0x10]
mov rcx, rbx
call fcn.14002c260
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.14004bc20
mov r9d, dword [rsp + 0x70]
xor r10d, r10d
test esi, esi
je 0x140079640
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 0x140079611
mov r9d, edx
mov dword [rsp + 0x20], r10d
mov edx, WSAStartup
mov rcx, rbx
call fcn.14002bbb0
mov r9d, dword [rsp + 0x70]
jmp 0x140079640
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 0x140079664
lea r8d, [r14 + r9]
mov edx, r15d
mov r9d, dword [rsp + 0x98]
add r8d, esi
mov rcx, r12
call fcn.140049e30
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 0x1400796a1
mov eax, dword [rsp + 0x78]
mov r8d, edx
mov edx, 0x63
mov dword [rsp + 0x20], eax
mov r9d, ebp
mov rcx, rbx
call fcn.14002bbb0
xor r9d, r9d
jmp 0x1400796d5
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, [0x140128950]
jle 0x140079ad9
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 0x140079749
lea edx, [r14 + rax]
mov rax, qword [rbx + 0x18]
cmp dword [rax + 0x3c], esi
jg 0x140079730
mov r8d, edx
mov edx, socket
jmp 0x14007975d
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 0x140079793
mov rax, qword [rbx + 0x18]
mov edx, dword [rdi + 0xc]
cmp dword [rax + 0x3c], esi
jg 0x14007977c
mov r8d, edx
mov edx, 0x6d
mov dword [rsp + 0x20], r9d
mov rcx, rbx
xor r9d, r9d
call fcn.14002bbb0
mov r8d, dword [rsp + 0xa0]
mov esi, eax
xor r9d, r9d
jmp 0x1400797aa
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 0x1400797d3
mov dword [rsp + 0x20], edx
mov r9d, r14d
mov edx, 0x5f
mov rcx, rbx
call fcn.14002bbb0
jmp 0x140079802
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 0x140079811
mov ecx, dword [rbx + 0xb8]
dec ecx
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
jne 0x140079829
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 0x140079d83
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.1400f43c0
mov rcx, qword [rbx]
cmp byte [rcx + 0x55], 0
je 0x140079870
mov r8, rbp
mov edx, 0xfffffffa
call fcn.14002c950
jmp 0x1400798a9
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 0x1400798a1
mov r9d, 0xfffffffa
mov r8, rbp
mov rcx, rbx
call fcn.14002cc70
jmp 0x1400798a9
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.14007b380
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 0x1400798f7
mov dword [rsp + 0x20], edx
mov r8d, edx
mov edx, send
xor r9d, r9d
mov rcx, rbx
call fcn.14002bbb0
xor r15d, r15d
jmp 0x14007992c
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.14002c260
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 0x140079974
mov r9d, r8d
mov dword [rsp + 0x20], r15d
mov r8d, edx
mov rcx, rbx
mov edx, 0xe
call fcn.14002bbb0
jmp 0x1400799a3
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 0x1400799d0
mov r8d, edx
mov dword [rsp + 0x20], r15d
mov edx, 0x85
xor r9d, r9d
mov rcx, rbx
call fcn.14002bbb0
jmp 0x1400799fe
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 0x140079a61
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov r8d, dword [rdi + 0x1c]
cmp dword [rax + 0x3c], ecx
jg 0x140079a31
mov r9d, r8d
mov dword [rsp + 0x20], r15d
mov r8d, r13d
mov edx, socket
mov rcx, rbx
call fcn.14002bbb0
jmp 0x140079a61
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 0x140079a6e
lea esi, [rdx - 1]
mov rax, qword [rbx]
lea r15, [0x140128950]
cmp byte [rax + 0x55], 0
je 0x140079a83
mov rax, r15
jmp 0x140079a92
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.140049e30
mov edx, dword [rbx + 0xb8]
test ebp, ebp
jns 0x140079ab9
lea ebp, [rdx - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x140079ac7
mov rax, r15
jmp 0x140079ad6
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 0x140079b0e
mov r9d, dword [rsp + 0x78]
mov rcx, rbx
mov dword [rsp + 0x20], ebp
call fcn.14002bbb0
jmp 0x140079b42
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 0x140079d83
mov rax, qword [rbx + 0x18]
movsxd rsi, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], esi
jg 0x140079b7d
xor r9d, r9d
mov dword [rsp + 0x20], 1
mov r8d, r13d
mov edx, 0x43
mov rcx, rbx
call fcn.14002bbb0
mov esi, eax
xor r13d, r13d
jmp 0x140079bb3
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 0x140079be0
mov r8d, edx
mov dword [rsp + 0x20], r13d
mov edx, 0x35
xor r9d, r9d
mov rcx, rbx
call fcn.14002bbb0
jmp 0x140079c0e
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 0x140079c81
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 0x140079c51
mov r8d, edx
mov dword [rsp + 0x20], ebp
mov edx, 0x60
mov r9d, r12d
mov rcx, rbx
call fcn.14002bbb0
jmp 0x140079c86
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 0x140079c86
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 0x140079cb3
mov r8d, edx
mov dword [rsp + 0x20], r13d
mov edx, 0x75
xor r9d, r9d
mov rcx, rbx
call fcn.14002bbb0
jmp 0x140079ce1
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 0x140079d5a
movsxd rcx, dword [rbx + 0xb8]
lea r8d, [r14 + r12]
mov rax, qword [rbx + 0x18]
lea edx, [rcx + 2]
cmp dword [rax + 0x3c], ecx
jg 0x140079d14
mov r9d, edx
mov dword [rsp + 0x20], ebp
mov edx, 0x25
mov rcx, rbx
call fcn.14002bbb0
jmp 0x140079d42
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 0x140079d5a
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 0x140079d67
lea esi, [rdx - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
jne 0x140079d7f
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