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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov r11, rcx
mov r13d, r9d
mov r9, qword [rcx]
mov r14, rdx
xor ecx, ecx
mov qword [rsp + 0x50], r9
mov dword [rsp + 0x44], ecx
mov r12d, ecx
mov dword [rsp + 0x40], ecx
cmp qword [r11 + 0x190], rcx
jne 0x180080459
cmp qword [r8 + 0x68], rcx
jne 0x180080459
cmp byte [rdx + 0x3f], 1
je 0x180080459
cmp r13d, 0xb
jne 0x18008002d
cmp word [rdx + 0x34], cx
jl 0x180080027
movzx r13d, byte [rdx + 0x3e]
cmp r13d, 0xb
jne 0x18008002d
mov r13d, 2
mov r10, qword [r8 + 0x28]
cmp dword [r10], 1
jne 0x180080459
cmp qword [r10 + 0x30], rcx
jne 0x180080459
cmp qword [r8 + 0x30], rcx
jne 0x180080459
cmp qword [r8 + 0x48], rcx
jne 0x180080459
cmp qword [r8 + 0x38], rcx
jne 0x180080459
cmp qword [r8 + 0x60], rcx
jne 0x180080459
cmp qword [r8 + 0x50], rcx
jne 0x180080459
test byte [r8 + 4], 1
jne 0x180080459
mov rax, qword [r8 + 0x20]
cmp dword [rax], 1
jne 0x180080459
mov rax, qword [rax + 8]
cmp byte [rax], 0xb4
jne 0x180080459
mov rdx, qword [r10 + 8]
test rdx, rdx
je 0x1800800cb
mov r9, qword [r9 + 0x20]
cmp qword [r9 + 0x18], rdx
lea rax, [r9 + 0x18]
je 0x1800800be
inc ecx
lea rax, [rax + 0x20]
cmp qword [rax], rdx
jne 0x1800800b3
movsxd rax, ecx
shl rax, 5
mov r9, qword [rax + r9]
jmp 0x1800800cf
mov r9, qword [r10 + 0x10]
mov r8, qword [r10 + 0x18]
xor edx, edx
mov rcx, r11
call fcn.1800634d0
mov qword [rsp + 0x48], rax
mov r11, rax
test rax, rax
je 0x180080459
mov eax, dword [r14 + 0x28]
cmp dword [r11 + 0x28], eax
jne 0x180080106
mov rax, qword [r14 + 0x60]
cmp qword [r11 + 0x60], rax
je 0x180080459
mov r8d, dword [r11 + 0x30]
mov ecx, r8d
mov edx, dword [r14 + 0x30]
mov eax, edx
shr ecx, 7
shr eax, 7
not ecx
not eax
xor ecx, eax
test cl, 1
jne 0x180080459
cmp byte [r11 + 0x3f], r12b
jne 0x180080459
movzx ecx, word [r14 + 0x36]
cmp cx, word [r11 + 0x36]
jne 0x180080459
movzx eax, word [r11 + 0x34]
cmp word [r14 + 0x34], ax
jne 0x180080459
bt edx, 0x10
jae 0x180080163
bt r8d, 0x10
jae 0x180080459
xor r9d, r9d
mov r15d, r9d
cmp r9w, cx
jge 0x180080417
mov ebp, r9d
mov esi, r9d
mov edx, 0x200
nop
mov rbx, qword [r14 + 8]
mov rdi, qword [r11 + 8]
add rbx, rsi
add rdi, rsi
movzx ecx, word [rbx + 0x12]
movzx eax, word [rdi + 0x12]
and cx, 0x60
and ax, 0x60
cmp cx, ax
jne 0x180080459
test cx, cx
je 0x180080243
movzx eax, word [rdi + 0x10]
test ax, ax
jne 0x1800801be
mov rdx, r9
jmp 0x1800801e9
cmp byte [r11 + 0x3f], r12b
je 0x1800801c9
mov rdx, r9
jmp 0x1800801e9
mov rdx, qword [r11 + 0x50]
test rdx, rdx
jne 0x1800801d7
mov rdx, r9
jmp 0x1800801e9
cmp dword [rdx], eax
jge 0x1800801e0
mov rdx, r9
jmp 0x1800801e9
shl rax, 5
mov rdx, qword [rax + rdx - 0x18]
movzx eax, word [rbx + 0x10]
test ax, ax
jne 0x1800801f7
mov r8, r9
jmp 0x180080223
cmp byte [r14 + 0x3f], r12b
je 0x180080202
mov r8, r9
jmp 0x180080223
mov r8, qword [r14 + 0x50]
test r8, r8
jne 0x180080210
mov r8, r9
jmp 0x180080223
cmp dword [r8], eax
jge 0x18008021a
mov r8, r9
jmp 0x180080223
shl rax, 5
mov r8, qword [rax + r8 - 0x18]
xor ecx, ecx
lea r9d, [rcx - 1]
call fcn.180057980
test eax, eax
jne 0x180080459
mov r11, qword [rsp + 0x48]
xor r9d, r9d
mov edx, 0x200
movzx eax, byte [rdi + 0xc]
cmp byte [rbx + 0xc], al
jne 0x180080459
movzx ecx, word [rdi + 0x12]
test dx, cx
jne 0x18008025e
mov r8, r9
jmp 0x18008027f
mov rax, qword [rdi]
cmp byte [rax], r12b
je 0x18008026e
inc rax
cmp byte [rax], r12b
jne 0x180080266
test cl, 4
je 0x18008027b
inc rax
cmp byte [rax], r12b
jne 0x180080273
lea r8, [rax + 1]
movzx r10d, word [rbx + 0x12]
test dx, r10w
je 0x1800802fb
mov rax, qword [rbx]
cmp byte [rax], r12b
je 0x18008029a
inc rax
cmp byte [rax], r12b
jne 0x180080292
test r10b, 4
je 0x1800802a8
inc rax
cmp byte [rax], r12b
jne 0x1800802a0
lea r9, [rax + 1]
test r9, r9
je 0x1800802fb
test r8, r8
je 0x180080459
sub r9, r8
lea r11, [0x1802109f0]
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [r8 + r9]
movzx eax, byte [r8]
cmp edx, eax
jne 0x1800802e8
test edx, edx
jne 0x1800802f6
mov r11, qword [rsp + 0x48]
jmp 0x180080300
movzx ecx, byte [rax + r11]
movzx edx, byte [rdx + r11]
sub edx, ecx
jne 0x1800802e1
inc r8
jmp 0x1800802d0
neg r8
sbb edx, edx
test edx, edx
jne 0x180080459
test byte [rbx + 8], 0xf
je 0x180080318
test byte [rdi + 8], 0xf
je 0x180080459
test r10b, 0x60
jne 0x1800803f7
test rbp, rbp
jle 0x1800803f7
movzx eax, word [rbx + 0x10]
test ax, ax
jne 0x18008033c
xor r9d, r9d
mov edx, r9d
jmp 0x180080373
cmp byte [r14 + 0x3f], r12b
je 0x18008034a
xor r9d, r9d
mov edx, r9d
jmp 0x180080373
mov rdx, qword [r14 + 0x50]
test rdx, rdx
jne 0x18008035b
xor r9d, r9d
mov edx, r9d
jmp 0x180080373
cmp dword [rdx], eax
jge 0x180080367
xor r9d, r9d
mov edx, r9d
jmp 0x180080373
shl rax, 5
xor r9d, r9d
mov rdx, qword [rax + rdx - 0x18]
movzx eax, word [rdi + 0x10]
test ax, ax
jne 0x180080381
mov r8, r9
jmp 0x1800803ad
cmp byte [r11 + 0x3f], r12b
je 0x18008038c
mov r8, r9
jmp 0x1800803ad
mov r8, qword [r11 + 0x50]
test r8, r8
jne 0x18008039a
mov r8, r9
jmp 0x1800803ad
cmp dword [r8], eax
jge 0x1800803a4
mov r8, r9
jmp 0x1800803ad
shl rax, 5
mov r8, qword [rax + r8 - 0x18]
test r8, r8
mov ecx, r9d
mov eax, r9d
sete cl
test rdx, rdx
sete al
cmp eax, ecx
jne 0x180080459
test rdx, rdx
je 0x1800803fa
mov rax, qword [rdx + 8]
mov r9, qword [r8 + 8]
sub r9, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r9]
sub edx, ecx
jne 0x1800803f3
inc rax
test ecx, ecx
jne 0x1800803e0
test edx, edx
jne 0x180080459
xor r9d, r9d
movsx eax, word [r14 + 0x36]
inc r15d
inc rbp
add rsi, 0x18
mov edx, 0x200
cmp r15d, eax
jl 0x180080180
mov rdi, qword [r14 + 0x10]
mov eax, 1
test rdi, rdi
je 0x1800804be
nop dword [rax]
cmp byte [rdi + 0x62], 0
mov rbx, qword [r11 + 0x10]
cmovne r12d, eax
test rbx, rbx
je 0x180080459
mov rdx, rbx
mov rcx, rdi
call fcn.18007fe50
test eax, eax
jne 0x180080479
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x180080441
xor eax, eax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, dword [rdi + 0x58]
mov r11, qword [rsp + 0x48]
cmp dword [rbx + 0x58], eax
jne 0x1800804ac
mov rax, qword [r14 + 0x60]
cmp qword [r11 + 0x60], rax
jne 0x1800804ac
mov rax, qword [0x180241930]
test rax, rax
je 0x180080459
mov ecx, 0x19b
call rax
test eax, eax
je 0x180080459
mov r11, qword [rsp + 0x48]
mov rdi, qword [rdi + 0x28]
mov eax, 1
test rdi, rdi
jne 0x180080430
mov rax, qword [r14 + 0x20]
test rax, rax
je 0x180080524
mov rsi, qword [r11 + 0x20]
test rsi, rsi
je 0x180080459
mov ecx, dword [rsi]
cmp ecx, dword [rax]
jne 0x180080459
xor r8d, r8d
mov edi, r8d
test ecx, ecx
jle 0x180080527
mov rbp, rsi
lea rbx, [rax + 0x18]
sub rbp, rax
nop word [rax + rax]
movzx eax, byte [rbx]
cmp byte [rbx + rbp], al
jne 0x180080459
mov r8, qword [rbx - 0x10]
mov r9d, 0xffffffff
mov rdx, qword [rbx + rbp - 0x10]
xor ecx, ecx
call fcn.180057980
test eax, eax
jne 0x180080459
inc edi
add rbx, 0x20
cmp edi, dword [rsi]
jl 0x1800804f0
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rax, qword [rdx + 0x30]
bt rax, 0xe
jae 0x180080542
cmp qword [r14 + 0x48], 0
jne 0x180080459
bt rax, 0x20
jb 0x180080459
mov rcx, qword [rsp + 0x48]
mov edi, 0xffff8000
mov dword [rsp + 0x3c], edi
mov rcx, qword [rcx + 0x60]
test rcx, rcx
je 0x18008058f
mov rax, qword [rdx + 0x20]
mov edi, r8d
add rax, 0x18
mov dword [rsp + 0x3c], r8d
cmp qword [rax], rcx
je 0x18008058f
nop dword [rax]
inc edi
lea rax, [rax + 0x20]
cmp qword [rax], rcx
jne 0x180080580
mov dword [rsp + 0x3c], edi
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rbp + 0x10]
test rbx, rbx
jne 0x1800805c2
cmp qword [rbp + 0xa8], rbx
jne 0x1800805b7
mov rax, qword [rbp]
test byte [rax + 0x60], 8
jne 0x1800805b7
mov byte [rbp + 0x23], 1
mov rcx, rbp
call fcn.180033760
mov rbx, rax
mov rax, qword [rbp + 0xa8]
mov rcx, rbp
test rax, rax
cmovne rcx, rax
mov eax, dword [rcx + 0x7c]
bt eax, edi
jb 0x1800805eb
bts eax, edi
mov dword [rcx + 0x7c], eax
cmp edi, 1
jne 0x1800805eb
call fcn.18006cb50
mov esi, dword [rbp + 0x34]
mov r8, r14
mov edx, dword [rsp + 0xb0]
mov rcx, rbp
mov dword [rsp + 0x38], esi
lea r15d, [rsi + 1]
lea eax, [r15 + 1]
mov dword [rbp + 0x34], eax
call fcn.18007a7b0
mov r10, qword [rsp + 0x90]
mov ebp, eax
movzx eax, byte [r10 + 0x1f]
test al, al
jne 0x18008062e
mov edx, dword [r10 + 0x38]
inc edx
mov dword [r10 + 0x38], edx
jmp 0x18008063f
dec al
movzx eax, al
mov byte [r10 + 0x1f], al
mov edx, dword [r10 + rax*4 + 0xe0]
movsxd rcx, dword [rbx + 0x90]
mov dword [rsp + 0x30], edx
cmp dword [rbx + 0x94], ecx
jg 0x180080673
xor eax, eax
mov r9d, edx
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, rbx
lea edx, [rax + 0x4b]
call fcn.180033a50
mov r10, qword [rsp + 0x90]
jmp 0x1800806a0
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov qword [rax + rcx*8], 0x4b
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
movzx eax, byte [r10 + 0x1f]
test al, al
jne 0x1800806b3
inc dword [r10 + 0x38]
mov eax, dword [r10 + 0x38]
jmp 0x1800806c4
dec al
movzx eax, al
mov byte [r10 + 0x1f], al
mov eax, dword [r10 + rax*4 + 0xe0]
mov r8d, dword [rsp + 0xb0]
mov r9, r14
mov edx, r15d
mov dword [rsp + 0x34], eax
mov rcx, r10
mov dword [rsp + 0x20], WSAStartup
call fcn.180079f60
mov rax, qword [rsp + 0x50]
test byte [rax + 0x2c], 4
jne 0x180080806
cmp word [r14 + 0x34], 0
jge 0x180080704
cmp qword [r14 + 0x10], 0
jne 0x180080716
test r12d, r12d
jne 0x180080716
lea eax, [r13 - 1]
cmp eax, 1
jbe 0x180080806
movsxd rdi, dword [rbx + 0x90]
xor r12d, r12d
cmp dword [rbx + 0x94], edi
jg 0x180080744
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov r8d, r15d
lea edx, [r12 + 0x24]
mov rcx, rbx
call fcn.180033a50
mov edi, eax
jmp 0x18008076e
lea rcx, [rdi + rdi*2]
lea eax, [rdi + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x24
mov dword [rax + rcx*8 + 4], r15d
mov qword [rax + rcx*8 + 8], r12
mov qword [rax + rcx*8 + 0x10], r12
movsxd r8, dword [rbx + 0x90]
mov dword [rsp + 0x44], r8d
cmp dword [rbx + 0x94], r8d
jg 0x1800807a0
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
mov rcx, rbx
lea edx, [r9 + 9]
call fcn.180033a50
mov dword [rsp + 0x44], eax
jmp 0x1800807cb
lea rcx, [r8 + r8*2]
lea eax, [r8 + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov qword [rax + rcx*8], 9
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r12
mov rax, qword [rbx]
mov edx, dword [rbx + 0x90]
cmp byte [rax + 0x67], 0
je 0x1800807ea
mov edi, dword [rsp + 0x3c]
lea rax, [0x18024b8e0]
mov dword [rax + 8], edx
jmp 0x180080809
movsxd rax, edi
mov edi, dword [rsp + 0x3c]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8 + 8], edx
lea rax, [rax + rcx*8]
jmp 0x180080809
xor r12d, r12d
mov r8, qword [rsp + 0x48]
test byte [r8 + 0x30], 0x80
jne 0x180080d46
mov rcx, qword [rsp + 0x90]
mov r9, r8
mov r8d, edi
mov dword [rsp + 0x20], reloc.WS2_32.dll_WSASetLastError
mov edx, esi
call fcn.180079f60
movsxd rdx, dword [rbx + 0x90]
mov dword [rsp + 0x40], edx
cmp dword [rbx + 0x94], edx
jg 0x180080866
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov r8d, esi
mov rcx, rbx
lea edx, [r9 + 0x24]
call fcn.180033a50
mov dword [rsp + 0x40], eax
jmp 0x180080893
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x24
mov dword [rax + rcx*8 + 4], esi
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r12
cmp word [r14 + 0x34], 0
jl 0x1800809c3
movsxd rdi, dword [rbx + 0x90]
cmp dword [rbx + 0x94], edi
jg 0x1800808d1
mov dword [rsp + 0x20], r12d
mov r8d, esi
mov r12d, dword [rsp + 0x34]
mov edx, 0x87
mov r9d, r12d
mov rcx, rbx
call fcn.180033a50
mov edi, eax
xor edx, edx
jmp 0x180080905
mov r12d, dword [rsp + 0x34]
lea rcx, [rdi + rdi*2]
lea eax, [rdi + 1]
xor edx, edx
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x87
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov rax, qword [rsp + 0x50]
test byte [rax + 0x2c], 4
jne 0x1800809ac
movsxd rsi, dword [rbx + 0x90]
cmp dword [rbx + 0x94], esi
jg 0x18008093e
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov r8d, r15d
mov rcx, rbx
lea edx, [r9 + 0x1f]
call fcn.180033a50
mov esi, eax
jmp 0x18008096c
lea rcx, [rsi + rsi*2]
lea eax, [rsi + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x1f
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], rdx
mov rcx, qword [rsp + 0x90]
mov r8, r14
mov edx, r13d
call fcn.18006cf60
mov rax, qword [rbx]
mov edx, dword [rbx + 0x90]
cmp byte [rax + 0x67], 0
je 0x180080997
lea rax, [0x18024b8e0]
jmp 0x1800809a9
movsxd rax, esi
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
mov rcx, qword [rsp + 0x90]
mov r8d, r12d
mov edx, ebp
call fcn.18007ac10
jmp 0x180080a8e
cmp qword [r14 + 0x10], 0
jne 0x180080a2a
mov rax, qword [rsp + 0x50]
test byte [rax + 0x2c], 8
jne 0x180080a2a
movsxd rdi, dword [rbx + 0x90]
cmp dword [rbx + 0x94], edi
jg 0x180080a08
mov dword [rsp + 0x20], r12d
mov r8d, r15d
mov r12d, dword [rsp + 0x34]
mov edx, 0x7f
mov r9d, r12d
mov rcx, rbx
call fcn.180033a50
mov edi, eax
jmp 0x180080a8e
lea eax, [rdi + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rdi + rdi*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x7f
mov dword [rax + rcx*8 + 4], r15d
jmp 0x180080a79
movsxd rdi, dword [rbx + 0x90]
cmp dword [rbx + 0x94], edi
jg 0x180080a5a
mov dword [rsp + 0x20], r12d
mov r8d, esi
mov r12d, dword [rsp + 0x34]
mov edx, 0x87
mov r9d, r12d
mov rcx, rbx
call fcn.180033a50
mov edi, eax
jmp 0x180080a8e
lea eax, [rdi + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rdi + rdi*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x87
mov dword [rax + rcx*8 + 4], esi
mov r12d, dword [rsp + 0x34]
xor edx, edx
mov qword [rax + rcx*8 + 0x10], rdx
mov dword [rax + rcx*8 + 0xc], edx
mov dword [rax + rcx*8 + 8], r12d
mov r13, qword [rsp + 0x50]
test byte [r13 + 0x2c], 4
je 0x180080afc
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x180080ac9
xor eax, eax
xor r9d, r9d
mov r8d, r15d
mov dword [rsp + 0x20], eax
mov edx, 0x89
mov rcx, rbx
call fcn.180033a50
mov esi, 0x98
jmp 0x180080b01
lea eax, [rcx + 1]
xor edx, edx
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov esi, 0x98
mov dword [rax + rcx*8], 0x89
mov dword [rax + rcx*8 + 4], r15d
mov qword [rax + rcx*8 + 8], rdx
mov qword [rax + rcx*8 + 0x10], rdx
jmp 0x180080b01
mov esi, 0xa9
movsxd rcx, dword [rbx + 0x90]
mov ebp, dword [rsp + 0x38]
cmp dword [rbx + 0x94], ecx
jg 0x180080b31
mov r9d, ebp
mov dword [rsp + 0x20], r12d
mov r8d, r15d
mov edx, 0x81
mov rcx, rbx
call fcn.180033a50
xor r8d, r8d
jmp 0x180080b62
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x81
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r8
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x180080b8d
mov r9d, dword [rsp + 0x30]
mov r8d, r15d
mov edx, 0x80
mov dword [rsp + 0x20], r12d
mov rcx, rbx
call fcn.180033a50
jmp 0x180080bbf
mov edx, dword [rsp + 0x30]
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x80
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r8
test byte [r13 + 0x2c], 4
jne 0x180080c1a
mov rcx, qword [rbx]
cmp byte [rcx + 0x67], 0
je 0x180080bde
mov r8, r14
mov edx, 0xfffffffb
call fcn.180034610
jmp 0x180080c1a
movsxd rax, dword [rbx + 0x90]
lea rdx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rdx, [rdx - 3]
cmp byte [rax + rdx*8 + 1], 0
lea rdx, [rax + rdx*8]
je 0x180080c12
mov r9d, 0xfffffffb
mov r8, r14
mov rcx, rbx
call fcn.180034730
jmp 0x180080c1a
mov qword [rdx + 0x10], r14
mov byte [rdx + 1], 0xfb
movsxd rax, dword [rbx + 0x90]
test eax, eax
jle 0x180080c35
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov word [rax + rcx*8 - 0x16], si
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x180080c60
xor eax, eax
mov r9d, edi
mov r8d, ebp
mov dword [rsp + 0x20], eax
mov rcx, rbx
lea edx, [rax + 0x27]
call fcn.180033a50
xor r8d, r8d
jmp 0x180080c90
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x27
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], edi
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x180080cbb
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov r8d, ebp
mov rcx, rbx
lea edx, [r9 + 0x7a]
call fcn.180033a50
xor r8d, r8d
jmp 0x180080ce8
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x7a
mov dword [rax + rcx*8 + 4], ebp
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r8
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x180080d13
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov r8d, r15d
mov rcx, rbx
lea edx, [r9 + 0x7a]
call fcn.180033a50
jmp 0x180080dd5
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x7a
mov dword [rax + rcx*8 + 4], r15d
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r8
jmp 0x180080dd5
movsxd r10, dword [rsp + 0xb0]
mov r11, qword [rsp + 0x90]
cmp r10d, 1
je 0x180080d9c
mov rax, qword [r11]
mov rdx, r10
shl rdx, 5
mov rcx, qword [rax + 0x20]
mov rax, qword [rdx + rcx + 8]
cmp byte [rax + 0x11], 0
je 0x180080d9c
mov rax, qword [r14]
mov r9b, 1
mov r8d, dword [r14 + 0x28]
mov edx, r10d
mov rcx, r11
mov qword [rsp + 0x20], rax
call fcn.180062610
mov r11, qword [rsp + 0x90]
mov r8, qword [rsp + 0x48]
cmp edi, 1
je 0x180080dd3
mov rax, qword [r11]
movsxd rdx, edi
shl rdx, 5
mov rcx, qword [rax + 0x20]
mov rax, qword [rdx + rcx + 8]
cmp byte [rax + 0x11], 0
je 0x180080dd3
mov rax, qword [r8]
xor r9d, r9d
mov r8d, dword [r8 + 0x28]
mov edx, edi
mov rcx, r11
mov qword [rsp + 0x20], rax
call fcn.180062610
mov ebp, esi
mov r13, qword [r14 + 0x10]
test r13, r13
je 0x1800813ba
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rsp + 0x48]
xor r12b, r12b
mov rdi, qword [rax + 0x10]
test rdi, rdi
je 0x180080e19
mov rdx, rdi
mov rcx, r13
call fcn.18007fe50
test eax, eax
jne 0x180080e19
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x180080e01
movsxd rcx, dword [rbx + 0x90]
mov edx, dword [rdi + 0x58]
cmp dword [rbx + 0x94], ecx
jg 0x180080e48
mov eax, dword [rsp + 0x3c]
mov r9d, edx
mov edx, reloc.WS2_32.dll_WSASetLastError
mov dword [rsp + 0x20], eax
mov r8d, ebp
mov rcx, rbx
call fcn.180033a50
jmp 0x180080e7b
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rsp + 0x3c]
mov dword [rax + rcx*8 + 0xc], edx
mov dword [rax + rcx*8], reloc.WS2_32.dll_WSASetLastError
mov dword [rax + rcx*8 + 4], ebp
mov qword [rax + rcx*8 + 0x10], r8
mov r14, qword [rsp + 0x90]
mov rdx, rdi
mov rcx, r14
mov rsi, qword [r14 + 0x10]
call fcn.18006d4b0
mov rdx, rax
test rax, rax
je 0x180080ece
mov rcx, qword [rsi]
cmp byte [rcx + 0x67], r12b
je 0x180080eb2
mov r8, rax
mov edx, 0xfffffff8
call fcn.180034610
jmp 0x180080ece
movsxd rax, dword [rsi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
mov byte [rax + rcx*8 - 0x17], 0xf8
mov qword [rax + rcx*8 - 8], rdx
movsxd rcx, dword [rbx + 0x90]
mov edx, dword [r13 + 0x58]
cmp dword [rbx + 0x94], ecx
jg 0x180080f01
mov eax, dword [rsp + 0xb0]
mov r9d, edx
mov edx, WSAStartup
mov dword [rsp + 0x20], eax
mov r8d, r15d
mov rcx, rbx
call fcn.180033a50
jmp 0x180080f38
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rsp + 0xb0]
mov dword [rax + rcx*8 + 0xc], edx
mov dword [rax + rcx*8], WSAStartup
mov dword [rax + rcx*8 + 4], r15d
mov qword [rax + rcx*8 + 0x10], r8
mov rsi, qword [r14 + 0x10]
mov rdx, r13
mov rcx, r14
call fcn.18006d4b0
mov rdx, rax
test rax, rax
je 0x180080f83
mov rcx, qword [rsi]
cmp byte [rcx + 0x67], r12b
je 0x180080f67
mov r8, rax
mov edx, 0xfffffff8
call fcn.180034610
jmp 0x180080f83
movsxd rax, dword [rsi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
mov byte [rax + rcx*8 - 0x17], 0xf8
mov qword [rax + rcx*8 - 8], rdx
movsxd rax, dword [rbx + 0x90]
test eax, eax
jle 0x180080fa3
lea rcx, [rax + rax*2]
mov edx, 1
mov rax, qword [rbx + 0x88]
mov word [rax + rcx*8 - 0x16], dx
movsxd r15, dword [rbx + 0x90]
cmp dword [rbx + 0x94], r15d
jg 0x180080fd2
xor eax, eax
xor r9d, r9d
mov r8d, ebp
mov dword [rsp + 0x20], eax
mov rcx, rbx
lea edx, [rax + 0x24]
call fcn.180033a50
mov r15d, eax
xor r8d, r8d
jmp 0x180080fff
lea rcx, [r15 + r15*2]
xor r8d, r8d
lea eax, [r15 + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x24
mov dword [rax + rcx*8 + 4], ebp
mov qword [rax + rcx*8 + 8], r8
mov qword [rax + rcx*8 + 0x10], r8
mov rax, qword [rsp + 0x50]
test byte [rax + 0x2c], 4
je 0x18008116a
movzx r14d, word [rdi + 0x60]
mov esi, r8d
mov r11, r8
test r14d, r14d
je 0x18008109e
mov r10, qword [rdi + 0x40]
mov ebp, r14d
lea r14, str.BINARY
mov r9, qword [r10]
test r9, r9
je 0x180081092
mov rdx, r14
sub r9, r14
lea r14, [0x1802109f0]
nop word [rax + rax]
movzx ecx, byte [rdx]
movzx r8d, byte [rdx + r9]
cmp ecx, r8d
jne 0x180081066
test ecx, ecx
je 0x18008107b
inc rdx
jmp 0x180081050
movzx ecx, byte [rcx + r14]
movzx eax, byte [r8 + r14]
sub ecx, eax
jne 0x180081079
inc rdx
jmp 0x180081050
test ecx, ecx
lea r14, str.BINARY
jne 0x180081092
inc esi
inc r11
add r10, 8
cmp r11, rbp
jl 0x180081030
movzx r14d, word [rdi + 0x60]
xor r8d, r8d
mov ebp, dword [rsp + 0x38]
cmp esi, r14d
jne 0x18008118d
movsxd rcx, dword [rbx + 0x90]
lea edi, [rbp + 1]
mov r12b, 0x90
cmp dword [rbx + 0x94], ecx
jg 0x1800810d9
mov dword [rsp + 0x20], r8d
xor r9d, r9d
mov r8d, edi
mov edx, 0x89
mov rcx, rbx
call fcn.180033a50
xor r8d, r8d
jmp 0x180081106
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x89
mov dword [rax + rcx*8 + 4], edi
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r8
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x180081139
mov dword [rsp + 0x20], r8d
mov r9d, ebp
mov r8d, edi
mov edx, 0x81
mov rcx, rbx
call fcn.180033a50
mov esi, dword [rsp + 0x30]
xor r8d, r8d
jmp 0x1800811f3
mov esi, dword [rsp + 0x30]
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x81
mov dword [rax + rcx*8 + 4], edi
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r8d
jmp 0x1800811ee
mov rax, qword [rsp + 0x48]
mov edx, 1
test byte [rax + 0x30], 0x80
je 0x180081192
movzx eax, byte [r13 + 0x64]
and al, 3
movzx r12d, r12b
cmp al, 2
cmove r12d, edx
jmp 0x180081192
mov edx, 1
movsxd rcx, dword [rbx + 0x90]
mov esi, dword [rsp + 0x30]
cmp dword [rbx + 0x94], ecx
jg 0x1800811c4
mov dword [rsp + 0x20], edx
mov r9d, esi
mov edx, 0x86
mov r8d, ebp
mov rcx, rbx
call fcn.180033a50
xor r8d, r8d
lea edi, [rbp + 1]
jmp 0x1800811f3
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
lea edi, [rbp + 1]
mov dword [rax + rcx*8], 0x86
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r8
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x18008121f
mov dword [rsp + 0x20], r8d
mov r9d, esi
mov r8d, edi
mov edx, 0x8a
mov rcx, rbx
call fcn.180033a50
xor r8d, r8d
jmp 0x18008124c
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x8a
mov dword [rax + rcx*8 + 4], edi
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
movsxd rax, dword [rbx + 0x90]
test eax, eax
jle 0x18008126f
lea rcx, [rax + rax*2]
or r12b, 8
mov rax, qword [rbx + 0x88]
movzx edx, r12b
mov word [rax + rcx*8 - 0x16], dx
movsxd rcx, dword [rbx + 0x90]
lea edx, [r15 + 1]
cmp dword [rbx + 0x94], ecx
jg 0x18008129f
mov dword [rsp + 0x20], r8d
mov r9d, edx
mov r8d, ebp
mov edx, 0x27
mov rcx, rbx
call fcn.180033a50
xor r8d, r8d
jmp 0x1800812cc
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x27
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov rax, qword [rbx]
mov edx, dword [rbx + 0x90]
cmp byte [rax + 0x67], 0
je 0x1800812e4
lea rax, [0x18024b8e0]
jmp 0x1800812f6
movsxd rax, r15d
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x180081324
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov r8d, ebp
mov rcx, rbx
lea edx, [r9 + 0x7a]
call fcn.180033a50
xor r8d, r8d
jmp 0x180081351
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x7a
mov dword [rax + rcx*8 + 4], ebp
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r8
movsxd rcx, dword [rbx + 0x90]
lea r15d, [rbp + 1]
cmp dword [rbx + 0x94], ecx
jg 0x18008137d
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov r8d, r15d
mov rcx, rbx
lea edx, [r9 + 0x7a]
call fcn.180033a50
jmp 0x1800813ab
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x7a
mov dword [rax + rcx*8 + 4], r15d
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r8
mov r13, qword [r13 + 0x28]
test r13, r13
jne 0x180080df0
jmp 0x1800813be
mov esi, dword [rsp + 0x30]
movsxd rcx, dword [rsp + 0x40]
test ecx, ecx
je 0x1800813f1
mov rax, qword [rbx]
mov edx, dword [rbx + 0x90]
cmp byte [rax + 0x67], 0
je 0x1800813df
lea rax, [0x18024b8e0]
jmp 0x1800813ee
mov rax, qword [rbx + 0x88]
lea rcx, [rcx + rcx*2]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
mov ecx, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x90]
test ecx, ecx
je 0x180081413
movzx eax, byte [rdx + 0x1f]
cmp al, 8
jae 0x180081413
mov dword [rdx + rax*4 + 0xe0], ecx
inc byte [rdx + 0x1f]
test esi, esi
je 0x180081429
movzx eax, byte [rdx + 0x1f]
cmp al, 8
jae 0x180081429
mov dword [rdx + rax*4 + 0xe0], esi
inc byte [rdx + 0x1f]
movsxd rdi, dword [rsp + 0x44]
test edi, edi
je 0x180081524
cmp qword [rdx + 0xa0], 0
je 0x180081448
mov rcx, rdx
call fcn.18007ac80
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x180081473
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, rbx
lea edx, [rax + 0x46]
call fcn.180033a50
xor r8d, r8d
jmp 0x18008149c
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov qword [rax + rcx*8], 0x46
mov qword [rax + rcx*8 + 8], r8
mov qword [rax + rcx*8 + 0x10], r8
mov rax, qword [rbx]
mov edx, dword [rbx + 0x90]
cmp byte [rax + 0x67], 0
je 0x1800814b4
lea rax, [0x18024b8e0]
jmp 0x1800814c3
mov rax, qword [rbx + 0x88]
lea rcx, [rdi + rdi*2]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1800814f1
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov r8d, r15d
mov rcx, rbx
lea edx, [r9 + 0x7a]
call fcn.180033a50
jmp 0x180080459
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x7a
mov dword [rax + rcx*8 + 4], r15d
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r8
jmp 0x180080459
mov eax, 1
jmp 0x18008045b