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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x128
mov rax, qword [0x1802ae740]
xor rax, rsp
mov qword [rsp + 0x118], rax
mov eax, dword [rsp + 0x140]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x600000
jg 0x18016a787
cmp dword [rsp + 0x30], 0x600000
je 0x18016aa6d
mov eax, dword [rsp + 0x30]
sub eax, 0x200000
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xf
ja case.0x18016a7b1.6291466
movsxd rax, dword [rsp + 0x30]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x16b900]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x30]
sub eax, 0x600001
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xe
ja case.0x18016a7b1.6291466
movsxd rax, dword [rsp + 0x30]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x16b940]
add rax, rcx
jmp rax
mov ecx, dword [rsp + 0x140]
call fcn.180168de0
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jle 0x18016a956
movzx eax, word [rsp + 0x44]
mov word [rsp + 0x34], ax
cmp dword [rsp + 0x44], 0xa
jne 0x18016a7f4
mov rax, qword [rsp + 0x138]
movzx eax, byte [rax + 0x17]
test eax, eax
je 0x18016a7f4
jmp 0x18016b8e5
mov rax, qword [rsp + 0x138]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x18016a8d9
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x138]
mov ecx, dword [rcx + 8]
cmp dword [rax + 4], ecx
jne 0x18016a8d9
mov rcx, qword [rsp + 0x130]
call fcn.180168cd0
mov rcx, qword [rsp + 0x138]
cmp dword [rcx], eax
jge 0x18016a8d9
mov dword [rsp + 0x20], 1
mov r9d, 1
mov rax, qword [rsp + 0x138]
mov r8d, dword [rax]
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.180169f70
mov r8d, 1
mov rax, qword [rsp + 0x138]
mov edx, dword [rax]
mov rcx, qword [rsp + 0x130]
call fcn.180169280
mov r9d, 1
lea r8, [rsp + 0x34]
mov rax, qword [rsp + 0x138]
mov edx, dword [rax]
mov rcx, qword [rsp + 0x130]
call fcn.180169390
movzx eax, al
test eax, eax
je 0x18016a8d7
mov rax, qword [rsp + 0x138]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x138]
mov dword [rcx], eax
mov rax, qword [rsp + 0x138]
mov byte [rax + 0x16], 0
jmp 0x18016a956
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.18016a3b0
mov r9d, 1
lea r8, [rsp + 0x34]
mov rax, qword [rsp + 0x138]
mov edx, dword [rax]
mov rcx, qword [rsp + 0x130]
call fcn.180169390
movzx eax, al
test eax, eax
je 0x18016a956
mov r8d, 1
mov rax, qword [rsp + 0x138]
mov edx, dword [rax]
mov rcx, qword [rsp + 0x138]
call fcn.180169f30
mov rax, qword [rsp + 0x138]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x138]
mov dword [rcx], eax
mov rax, qword [rsp + 0x138]
mov byte [rax + 0x16], 0
jmp 0x18016b8e5
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.180169970
mov rax, qword [rsp + 0x138]
mov byte [rax + 0x16], 0
jmp 0x18016b8e5
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.180169c30
mov rax, qword [rsp + 0x138]
mov byte [rax + 0x16], 0
jmp 0x18016b8e5
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x138]
mov ecx, dword [rcx + 8]
cmp dword [rax + 4], ecx
je 0x18016a9ce
mov rcx, qword [rsp + 0x138]
call fcn.18016a500
jmp 0x18016a9f1
mov rax, qword [rsp + 0x138]
cmp dword [rax], 0
jle 0x18016a9f1
mov rax, qword [rsp + 0x138]
mov eax, dword [rax]
dec eax
mov rcx, qword [rsp + 0x138]
mov dword [rcx], eax
mov rax, qword [rsp + 0x138]
mov byte [rax + 0x16], 0
jmp 0x18016b8e5
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x138]
mov ecx, dword [rcx + 8]
cmp dword [rax + 4], ecx
je 0x18016aa31
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.18016a560
jmp 0x18016aa47
mov rax, qword [rsp + 0x138]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x138]
mov dword [rcx], eax
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.18016a2a0
mov rax, qword [rsp + 0x138]
mov byte [rax + 0x16], 0
jmp 0x18016b8e5
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.18016a2a0
mov rcx, qword [rsp + 0x138]
call fcn.18016a5d0
mov rax, qword [rsp + 0x138]
cmp dword [rax + 8], 0
jle 0x18016aab5
mov rax, qword [rsp + 0x138]
mov eax, dword [rax + 8]
dec eax
mov rcx, qword [rsp + 0x138]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x138]
mov ecx, dword [rcx + 8]
mov dword [rax], ecx
mov rax, qword [rsp + 0x138]
mov byte [rax + 0x16], 0
jmp 0x18016b8e5
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x138]
mov ecx, dword [rcx + 8]
cmp dword [rax + 4], ecx
je 0x18016ab02
mov rcx, qword [rsp + 0x138]
call fcn.18016a500
jmp 0x18016ab38
mov rax, qword [rsp + 0x138]
mov edx, dword [rax]
mov rcx, qword [rsp + 0x130]
call fcn.180169110
mov rcx, qword [rsp + 0x138]
mov dword [rcx], eax
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.18016a2a0
jmp 0x18016b8e5
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x138]
mov ecx, dword [rcx + 8]
cmp dword [rax + 4], ecx
jne 0x18016ab62
mov rcx, qword [rsp + 0x138]
call fcn.18016a5d0
mov rax, qword [rsp + 0x138]
mov edx, dword [rax]
mov rcx, qword [rsp + 0x130]
call fcn.180169110
mov rcx, qword [rsp + 0x138]
mov dword [rcx], eax
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x138]
mov ecx, dword [rcx]
mov dword [rax + 8], ecx
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.18016a2a0
jmp 0x18016b8e5
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x138]
mov ecx, dword [rcx + 8]
cmp dword [rax + 4], ecx
je 0x18016abe1
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.18016a560
jmp 0x18016ac17
mov rax, qword [rsp + 0x138]
mov edx, dword [rax]
mov rcx, qword [rsp + 0x130]
call fcn.180169200
mov rcx, qword [rsp + 0x138]
mov dword [rcx], eax
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.18016a2a0
jmp 0x18016b8e5
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x138]
mov ecx, dword [rcx + 8]
cmp dword [rax + 4], ecx
jne 0x18016ac41
mov rcx, qword [rsp + 0x138]
call fcn.18016a5d0
mov rax, qword [rsp + 0x138]
mov edx, dword [rax]
mov rcx, qword [rsp + 0x130]
call fcn.180169200
mov rcx, qword [rsp + 0x138]
mov dword [rcx], eax
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x138]
mov ecx, dword [rcx]
mov dword [rax + 8], ecx
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.18016a2a0
jmp 0x18016b8e5
mov rcx, qword [rsp + 0x138]
call fcn.18016a5d0
mov rax, qword [rsp + 0x138]
mov eax, dword [rax + 8]
inc eax
mov rcx, qword [rsp + 0x138]
mov dword [rcx + 8], eax
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.18016a2a0
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x138]
mov ecx, dword [rcx + 8]
mov dword [rax], ecx
mov rax, qword [rsp + 0x138]
mov byte [rax + 0x16], 0
jmp 0x18016b8e5
mov eax, dword [rsp + 0x140]
and eax, 0x400000
test eax, eax
je 0x18016ad0b
mov dword [rsp + 0x58], 1
jmp 0x18016ad13
mov dword [rsp + 0x58], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x140]
btr eax, 0x16
cmp eax, 0x20000f
jne 0x18016ad37
mov dword [rsp + 0x5c], 1
jmp 0x18016ad3f
mov dword [rsp + 0x5c], 0
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x18016ad5f
mov rax, qword [rsp + 0x138]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x60], eax
jmp 0x18016ad67
mov dword [rsp + 0x60], 1
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0xac], eax
cmp dword [rsp + 0x64], 0
jne 0x18016ada6
mov rax, qword [rsp + 0x138]
movzx eax, byte [rax + 0x17]
test eax, eax
je 0x18016ada6
mov eax, dword [rsp + 0x140]
and eax, 0x400000
or eax, 0x200001
mov dword [rsp + 0x140], eax
jmp 0x18016a738
cmp dword [rsp + 0x78], 0
je 0x18016adbc
mov rcx, qword [rsp + 0x138]
call fcn.18016a5d0
jmp 0x18016ade9
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x138]
mov ecx, dword [rcx + 8]
cmp dword [rax + 4], ecx
je 0x18016ade9
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.18016a560
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.18016a2a0
mov rax, qword [rsp + 0x138]
movzx eax, byte [rax + 0x17]
mov r9d, eax
mov rax, qword [rsp + 0x138]
mov r8d, dword [rax]
mov rdx, qword [rsp + 0x130]
lea rcx, [rsp + 0xb8]
call fcn.18016a010
mov dword [rsp + 0x48], 0
jmp 0x18016ae41
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0xac]
cmp dword [rsp + 0x48], eax
jge 0x18016b02d
mov rax, qword [rsp + 0x138]
movzx eax, byte [rax + 0x16]
test eax, eax
je 0x18016ae77
mov rax, qword [rsp + 0x138]
vmovss xmm0, dword [rax + 0x1c]
vmovss dword [rsp + 0x68], xmm0
jmp 0x18016ae86
vmovss xmm0, dword [rsp + 0xb8]
vmovss dword [rsp + 0x68], xmm0
vmovss xmm0, dword [rsp + 0x68]
vmovss dword [rsp + 0x74], xmm0
mov eax, dword [rsp + 0xc8]
mov ecx, dword [rsp + 0xc4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0xc8], 0
jne 0x18016aeb7
jmp 0x18016b02d
mov eax, dword [rsp + 0xc4]
mov ecx, dword [rsp + 0xc8]
lea eax, [rax + rcx - 1]
mov edx, eax
mov rcx, qword [rsp + 0x130]
call fcn.180168cf0
movzx eax, ax
movzx ecx, word [reloc.WS2_32.dll_ioctlsocket]
cmp eax, ecx
je 0x18016aeeb
jmp 0x18016b02d
mov rax, qword [rsp + 0x138]
mov ecx, dword [rsp + 0x6c]
mov dword [rax], ecx
mov rax, qword [rsp + 0x138]
mov r8d, dword [rax]
mov rdx, qword [rsp + 0x130]
lea rcx, [rsp + 0xe8]
call fcn.180168e10
vmovss xmm0, dword [rsp + 0xe8]
vmovss dword [rsp + 0x4c], xmm0
mov dword [rsp + 0x3c], 0
jmp 0x18016af3c
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0xfc]
cmp dword [rsp + 0x3c], eax
jge 0x18016afb1
mov r8d, dword [rsp + 0x3c]
mov edx, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x130]
call fcn.180168d30
vmovss dword [rsp + 0x70], xmm0
vmovss xmm0, dword [rsp + 0x70]
vucomiss xmm0, dword [0x180278ecc]
jne 0x18016af77
jmp 0x18016afb1
vmovss xmm0, dword [rsp + 0x4c]
vaddss xmm0, xmm0, dword [rsp + 0x70]
vmovss dword [rsp + 0x4c], xmm0
vmovss xmm0, dword [rsp + 0x4c]
vcomiss xmm0, dword [rsp + 0x74]
jbe 0x18016af99
jmp 0x18016afb1
mov rax, qword [rsp + 0x138]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x138]
mov dword [rcx], eax
jmp 0x18016af32
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.18016a2a0
mov rax, qword [rsp + 0x138]
mov byte [rax + 0x16], 1
mov rax, qword [rsp + 0x138]
vmovss xmm0, dword [rsp + 0x74]
vmovss dword [rax + 0x1c], xmm0
cmp dword [rsp + 0x78], 0
je 0x18016b001
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x138]
mov ecx, dword [rcx]
mov dword [rax + 8], ecx
mov eax, dword [rsp + 0xc8]
mov ecx, dword [rsp + 0xc4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xc4], eax
mov eax, dword [rsp + 0xfc]
mov dword [rsp + 0xc8], eax
jmp 0x18016ae37
jmp 0x18016b8e5
mov eax, dword [rsp + 0x140]
and eax, 0x400000
test eax, eax
je 0x18016b04c
mov dword [rsp + 0x7c], 1
jmp 0x18016b054
mov dword [rsp + 0x7c], 0
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x98], eax
mov eax, dword [rsp + 0x140]
btr eax, 0x16
cmp eax, 0x20000e
jne 0x18016b07e
mov dword [rsp + 0x80], 1
jmp 0x18016b089
mov dword [rsp + 0x80], 0
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0
je 0x18016b0b5
mov rax, qword [rsp + 0x138]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x84], eax
jmp 0x18016b0c0
mov dword [rsp + 0x84], 1
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0xb0], eax
cmp dword [rsp + 0x88], 0
jne 0x18016b104
mov rax, qword [rsp + 0x138]
movzx eax, byte [rax + 0x17]
test eax, eax
je 0x18016b104
mov eax, dword [rsp + 0x140]
and eax, 0x400000
bts eax, 0x15
mov dword [rsp + 0x140], eax
jmp 0x18016a738
cmp dword [rsp + 0x98], 0
je 0x18016b11d
mov rcx, qword [rsp + 0x138]
call fcn.18016a5d0
jmp 0x18016b142
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x138]
mov ecx, dword [rcx + 8]
cmp dword [rax + 4], ecx
je 0x18016b142
mov rcx, qword [rsp + 0x138]
call fcn.18016a500
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.18016a2a0
mov rax, qword [rsp + 0x138]
movzx eax, byte [rax + 0x17]
mov r9d, eax
mov rax, qword [rsp + 0x138]
mov r8d, dword [rax]
mov rdx, qword [rsp + 0x130]
lea rcx, [rsp + 0xd0]
call fcn.18016a010
mov dword [rsp + 0x50], 0
jmp 0x18016b19a
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0xb0]
cmp dword [rsp + 0x50], eax
jge 0x18016b3c3
mov rax, qword [rsp + 0x138]
movzx eax, byte [rax + 0x16]
test eax, eax
je 0x18016b1d3
mov rax, qword [rsp + 0x138]
vmovss xmm0, dword [rax + 0x1c]
vmovss dword [rsp + 0x8c], xmm0
jmp 0x18016b1e5
vmovss xmm0, dword [rsp + 0xd0]
vmovss dword [rsp + 0x8c], xmm0
vmovss xmm0, dword [rsp + 0x8c]
vmovss dword [rsp + 0x94], xmm0
mov eax, dword [rsp + 0xdc]
cmp dword [rsp + 0xe4], eax
jne 0x18016b20c
jmp 0x18016b3c3
mov rax, qword [rsp + 0x138]
mov ecx, dword [rsp + 0xe4]
mov dword [rax], ecx
mov rax, qword [rsp + 0x138]
mov r8d, dword [rax]
mov rdx, qword [rsp + 0x130]
lea rcx, [rsp + 0x100]
call fcn.180168e10
vmovss xmm0, dword [rsp + 0x100]
vmovss dword [rsp + 0x54], xmm0
mov dword [rsp + 0x40], 0
jmp 0x18016b260
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x114]
cmp dword [rsp + 0x40], eax
jge 0x18016b2e7
mov r8d, dword [rsp + 0x40]
mov edx, dword [rsp + 0xe4]
mov rcx, qword [rsp + 0x130]
call fcn.180168d30
vmovss dword [rsp + 0x90], xmm0
vmovss xmm0, dword [rsp + 0x90]
vucomiss xmm0, dword [0x180278ecc]
jne 0x18016b2a4
jmp 0x18016b2e7
vmovss xmm0, dword [rsp + 0x54]
vaddss xmm0, xmm0, dword [rsp + 0x90]
vmovss dword [rsp + 0x54], xmm0
vmovss xmm0, dword [rsp + 0x54]
vcomiss xmm0, dword [rsp + 0x94]
jbe 0x18016b2cc
jmp 0x18016b2e7
mov rax, qword [rsp + 0x138]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x138]
mov dword [rcx], eax
jmp 0x18016b256
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.18016a2a0
mov rax, qword [rsp + 0x138]
mov byte [rax + 0x16], 1
mov rax, qword [rsp + 0x138]
vmovss xmm0, dword [rsp + 0x94]
vmovss dword [rax + 0x1c], xmm0
cmp dword [rsp + 0x98], 0
je 0x18016b33d
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x138]
mov ecx, dword [rcx]
mov dword [rax + 8], ecx
cmp dword [rsp + 0xe4], 0
jle 0x18016b359
mov eax, dword [rsp + 0xe4]
dec eax
mov dword [rsp + 0x9c], eax
jmp 0x18016b364
mov dword [rsp + 0x9c], 0
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jle 0x18016b3a5
mov eax, dword [rsp + 0x38]
dec eax
mov edx, eax
mov rcx, qword [rsp + 0x130]
call fcn.180168cf0
movzx eax, ax
movzx ecx, word [reloc.WS2_32.dll_ioctlsocket]
cmp eax, ecx
je 0x18016b3a5
mov eax, dword [rsp + 0x38]
dec eax
mov dword [rsp + 0x38], eax
jmp 0x18016b36f
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0xdc], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0xe4], eax
jmp 0x18016b190
jmp 0x18016b8e5
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x138]
mov ecx, dword [rcx + 8]
cmp dword [rax + 4], ecx
je 0x18016b3f7
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.18016a3b0
jmp 0x18016b444
mov rcx, qword [rsp + 0x130]
call fcn.180168cd0
mov dword [rsp + 0xb4], eax
mov rax, qword [rsp + 0x138]
mov ecx, dword [rsp + 0xb4]
cmp dword [rax], ecx
jge 0x18016b444
mov r9d, 1
mov rax, qword [rsp + 0x138]
mov r8d, dword [rax]
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.18016a350
mov rax, qword [rsp + 0x138]
mov byte [rax + 0x16], 0
jmp 0x18016b8e5
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x138]
mov ecx, dword [rcx + 8]
cmp dword [rax + 4], ecx
je 0x18016b484
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.18016a3b0
jmp 0x18016b4e6
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.18016a2a0
mov rax, qword [rsp + 0x138]
cmp dword [rax], 0
jle 0x18016b4e6
mov rax, qword [rsp + 0x138]
mov eax, dword [rax]
dec eax
mov r9d, 1
mov r8d, eax
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.18016a350
mov rax, qword [rsp + 0x138]
mov eax, dword [rax]
dec eax
mov rcx, qword [rsp + 0x138]
mov dword [rcx], eax
mov rax, qword [rsp + 0x138]
mov byte [rax + 0x16], 0
jmp 0x18016b8e5
mov rax, qword [rsp + 0x138]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x138]
mov dword [rax + 4], 0
mov rax, qword [rsp + 0x138]
mov dword [rax], 0
mov rax, qword [rsp + 0x138]
mov byte [rax + 0x16], 0
jmp 0x18016b8e5
mov rcx, qword [rsp + 0x130]
call fcn.180168cd0
mov rcx, qword [rsp + 0x138]
mov dword [rcx], eax
mov rax, qword [rsp + 0x138]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x138]
mov dword [rax + 4], 0
mov rax, qword [rsp + 0x138]
mov byte [rax + 0x16], 0
jmp 0x18016b8e5
mov rcx, qword [rsp + 0x138]
call fcn.18016a5d0
mov rax, qword [rsp + 0x138]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x138]
mov dword [rax], 0
mov rax, qword [rsp + 0x138]
mov byte [rax + 0x16], 0
jmp 0x18016b8e5
mov rcx, qword [rsp + 0x138]
call fcn.18016a5d0
mov rcx, qword [rsp + 0x130]
call fcn.180168cd0
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x138]
mov ecx, dword [rsp + 0xa0]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x138]
mov ecx, dword [rsp + 0xa0]
mov dword [rax], ecx
mov rax, qword [rsp + 0x138]
mov byte [rax + 0x16], 0
jmp 0x18016b8e5
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.18016a2a0
mov rcx, qword [rsp + 0x138]
call fcn.18016a500
mov rax, qword [rsp + 0x138]
movzx eax, byte [rax + 0x17]
test eax, eax
je 0x18016b64c
mov rax, qword [rsp + 0x138]
mov dword [rax], 0
jmp 0x18016b69a
mov rax, qword [rsp + 0x138]
cmp dword [rax], 0
jle 0x18016b69a
mov rax, qword [rsp + 0x138]
mov eax, dword [rax]
dec eax
mov edx, eax
mov rcx, qword [rsp + 0x130]
call fcn.180168cf0
movzx eax, ax
movzx ecx, word [reloc.WS2_32.dll_ioctlsocket]
cmp eax, ecx
je 0x18016b69a
mov rax, qword [rsp + 0x138]
mov eax, dword [rax]
dec eax
mov rcx, qword [rsp + 0x138]
mov dword [rcx], eax
jmp 0x18016b64c
mov rax, qword [rsp + 0x138]
mov byte [rax + 0x16], 0
jmp 0x18016b8e5
mov rcx, qword [rsp + 0x130]
call fcn.180168cd0
mov dword [rsp + 0xa4], eax
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.18016a2a0
mov rcx, qword [rsp + 0x138]
call fcn.18016a500
mov rax, qword [rsp + 0x138]
movzx eax, byte [rax + 0x17]
test eax, eax
je 0x18016b704
mov rax, qword [rsp + 0x138]
mov ecx, dword [rsp + 0xa4]
mov dword [rax], ecx
jmp 0x18016b754
mov rax, qword [rsp + 0x138]
mov ecx, dword [rsp + 0xa4]
cmp dword [rax], ecx
jge 0x18016b754
mov rax, qword [rsp + 0x138]
mov edx, dword [rax]
mov rcx, qword [rsp + 0x130]
call fcn.180168cf0
movzx eax, ax
movzx ecx, word [reloc.WS2_32.dll_ioctlsocket]
cmp eax, ecx
je 0x18016b754
mov rax, qword [rsp + 0x138]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x138]
mov dword [rcx], eax
jmp 0x18016b704
mov rax, qword [rsp + 0x138]
mov byte [rax + 0x16], 0
jmp 0x18016b8e5
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.18016a2a0
mov rcx, qword [rsp + 0x138]
call fcn.18016a5d0
mov rax, qword [rsp + 0x138]
movzx eax, byte [rax + 0x17]
test eax, eax
je 0x18016b7a7
mov rax, qword [rsp + 0x138]
mov dword [rax], 0
jmp 0x18016b7f5
mov rax, qword [rsp + 0x138]
cmp dword [rax], 0
jle 0x18016b7f5
mov rax, qword [rsp + 0x138]
mov eax, dword [rax]
dec eax
mov edx, eax
mov rcx, qword [rsp + 0x130]
call fcn.180168cf0
movzx eax, ax
movzx ecx, word [reloc.WS2_32.dll_ioctlsocket]
cmp eax, ecx
je 0x18016b7f5
mov rax, qword [rsp + 0x138]
mov eax, dword [rax]
dec eax
mov rcx, qword [rsp + 0x138]
mov dword [rcx], eax
jmp 0x18016b7a7
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x138]
mov ecx, dword [rcx]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x138]
mov byte [rax + 0x16], 0
jmp 0x18016b8e5
mov rcx, qword [rsp + 0x130]
call fcn.180168cd0
mov dword [rsp + 0xa8], eax
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.18016a2a0
mov rcx, qword [rsp + 0x138]
call fcn.18016a5d0
mov rax, qword [rsp + 0x138]
movzx eax, byte [rax + 0x17]
test eax, eax
je 0x18016b874
mov rax, qword [rsp + 0x138]
mov ecx, dword [rsp + 0xa8]
mov dword [rax], ecx
jmp 0x18016b8c4
mov rax, qword [rsp + 0x138]
mov ecx, dword [rsp + 0xa8]
cmp dword [rax], ecx
jge 0x18016b8c4
mov rax, qword [rsp + 0x138]
mov edx, dword [rax]
mov rcx, qword [rsp + 0x130]
call fcn.180168cf0
movzx eax, ax
movzx ecx, word [reloc.WS2_32.dll_ioctlsocket]
cmp eax, ecx
je 0x18016b8c4
mov rax, qword [rsp + 0x138]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x138]
mov dword [rcx], eax
jmp 0x18016b874
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x138]
mov ecx, dword [rcx]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x138]
mov byte [rax + 0x16], 0
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.1801942d0
add rsp, 0x128
ret