Function at 0x1801364c0
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 [0x180243280]
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 0x18013655c
cmp dword [r9], 0x40
jl 0x18013655c
mov r12d, edx
mov qword [rsp + 0x68], rdx
movzx edx, word [rsp + 0x160]
and dx, r8w
jmp 0x180136564
movzx edx, word [rsp + 0x160]
mov r8d, dword [rax]
mov word [rsp + 0x30], dx
mov dword [rsp + 0x40], r8d
cmp r8d, 0x40
jle 0x180136593
mov r8d, 0x40
lea rdx, str.at_most__d_tables_in_a_join
mov rcx, r14
call fcn.1800817d0
xor eax, eax
jmp 0x180137545
mov qword [rsp + 0x148], rbx
mov eax, 1
mov qword [rsp + 0xf0], r15
test dl, 0x20
je 0x1801365b8
mov dword [rsp + 0x40], eax
mov eax, 0x3d0
jmp 0x1801365d1
mov eax, 0x3d0
cmp r8d, 1
jle 0x1801365d1
imul eax, r8d, 0x70
mov dword [rsp + 0x40], r8d
add eax, 0x360
movsxd rbx, eax
lea rdx, [rbx + 0x70]
call fcn.18007dc20
mov r15, rax
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x48]
cmp byte [rax + 0x67], 0
je 0x180136609
test r15, r15
je 0x180137533
mov rdx, r15
mov rcx, rax
call fcn.18007d740
jmp 0x180137533
mov rax, qword [rsp + 0x58]
xorps xmm0, xmm0
movsxd rcx, dword [rsp + 0x40]
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.1801db010
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.18012d0b0
cmp dword [rsp + 0x40], 0
mov ecx, 0x100
mov edx, 0x400
jne 0x180136772
test r12, r12
je 0x180136731
movzx eax, byte [r12]
mov byte [r15 + 0x41], al
test word [rsp + 0x30], cx
je 0x180136748
mov rax, qword [rsp + 0x48]
test byte [rax + 0x60], 0x10
jne 0x180136748
mov byte [r15 + 0x43], 1
mov rax, qword [r15 + 0x20]
test rax, rax
je 0x1801367cb
mov rsi, qword [rsp + 0x38]
test dword [rax + 4], edx
jne 0x1801367d0
lea r8, str.SCAN_CONSTANT_ROW
xor edx, edx
mov rcx, rsi
call fcn.1800ac050
jmp 0x1801367d0
mov r13, qword [rsp + 0x58]
xor edx, edx
mov rdi, qword [rsp + 0x38]
mov ebx, edx
lea rsi, [r13 + 0x4c]
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.18012da50
inc ebx
lea rsi, [rsi + 0x68]
cmp ebx, dword [r13]
jl 0x180136784
mov rdi, qword [rsp + 0x70]
mov r13, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x38]
mov ebx, dword [r14 + 0x14]
sub ebx, 1
js 0x1801367f8
mov r15, qword [rsp + 0x58]
nop
mov r8d, ebx
mov rdx, r14
mov rcx, r15
call fcn.18012b2c0
sub ebx, 1
jns 0x1801367e0
mov r15, qword [rsp + 0x78]
test rbp, rbp
je 0x18013680f
cmp qword [rbp + 0x60], 0
je 0x18013680f
mov rdx, rbp
mov rcx, r14
call fcn.18012d5e0
cmp dword [rsi + 0x30], 0
jne 0x180137511
xor ecx, ecx
mov ebp, ecx
cmp dword [r14 + 0x1c], ecx
jle 0x180136942
mov rdi, qword [rsp + 0x78]
lea rdx, [0x180135df0]
mov r13, qword [rsp + 0x58]
lea r8, [0x1800c8b80]
mov r12d, dword [rsp + 0x40]
mov r15d, ecx
nop word [rax + rax]
mov rbx, qword [r14 + 0x20]
add rbx, r15
test byte [rbx + 0x12], 2
jne 0x18013690b
cmp qword [rbx + 0x30], 0
mov rsi, qword [rbx]
jne 0x180136906
test r12d, r12d
je 0x1801368d8
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 0x1801368d8
mov rdx, rsi
lea rcx, [rsp + 0x90]
call fcn.1800c0fd0
cmp word [rsp + 0xb4], 0
je 0x180136906
test byte [rsi + 4], 2
je 0x1801368e5
test byte [r13 + 0x44], 0x40
jne 0x180136906
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.1800d02b0
or word [rbx + 0x12], 4
jmp 0x18013690b
mov rsi, qword [rsp + 0x38]
inc ebp
lea rdx, [0x180135df0]
add r15, 0x38
lea r8, [0x1800c8b80]
mov ecx, 0
cmp ebp, dword [r14 + 0x1c]
jl 0x180136850
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 0x18013696f
test byte [rbx + 0x60], 0x10
je 0x1801369fb
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 + 0x40]
cmp r12d, 1
jne 0x180136994
lea rcx, [rsp + 0xc0]
call fcn.180135b90
test eax, eax
jne 0x180136a3b
lea rcx, [rsp + 0xc0]
call fcn.1801342d0
test eax, eax
jne 0x180137511
xor edx, edx
mov rcx, r15
call fcn.180135000
cmp byte [rbx + 0x67], 0
jne 0x180137511
cmp qword [r15 + 0x10], 0
je 0x1801369e6
mov rcx, r15
call fcn.180135b20
movzx edx, word [r15 + 0x48]
mov rcx, r15
inc dx
call fcn.180135000
cmp byte [rbx + 0x67], 0
jne 0x180137511
mov r11d, 0x100
test word [r15 + 0x3c], r11w
je 0x180136a41
add word [r15 + 0x48], 0xffe2
jmp 0x180136a41
mov r8, r14
mov r9, r13
mov r14, qword [rsp + 0x58]
mov rcx, rsi
mov rdx, r14
call fcn.18012e8f0
test eax, eax
je 0x180136a1f
mov byte [r15 + 0x43], 1
jmp 0x180136974
test r12, r12
jne 0x180136974
mov eax, 0x80
mov qword [r15 + 0x10], r13
or word [r15 + 0x3c], ax
jmp 0x180136974
mov r11d, 0x100
cmp qword [r15 + 0x10], 0
jne 0x180136a5a
mov eax, dword [rbx + 0x30]
bt rax, 0xc
jae 0x180136a5a
mov rcx, r15
call fcn.180136460
cmp dword [rsi + 0x30], 0
jne 0x180137511
movzx eax, byte [r15 + 0x40]
mov qword [rsp + 0x70], 0xffffffffffffffff
cmp al, 2
jb 0x180136ac9
test r13, r13
je 0x180136ab2
movzx eax, bp
mov ecx, 0x400
and ax, cx
xor edx, edx
cmp dx, ax
jne 0x180136ab2
test dword [rbx + 0x60], r11d
jne 0x180136ab2
mov rcx, r15
call fcn.180135e10
movzx r12d, byte [r15 + 0x40]
mov qword [rsp + 0x70], rax
movzx eax, r12b
mov dword [rsp + 0x40], r12d
cmp al, 2
jb 0x180136ac9
mov r8, qword [rsp + 0x48]
test dword [r8 + 0x60], 0x80000
jne 0x180136ace
mov rcx, r15
call fcn.180136050
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 + 0x44], r10w
add word [rcx + 0xe0], ax
test r9b, 4
je 0x180136b82
mov rdx, qword [r15 + 0x3c0]
mov ecx, dword [rdx + 0x38]
test ecx, 0x1000
jne 0x180136b4b
mov dword [rsp + 0x44], r10d
test r9b, 8
je 0x180136b82
mov rax, qword [r14 + 0x28]
mov word [rsp + 0x44], r10w
cmp byte [rax + 0x3f], 1
je 0x180136b82
bt ecx, 0xd
jae 0x180136b35
mov word [rsp + 0x44], r10w
test r9b, 0x10
je 0x180136b82
test dword [r8 + 0x60], 0x8000000
mov word [rsp + 0x44], r10w
jne 0x180136b82
test ecx, 0x1000
sete al
mov word [rsp + 0x44], r10w
inc al
mov byte [r15 + 0x42], al
mov rax, qword [r14 + 0x28]
test byte [rax + 0x30], 0x80
jne 0x180136b82
mov word [rsp + 0x44], r10w
test cl, 0x40
je 0x180136b82
and ecx, 0xffffffbf
movzx eax, r9w
and ax, 8
mov dword [rdx + 0x38], ecx
mov word [rsp + 0x44], ax
mov dword [rsp + 0x80], r10d
lea rbx, [r15 + 0x360]
mov qword [rsp + 0x68], rbx
test r12d, r12d
jle 0x18013731b
jmp 0x180136ba6
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 0x180136bff
mov rax, qword [r8 + 0x20]
mov r12d, r10d
add rax, 0x18
mov rdx, r10
cmp qword [rax], rcx
je 0x180136bff
nop dword [rax]
inc r12d
lea rax, [rax + 0x20]
inc rdx
cmp qword [rax], rcx
jne 0x180136bf0
test dword [r14 + 0x30], 0x4000
mov rbp, qword [rbx + 0x60]
mov qword [rsp + 0x88], rbp
jne 0x180136e20
movzx eax, byte [r14 + 0x3f]
cmp al, 2
je 0x180136e20
mov ecx, dword [rbp + 0x38]
bt ecx, 0xa
jae 0x180136d19
mov rbx, qword [r14 + 0x50]
test rbx, rbx
je 0x180136c4e
nop dword [rax]
cmp qword [rbx], r8
je 0x180136c4e
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x180136c40
movsxd rdx, dword [rdi + 0x90]
mov r8d, dword [rsi + 0x44]
cmp dword [rdi + 0x94], edx
jg 0x180136c7a
xor r9d, r9d
mov dword [rsp + 0x20], r10d
mov edx, 0xad
mov rcx, rdi
call fcn.1800aba20
mov edx, eax
jmp 0x180136ca8
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.1800acab0
mov r13, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x68]
movzx r9d, word [rsp + 0x30]
test dword [rbp + 0x38], 0x200
je 0x180136feb
mov rax, qword [rsp + 0x50]
mov r14d, reloc.WS2_32.dll_WSASetLastError
mov rbp, qword [rbp + 0x20]
test byte [rax + 0x30], 0x80
je 0x180136e2a
mov eax, dword [rbp + 0x64]
and al, 3
cmp al, 2
jne 0x180136e2a
test r9b, 0x20
je 0x180136e2a
mov eax, dword [rbx + 4]
mov rbp, qword [rsp + 0x88]
mov dword [rbx + 8], eax
jmp 0x180136fe6
cmp al, 1
je 0x180136e20
test cl, 0x40
jne 0x180136d2c
test r9b, 0x20
je 0x180136d36
test byte [rsi + 0x3c], 0x50
je 0x180136dd7
cmp byte [r15 + 0x42], 0
mov ecx, reloc.WS2_32.dll_WSASetLastError
je 0x180136d4e
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.1800f3580
cmp byte [r15 + 0x42], 0
jne 0x180136daf
cmp word [r14 + 0x36], 0x40
jge 0x180136daf
test byte [r14 + 0x30], 0xe0
jne 0x180136daf
test dword [rbp + 0x38], 0x404000
jne 0x180136daf
mov rax, qword [rsi + 0x50]
xor edx, edx
mov ecx, edx
test rax, rax
je 0x180136d9b
inc ecx
shr rax, 1
jne 0x180136d94
mov edx, 0xffffffff
movsxd r8, ecx
mov rcx, rdi
lea r9d, [rdx - 2]
call fcn.1800acab0
movsxd rax, dword [rdi + 0x90]
test eax, eax
jle 0x180136cc3
mov edx, dword [rsp + 0x44]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov word [rax + rcx*8 - 0x16], dx
jmp 0x180136cc3
mov r13, qword [rsp + 0x38]
cmp r12d, 1
je 0x180136cc9
mov rax, qword [r13]
shl rdx, 5
mov rcx, qword [rax + 0x20]
mov rax, qword [rdx + rcx + 8]
cmp byte [rax + 0x11], 0
je 0x180136cc9
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.1800db820
jmp 0x180136cc3
mov r13, qword [rsp + 0x38]
jmp 0x180136cc9
cmp byte [r15 + 0x42], 0
je 0x180136e66
mov rax, qword [rsi + 0x20]
mov ebx, dword [rsp + 0x168]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x180136e55
cmp rcx, rbp
je 0x180136e55
mov rcx, qword [rcx + 0x28]
inc ebx
test rcx, rcx
jne 0x180136e45
mov r14d, WSACleanup
mov dword [r15 + 0x2c], ebx
mov esi, ebx
jmp 0x180136ee5
mov eax, dword [rsp + 0x168]
test eax, eax
je 0x180136e83
test r9b, 0x20
je 0x180136e83
mov ebx, eax
mov r14d, 0x65
mov esi, eax
jmp 0x180136ee5
mov ebx, dword [r13 + 0x34]
mov esi, ebx
lea eax, [rbx + 1]
mov dword [r13 + 0x34], eax
test dword [rbp + 0x64], 0x1000
je 0x180136eba
mov rax, qword [rsp + 0x48]
test dword [rax + 0x60], 0x1000000
jne 0x180136eba
mov r9, qword [rsp + 0x60]
mov r8d, ebx
mov rdx, rbp
mov rcx, r13
call fcn.180136170
mov r8, qword [rbp + 0x48]
test r8, r8
je 0x180136ee5
mov rax, qword [rsp + 0x60]
test byte [rax + 0x3c], 0x10
jne 0x180136ee5
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov rdx, rbp
mov dword [rsp + 0x20], ebx
mov rcx, r13
call fcn.180132780
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 0x180136f18
mov r9d, r8d
mov dword [rsp + 0x20], r12d
mov r8d, ebx
mov edx, r14d
mov rcx, rdi
call fcn.1800aba20
jmp 0x180136f4e
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.1800e67b0
mov rdx, rax
test rax, rax
je 0x180136f99
mov rcx, qword [rbx]
cmp byte [rcx + 0x67], 0
je 0x180136f7d
mov r8, rax
mov edx, 0xfffffff8
call fcn.1800ac540
jmp 0x180136f99
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 0x180136fe1
test eax, 0x188002
jne 0x180136fe1
test byte [r15 + 0x3c], 1
jne 0x180136fe1
cmp byte [r15 + 0x43], 2
je 0x180136fe1
movsxd rax, dword [rdi + 0x90]
mov rsi, qword [rsp + 0x60]
test eax, eax
jle 0x180136fe6
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov word [rax + rcx*8 - 0x16], 2
jmp 0x180136fe6
mov rsi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x50]
test r12d, r12d
js 0x180137022
mov rax, qword [r13 + 0xb0]
mov rcx, r13
test rax, rax
cmovne rcx, rax
mov eax, dword [rcx + 0x84]
bt eax, r12d
jb 0x180137022
bts eax, r12d
mov dword [rcx + 0x84], eax
cmp r12d, 1
jne 0x180137022
call fcn.1800e5dd0
test byte [rsi + 0x3c], 0x10
je 0x1801372d6
mov rcx, qword [r15]
mov edx, 0x24
mov rcx, qword [rcx]
call fcn.18007dc20
mov rsi, rax
test rax, rax
je 0x18013705b
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 0x1801372d6
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 0x1801370b3
mov r9d, edx
mov dword [rsp + 0x20], r12d
lea edx, [r12 + 0x4d]
mov r8d, 0x10000
mov rcx, rdi
call fcn.1800aba20
jmp 0x1801370e4
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 0x180137117
xor r8d, r8d
mov dword [rsp + 0x20], r12d
mov r9d, edx
mov rcx, rdi
lea edx, [r8 + 0x4b]
call fcn.1800aba20
jmp 0x180137141
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 0x1801371ff
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [rsi]
cmp dword [rdi + 0x94], ecx
jg 0x180137179
mov r9d, 1
mov dword [rsp + 0x20], r12d
mov r8d, edx
mov rcx, rdi
lea edx, [r9 + 0x75]
call fcn.1800aba20
jmp 0x1801371a6
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
lea edx, [r8 + 1]
call fcn.180109250
mov rdx, rax
test rax, rax
je 0x1801372c8
mov rcx, qword [rax + 0x18]
mov qword [rax + 0x20], r12
mov byte [rcx], 0
mov rcx, qword [rdi]
cmp byte [rcx + 0x67], 0
je 0x1801371e8
mov r8, rax
mov edx, 0xfffffff8
call fcn.1800ac540
jmp 0x1801372c8
movsxd rax, dword [rdi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
jmp 0x1801372be
mov rbx, qword [r14 + 0x10]
test rbx, rbx
je 0x180137222
nop dword [rax + rax]
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x180137222
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x180137210
movsxd rcx, dword [rdi + 0x90]
movzx edx, word [rbx + 0x5e]
mov r8d, dword [rsi]
cmp dword [rdi + 0x94], ecx
jg 0x18013724f
mov r9d, edx
mov dword [rsp + 0x20], r12d
mov edx, 0x76
mov rcx, rdi
call fcn.1800aba20
jmp 0x18013727d
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.1800e67b0
mov rdx, rax
test rax, rax
je 0x1801372c8
mov rcx, qword [rsi]
cmp byte [rcx + 0x67], 0
je 0x1801372ac
mov r8, rax
mov edx, 0xfffffff8
call fcn.1800ac540
jmp 0x1801372c8
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 + 0x40]
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 0x180136ba1
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 0x180137511
mov r14d, r10d
test r12d, r12d
jle 0x1801375d1
mov r13, qword [rsp + 0x58]
lea r12, [r15 + 0x70]
lea rbx, [r15 + 0x360]
cmp dword [rsi + 0x30], 0
jne 0x180137511
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 0x1801374ca
test al, 8
je 0x1801373df
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [rsi + 0x38]
mov r8d, dword [rsi + 0x3c]
cmp dword [rdi + 0x94], ecx
jg 0x1801373ac
mov r9d, edx
mov dword [rsp + 0x20], r10d
mov edx, 0xa
mov rcx, rdi
call fcn.1800aba20
jmp 0x1801374ca
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 0x1801374ca
movsxd rbp, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ebp
jg 0x18013740c
xor r9d, r9d
mov dword [rsp + 0x20], r10d
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0xf]
call fcn.1800aba20
mov ebp, eax
xor r10d, r10d
jmp 0x18013743d
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 0x18013746a
mov r9d, edx
mov dword [rsp + 0x20], r10d
mov edx, 0xa
mov rcx, rdi
call fcn.1800aba20
jmp 0x180137498
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 0x1801374b0
lea rax, [0x180254470]
jmp 0x1801374c2
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 0x180137566
bt r15d, 0xe
mov r15, qword [rsp + 0x70]
jae 0x1801374f8
mov rcx, qword [rsp + 0x38]
mov r9, rbx
mov r8, r15
mov rdx, r12
call fcn.18012ec80
jmp 0x18013750b
mov rcx, qword [rsp + 0x78]
mov r9, r15
mov r8, rbx
mov edx, r14d
call fcn.18012fb90
cmp byte [rbp + 0x67], 0
je 0x18013756b
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.180130c70
xor eax, eax
mov rbx, qword [rsp + 0x148]
mov r15, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.18017ae80
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.1801237a0
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.180125740
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 + 0x40]
jl 0x180137350
mov eax, dword [rdi + 0x90]
mov dword [r15 + 0x50], eax
mov rax, r15
jmp 0x180137535