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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push r12
push r13
push r15
sub rsp, 0xd8
mov rbx, qword [rcx + 0x10]
mov r15, r9
mov r13, qword [rcx]
xor r9d, r9d
mov qword [rsp + 0x50], rbx
xorps xmm0, xmm0
mov qword [rsp + 0x48], r13
mov rsi, r8
mov r12, rdx
mov rbp, rcx
movdqu xmmword [rax - 0x48], xmm0
test r15, r15
je 0x1401b85f8
cmp dword [r15], 0x40
cmovge r15, r9
mov qword [rax + 0x20], r15
mov eax, dword [rdx]
cmp eax, 0x40
jle 0x1401b8624
mov r8d, 0x40
lea rdx, str.at_most__d_tables_in_a_join
call fcn.140110a90
xor eax, eax
add rsp, 0xd8
pop r15
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret
movzx ecx, word [rsp + 0x140]
test cl, 0x20
mov word [rsp + 0x30], cx
mov ecx, 1
mov qword [rsp + 0x120], rdi
cmovne eax, ecx
mov qword [rsp + 0xd0], r14
mov dword [rsp + 0x34], eax
mov rcx, r13
imul eax, eax, 0x70
add eax, 0x360
movsxd rdi, eax
lea rdx, [rdi + 0x70]
call fcn.14010e610
cmp byte [r13 + 0x67], 0
mov r14, rax
mov qword [rsp + 0x40], rax
je 0x1401b868f
test rax, rax
je 0x1401b9855
mov rdx, rax
mov rcx, r13
call fcn.14010e190
jmp 0x1401b9855
movsxd rdx, dword [rsp + 0x34]
lea rcx, [r14 + 0x360]
mov r13, qword [rsp + 0x130]
xorps xmm0, xmm0
mov qword [rax + 8], r12
mov r12, qword [rsp + 0x138]
mov qword [rax + 0x18], r13
mov qword [rax], rbp
mov qword [rax + 0x10], r15
mov rax, 0xffffffffffffffff
mov qword [r14 + 0x28], rax
mov byte [r14 + 0x40], dl
mov qword [rsp + 0x60], rax
mov eax, dword [rbp + 0x44]
dec eax
mov qword [rsp + 0x70], rcx
mov dword [rbp + 0x44], eax
mov dword [r14 + 0x30], eax
mov dword [r14 + 0x34], eax
movzx eax, word [rsp + 0x30]
mov word [r14 + 0x3c], ax
mov eax, dword [rsp + 0x148]
mov word [r14 + 0x3e], ax
mov dword [rsp + 0x58], eax
movsx eax, word [rbp + 0xc8]
mov dword [r14 + 0x38], eax
xor eax, eax
mov qword [r14 + 0x20], r12
movups xmmword [r14 + 0x41], xmm0
movups xmmword [r14 + 0x51], xmm0
mov qword [r14 + 0x61], rax
mov dword [r14 + 0x69], eax
mov word [r14 + 0x6d], ax
mov byte [r14 + 0x6f], al
lea rax, [rdx + 1]
imul r8, rax, 0x70
xor edx, edx
call fcn.1402ecef0
lea rbp, [r14 + 0x70]
mov qword [rsp + 0xa8], r14
xor edx, edx
mov qword [rsp + 0x38], rbp
mov dword [r14 + 0x25c], edx
lea rcx, [rdi + r14]
mov dword [r14 + 0x260], 0xffffff9d
lea rax, [rcx + 0x58]
mov qword [rcx + 0x48], rax
lea rax, [rbp + 0x28]
mov word [rcx + 0x3c], dx
mov rdi, rsi
mov word [rcx + 0x40], 3
mov dword [rcx + 0x38], edx
mov qword [rbp + 0x20], rax
mov qword [rsp + 0xb0], rbp
mov qword [rsp + 0xb8], rcx
mov qword [rbp], r14
mov byte [rbp + 0x11], dl
mov qword [rbp + 8], rdx
mov dword [rbp + 0x14], edx
mov qword [rbp + 0x18], 8
test rsi, rsi
je 0x1401b87d3
nop
mov eax, dword [rdi + 4]
test eax, 0x82000
je 0x1401b87d3
bt eax, 0x13
jae 0x1401b87ca
mov rax, qword [rdi + 0x20]
mov rdi, qword [rax + 8]
jmp 0x1401b87ce
mov rdi, qword [rdi + 0x10]
test rdi, rdi
jne 0x1401b87b0
mov byte [rbp + 0x10], 0x2c
mov r8d, pe_nt_image_headers64
test rdi, rdi
je 0x1401b89d6
cmp byte [rdi], 0x2c
je 0x1401b89b6
movsxd rax, dword [rbp + 0x18]
cmp edx, eax
jl 0x1401b8923
mov rdi, qword [r14 + 0x70]
mov rbp, qword [rbp + 0x20]
imul r14, rax, 0x70
mov rax, qword [rdi]
mov rcx, qword [rax]
lea rdx, [r14 + 0x10]
movzx eax, word [rcx + 0x194]
cmp rdx, rax
jbe 0x1401b884e
cmp dword [rcx + 0x190], 0
jne 0x1401b8831
inc dword [rcx + 0x1a4]
jmp 0x1401b88d1
cmp byte [rcx + 0x67], 0
je 0x1401b88d1
mov rax, qword [rsp + 0x38]
mov qword [rax + 0x20], rbp
mov rbp, qword [rsp + 0x38]
jmp 0x1401b89d4
cmp rdx, r8
ja 0x1401b888f
mov r9, qword [rcx + 0x1c8]
test r9, r9
je 0x1401b8871
mov rax, qword [r9]
mov qword [rcx + 0x1c8], rax
inc dword [rcx + 0x1a0]
jmp 0x1401b88de
mov r9, qword [rcx + 0x1c0]
test r9, r9
je 0x1401b888f
mov rax, qword [r9]
mov qword [rcx + 0x1c0], rax
inc dword [rcx + 0x1a0]
jmp 0x1401b88de
mov r9, qword [rcx + 0x1b8]
test r9, r9
je 0x1401b88ad
mov rax, qword [r9]
mov qword [rcx + 0x1b8], rax
inc dword [rcx + 0x1a0]
jmp 0x1401b88de
mov r9, qword [rcx + 0x1b0]
test r9, r9
je 0x1401b88cb
mov rax, qword [r9]
inc dword [rcx + 0x1a0]
mov qword [rcx + 0x1b0], rax
jmp 0x1401b88de
inc dword [rcx + 0x1a8]
call fcn.14010e5b0
mov r9, rax
test rax, rax
je 0x1401b88f1
mov rax, qword [rdi + 0x60]
mov qword [r9], rax
mov qword [r9 + 8], r14
mov qword [rdi + 0x60], r9
add r9, 0x10
mov rax, qword [rsp + 0x38]
mov qword [rax + 0x20], r9
test r9, r9
je 0x1401b8840
movsxd rax, dword [rax + 0x14]
mov rdx, rbp
imul r8, rax, 0x38
mov rcx, r9
call fcn.1402ec850
mov rbp, qword [rsp + 0x38]
mov eax, dword [rbp + 0x18]
add eax, eax
mov dword [rbp + 0x18], eax
movsxd rdx, dword [rbp + 0x14]
imul r8, rdx, 0x38
lea eax, [rdx + 1]
add r8, qword [rbp + 0x20]
mov dword [rbp + 0x14], eax
mov dword [rbp + 0x1c], eax
test rsi, rsi
je 0x1401b895e
test dword [rsi + 4], 0x80000
je 0x1401b895e
movsxd rcx, dword [rsi + 0x28]
call fcn.140112be0
mov ecx, 0x10e
sub ax, cx
mov word [r8 + 0x10], ax
jmp 0x1401b8970
mov word [r8 + 0x10], 1
test rsi, rsi
je 0x1401b8993
nop word [rax + rax]
mov eax, dword [rsi + 4]
test eax, 0x82000
je 0x1401b8993
bt eax, 0x13
jae 0x1401b898a
mov rax, qword [rsi + 0x20]
mov rsi, qword [rax + 8]
jmp 0x1401b898e
mov rsi, qword [rsi + 0x10]
test rsi, rsi
jne 0x1401b8970
mov qword [r8], rsi
xor edx, edx
mov word [r8 + 0x12], dx
xorps xmm0, xmm0
mov qword [r8 + 8], rbp
xor eax, eax
movups xmmword [r8 + 0x14], xmm0
movups xmmword [r8 + 0x24], xmm0
mov dword [r8 + 0x34], eax
jmp 0x1401b89d6
mov rdx, qword [rdi + 0x10]
mov r8b, 0x2c
mov rcx, rbp
call fcn.1401af280
mov rdx, qword [rdi + 0x18]
mov r8b, 0x2c
mov rcx, rbp
call fcn.1401af280
xor edx, edx
cmp dword [rsp + 0x34], 0
mov r8d, 0x100
jne 0x1401b8a26
mov rcx, qword [rsp + 0x40]
test r15, r15
je 0x1401b89f4
movzx eax, byte [r15]
mov byte [rcx + 0x41], al
test word [rsp + 0x30], r8w
je 0x1401b8a0b
mov rax, qword [rsp + 0x48]
test byte [rax + 0x60], 0x10
jne 0x1401b8a0b
mov byte [rcx + 0x43], 1
mov r14, qword [rsp + 0x110]
lea r8, str.SCAN_CONSTANT_ROW
mov rcx, r14
xor edx, edx
call fcn.140139870
jmp 0x1401b8a89
mov r13, qword [rsp + 0x118]
mov edi, edx
mov rbx, qword [rsp + 0x40]
mov r14, qword [rsp + 0x110]
lea rsi, [r13 + 0x4c]
movsxd rcx, dword [rbx + 0x25c]
mov r8, rbp
mov eax, dword [rsi]
mov dword [rbx + rcx*4 + 0x260], eax
mov rcx, r14
inc dword [rbx + 0x25c]
movsxd rax, edi
imul rdx, rax, 0x68
add rdx, 8
add rdx, r13
call fcn.1401af9d0
inc edi
lea rsi, [rsi + 0x68]
cmp edi, dword [r13]
jl 0x1401b8a41
mov rbx, qword [rsp + 0x50]
mov r13, qword [rsp + 0x130]
mov edi, dword [rbp + 0x14]
sub edi, 1
js 0x1401b8ab3
mov rsi, qword [rsp + 0x118]
nop dword [rax]
mov r8d, edi
mov rdx, rbp
mov rcx, rsi
call fcn.1401adc00
sub edi, 1
jns 0x1401b8aa0
test r12, r12
je 0x1401b8acb
cmp qword [r12 + 0x60], 0
je 0x1401b8acb
mov rdx, r12
mov rcx, rbp
call fcn.1401af4f0
cmp dword [r14 + 0x30], 0
jne 0x1401b9830
mov rax, qword [rsp + 0x38]
xor ecx, ecx
mov ebp, ecx
cmp dword [rax + 0x1c], ecx
jle 0x1401b8c02
mov r12, qword [rsp + 0x40]
lea rdx, [0x1401b7d30]
mov rbx, qword [rsp + 0x110]
lea r8, [0x1401541b0]
mov r15, qword [rsp + 0x118]
mov r14d, ecx
mov r13, rax
mov rdi, qword [r13 + 0x20]
add rdi, r14
test byte [rdi + 0x12], 2
jne 0x1401b8bbd
cmp qword [rdi + 0x30], 0
mov rsi, qword [rdi]
jne 0x1401b8bbd
cmp dword [rsp + 0x34], 0
je 0x1401b8b95
mov qword [rsp + 0x78], rcx
mov eax, 1
mov word [rsp + 0x9c], ax
mov qword [rsp + 0x90], rcx
mov dword [rsp + 0x98], ecx
mov qword [rsp + 0x9e], rcx
mov word [rsp + 0xa6], cx
mov qword [rsp + 0x80], rdx
mov qword [rsp + 0x88], r8
test rsi, rsi
je 0x1401b8b95
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.14014c3a0
cmp word [rsp + 0x9c], 0
je 0x1401b8bbd
test byte [rsi + 4], 2
je 0x1401b8ba2
test byte [r15 + 0x44], 0x40
jne 0x1401b8bbd
mov r8d, dword [r12 + 0x34]
mov r9d, reloc.WS2_32.dll_recv
mov rdx, rsi
mov rcx, rbx
call fcn.14015b1c0
or word [rdi + 0x12], 4
inc ebp
lea rdx, [0x1401b7d30]
add r14, 0x38
lea r8, [0x1401541b0]
mov ecx, 0
cmp ebp, dword [r13 + 0x1c]
jl 0x1401b8b11
mov rbx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x128]
mov r13, qword [rsp + 0x130]
mov r14, qword [rsp + 0x110]
mov rax, qword [rsp + 0x38]
movzx esi, word [rsp + 0x30]
bt si, 8
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x118]
jae 0x1401b8c74
test byte [rdi + 0x60], 0x10
je 0x1401b8c3b
mov r12, qword [rsp + 0x40]
mov eax, 0xfeff
and si, ax
mov word [rsp + 0x30], si
and word [r12 + 0x3c], ax
jmp 0x1401b8c79
mov r9, r13
mov r8, rax
mov rdx, rbp
mov rcx, r14
call fcn.1401b0b10
mov r12, qword [rsp + 0x40]
test eax, eax
je 0x1401b8c5d
mov byte [r12 + 0x43], 1
jmp 0x1401b8c79
test r15, r15
jne 0x1401b8c79
mov eax, pe_nt_image_headers64
mov qword [r12 + 0x10], r13
or word [r12 + 0x3c], ax
jmp 0x1401b8c79
mov r12, qword [rsp + 0x40]
mov r15d, dword [rsp + 0x34]
cmp r15d, 1
jne 0x1401b8c95
lea rcx, [rsp + 0xa8]
call fcn.1401b7af0
test eax, eax
jne 0x1401b8ce1
lea rcx, [rsp + 0xa8]
call fcn.1401b6130
test eax, eax
jne 0x1401b9830
xor edx, edx
mov rcx, r12
call fcn.1401b6f30
cmp byte [rdi + 0x67], 0
jne 0x1401b9830
cmp qword [r12 + 0x10], 0
je 0x1401b8ce9
movzx edx, word [r12 + 0x48]
mov rcx, r12
inc dx
call fcn.1401b6f30
cmp byte [rdi + 0x67], 0
jne 0x1401b9830
cmp qword [r12 + 0x10], 0
jne 0x1401b8cfb
mov eax, dword [rdi + 0x30]
bt rax, 0xc
jae 0x1401b8cfb
mov rcx, r12
call fcn.1401b8540
cmp dword [r14 + 0x30], 0
jne 0x1401b9830
movzx eax, byte [r12 + 0x40]
mov ecx, 0x400
cmp al, 2
jb 0x1401b8d6a
test r13, r13
je 0x1401b8d53
movzx eax, si
xor r9d, r9d
and ax, cx
cmp r9w, ax
jne 0x1401b8d53
mov eax, 0x100
test dword [rdi + 0x60], eax
jne 0x1401b8d53
mov rcx, r12
call fcn.1401b7dc0
movzx r15d, byte [r12 + 0x40]
mov qword [rsp + 0x60], rax
movzx eax, r15b
mov dword [rsp + 0x34], r15d
cmp al, 2
jb 0x1401b8d6a
mov r11, qword [rsp + 0x48]
test dword [r11 + 0x60], 0x80000
jne 0x1401b8d6f
mov rcx, r12
call fcn.1401b8000
mov r11, qword [rsp + 0x48]
mov rcx, qword [r12]
xor r10d, r10d
movzx eax, word [r12 + 0x48]
movzx r9d, word [rsp + 0x30]
mov word [rsp + 0x128], r10w
add word [rcx + 0xc8], ax
test r9b, 4
je 0x1401b8e4f
mov r8, qword [r12 + 0x3c0]
movzx edx, r9w
and dx, 8
mov ecx, dword [r8 + 0x38]
test ecx, 0x1000
jne 0x1401b8e0b
mov dword [rsp + 0x128], r10d
cmp r10w, dx
je 0x1401b8e4f
mov rax, qword [rbp + 0x28]
mov word [rsp + 0x128], r10w
cmp byte [rax + 0x3f], 1
je 0x1401b8e4f
bt ecx, 0xd
jae 0x1401b8df2
mov word [rsp + 0x128], r10w
test r9b, 0x10
je 0x1401b8e4f
test dword [r11 + 0x60], 0x8000000
mov word [rsp + 0x128], r10w
jne 0x1401b8e4f
test ecx, 0x1000
sete al
mov word [rsp + 0x128], r10w
inc al
mov byte [r12 + 0x42], al
mov rax, qword [rbp + 0x28]
test byte [rax + 0x30], 0x80
jne 0x1401b8e4f
mov word [rsp + 0x128], r10w
test cl, 0x40
je 0x1401b8e4f
and ecx, 0xffffffbf
neg dx
mov dword [r8 + 0x38], ecx
sbb ax, ax
and ax, 8
mov word [rsp + 0x128], ax
mov dword [rsp + 0x5c], r10d
lea rsi, [r12 + 0x360]
mov qword [rsp + 0x38], rsi
mov rdi, rsi
test r15d, r15d
jg 0x1401b8f1b
mov ecx, dword [rsp + 0x34]
mov r15, qword [rsp + 0x48]
mov eax, dword [rbx + 0x90]
mov dword [r12 + 0x4c], eax
cmp byte [r15 + 0x67], 0
jne 0x1401b9830
mov ebp, r10d
test ecx, ecx
jle 0x1401b9820
mov r13, qword [rsp + 0x118]
nop
cmp dword [r14 + 0x30], 0
jne 0x1401b9830
mov rax, qword [rsi + 0x60]
mov r14d, dword [rax + 0x38]
movzx eax, byte [rsi + 0x40]
imul rdi, rax, 0x68
add rdi, r13
mov eax, dword [rdi + 0x48]
test al, 0x10
je 0x1401b9772
test al, 8
je 0x1401b968e
movsxd rcx, dword [rbx + 0x90]
mov edx, dword [rdi + 0x38]
mov r8d, dword [rdi + 0x3c]
cmp dword [rbx + 0x94], ecx
jg 0x1401b965b
mov r9d, edx
mov dword [rsp + 0x20], r10d
mov edx, 0xa
mov rcx, rbx
call fcn.140138f10
jmp 0x1401b9772
mov r11, qword [rsp + 0x48]
movzx r9d, word [rsp + 0x30]
movzx eax, byte [rdi + 0x40]
mov r15d, 0xffff8000
imul r13, rax, 0x68
add r13, rbp
mov rbp, qword [r13 + 0x28]
mov qword [rsp + 0x50], rbp
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x1401b8f5c
mov rax, qword [r11 + 0x20]
mov r15d, r10d
add rax, 0x18
cmp qword [rax], rcx
je 0x1401b8f5c
nop
inc r15d
lea rax, [rax + 0x20]
cmp qword [rax], rcx
jne 0x1401b8f50
test dword [rbp + 0x30], 0x4000
mov rsi, qword [rdi + 0x60]
mov qword [rsp + 0x68], rsi
jne 0x1401b9040
movzx eax, byte [rbp + 0x3f]
cmp al, 2
je 0x1401b9040
mov ecx, dword [rsi + 0x38]
bt ecx, 0xa
jae 0x1401b90a0
mov rdi, qword [rbp + 0x50]
test rdi, rdi
je 0x1401b8fa2
cmp qword [rdi], r11
je 0x1401b8fa2
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x1401b8f94
movsxd rdx, dword [rbx + 0x90]
mov r8d, dword [r13 + 0x4c]
cmp dword [rbx + 0x94], edx
jg 0x1401b8fce
xor r9d, r9d
mov dword [rsp + 0x20], r10d
mov edx, 0xad
mov rcx, rbx
call fcn.140138f10
mov edx, eax
jmp 0x1401b8ffc
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 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 rax, qword [rbx]
cmp byte [rax + 0x67], 0
jne 0x1401b903b
test edx, edx
jns 0x1401b9011
mov edx, dword [rbx + 0x90]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x1401b908e
mov r9d, 0xfffffff5
mov r8, rdi
mov rcx, rbx
call fcn.14013a530
mov rdi, qword [rsp + 0x38]
test dword [rsi + 0x38], 0x200
je 0x1401b932e
test byte [rbp + 0x30], 0x80
mov r14d, reloc.WS2_32.dll_WSASetLastError
mov rsi, qword [rsi + 0x20]
je 0x1401b9189
mov eax, dword [rsi + 0x64]
and al, 3
cmp al, 2
movzx eax, word [rsp + 0x30]
jne 0x1401b918e
test al, 0x20
je 0x1401b918e
mov eax, dword [rdi + 4]
mov r14, qword [rsp + 0x110]
mov dword [rdi + 8], eax
jmp 0x1401b932e
test rdi, rdi
je 0x1401b903b
mov qword [rdx + 0x10], rdi
mov byte [rdx + 1], 0xf5
inc dword [rdi + 0x18]
jmp 0x1401b903b
cmp al, 1
je 0x1401b9040
test cl, 0x40
jne 0x1401b90af
test r9b, 0x20
je 0x1401b90b6
test byte [r13 + 0x44], 0x50
je 0x1401b9040
cmp byte [r12 + 0x42], 0
mov ecx, reloc.WS2_32.dll_WSASetLastError
je 0x1401b90d1
mov eax, dword [r13 + 0x4c]
mov ecx, WSAStartup
mov dword [r12 + 0x28], eax
mov edx, dword [r13 + 0x4c]
mov r9, rbp
mov dword [rsp + 0x20], ecx
mov r8d, r15d
mov rcx, r14
call fcn.14017d260
cmp byte [r12 + 0x42], 0
jne 0x1401b915e
cmp word [rbp + 0x36], 0x40
jge 0x1401b915e
test byte [rbp + 0x30], 0xe0
jne 0x1401b915e
test dword [rsi + 0x38], 0x404000
jne 0x1401b915e
mov rax, qword [r13 + 0x58]
xor r9d, r9d
test rax, rax
je 0x1401b9119
inc r9d
shr rax, 1
jne 0x1401b9111
mov rax, qword [rbx]
movsxd r8, r9d
cmp byte [rax + 0x67], 0
jne 0x1401b915e
movsxd rax, dword [rbx + 0x90]
lea rdx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rdx, [rdx - 3]
cmp byte [rax + rdx*8 + 1], 0
lea rdx, [rax + rdx*8]
je 0x1401b9156
mov r9d, 0xfffffffd
mov rcx, rbx
call fcn.14013a530
jmp 0x1401b915e
mov dword [rdx + 0x10], r9d
mov byte [rdx + 1], 0xfd
movsxd rax, dword [rbx + 0x90]
test eax, eax
jle 0x1401b9040
mov edx, dword [rsp + 0x128]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov word [rax + rcx*8 - 0x16], dx
jmp 0x1401b9040
movzx eax, word [rsp + 0x30]
cmp byte [r12 + 0x42], 0
je 0x1401b91c6
mov rax, qword [r13 + 0x28]
mov edi, dword [rsp + 0x58]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x1401b91b7
cmp rcx, rsi
je 0x1401b91b7
mov rcx, qword [rcx + 0x28]
inc edi
test rcx, rcx
jne 0x1401b91a7
mov r14d, WSAStartup
mov dword [r12 + 0x2c], edi
mov ebp, edi
jmp 0x1401b9217
mov ecx, dword [rsp + 0x58]
test ecx, ecx
je 0x1401b91de
test al, 0x20
je 0x1401b91de
mov edi, ecx
mov r14d, 0x65
mov ebp, ecx
jmp 0x1401b9217
mov rcx, qword [rsp + 0x110]
mov edi, dword [rcx + 0x34]
mov ebp, edi
lea eax, [rdi + 1]
mov dword [rcx + 0x34], eax
test dword [rsi + 0x64], 0x800
je 0x1401b9217
mov rax, qword [rsp + 0x48]
test dword [rax + 0x60], 0x1000000
jne 0x1401b9217
lea r9, [r13 + 8]
mov r8d, edi
mov rdx, rsi
call fcn.1401b81d0
mov rax, qword [rsp + 0x38]
mov dword [rax + 8], ebp
movsxd rcx, dword [rbx + 0x90]
mov r8d, dword [rsi + 0x58]
cmp dword [rbx + 0x94], ecx
jg 0x1401b924a
mov r9d, r8d
mov dword [rsp + 0x20], r15d
mov r8d, edi
mov edx, r14d
mov rcx, rbx
call fcn.140138f10
jmp 0x1401b9280
lea eax, [rcx + 1]
xor edx, edx
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov byte [rax + rcx*8], r14b
mov word [rax + rcx*8 + 2], dx
mov dword [rax + rcx*8 + 4], edi
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
mov r14, qword [rsp + 0x110]
mov rdx, rsi
mov rcx, r14
mov rdi, qword [r14 + 0x10]
call fcn.140170cd0
mov r8, rax
test rax, rax
je 0x1401b92e2
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
je 0x1401b92c6
cmp qword [rax + 0x2e8], 0
jne 0x1401b92e2
add dword [r8], 0xffffffff
jne 0x1401b92e2
mov rcx, qword [r8 + 0x10]
mov rdx, r8
call fcn.14010e270
jmp 0x1401b92e2
movsxd rax, dword [rdi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov byte [rax + rcx*8 - 0x17], 0xf8
mov qword [rax + rcx*8 - 8], r8
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x38]
test al, 0xf
je 0x1401b9329
test eax, 0x188002
jne 0x1401b9329
test byte [r12 + 0x3c], 1
jne 0x1401b9329
cmp byte [r12 + 0x43], 2
je 0x1401b9329
movsxd rax, dword [rbx + 0x90]
mov rbp, qword [rsp + 0x50]
test eax, eax
jle 0x1401b932e
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov word [rax + rcx*8 - 0x16], 2
jmp 0x1401b932e
mov rbp, qword [rsp + 0x50]
test r15d, r15d
js 0x1401b935f
mov rax, qword [r14 + 0x98]
mov rcx, r14
test rax, rax
cmovne rcx, rax
mov eax, dword [rcx + 0x7c]
bt eax, r15d
jb 0x1401b935f
bts eax, r15d
mov dword [rcx + 0x7c], eax
cmp r15d, 1
jne 0x1401b935f
call fcn.1401700d0
test byte [r13 + 0x44], 0x10
je 0x1401b961c
mov rcx, qword [r12]
mov edx, 0x24
mov rcx, qword [rcx]
call fcn.14010e610
mov rsi, rax
test rax, rax
je 0x1401b939c
mov rcx, qword [r12 + 0x60]
add rsi, 0x10
mov qword [rax], rcx
mov qword [rax + 8], reloc.WS2_32.dll_sendto
mov qword [r12 + 0x60], rax
mov rax, qword [rsp + 0x38]
mov qword [rax + 0x38], rsi
test rsi, rsi
je 0x1401b961c
mov eax, dword [r14 + 0x34]
xor r15d, r15d
mov dword [rsi], eax
mov edx, dword [r14 + 0x38]
inc dword [r14 + 0x34]
inc edx
mov dword [r14 + 0x38], edx
mov dword [rsi + 4], edx
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1401b93f3
mov r9d, edx
mov dword [rsp + 0x20], r15d
lea edx, [r15 + 0x4d]
mov r8d, 0x10000
mov rcx, rbx
call fcn.140138f10
jmp 0x1401b9424
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 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], r15d
mov qword [rax + rcx*8 + 0x10], r15
inc dword [r14 + 0x38]
mov edx, dword [r14 + 0x38]
mov dword [rsi + 8], edx
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1401b9457
xor r8d, r8d
mov dword [rsp + 0x20], r15d
mov r9d, edx
mov rcx, rbx
lea edx, [r8 + 0x4b]
call fcn.140138f10
jmp 0x1401b9481
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov qword [rax + rcx*8], 0x4b
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
test byte [rbp + 0x30], 0x80
jne 0x1401b952f
movsxd rcx, dword [rbx + 0x90]
mov edx, dword [rsi]
cmp dword [rbx + 0x94], ecx
jg 0x1401b94b8
mov r9d, 1
mov dword [rsp + 0x20], r15d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x75]
call fcn.140138f10
jmp 0x1401b94e5
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 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], r15
mov rcx, qword [r14]
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.14018e460
mov r8, rax
test rax, rax
je 0x1401b9607
mov rcx, qword [rax + 0x18]
mov qword [rax + 0x20], r15
mov byte [rcx], 0
mov rax, qword [rbx]
cmp byte [rax + 0x67], 0
jne 0x1401b95cd
movsxd rax, dword [rbx + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
jmp 0x1401b95fd
mov rdi, qword [rbp + 0x10]
test rdi, rdi
je 0x1401b9552
nop dword [rax + rax]
mov eax, dword [rdi + 0x64]
and al, 3
cmp al, 2
je 0x1401b9552
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x1401b9540
movsxd rcx, dword [rbx + 0x90]
movzx edx, word [rdi + 0x5e]
mov r8d, dword [rsi]
cmp dword [rbx + 0x94], ecx
jg 0x1401b957f
mov r9d, edx
mov dword [rsp + 0x20], r15d
mov edx, 0x76
mov rcx, rbx
call fcn.140138f10
jmp 0x1401b95ad
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 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], r15d
mov qword [rax + rcx*8 + 0x10], r15
mov rsi, qword [r14 + 0x10]
mov rdx, rdi
mov rcx, r14
call fcn.140170cd0
mov r8, rax
test rax, rax
je 0x1401b9607
mov rax, qword [rsi]
cmp byte [rax + 0x67], 0
je 0x1401b95eb
cmp qword [rax + 0x2e8], 0
jne 0x1401b9607
add dword [r8], 0xffffffff
jne 0x1401b9607
mov rcx, qword [r8 + 0x10]
mov rdx, r8
call fcn.14010e270
jmp 0x1401b9607
movsxd rax, dword [rsi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
mov qword [rax + rcx*8 - 8], r8
mov byte [rax + rcx*8 - 0x17], 0xf8
mov rax, qword [rsp + 0x68]
and dword [rax + 0x38], 0xffffffbf
mov byte [r12 + 0x41], 0
mov byte [r12 + 0x43], 3
mov edx, dword [rsp + 0x5c]
mov r10d, 0
mov rdi, qword [rsp + 0x38]
inc edx
mov ecx, dword [rsp + 0x34]
add rdi, 0x70
mov rbp, qword [rsp + 0x118]
mov dword [rsp + 0x5c], edx
mov qword [rsp + 0x38], rdi
cmp edx, ecx
jl 0x1401b8f10
lea rsi, [r12 + 0x360]
jmp 0x1401b8e71
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 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 0x1401b9772
movsxd rsi, dword [rbx + 0x90]
cmp dword [rbx + 0x94], esi
jg 0x1401b96bb
xor r9d, r9d
mov dword [rsp + 0x20], r10d
xor r8d, r8d
mov rcx, rbx
lea edx, [r9 + 0xf]
call fcn.140138f10
mov esi, eax
xor r10d, r10d
jmp 0x1401b96e5
lea rcx, [rsi + rsi*2]
lea eax, [rsi + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
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 [rbx + 0x90]
mov edx, dword [rdi + 0x38]
mov r8d, dword [rdi + 0x3c]
cmp dword [rbx + 0x94], ecx
jg 0x1401b9712
mov r9d, edx
mov dword [rsp + 0x20], r10d
mov edx, 0xa
mov rcx, rbx
call fcn.140138f10
jmp 0x1401b9740
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 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 [rbx]
mov edx, dword [rbx + 0x90]
cmp byte [rax + 0x67], 0
je 0x1401b9758
lea rax, [0x1404047a0]
jmp 0x1401b976a
movsxd rax, esi
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rcx*8]
mov rsi, qword [rsp + 0x70]
mov dword [rax + 8], edx
mov rdi, qword [rsp + 0x60]
test r14d, 0x404000
je 0x1401b97b8
bt r14d, 0xe
jae 0x1401b97a1
mov rcx, qword [rsp + 0x110]
lea rdx, [r12 + 0x70]
mov r9, rsi
mov r8, rdi
call fcn.1401b0fa0
jmp 0x1401b97b1
mov r9, rdi
mov r8, rsi
mov edx, ebp
mov rcx, r12
call fcn.1401b1e60
cmp byte [r15 + 0x67], 0
jne 0x1401b9830
mov r14, qword [rsp + 0x110]
mov r8, rsi
movzx r9d, word [rsp + 0x30]
mov rcx, r14
mov rdx, r13
call fcn.1401a6a80
mov eax, dword [rbx + 0x90]
mov r9d, ebp
mov r8, r12
mov qword [rsp + 0x28], rdi
mov rdx, rbx
mov dword [rsi + 0x20], eax
mov rcx, r14
mov qword [rsp + 0x20], rsi
call fcn.1401a8ba0
mov qword [rsp + 0x60], rax
inc ebp
mov eax, dword [rsi + 0x18]
mov r10d, 0
add rsi, 0x70
mov dword [r12 + 0x30], eax
mov qword [rsp + 0x70], rsi
cmp ebp, dword [rsp + 0x34]
jl 0x1401b8ea0
mov eax, dword [rbx + 0x90]
mov dword [r12 + 0x50], eax
mov rax, r12
jmp 0x1401b9857
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x110]
movzx eax, word [rcx + 0x38]
mov word [rdx + 0xc8], ax
mov rdx, rcx
mov rcx, qword [rsp + 0x48]
call fcn.1401b30c0
xor eax, eax
mov rdi, qword [rsp + 0x120]
mov r14, qword [rsp + 0xd0]
add rsp, 0xd8
pop r15
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret