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

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0xf8
mov rax, qword [0x180240300]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov rdi, qword [rcx + 0x10]
mov rax, rdx
mov r13, qword [rsp + 0x150]
mov r14, rcx
mov rbp, qword [rsp + 0x158]
xorps xmm0, xmm0
mov qword [rsp + 0x58], rdx
mov rsi, r8
xor edx, edx
mov qword [rsp + 0x38], rcx
mov rcx, qword [rcx]
mov r12, r9
mov qword [rsp + 0x68], r9
mov r8d, 0xfeff
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x48], rcx
mov qword [r11 - 0x60], rdx
movdqu xmmword [r11 - 0x50], xmm0
test r9, r9
je 0x180136a6c
cmp dword [r9], 0x40
jl 0x180136a6c
mov r12d, edx
mov qword [rsp + 0x68], rdx
movzx edx, word [rsp + 0x160]
and dx, r8w
jmp 0x180136a74
movzx edx, word [rsp + 0x160]
mov r8d, dword [rax]
mov word [rsp + 0x30], dx
mov dword [rsp + 0x44], r8d
cmp r8d, 0x40
jle 0x180136aa3
mov r8d, 0x40
lea rdx, str.at_most__d_tables_in_a_join
mov rcx, r14
call fcn.180081380
xor eax, eax
jmp 0x180137a56
mov qword [rsp + 0x148], rbx
mov eax, 1
mov qword [rsp + 0xf0], r15
test dl, 0x20
je 0x180136ac8
mov dword [rsp + 0x44], eax
mov eax, 0x3d0
jmp 0x180136adc
mov eax, 0x3d0
cmp r8d, 1
jle 0x180136adc
imul eax, r8d, 0x70
add eax, 0x360
movsxd rbx, eax
lea rdx, [rbx + 0x70]
call fcn.18007d7c0
mov r15, rax
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x48]
cmp byte [rax + 0x67], 0
je 0x180136b14
test r15, r15
je 0x180137a44
mov rdx, r15
mov rcx, rax
call fcn.18007d2f0
jmp 0x180137a44
mov rax, qword [rsp + 0x58]
xorps xmm0, xmm0
movsxd rcx, dword [rsp + 0x44]
xor edx, edx
mov qword [r15 + 8], rax
mov qword [r15], r14
mov qword [r15 + 0x10], r12
mov qword [r15 + 0x18], r13
mov qword [r15 + 0x28], 0xffffffffffffffff
mov byte [r15 + 0x40], cl
mov eax, dword [r14 + 0x44]
dec eax
mov dword [r14 + 0x44], eax
mov dword [r15 + 0x30], eax
mov dword [r15 + 0x34], eax
movzx eax, word [rsp + 0x30]
mov word [r15 + 0x3c], ax
mov eax, dword [rsp + 0x168]
mov word [r15 + 0x3e], ax
movsx eax, word [r14 + 0xe0]
mov dword [r15 + 0x38], eax
xor eax, eax
mov qword [r15 + 0x20], rbp
movups xmmword [r15 + 0x41], xmm0
movups xmmword [r15 + 0x51], xmm0
mov qword [r15 + 0x61], rax
mov dword [r15 + 0x69], eax
mov word [r15 + 0x6d], ax
mov byte [r15 + 0x6f], al
lea rax, [rcx + 1]
imul r8, rax, 0x70
lea rcx, [r15 + 0x360]
call fcn.1801d8ef0
lea r14, [r15 + 0x70]
mov qword [rsp + 0xc0], r15
xor edx, edx
mov qword [rsp + 0xc8], r14
mov dword [r15 + 0x25c], edx
lea rcx, [rbx + r15]
mov dword [r15 + 0x260], 0xffffff9d
lea rax, [rcx + 0x58]
mov qword [rcx + 0x48], rax
mov r8b, 0x2c
mov word [rcx + 0x3c], dx
lea rax, [r14 + 0x28]
mov dword [rcx + 0x38], edx
mov word [rcx + 0x40], 3
mov byte [r14 + 0x11], dl
mov qword [r14 + 8], rdx
mov dword [r14 + 0x14], edx
mov rdx, rsi
mov qword [rsp + 0xd0], rcx
mov rcx, r14
mov qword [r14 + 0x20], rax
mov qword [r14], r15
mov qword [r14 + 0x18], 8
call fcn.18012d480
cmp dword [rsp + 0x44], 0
mov ecx, 0x100
mov edx, 0x400
jne 0x180136c79
test r12, r12
je 0x180136c3c
movzx eax, byte [r12]
mov byte [r15 + 0x41], al
test word [rsp + 0x30], cx
je 0x180136c53
mov rax, qword [rsp + 0x48]
test byte [rax + 0x60], 0x10
jne 0x180136c53
mov byte [r15 + 0x43], 1
mov rax, qword [r15 + 0x20]
test rax, rax
je 0x180136cd7
mov rsi, qword [rsp + 0x38]
test dword [rax + 4], edx
jne 0x180136cdc
lea r8, str.SCAN_CONSTANT_ROW
xor edx, edx
mov rcx, rsi
call fcn.1800abd40
jmp 0x180136cdc
mov r13, qword [rsp + 0x58]
xor edx, edx
mov rdi, qword [rsp + 0x38]
mov ebx, edx
lea rsi, [r13 + 0x4c]
nop dword [rax + rax]
movsxd rcx, dword [r15 + 0x25c]
mov r8, r14
mov eax, dword [rsi]
mov dword [r15 + rcx*4 + 0x260], eax
mov rcx, rdi
inc dword [r15 + 0x25c]
movsxd rax, ebx
imul rdx, rax, 0x68
add rdx, 8
add rdx, r13
call fcn.18012de20
inc ebx
lea rsi, [rsi + 0x68]
cmp ebx, dword [r13]
jl 0x180136c90
mov rdi, qword [rsp + 0x70]
mov r13, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x38]
mov ebx, dword [r14 + 0x14]
sub ebx, 1
js 0x180136d08
mov r15, qword [rsp + 0x58]
nop word [rax + rax]
mov r8d, ebx
mov rdx, r14
mov rcx, r15
call fcn.18012b690
sub ebx, 1
jns 0x180136cf0
mov r15, qword [rsp + 0x78]
test rbp, rbp
je 0x180136d1f
cmp qword [rbp + 0x60], 0
je 0x180136d1f
mov rdx, rbp
mov rcx, r14
call fcn.18012d9b0
cmp dword [rsi + 0x30], 0
jne 0x180137a22
xor ecx, ecx
mov ebp, ecx
cmp dword [r14 + 0x1c], ecx
jle 0x180136e52
mov rdi, qword [rsp + 0x78]
lea rdx, [0x180136300]
mov r13, qword [rsp + 0x58]
lea r8, [0x1800c89d0]
mov r12d, dword [rsp + 0x44]
mov r15d, ecx
nop word [rax + rax]
mov rbx, qword [r14 + 0x20]
add rbx, r15
test byte [rbx + 0x12], 2
jne 0x180136e1b
cmp qword [rbx + 0x30], 0
mov rsi, qword [rbx]
jne 0x180136e16
test r12d, r12d
je 0x180136de8
mov qword [rsp + 0x90], rcx
mov eax, 1
mov word [rsp + 0xb4], ax
mov qword [rsp + 0xa8], rcx
mov dword [rsp + 0xb0], ecx
mov qword [rsp + 0xb6], rcx
mov word [rsp + 0xbe], cx
mov qword [rsp + 0x98], rdx
mov qword [rsp + 0xa0], r8
test rsi, rsi
je 0x180136de8
mov rdx, rsi
lea rcx, [rsp + 0x90]
call fcn.1800c0dc0
cmp word [rsp + 0xb4], 0
je 0x180136e16
test byte [rsi + 4], 2
je 0x180136df5
test byte [r13 + 0x44], 0x40
jne 0x180136e16
mov r8d, dword [rdi + 0x34]
mov rdx, rsi
mov rsi, qword [rsp + 0x38]
mov r9d, reloc.WS2_32.dll_recv
mov rcx, rsi
call fcn.1800d0030
or word [rbx + 0x12], 4
jmp 0x180136e1b
mov rsi, qword [rsp + 0x38]
inc ebp
lea rdx, [0x180136300]
add r15, 0x38
lea r8, [0x1800c89d0]
mov ecx, 0
cmp ebp, dword [r14 + 0x1c]
jl 0x180136d60
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x68]
mov r13, qword [rsp + 0x50]
mov r15, qword [rsp + 0x78]
movzx ebp, word [rsp + 0x30]
bt bp, 8
mov rbx, qword [rsp + 0x48]
jae 0x180136e7f
test byte [rbx + 0x60], 0x10
je 0x180136f0b
mov eax, 0xfeff
and bp, ax
and word [r15 + 0x3c], ax
mov word [rsp + 0x30], bp
mov r14, qword [rsp + 0x58]
mov r12d, dword [rsp + 0x44]
cmp r12d, 1
jne 0x180136ea4
lea rcx, [rsp + 0xc0]
call fcn.1801360a0
test eax, eax
jne 0x180136f4b
lea rcx, [rsp + 0xc0]
call fcn.180134810
test eax, eax
jne 0x180137a22
xor edx, edx
mov rcx, r15
call fcn.180135520
cmp byte [rbx + 0x67], 0
jne 0x180137a22
cmp qword [r15 + 0x10], 0
je 0x180136ef6
mov rcx, r15
call fcn.180136030
movzx edx, word [r15 + 0x48]
mov rcx, r15
inc dx
call fcn.180135520
cmp byte [rbx + 0x67], 0
jne 0x180137a22
mov r11d, 0x100
test word [r15 + 0x3c], r11w
je 0x180136f51
add word [r15 + 0x48], 0xffe2
jmp 0x180136f51
mov r8, r14
mov r9, r13
mov r14, qword [rsp + 0x58]
mov rcx, rsi
mov rdx, r14
call fcn.18012ecd0
test eax, eax
je 0x180136f2f
mov byte [r15 + 0x43], 1
jmp 0x180136e84
test r12, r12
jne 0x180136e84
mov eax, 0x80
mov qword [r15 + 0x10], r13
or word [r15 + 0x3c], ax
jmp 0x180136e84
mov r11d, 0x100
cmp qword [r15 + 0x10], 0
jne 0x180136f6a
mov eax, dword [rbx + 0x30]
bt rax, 0xc
jae 0x180136f6a
mov rcx, r15
call fcn.180136970
cmp dword [rsi + 0x30], 0
jne 0x180137a22
movzx eax, byte [r15 + 0x40]
mov qword [rsp + 0x70], 0xffffffffffffffff
cmp al, 2
jb 0x180136fd9
test r13, r13
je 0x180136fc2
movzx eax, bp
mov ecx, 0x400
and ax, cx
xor edx, edx
cmp dx, ax
jne 0x180136fc2
test dword [rbx + 0x60], r11d
jne 0x180136fc2
mov rcx, r15
call fcn.180136320
movzx r12d, byte [r15 + 0x40]
mov qword [rsp + 0x70], rax
movzx eax, r12b
mov dword [rsp + 0x44], r12d
cmp al, 2
jb 0x180136fd9
mov r8, qword [rsp + 0x48]
test dword [r8 + 0x60], 0x80000
jne 0x180136fde
mov rcx, r15
call fcn.180136560
mov r8, qword [rsp + 0x48]
mov rcx, qword [r15]
xor r10d, r10d
movzx eax, word [r15 + 0x48]
movzx r9d, word [rsp + 0x30]
mov word [rsp + 0x40], r10w
add word [rcx + 0xe0], ax
test r9b, 4
je 0x180137092
mov rdx, qword [r15 + 0x3c0]
mov ecx, dword [rdx + 0x38]
test ecx, 0x1000
jne 0x18013705b
mov dword [rsp + 0x40], r10d
test r9b, 8
je 0x180137092
mov rax, qword [r14 + 0x28]
mov word [rsp + 0x40], r10w
cmp byte [rax + 0x3f], 1
je 0x180137092
bt ecx, 0xd
jae 0x180137045
mov word [rsp + 0x40], r10w
test r9b, 0x10
je 0x180137092
test dword [r8 + 0x60], 0x8000000
mov word [rsp + 0x40], r10w
jne 0x180137092
test ecx, 0x1000
sete al
mov word [rsp + 0x40], r10w
inc al
mov byte [r15 + 0x42], al
mov rax, qword [r14 + 0x28]
test byte [rax + 0x30], 0x80
jne 0x180137092
mov word [rsp + 0x40], r10w
test cl, 0x40
je 0x180137092
and ecx, 0xffffffbf
movzx eax, r9w
and ax, 8
mov dword [rdx + 0x38], ecx
mov word [rsp + 0x40], ax
mov dword [rsp + 0x80], r10d
lea rbx, [r15 + 0x360]
mov qword [rsp + 0x68], rbx
test r12d, r12d
jle 0x18013782b
jmp 0x1801370b6
mov r8, qword [rsp + 0x48]
movzx eax, byte [rbx + 0x40]
lea rsi, [r14 + 8]
imul rcx, rax, 0x68
mov rdx, 0xffffffffffff8000
add rsi, rcx
mov r12d, edx
mov qword [rsp + 0x60], rsi
mov r14, qword [rsi + 0x20]
mov qword [rsp + 0x50], r14
mov rcx, qword [r14 + 0x60]
test rcx, rcx
je 0x18013710f
mov rax, qword [r8 + 0x20]
mov r12d, r10d
add rax, 0x18
mov rdx, r10
cmp qword [rax], rcx
je 0x18013710f
nop dword [rax]
inc r12d
lea rax, [rax + 0x20]
inc rdx
cmp qword [rax], rcx
jne 0x180137100
test dword [r14 + 0x30], 0x4000
mov rbp, qword [rbx + 0x60]
mov qword [rsp + 0x88], rbp
jne 0x180137332
movzx eax, byte [r14 + 0x3f]
cmp al, 2
je 0x180137332
mov ecx, dword [rbp + 0x38]
bt ecx, 0xa
jae 0x180137229
mov rbx, qword [r14 + 0x50]
test rbx, rbx
je 0x18013715e
nop dword [rax]
cmp qword [rbx], r8
je 0x18013715e
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x180137150
movsxd rdx, dword [rdi + 0x90]
mov r8d, dword [rsi + 0x44]
cmp dword [rdi + 0x94], edx
jg 0x18013718a
xor r9d, r9d
mov dword [rsp + 0x20], r10d
mov edx, 0xad
mov rcx, rdi
call fcn.1800ab710
mov edx, eax
jmp 0x1801371b8
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rdi + 0x90], eax
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0xad
mov dword [rax + rcx*8 + 4], r8d
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r10
mov r9d, 0xfffffff5
mov r8, rbx
mov rcx, rdi
call fcn.1800ac790
mov r13, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x68]
movzx r9d, word [rsp + 0x30]
test dword [rbp + 0x38], 0x200
je 0x1801374fa
mov rax, qword [rsp + 0x50]
mov r14d, reloc.WS2_32.dll_WSASetLastError
mov rbp, qword [rbp + 0x20]
test byte [rax + 0x30], 0x80
je 0x18013733c
mov eax, dword [rbp + 0x64]
and al, 3
cmp al, 2
jne 0x18013733c
test r9b, 0x20
je 0x18013733c
mov eax, dword [rbx + 4]
mov rbp, qword [rsp + 0x88]
mov dword [rbx + 8], eax
jmp 0x1801374f5
cmp al, 1
je 0x180137332
test cl, 0x40
jne 0x18013723c
test r9b, 0x20
je 0x180137246
test byte [rsi + 0x3c], 0x50
je 0x1801372e9
cmp byte [r15 + 0x42], 0
mov ecx, reloc.WS2_32.dll_WSASetLastError
je 0x18013725e
mov eax, dword [rsi + 0x44]
mov ecx, WSACleanup
mov dword [r15 + 0x28], eax
mov r13, qword [rsp + 0x38]
mov r9, r14
mov edx, dword [rsi + 0x44]
mov r8d, r12d
mov dword [rsp + 0x20], ecx
mov rcx, r13
call fcn.1800f3610
cmp byte [r15 + 0x42], 0
jne 0x1801372c1
cmp word [r14 + 0x36], 0x40
jge 0x1801372c1
test byte [r14 + 0x30], 0xe0
jne 0x1801372c1
test dword [rbp + 0x38], 0x404000
jne 0x1801372c1
mov rax, qword [rsi + 0x50]
xor edx, edx
mov ecx, edx
test rax, rax
je 0x1801372ab
inc ecx
shr rax, 1
jne 0x1801372a4
movsxd r8, ecx
mov edx, 0xffffffff
mov rcx, rdi
mov r9d, 0xfffffffd
call fcn.1800ac790
movsxd rax, dword [rdi + 0x90]
test eax, eax
jle 0x1801371d3
mov edx, dword [rsp + 0x40]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov word [rax + rcx*8 - 0x16], dx
jmp 0x1801371d3
mov r13, qword [rsp + 0x38]
cmp r12d, 1
je 0x1801371d9
mov rax, qword [r13]
shl rdx, 5
mov rcx, qword [rax + 0x20]
mov rax, qword [rdx + rcx + 8]
cmp byte [rax + 0x11], 0
je 0x1801371d9
mov rax, qword [r14]
xor r9d, r9d
mov r8d, dword [r14 + 0x28]
mov edx, r12d
mov rcx, r13
mov qword [rsp + 0x20], rax
call fcn.1800db6e0
jmp 0x1801371d3
mov r13, qword [rsp + 0x38]
jmp 0x1801371d9
cmp byte [r15 + 0x42], 0
je 0x180137375
mov rax, qword [rsi + 0x20]
mov ebx, dword [rsp + 0x168]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x180137367
cmp rcx, rbp
je 0x180137367
mov rcx, qword [rcx + 0x28]
inc ebx
test rcx, rcx
jne 0x180137357
mov r14d, WSACleanup
mov dword [r15 + 0x2c], ebx
mov esi, ebx
jmp 0x1801373f4
mov eax, dword [rsp + 0x168]
test eax, eax
je 0x180137392
test r9b, 0x20
je 0x180137392
mov ebx, eax
mov r14d, 0x65
mov esi, eax
jmp 0x1801373f4
mov ebx, dword [r13 + 0x34]
mov esi, ebx
lea eax, [rbx + 1]
mov dword [r13 + 0x34], eax
test dword [rbp + 0x64], 0x1000
je 0x1801373c9
mov rax, qword [rsp + 0x48]
test dword [rax + 0x60], 0x1000000
jne 0x1801373c9
mov r9, qword [rsp + 0x60]
mov r8d, ebx
mov rdx, rbp
mov rcx, r13
call fcn.180136680
mov r8, qword [rbp + 0x48]
test r8, r8
je 0x1801373f4
mov rax, qword [rsp + 0x60]
test byte [rax + 0x3c], 0x10
jne 0x1801373f4
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov rdx, rbp
mov dword [rsp + 0x20], ebx
mov rcx, r13
call fcn.180132b40
mov rax, qword [rsp + 0x68]
mov dword [rax + 8], esi
movsxd rcx, dword [rdi + 0x90]
mov r8d, dword [rbp + 0x58]
cmp dword [rdi + 0x94], ecx
jg 0x180137427
mov r9d, r8d
mov dword [rsp + 0x20], r12d
mov r8d, ebx
mov edx, r14d
mov rcx, rdi
call fcn.1800ab710
jmp 0x18013745d
lea eax, [rcx + 1]
xor edx, edx
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov byte [rax + rcx*8], r14b
mov word [rax + rcx*8 + 2], dx
mov dword [rax + rcx*8 + 4], ebx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
mov rbx, qword [r13 + 0x10]
mov rdx, rbp
mov rcx, r13
call fcn.1800e6830
mov rdx, rax
test rax, rax
je 0x1801374a8
mov rcx, qword [rbx]
cmp byte [rcx + 0x67], 0
je 0x18013748c
mov r8, rax
mov edx, 0xfffffff8
call fcn.1800ac220
jmp 0x1801374a8
movsxd rax, dword [rbx + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov byte [rax + rcx*8 - 0x17], 0xf8
mov qword [rax + rcx*8 - 8], rdx
mov rbp, qword [rsp + 0x88]
mov eax, dword [rbp + 0x38]
test al, 0xf
je 0x1801374f0
test eax, 0x188002
jne 0x1801374f0
test byte [r15 + 0x3c], 1
jne 0x1801374f0
cmp byte [r15 + 0x43], 2
je 0x1801374f0
movsxd rax, dword [rdi + 0x90]
mov rsi, qword [rsp + 0x60]
test eax, eax
jle 0x1801374f5
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov word [rax + rcx*8 - 0x16], 2
jmp 0x1801374f5
mov rsi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x50]
test r12d, r12d
js 0x180137531
mov rax, qword [r13 + 0xb0]
mov rcx, r13
test rax, rax
cmovne rcx, rax
mov eax, dword [rcx + 0x84]
bt eax, r12d
jb 0x180137531
bts eax, r12d
mov dword [rcx + 0x84], eax
cmp r12d, 1
jne 0x180137531
call fcn.1800e5e50
test byte [rsi + 0x3c], 0x10
je 0x1801377e6
mov rcx, qword [r15]
mov edx, 0x24
mov rcx, qword [rcx]
call fcn.18007d7c0
mov rsi, rax
test rax, rax
je 0x18013756a
mov rcx, qword [r15 + 0x60]
add rsi, 0x10
mov qword [rax], rcx
mov qword [rax + 8], shutdown
mov qword [r15 + 0x60], rax
mov rax, qword [rsp + 0x68]
mov qword [rax + 0x38], rsi
test rsi, rsi
je 0x1801377e6
mov eax, dword [r13 + 0x34]
xor r12d, r12d
mov dword [rsi], eax
mov edx, dword [r13 + 0x38]
inc dword [r13 + 0x34]
inc edx
mov dword [r13 + 0x38], edx
mov dword [rsi + 4], edx
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x1801375c2
mov r9d, edx
mov dword [rsp + 0x20], r12d
mov edx, 0x4d
mov r8d, 0x10000
mov rcx, rdi
call fcn.1800ab710
jmp 0x1801375f3
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x4d
mov dword [rax + rcx*8 + 4], 0x10000
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r12
inc dword [r13 + 0x38]
mov edx, dword [r13 + 0x38]
mov dword [rsi + 8], edx
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x180137627
mov r9d, edx
mov dword [rsp + 0x20], r12d
mov edx, 0x4b
xor r8d, r8d
mov rcx, rdi
call fcn.1800ab710
jmp 0x180137651
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov qword [rax + rcx*8], 0x4b
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r12
test byte [r14 + 0x30], 0x80
jne 0x180137711
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [rsi]
cmp dword [rdi + 0x94], ecx
jg 0x18013768a
mov r8d, edx
mov dword [rsp + 0x20], r12d
mov edx, 0x76
mov r9d, 1
mov rcx, rdi
call fcn.1800ab710
jmp 0x1801376b7
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x76
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 1
mov qword [rax + rcx*8 + 0x10], r12
mov rcx, qword [r13]
xor r8d, r8d
mov edx, 1
call fcn.180109370
mov rdx, rax
test rax, rax
je 0x1801377d8
mov rcx, qword [rax + 0x18]
mov qword [rax + 0x20], r12
mov byte [rcx], 0
mov rcx, qword [rdi]
cmp byte [rcx + 0x67], 0
je 0x1801376fa
mov r8, rax
mov edx, 0xfffffff8
call fcn.1800ac220
jmp 0x1801377d8
movsxd rax, dword [rdi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
jmp 0x1801377ce
mov rbx, qword [r14 + 0x10]
test rbx, rbx
je 0x180137732
nop word [rax + rax]
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x180137732
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x180137720
movsxd rcx, dword [rdi + 0x90]
movzx edx, word [rbx + 0x5e]
mov r8d, dword [rsi]
cmp dword [rdi + 0x94], ecx
jg 0x18013775f
mov r9d, edx
mov dword [rsp + 0x20], r12d
mov edx, 0x76
mov rcx, rdi
call fcn.1800ab710
jmp 0x18013778d
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x76
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r12
mov rsi, qword [r13 + 0x10]
mov rdx, rbx
mov rcx, r13
call fcn.1800e6830
mov rdx, rax
test rax, rax
je 0x1801377d8
mov rcx, qword [rsi]
cmp byte [rcx + 0x67], 0
je 0x1801377bc
mov r8, rax
mov edx, 0xfffffff8
call fcn.1800ac220
jmp 0x1801377d8
movsxd rax, dword [rsi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
mov qword [rax + rcx*8 - 8], rdx
mov byte [rax + rcx*8 - 0x17], 0xf8
and dword [rbp + 0x38], 0xffffffbf
mov byte [r15 + 0x41], 0
mov byte [r15 + 0x43], 3
mov r10d, dword [rsp + 0x80]
mov rbx, qword [rsp + 0x68]
inc r10d
mov r12d, dword [rsp + 0x44]
add rbx, 0x70
mov r14, qword [rsp + 0x58]
cmp r10d, r12d
movzx r9d, word [rsp + 0x30]
mov dword [rsp + 0x80], r10d
mov r10d, 0
mov qword [rsp + 0x68], rbx
jl 0x1801370b1
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x48]
mov eax, dword [rdi + 0x90]
mov dword [r15 + 0x4c], eax
cmp byte [rbp + 0x67], 0
jne 0x180137a22
mov r14d, r10d
test r12d, r12d
jle 0x180137ae2
mov r13, qword [rsp + 0x58]
lea r12, [r15 + 0x70]
lea rbx, [r15 + 0x360]
cmp dword [rsi + 0x30], 0
jne 0x180137a22
mov rax, qword [rbx + 0x60]
mov r15d, dword [rax + 0x38]
movzx eax, byte [rbx + 0x40]
imul rsi, rax, 0x68
add rsi, r13
mov eax, dword [rsi + 0x48]
test al, 0x10
je 0x1801379db
test al, 8
je 0x1801378ef
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [rsi + 0x38]
mov r8d, dword [rsi + 0x3c]
cmp dword [rdi + 0x94], ecx
jg 0x1801378bc
mov r9d, edx
mov dword [rsp + 0x20], r10d
mov edx, 0xa
mov rcx, rdi
call fcn.1800ab710
jmp 0x1801379db
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0xa
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
jmp 0x1801379db
movsxd rbp, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ebp
jg 0x18013791d
xor r9d, r9d
mov dword [rsp + 0x20], r10d
xor r8d, r8d
mov edx, reloc.WS2_32.dll_ntohs
mov rcx, rdi
call fcn.1800ab710
mov ebp, eax
xor r10d, r10d
jmp 0x18013794e
lea eax, [rbp + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rbp*2]
mov rax, qword [rdi + 0x88]
add rcx, rbp
mov qword [rax + rcx*8], reloc.WS2_32.dll_ntohs
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r10
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [rsi + 0x38]
mov r8d, dword [rsi + 0x3c]
cmp dword [rdi + 0x94], ecx
jg 0x18013797b
mov r9d, edx
mov dword [rsp + 0x20], r10d
mov edx, 0xa
mov rcx, rdi
call fcn.1800ab710
jmp 0x1801379a9
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0xa
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
mov rax, qword [rdi]
mov edx, dword [rdi + 0x90]
cmp byte [rax + 0x67], 0
je 0x1801379c1
lea rax, [0x180251970]
jmp 0x1801379d3
movsxd rax, ebp
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
lea rax, [rax + rcx*8]
mov rbp, qword [rsp + 0x48]
mov dword [rax + 8], edx
test r15d, 0x404000
je 0x180137a77
bt r15d, 0xe
mov r15, qword [rsp + 0x70]
jae 0x180137a09
mov rcx, qword [rsp + 0x38]
mov r9, rbx
mov r8, r15
mov rdx, r12
call fcn.18012f060
jmp 0x180137a1c
mov rcx, qword [rsp + 0x78]
mov r9, r15
mov r8, rbx
mov edx, r14d
call fcn.18012ff60
cmp byte [rbp + 0x67], 0
je 0x180137a7c
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x38]
movzx eax, word [rcx + 0x38]
mov word [rdx + 0xe0], ax
mov rdx, rcx
mov rcx, qword [rsp + 0x48]
call fcn.180131040
xor eax, eax
mov rbx, qword [rsp + 0x148]
mov r15, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.18017b580
add rsp, 0xf8
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r15, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x38]
mov r8, rbx
movzx r9d, word [rsp + 0x30]
mov rcx, rsi
mov rdx, r13
call fcn.180123b70
mov eax, dword [rdi + 0x90]
mov r9d, r14d
mov qword [rsp + 0x28], r15
mov rdx, rdi
mov r15, qword [rsp + 0x78]
mov rcx, rsi
mov r8, r15
mov dword [rbx + 0x20], eax
mov qword [rsp + 0x20], rbx
call fcn.180125b20
mov qword [rsp + 0x70], rax
inc r14d
mov eax, dword [rbx + 0x18]
mov r10d, 0
add rbx, 0x70
mov dword [r15 + 0x30], eax
cmp r14d, dword [rsp + 0x44]
jl 0x180137860
mov eax, dword [rdi + 0x90]
mov dword [r15 + 0x50], eax
mov rax, r15
jmp 0x180137a46