Function at 0x18012dff0
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 [0x1801d72c0]
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 0x18012e08c
cmp dword [r9], 0x40
jl 0x18012e08c
mov r12d, edx
mov qword [rsp + 0x68], rdx
movzx edx, word [rsp + 0x160]
and dx, r8w
jmp 0x18012e094
movzx edx, word [rsp + 0x160]
mov r8d, dword [rax]
mov word [rsp + 0x30], dx
mov dword [rsp + 0x44], r8d
cmp r8d, 0x40
jle 0x18012e0c3
mov r8d, 0x40
lea rdx, str.at_most__d_tables_in_a_join
mov rcx, r14
call fcn.1800789a0
xor eax, eax
jmp 0x18012f076
mov qword [rsp + 0x148], rbx
mov eax, 1
mov qword [rsp + 0xf0], r15
test dl, 0x20
je 0x18012e0e8
mov dword [rsp + 0x44], eax
mov eax, 0x3d0
jmp 0x18012e0fc
mov eax, 0x3d0
cmp r8d, 1
jle 0x18012e0fc
imul eax, r8d, 0x70
add eax, 0x360
movsxd rbx, eax
lea rdx, [rbx + 0x70]
call fcn.180074de0
mov r15, rax
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x48]
cmp byte [rax + 0x67], 0
je 0x18012e134
test r15, r15
je 0x18012f064
mov rdx, r15
mov rcx, rax
call fcn.180074910
jmp 0x18012f064
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.180183cb0
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.180124aa0
cmp dword [rsp + 0x44], 0
mov ecx, 0x100
mov edx, 0x400
jne 0x18012e299
test r12, r12
je 0x18012e25c
movzx eax, byte [r12]
mov byte [r15 + 0x41], al
test word [rsp + 0x30], cx
je 0x18012e273
mov rax, qword [rsp + 0x48]
test byte [rax + 0x60], 0x10
jne 0x18012e273
mov byte [r15 + 0x43], 1
mov rax, qword [r15 + 0x20]
test rax, rax
je 0x18012e2f7
mov rsi, qword [rsp + 0x38]
test dword [rax + 4], edx
jne 0x18012e2fc
lea r8, str.SCAN_CONSTANT_ROW
xor edx, edx
mov rcx, rsi
call fcn.1800a3360
jmp 0x18012e2fc
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.180125440
inc ebx
lea rsi, [rsi + 0x68]
cmp ebx, dword [r13]
jl 0x18012e2b0
mov rdi, qword [rsp + 0x70]
mov r13, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x38]
mov ebx, dword [r14 + 0x14]
sub ebx, 1
js 0x18012e328
mov r15, qword [rsp + 0x58]
nop word [rax + rax]
mov r8d, ebx
mov rdx, r14
mov rcx, r15
call fcn.180122cb0
sub ebx, 1
jns 0x18012e310
mov r15, qword [rsp + 0x78]
test rbp, rbp
je 0x18012e33f
cmp qword [rbp + 0x60], 0
je 0x18012e33f
mov rdx, rbp
mov rcx, r14
call fcn.180124fd0
cmp dword [rsi + 0x30], 0
jne 0x18012f042
xor ecx, ecx
mov ebp, ecx
cmp dword [r14 + 0x1c], ecx
jle 0x18012e472
mov rdi, qword [rsp + 0x78]
lea rdx, [0x18012d920]
mov r13, qword [rsp + 0x58]
lea r8, [0x1800bfff0]
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 0x18012e43b
cmp qword [rbx + 0x30], 0
mov rsi, qword [rbx]
jne 0x18012e436
test r12d, r12d
je 0x18012e408
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 0x18012e408
mov rdx, rsi
lea rcx, [rsp + 0x90]
call fcn.1800b83e0
cmp word [rsp + 0xb4], 0
je 0x18012e436
test byte [rsi + 4], 2
je 0x18012e415
test byte [r13 + 0x44], 0x40
jne 0x18012e436
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.1800c7650
or word [rbx + 0x12], 4
jmp 0x18012e43b
mov rsi, qword [rsp + 0x38]
inc ebp
lea rdx, [0x18012d920]
add r15, 0x38
lea r8, [0x1800bfff0]
mov ecx, 0
cmp ebp, dword [r14 + 0x1c]
jl 0x18012e380
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 0x18012e49f
test byte [rbx + 0x60], 0x10
je 0x18012e52b
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 0x18012e4c4
lea rcx, [rsp + 0xc0]
call fcn.18012d6c0
test eax, eax
jne 0x18012e56b
lea rcx, [rsp + 0xc0]
call fcn.18012be30
test eax, eax
jne 0x18012f042
xor edx, edx
mov rcx, r15
call fcn.18012cb40
cmp byte [rbx + 0x67], 0
jne 0x18012f042
cmp qword [r15 + 0x10], 0
je 0x18012e516
mov rcx, r15
call fcn.18012d650
movzx edx, word [r15 + 0x48]
mov rcx, r15
inc dx
call fcn.18012cb40
cmp byte [rbx + 0x67], 0
jne 0x18012f042
mov r11d, 0x100
test word [r15 + 0x3c], r11w
je 0x18012e571
add word [r15 + 0x48], 0xffe2
jmp 0x18012e571
mov r8, r14
mov r9, r13
mov r14, qword [rsp + 0x58]
mov rcx, rsi
mov rdx, r14
call fcn.1801262f0
test eax, eax
je 0x18012e54f
mov byte [r15 + 0x43], 1
jmp 0x18012e4a4
test r12, r12
jne 0x18012e4a4
mov eax, 0x80
mov qword [r15 + 0x10], r13
or word [r15 + 0x3c], ax
jmp 0x18012e4a4
mov r11d, 0x100
cmp qword [r15 + 0x10], 0
jne 0x18012e58a
mov eax, dword [rbx + 0x30]
bt rax, 0xc
jae 0x18012e58a
mov rcx, r15
call fcn.18012df90
cmp dword [rsi + 0x30], 0
jne 0x18012f042
movzx eax, byte [r15 + 0x40]
mov qword [rsp + 0x70], 0xffffffffffffffff
cmp al, 2
jb 0x18012e5f9
test r13, r13
je 0x18012e5e2
movzx eax, bp
mov ecx, 0x400
and ax, cx
xor edx, edx
cmp dx, ax
jne 0x18012e5e2
test dword [rbx + 0x60], r11d
jne 0x18012e5e2
mov rcx, r15
call fcn.18012d940
movzx r12d, byte [r15 + 0x40]
mov qword [rsp + 0x70], rax
movzx eax, r12b
mov dword [rsp + 0x44], r12d
cmp al, 2
jb 0x18012e5f9
mov r8, qword [rsp + 0x48]
test dword [r8 + 0x60], 0x80000
jne 0x18012e5fe
mov rcx, r15
call fcn.18012db80
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 0x18012e6b2
mov rdx, qword [r15 + 0x3c0]
mov ecx, dword [rdx + 0x38]
test ecx, 0x1000
jne 0x18012e67b
mov dword [rsp + 0x40], r10d
test r9b, 8
je 0x18012e6b2
mov rax, qword [r14 + 0x28]
mov word [rsp + 0x40], r10w
cmp byte [rax + 0x3f], 1
je 0x18012e6b2
bt ecx, 0xd
jae 0x18012e665
mov word [rsp + 0x40], r10w
test r9b, 0x10
je 0x18012e6b2
test dword [r8 + 0x60], 0x8000000
mov word [rsp + 0x40], r10w
jne 0x18012e6b2
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 0x18012e6b2
mov word [rsp + 0x40], r10w
test cl, 0x40
je 0x18012e6b2
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 0x18012ee4b
jmp 0x18012e6d6
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 0x18012e72f
mov rax, qword [r8 + 0x20]
mov r12d, r10d
add rax, 0x18
mov rdx, r10
cmp qword [rax], rcx
je 0x18012e72f
nop dword [rax]
inc r12d
lea rax, [rax + 0x20]
inc rdx
cmp qword [rax], rcx
jne 0x18012e720
test dword [r14 + 0x30], 0x4000
mov rbp, qword [rbx + 0x60]
mov qword [rsp + 0x88], rbp
jne 0x18012e952
movzx eax, byte [r14 + 0x3f]
cmp al, 2
je 0x18012e952
mov ecx, dword [rbp + 0x38]
bt ecx, 0xa
jae 0x18012e849
mov rbx, qword [r14 + 0x50]
test rbx, rbx
je 0x18012e77e
nop dword [rax]
cmp qword [rbx], r8
je 0x18012e77e
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x18012e770
movsxd rdx, dword [rdi + 0x90]
mov r8d, dword [rsi + 0x44]
cmp dword [rdi + 0x94], edx
jg 0x18012e7aa
xor r9d, r9d
mov dword [rsp + 0x20], r10d
mov edx, 0xad
mov rcx, rdi
call fcn.1800a2d30
mov edx, eax
jmp 0x18012e7d8
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.1800a3db0
mov r13, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x68]
movzx r9d, word [rsp + 0x30]
test dword [rbp + 0x38], 0x200
je 0x18012eb1a
mov rax, qword [rsp + 0x50]
mov r14d, reloc.WS2_32.dll_WSASetLastError
mov rbp, qword [rbp + 0x20]
test byte [rax + 0x30], 0x80
je 0x18012e95c
mov eax, dword [rbp + 0x64]
and al, 3
cmp al, 2
jne 0x18012e95c
test r9b, 0x20
je 0x18012e95c
mov eax, dword [rbx + 4]
mov rbp, qword [rsp + 0x88]
mov dword [rbx + 8], eax
jmp 0x18012eb15
cmp al, 1
je 0x18012e952
test cl, 0x40
jne 0x18012e85c
test r9b, 0x20
je 0x18012e866
test byte [rsi + 0x3c], 0x50
je 0x18012e909
cmp byte [r15 + 0x42], 0
mov ecx, reloc.WS2_32.dll_WSASetLastError
je 0x18012e87e
mov eax, dword [rsi + 0x44]
mov ecx, WSAStartup
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.1800eac30
cmp byte [r15 + 0x42], 0
jne 0x18012e8e1
cmp word [r14 + 0x36], 0x40
jge 0x18012e8e1
test byte [r14 + 0x30], 0xe0
jne 0x18012e8e1
test dword [rbp + 0x38], 0x404000
jne 0x18012e8e1
mov rax, qword [rsi + 0x50]
xor edx, edx
mov ecx, edx
test rax, rax
je 0x18012e8cb
inc ecx
shr rax, 1
jne 0x18012e8c4
movsxd r8, ecx
mov edx, 0xffffffff
mov rcx, rdi
mov r9d, 0xfffffffd
call fcn.1800a3db0
movsxd rax, dword [rdi + 0x90]
test eax, eax
jle 0x18012e7f3
mov edx, dword [rsp + 0x40]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov word [rax + rcx*8 - 0x16], dx
jmp 0x18012e7f3
mov r13, qword [rsp + 0x38]
cmp r12d, 1
je 0x18012e7f9
mov rax, qword [r13]
shl rdx, 5
mov rcx, qword [rax + 0x20]
mov rax, qword [rdx + rcx + 8]
cmp byte [rax + 0x11], 0
je 0x18012e7f9
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.1800d2d00
jmp 0x18012e7f3
mov r13, qword [rsp + 0x38]
jmp 0x18012e7f9
cmp byte [r15 + 0x42], 0
je 0x18012e995
mov rax, qword [rsi + 0x20]
mov ebx, dword [rsp + 0x168]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x18012e987
cmp rcx, rbp
je 0x18012e987
mov rcx, qword [rcx + 0x28]
inc ebx
test rcx, rcx
jne 0x18012e977
mov r14d, WSAStartup
mov dword [r15 + 0x2c], ebx
mov esi, ebx
jmp 0x18012ea14
mov eax, dword [rsp + 0x168]
test eax, eax
je 0x18012e9b2
test r9b, 0x20
je 0x18012e9b2
mov ebx, eax
mov r14d, 0x65
mov esi, eax
jmp 0x18012ea14
mov ebx, dword [r13 + 0x34]
mov esi, ebx
lea eax, [rbx + 1]
mov dword [r13 + 0x34], eax
test dword [rbp + 0x64], 0x1000
je 0x18012e9e9
mov rax, qword [rsp + 0x48]
test dword [rax + 0x60], 0x1000000
jne 0x18012e9e9
mov r9, qword [rsp + 0x60]
mov r8d, ebx
mov rdx, rbp
mov rcx, r13
call fcn.18012dca0
mov r8, qword [rbp + 0x48]
test r8, r8
je 0x18012ea14
mov rax, qword [rsp + 0x60]
test byte [rax + 0x3c], 0x10
jne 0x18012ea14
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov rdx, rbp
mov dword [rsp + 0x20], ebx
mov rcx, r13
call fcn.18012a160
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 0x18012ea47
mov r9d, r8d
mov dword [rsp + 0x20], r12d
mov r8d, ebx
mov edx, r14d
mov rcx, rdi
call fcn.1800a2d30
jmp 0x18012ea7d
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.1800dde50
mov rdx, rax
test rax, rax
je 0x18012eac8
mov rcx, qword [rbx]
cmp byte [rcx + 0x67], 0
je 0x18012eaac
mov r8, rax
mov edx, 0xfffffff8
call fcn.1800a3840
jmp 0x18012eac8
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 0x18012eb10
test eax, 0x188002
jne 0x18012eb10
test byte [r15 + 0x3c], 1
jne 0x18012eb10
cmp byte [r15 + 0x43], 2
je 0x18012eb10
movsxd rax, dword [rdi + 0x90]
mov rsi, qword [rsp + 0x60]
test eax, eax
jle 0x18012eb15
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov word [rax + rcx*8 - 0x16], 2
jmp 0x18012eb15
mov rsi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x50]
test r12d, r12d
js 0x18012eb51
mov rax, qword [r13 + 0xb0]
mov rcx, r13
test rax, rax
cmovne rcx, rax
mov eax, dword [rcx + 0x84]
bt eax, r12d
jb 0x18012eb51
bts eax, r12d
mov dword [rcx + 0x84], eax
cmp r12d, 1
jne 0x18012eb51
call fcn.1800dd470
test byte [rsi + 0x3c], 0x10
je 0x18012ee06
mov rcx, qword [r15]
mov edx, 0x24
mov rcx, qword [rcx]
call fcn.180074de0
mov rsi, rax
test rax, rax
je 0x18012eb8a
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 0x18012ee06
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 0x18012ebe2
mov r9d, edx
mov dword [rsp + 0x20], r12d
mov edx, 0x4d
mov r8d, 0x10000
mov rcx, rdi
call fcn.1800a2d30
jmp 0x18012ec13
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 0x18012ec47
mov r9d, edx
mov dword [rsp + 0x20], r12d
mov edx, 0x4b
xor r8d, r8d
mov rcx, rdi
call fcn.1800a2d30
jmp 0x18012ec71
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 0x18012ed31
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [rsi]
cmp dword [rdi + 0x94], ecx
jg 0x18012ecaa
mov r8d, edx
mov dword [rsp + 0x20], r12d
mov edx, 0x76
mov r9d, 1
mov rcx, rdi
call fcn.1800a2d30
jmp 0x18012ecd7
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.180100990
mov rdx, rax
test rax, rax
je 0x18012edf8
mov rcx, qword [rax + 0x18]
mov qword [rax + 0x20], r12
mov byte [rcx], 0
mov rcx, qword [rdi]
cmp byte [rcx + 0x67], 0
je 0x18012ed1a
mov r8, rax
mov edx, 0xfffffff8
call fcn.1800a3840
jmp 0x18012edf8
movsxd rax, dword [rdi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
jmp 0x18012edee
mov rbx, qword [r14 + 0x10]
test rbx, rbx
je 0x18012ed52
nop word [rax + rax]
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x18012ed52
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x18012ed40
movsxd rcx, dword [rdi + 0x90]
movzx edx, word [rbx + 0x5e]
mov r8d, dword [rsi]
cmp dword [rdi + 0x94], ecx
jg 0x18012ed7f
mov r9d, edx
mov dword [rsp + 0x20], r12d
mov edx, 0x76
mov rcx, rdi
call fcn.1800a2d30
jmp 0x18012edad
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.1800dde50
mov rdx, rax
test rax, rax
je 0x18012edf8
mov rcx, qword [rsi]
cmp byte [rcx + 0x67], 0
je 0x18012eddc
mov r8, rax
mov edx, 0xfffffff8
call fcn.1800a3840
jmp 0x18012edf8
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 0x18012e6d1
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 0x18012f042
mov r14d, r10d
test r12d, r12d
jle 0x18012f102
mov r13, qword [rsp + 0x58]
lea r12, [r15 + 0x70]
lea rbx, [r15 + 0x360]
cmp dword [rsi + 0x30], 0
jne 0x18012f042
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 0x18012effb
test al, 8
je 0x18012ef0f
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [rsi + 0x38]
mov r8d, dword [rsi + 0x3c]
cmp dword [rdi + 0x94], ecx
jg 0x18012eedc
mov r9d, edx
mov dword [rsp + 0x20], r10d
mov edx, 0xa
mov rcx, rdi
call fcn.1800a2d30
jmp 0x18012effb
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 0x18012effb
movsxd rbp, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ebp
jg 0x18012ef3d
xor r9d, r9d
mov dword [rsp + 0x20], r10d
xor r8d, r8d
mov edx, reloc.WS2_32.dll_ntohs
mov rcx, rdi
call fcn.1800a2d30
mov ebp, eax
xor r10d, r10d
jmp 0x18012ef6e
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 0x18012ef9b
mov r9d, edx
mov dword [rsp + 0x20], r10d
mov edx, 0xa
mov rcx, rdi
call fcn.1800a2d30
jmp 0x18012efc9
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 0x18012efe1
lea rax, [0x1801e46a0]
jmp 0x18012eff3
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 0x18012f097
bt r15d, 0xe
mov r15, qword [rsp + 0x70]
jae 0x18012f029
mov rcx, qword [rsp + 0x38]
mov r9, rbx
mov r8, r15
mov rdx, r12
call fcn.180126680
jmp 0x18012f03c
mov rcx, qword [rsp + 0x78]
mov r9, r15
mov r8, rbx
mov edx, r14d
call fcn.180127580
cmp byte [rbp + 0x67], 0
je 0x18012f09c
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.180128660
xor eax, eax
mov rbx, qword [rsp + 0x148]
mov r15, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1801525e0
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.18011b190
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.18011d140
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 0x18012ee80
mov eax, dword [rdi + 0x90]
mov dword [r15 + 0x50], eax
mov rax, r15
jmp 0x18012f066