Function at 0x180136cb0
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 0x180136d4c
cmp dword [r9], 0x40
jl 0x180136d4c
mov r12d, edx
mov qword [rsp + 0x68], rdx
movzx edx, word [rsp + 0x160]
and dx, r8w
jmp 0x180136d54
movzx edx, word [rsp + 0x160]
mov r8d, dword [rax]
mov word [rsp + 0x30], dx
mov dword [rsp + 0x44], r8d
cmp r8d, 0x40
jle 0x180136d83
mov r8d, 0x40
lea rdx, str.at_most__d_tables_in_a_join
mov rcx, r14
call fcn.180081660
xor eax, eax
jmp 0x180137d36
mov qword [rsp + 0x148], rbx
mov eax, 1
mov qword [rsp + 0xf0], r15
test dl, 0x20
je 0x180136da8
mov dword [rsp + 0x44], eax
mov eax, 0x3d0
jmp 0x180136dbc
mov eax, 0x3d0
cmp r8d, 1
jle 0x180136dbc
imul eax, r8d, 0x70
add eax, 0x360
movsxd rbx, eax
lea rdx, [rbx + 0x70]
call fcn.18007daa0
mov r15, rax
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x48]
cmp byte [rax + 0x67], 0
je 0x180136df4
test r15, r15
je 0x180137d24
mov rdx, r15
mov rcx, rax
call fcn.18007d5d0
jmp 0x180137d24
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.1801d91d0
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.18012d760
cmp dword [rsp + 0x44], 0
mov ecx, 0x100
mov edx, 0x400
jne 0x180136f59
test r12, r12
je 0x180136f1c
movzx eax, byte [r12]
mov byte [r15 + 0x41], al
test word [rsp + 0x30], cx
je 0x180136f33
mov rax, qword [rsp + 0x48]
test byte [rax + 0x60], 0x10
jne 0x180136f33
mov byte [r15 + 0x43], 1
mov rax, qword [r15 + 0x20]
test rax, rax
je 0x180136fb7
mov rsi, qword [rsp + 0x38]
test dword [rax + 4], edx
jne 0x180136fbc
lea r8, str.SCAN_CONSTANT_ROW
xor edx, edx
mov rcx, rsi
call fcn.1800ac020
jmp 0x180136fbc
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.18012e100
inc ebx
lea rsi, [rsi + 0x68]
cmp ebx, dword [r13]
jl 0x180136f70
mov rdi, qword [rsp + 0x70]
mov r13, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x38]
mov ebx, dword [r14 + 0x14]
sub ebx, 1
js 0x180136fe8
mov r15, qword [rsp + 0x58]
nop word [rax + rax]
mov r8d, ebx
mov rdx, r14
mov rcx, r15
call fcn.18012b970
sub ebx, 1
jns 0x180136fd0
mov r15, qword [rsp + 0x78]
test rbp, rbp
je 0x180136fff
cmp qword [rbp + 0x60], 0
je 0x180136fff
mov rdx, rbp
mov rcx, r14
call fcn.18012dc90
cmp dword [rsi + 0x30], 0
jne 0x180137d02
xor ecx, ecx
mov ebp, ecx
cmp dword [r14 + 0x1c], ecx
jle 0x180137132
mov rdi, qword [rsp + 0x78]
lea rdx, [0x1801365e0]
mov r13, qword [rsp + 0x58]
lea r8, [0x1800c8cb0]
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 0x1801370fb
cmp qword [rbx + 0x30], 0
mov rsi, qword [rbx]
jne 0x1801370f6
test r12d, r12d
je 0x1801370c8
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 0x1801370c8
mov rdx, rsi
lea rcx, [rsp + 0x90]
call fcn.1800c10a0
cmp word [rsp + 0xb4], 0
je 0x1801370f6
test byte [rsi + 4], 2
je 0x1801370d5
test byte [r13 + 0x44], 0x40
jne 0x1801370f6
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.1800d0310
or word [rbx + 0x12], 4
jmp 0x1801370fb
mov rsi, qword [rsp + 0x38]
inc ebp
lea rdx, [0x1801365e0]
add r15, 0x38
lea r8, [0x1800c8cb0]
mov ecx, 0
cmp ebp, dword [r14 + 0x1c]
jl 0x180137040
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 0x18013715f
test byte [rbx + 0x60], 0x10
je 0x1801371eb
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 0x180137184
lea rcx, [rsp + 0xc0]
call fcn.180136380
test eax, eax
jne 0x18013722b
lea rcx, [rsp + 0xc0]
call fcn.180134af0
test eax, eax
jne 0x180137d02
xor edx, edx
mov rcx, r15
call fcn.180135800
cmp byte [rbx + 0x67], 0
jne 0x180137d02
cmp qword [r15 + 0x10], 0
je 0x1801371d6
mov rcx, r15
call fcn.180136310
movzx edx, word [r15 + 0x48]
mov rcx, r15
inc dx
call fcn.180135800
cmp byte [rbx + 0x67], 0
jne 0x180137d02
mov r11d, 0x100
test word [r15 + 0x3c], r11w
je 0x180137231
add word [r15 + 0x48], 0xffe2
jmp 0x180137231
mov r8, r14
mov r9, r13
mov r14, qword [rsp + 0x58]
mov rcx, rsi
mov rdx, r14
call fcn.18012efb0
test eax, eax
je 0x18013720f
mov byte [r15 + 0x43], 1
jmp 0x180137164
test r12, r12
jne 0x180137164
mov eax, 0x80
mov qword [r15 + 0x10], r13
or word [r15 + 0x3c], ax
jmp 0x180137164
mov r11d, 0x100
cmp qword [r15 + 0x10], 0
jne 0x18013724a
mov eax, dword [rbx + 0x30]
bt rax, 0xc
jae 0x18013724a
mov rcx, r15
call fcn.180136c50
cmp dword [rsi + 0x30], 0
jne 0x180137d02
movzx eax, byte [r15 + 0x40]
mov qword [rsp + 0x70], 0xffffffffffffffff
cmp al, 2
jb 0x1801372b9
test r13, r13
je 0x1801372a2
movzx eax, bp
mov ecx, 0x400
and ax, cx
xor edx, edx
cmp dx, ax
jne 0x1801372a2
test dword [rbx + 0x60], r11d
jne 0x1801372a2
mov rcx, r15
call fcn.180136600
movzx r12d, byte [r15 + 0x40]
mov qword [rsp + 0x70], rax
movzx eax, r12b
mov dword [rsp + 0x44], r12d
cmp al, 2
jb 0x1801372b9
mov r8, qword [rsp + 0x48]
test dword [r8 + 0x60], 0x80000
jne 0x1801372be
mov rcx, r15
call fcn.180136840
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 0x180137372
mov rdx, qword [r15 + 0x3c0]
mov ecx, dword [rdx + 0x38]
test ecx, 0x1000
jne 0x18013733b
mov dword [rsp + 0x40], r10d
test r9b, 8
je 0x180137372
mov rax, qword [r14 + 0x28]
mov word [rsp + 0x40], r10w
cmp byte [rax + 0x3f], 1
je 0x180137372
bt ecx, 0xd
jae 0x180137325
mov word [rsp + 0x40], r10w
test r9b, 0x10
je 0x180137372
test dword [r8 + 0x60], 0x8000000
mov word [rsp + 0x40], r10w
jne 0x180137372
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 0x180137372
mov word [rsp + 0x40], r10w
test cl, 0x40
je 0x180137372
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 0x180137b0b
jmp 0x180137396
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 0x1801373ef
mov rax, qword [r8 + 0x20]
mov r12d, r10d
add rax, 0x18
mov rdx, r10
cmp qword [rax], rcx
je 0x1801373ef
nop dword [rax]
inc r12d
lea rax, [rax + 0x20]
inc rdx
cmp qword [rax], rcx
jne 0x1801373e0
test dword [r14 + 0x30], 0x4000
mov rbp, qword [rbx + 0x60]
mov qword [rsp + 0x88], rbp
jne 0x180137612
movzx eax, byte [r14 + 0x3f]
cmp al, 2
je 0x180137612
mov ecx, dword [rbp + 0x38]
bt ecx, 0xa
jae 0x180137509
mov rbx, qword [r14 + 0x50]
test rbx, rbx
je 0x18013743e
nop dword [rax]
cmp qword [rbx], r8
je 0x18013743e
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x180137430
movsxd rdx, dword [rdi + 0x90]
mov r8d, dword [rsi + 0x44]
cmp dword [rdi + 0x94], edx
jg 0x18013746a
xor r9d, r9d
mov dword [rsp + 0x20], r10d
mov edx, 0xad
mov rcx, rdi
call fcn.1800ab9f0
mov edx, eax
jmp 0x180137498
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.1800aca70
mov r13, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x68]
movzx r9d, word [rsp + 0x30]
test dword [rbp + 0x38], 0x200
je 0x1801377da
mov rax, qword [rsp + 0x50]
mov r14d, reloc.WS2_32.dll_WSASetLastError
mov rbp, qword [rbp + 0x20]
test byte [rax + 0x30], 0x80
je 0x18013761c
mov eax, dword [rbp + 0x64]
and al, 3
cmp al, 2
jne 0x18013761c
test r9b, 0x20
je 0x18013761c
mov eax, dword [rbx + 4]
mov rbp, qword [rsp + 0x88]
mov dword [rbx + 8], eax
jmp 0x1801377d5
cmp al, 1
je 0x180137612
test cl, 0x40
jne 0x18013751c
test r9b, 0x20
je 0x180137526
test byte [rsi + 0x3c], 0x50
je 0x1801375c9
cmp byte [r15 + 0x42], 0
mov ecx, reloc.WS2_32.dll_WSASetLastError
je 0x18013753e
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.1800f38f0
cmp byte [r15 + 0x42], 0
jne 0x1801375a1
cmp word [r14 + 0x36], 0x40
jge 0x1801375a1
test byte [r14 + 0x30], 0xe0
jne 0x1801375a1
test dword [rbp + 0x38], 0x404000
jne 0x1801375a1
mov rax, qword [rsi + 0x50]
xor edx, edx
mov ecx, edx
test rax, rax
je 0x18013758b
inc ecx
shr rax, 1
jne 0x180137584
movsxd r8, ecx
mov edx, 0xffffffff
mov rcx, rdi
mov r9d, 0xfffffffd
call fcn.1800aca70
movsxd rax, dword [rdi + 0x90]
test eax, eax
jle 0x1801374b3
mov edx, dword [rsp + 0x40]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov word [rax + rcx*8 - 0x16], dx
jmp 0x1801374b3
mov r13, qword [rsp + 0x38]
cmp r12d, 1
je 0x1801374b9
mov rax, qword [r13]
shl rdx, 5
mov rcx, qword [rax + 0x20]
mov rax, qword [rdx + rcx + 8]
cmp byte [rax + 0x11], 0
je 0x1801374b9
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.1800db9c0
jmp 0x1801374b3
mov r13, qword [rsp + 0x38]
jmp 0x1801374b9
cmp byte [r15 + 0x42], 0
je 0x180137655
mov rax, qword [rsi + 0x20]
mov ebx, dword [rsp + 0x168]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x180137647
cmp rcx, rbp
je 0x180137647
mov rcx, qword [rcx + 0x28]
inc ebx
test rcx, rcx
jne 0x180137637
mov r14d, WSACleanup
mov dword [r15 + 0x2c], ebx
mov esi, ebx
jmp 0x1801376d4
mov eax, dword [rsp + 0x168]
test eax, eax
je 0x180137672
test r9b, 0x20
je 0x180137672
mov ebx, eax
mov r14d, 0x65
mov esi, eax
jmp 0x1801376d4
mov ebx, dword [r13 + 0x34]
mov esi, ebx
lea eax, [rbx + 1]
mov dword [r13 + 0x34], eax
test dword [rbp + 0x64], 0x1000
je 0x1801376a9
mov rax, qword [rsp + 0x48]
test dword [rax + 0x60], 0x1000000
jne 0x1801376a9
mov r9, qword [rsp + 0x60]
mov r8d, ebx
mov rdx, rbp
mov rcx, r13
call fcn.180136960
mov r8, qword [rbp + 0x48]
test r8, r8
je 0x1801376d4
mov rax, qword [rsp + 0x60]
test byte [rax + 0x3c], 0x10
jne 0x1801376d4
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov rdx, rbp
mov dword [rsp + 0x20], ebx
mov rcx, r13
call fcn.180132e20
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 0x180137707
mov r9d, r8d
mov dword [rsp + 0x20], r12d
mov r8d, ebx
mov edx, r14d
mov rcx, rdi
call fcn.1800ab9f0
jmp 0x18013773d
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.1800e6b10
mov rdx, rax
test rax, rax
je 0x180137788
mov rcx, qword [rbx]
cmp byte [rcx + 0x67], 0
je 0x18013776c
mov r8, rax
mov edx, 0xfffffff8
call fcn.1800ac500
jmp 0x180137788
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 0x1801377d0
test eax, 0x188002
jne 0x1801377d0
test byte [r15 + 0x3c], 1
jne 0x1801377d0
cmp byte [r15 + 0x43], 2
je 0x1801377d0
movsxd rax, dword [rdi + 0x90]
mov rsi, qword [rsp + 0x60]
test eax, eax
jle 0x1801377d5
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov word [rax + rcx*8 - 0x16], 2
jmp 0x1801377d5
mov rsi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x50]
test r12d, r12d
js 0x180137811
mov rax, qword [r13 + 0xb0]
mov rcx, r13
test rax, rax
cmovne rcx, rax
mov eax, dword [rcx + 0x84]
bt eax, r12d
jb 0x180137811
bts eax, r12d
mov dword [rcx + 0x84], eax
cmp r12d, 1
jne 0x180137811
call fcn.1800e6130
test byte [rsi + 0x3c], 0x10
je 0x180137ac6
mov rcx, qword [r15]
mov edx, 0x24
mov rcx, qword [rcx]
call fcn.18007daa0
mov rsi, rax
test rax, rax
je 0x18013784a
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 0x180137ac6
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 0x1801378a2
mov r9d, edx
mov dword [rsp + 0x20], r12d
mov edx, 0x4d
mov r8d, 0x10000
mov rcx, rdi
call fcn.1800ab9f0
jmp 0x1801378d3
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 0x180137907
mov r9d, edx
mov dword [rsp + 0x20], r12d
mov edx, 0x4b
xor r8d, r8d
mov rcx, rdi
call fcn.1800ab9f0
jmp 0x180137931
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 0x1801379f1
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [rsi]
cmp dword [rdi + 0x94], ecx
jg 0x18013796a
mov r8d, edx
mov dword [rsp + 0x20], r12d
mov edx, 0x76
mov r9d, 1
mov rcx, rdi
call fcn.1800ab9f0
jmp 0x180137997
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.180109650
mov rdx, rax
test rax, rax
je 0x180137ab8
mov rcx, qword [rax + 0x18]
mov qword [rax + 0x20], r12
mov byte [rcx], 0
mov rcx, qword [rdi]
cmp byte [rcx + 0x67], 0
je 0x1801379da
mov r8, rax
mov edx, 0xfffffff8
call fcn.1800ac500
jmp 0x180137ab8
movsxd rax, dword [rdi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
jmp 0x180137aae
mov rbx, qword [r14 + 0x10]
test rbx, rbx
je 0x180137a12
nop word [rax + rax]
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x180137a12
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x180137a00
movsxd rcx, dword [rdi + 0x90]
movzx edx, word [rbx + 0x5e]
mov r8d, dword [rsi]
cmp dword [rdi + 0x94], ecx
jg 0x180137a3f
mov r9d, edx
mov dword [rsp + 0x20], r12d
mov edx, 0x76
mov rcx, rdi
call fcn.1800ab9f0
jmp 0x180137a6d
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.1800e6b10
mov rdx, rax
test rax, rax
je 0x180137ab8
mov rcx, qword [rsi]
cmp byte [rcx + 0x67], 0
je 0x180137a9c
mov r8, rax
mov edx, 0xfffffff8
call fcn.1800ac500
jmp 0x180137ab8
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 0x180137391
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 0x180137d02
mov r14d, r10d
test r12d, r12d
jle 0x180137dc2
mov r13, qword [rsp + 0x58]
lea r12, [r15 + 0x70]
lea rbx, [r15 + 0x360]
cmp dword [rsi + 0x30], 0
jne 0x180137d02
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 0x180137cbb
test al, 8
je 0x180137bcf
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [rsi + 0x38]
mov r8d, dword [rsi + 0x3c]
cmp dword [rdi + 0x94], ecx
jg 0x180137b9c
mov r9d, edx
mov dword [rsp + 0x20], r10d
mov edx, 0xa
mov rcx, rdi
call fcn.1800ab9f0
jmp 0x180137cbb
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 0x180137cbb
movsxd rbp, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ebp
jg 0x180137bfd
xor r9d, r9d
mov dword [rsp + 0x20], r10d
xor r8d, r8d
mov edx, reloc.WS2_32.dll_ntohs
mov rcx, rdi
call fcn.1800ab9f0
mov ebp, eax
xor r10d, r10d
jmp 0x180137c2e
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 0x180137c5b
mov r9d, edx
mov dword [rsp + 0x20], r10d
mov edx, 0xa
mov rcx, rdi
call fcn.1800ab9f0
jmp 0x180137c89
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 0x180137ca1
lea rax, [0x180251970]
jmp 0x180137cb3
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 0x180137d57
bt r15d, 0xe
mov r15, qword [rsp + 0x70]
jae 0x180137ce9
mov rcx, qword [rsp + 0x38]
mov r9, rbx
mov r8, r15
mov rdx, r12
call fcn.18012f340
jmp 0x180137cfc
mov rcx, qword [rsp + 0x78]
mov r9, r15
mov r8, rbx
mov edx, r14d
call fcn.180130240
cmp byte [rbp + 0x67], 0
je 0x180137d5c
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.180131320
xor eax, eax
mov rbx, qword [rsp + 0x148]
mov r15, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.18017b860
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.180123e50
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.180125e00
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 0x180137b40
mov eax, dword [rdi + 0x90]
mov dword [r15 + 0x50], eax
mov rax, r15
jmp 0x180137d26