Function at 0x1401b8bb0
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 0x1401b8c08
cmp dword [r15], 0x40
cmovge r15, r9
mov qword [rax + 0x20], r15
mov eax, dword [rdx]
cmp eax, 0x40
jle 0x1401b8c34
mov r8d, 0x40
lea rdx, str.at_most__d_tables_in_a_join
call fcn.1401110a0
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.14010ec20
cmp byte [r13 + 0x67], 0
mov r14, rax
mov qword [rsp + 0x40], rax
je 0x1401b8c9f
test rax, rax
je 0x1401b9e65
mov rdx, rax
mov rcx, r13
call fcn.14010e7a0
jmp 0x1401b9e65
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.140291590
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 0x1401b8de3
nop
mov eax, dword [rdi + 4]
test eax, 0x82000
je 0x1401b8de3
bt eax, 0x13
jae 0x1401b8dda
mov rax, qword [rdi + 0x20]
mov rdi, qword [rax + 8]
jmp 0x1401b8dde
mov rdi, qword [rdi + 0x10]
test rdi, rdi
jne 0x1401b8dc0
mov byte [rbp + 0x10], 0x2c
mov r8d, pe_nt_image_headers64
test rdi, rdi
je 0x1401b8fe6
cmp byte [rdi], 0x2c
je 0x1401b8fc6
movsxd rax, dword [rbp + 0x18]
cmp edx, eax
jl 0x1401b8f33
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 0x1401b8e5e
cmp dword [rcx + 0x190], 0
jne 0x1401b8e41
inc dword [rcx + 0x1a4]
jmp 0x1401b8ee1
cmp byte [rcx + 0x67], 0
je 0x1401b8ee1
mov rax, qword [rsp + 0x38]
mov qword [rax + 0x20], rbp
mov rbp, qword [rsp + 0x38]
jmp 0x1401b8fe4
cmp rdx, r8
ja 0x1401b8e9f
mov r9, qword [rcx + 0x1c8]
test r9, r9
je 0x1401b8e81
mov rax, qword [r9]
mov qword [rcx + 0x1c8], rax
inc dword [rcx + 0x1a0]
jmp 0x1401b8eee
mov r9, qword [rcx + 0x1c0]
test r9, r9
je 0x1401b8e9f
mov rax, qword [r9]
mov qword [rcx + 0x1c0], rax
inc dword [rcx + 0x1a0]
jmp 0x1401b8eee
mov r9, qword [rcx + 0x1b8]
test r9, r9
je 0x1401b8ebd
mov rax, qword [r9]
mov qword [rcx + 0x1b8], rax
inc dword [rcx + 0x1a0]
jmp 0x1401b8eee
mov r9, qword [rcx + 0x1b0]
test r9, r9
je 0x1401b8edb
mov rax, qword [r9]
inc dword [rcx + 0x1a0]
mov qword [rcx + 0x1b0], rax
jmp 0x1401b8eee
inc dword [rcx + 0x1a8]
call fcn.14010ebc0
mov r9, rax
test rax, rax
je 0x1401b8f01
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 0x1401b8e50
movsxd rax, dword [rax + 0x14]
mov rdx, rbp
imul r8, rax, 0x38
mov rcx, r9
call fcn.140290ef0
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 0x1401b8f6e
test dword [rsi + 4], 0x80000
je 0x1401b8f6e
movsxd rcx, dword [rsi + 0x28]
call fcn.1401131f0
mov ecx, 0x10e
sub ax, cx
mov word [r8 + 0x10], ax
jmp 0x1401b8f80
mov word [r8 + 0x10], 1
test rsi, rsi
je 0x1401b8fa3
nop word [rax + rax]
mov eax, dword [rsi + 4]
test eax, 0x82000
je 0x1401b8fa3
bt eax, 0x13
jae 0x1401b8f9a
mov rax, qword [rsi + 0x20]
mov rsi, qword [rax + 8]
jmp 0x1401b8f9e
mov rsi, qword [rsi + 0x10]
test rsi, rsi
jne 0x1401b8f80
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 0x1401b8fe6
mov rdx, qword [rdi + 0x10]
mov r8b, 0x2c
mov rcx, rbp
call fcn.1401af890
mov rdx, qword [rdi + 0x18]
mov r8b, 0x2c
mov rcx, rbp
call fcn.1401af890
xor edx, edx
cmp dword [rsp + 0x34], 0
mov r8d, 0x100
jne 0x1401b9036
mov rcx, qword [rsp + 0x40]
test r15, r15
je 0x1401b9004
movzx eax, byte [r15]
mov byte [rcx + 0x41], al
test word [rsp + 0x30], r8w
je 0x1401b901b
mov rax, qword [rsp + 0x48]
test byte [rax + 0x60], 0x10
jne 0x1401b901b
mov byte [rcx + 0x43], 1
mov r14, qword [rsp + 0x110]
lea r8, str.SCAN_CONSTANT_ROW
mov rcx, r14
xor edx, edx
call fcn.140139e80
jmp 0x1401b9099
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.1401affe0
inc edi
lea rsi, [rsi + 0x68]
cmp edi, dword [r13]
jl 0x1401b9051
mov rbx, qword [rsp + 0x50]
mov r13, qword [rsp + 0x130]
mov edi, dword [rbp + 0x14]
sub edi, 1
js 0x1401b90c3
mov rsi, qword [rsp + 0x118]
nop dword [rax]
mov r8d, edi
mov rdx, rbp
mov rcx, rsi
call fcn.1401ae210
sub edi, 1
jns 0x1401b90b0
test r12, r12
je 0x1401b90db
cmp qword [r12 + 0x60], 0
je 0x1401b90db
mov rdx, r12
mov rcx, rbp
call fcn.1401afb00
cmp dword [r14 + 0x30], 0
jne 0x1401b9e40
mov rax, qword [rsp + 0x38]
xor ecx, ecx
mov ebp, ecx
cmp dword [rax + 0x1c], ecx
jle 0x1401b9212
mov r12, qword [rsp + 0x40]
lea rdx, [0x1401b8340]
mov rbx, qword [rsp + 0x110]
lea r8, [0x1401547c0]
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 0x1401b91cd
cmp qword [rdi + 0x30], 0
mov rsi, qword [rdi]
jne 0x1401b91cd
cmp dword [rsp + 0x34], 0
je 0x1401b91a5
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 0x1401b91a5
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.14014c9b0
cmp word [rsp + 0x9c], 0
je 0x1401b91cd
test byte [rsi + 4], 2
je 0x1401b91b2
test byte [r15 + 0x44], 0x40
jne 0x1401b91cd
mov r8d, dword [r12 + 0x34]
mov r9d, reloc.WS2_32.dll_recv
mov rdx, rsi
mov rcx, rbx
call fcn.14015b7d0
or word [rdi + 0x12], 4
inc ebp
lea rdx, [0x1401b8340]
add r14, 0x38
lea r8, [0x1401547c0]
mov ecx, 0
cmp ebp, dword [r13 + 0x1c]
jl 0x1401b9121
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 0x1401b9284
test byte [rdi + 0x60], 0x10
je 0x1401b924b
mov r12, qword [rsp + 0x40]
mov eax, 0xfeff
and si, ax
mov word [rsp + 0x30], si
and word [r12 + 0x3c], ax
jmp 0x1401b9289
mov r9, r13
mov r8, rax
mov rdx, rbp
mov rcx, r14
call fcn.1401b1120
mov r12, qword [rsp + 0x40]
test eax, eax
je 0x1401b926d
mov byte [r12 + 0x43], 1
jmp 0x1401b9289
test r15, r15
jne 0x1401b9289
mov eax, pe_nt_image_headers64
mov qword [r12 + 0x10], r13
or word [r12 + 0x3c], ax
jmp 0x1401b9289
mov r12, qword [rsp + 0x40]
mov r15d, dword [rsp + 0x34]
cmp r15d, 1
jne 0x1401b92a5
lea rcx, [rsp + 0xa8]
call fcn.1401b8100
test eax, eax
jne 0x1401b92f1
lea rcx, [rsp + 0xa8]
call fcn.1401b6740
test eax, eax
jne 0x1401b9e40
xor edx, edx
mov rcx, r12
call fcn.1401b7540
cmp byte [rdi + 0x67], 0
jne 0x1401b9e40
cmp qword [r12 + 0x10], 0
je 0x1401b92f9
movzx edx, word [r12 + 0x48]
mov rcx, r12
inc dx
call fcn.1401b7540
cmp byte [rdi + 0x67], 0
jne 0x1401b9e40
cmp qword [r12 + 0x10], 0
jne 0x1401b930b
mov eax, dword [rdi + 0x30]
bt rax, 0xc
jae 0x1401b930b
mov rcx, r12
call fcn.1401b8b50
cmp dword [r14 + 0x30], 0
jne 0x1401b9e40
movzx eax, byte [r12 + 0x40]
mov ecx, 0x400
cmp al, 2
jb 0x1401b937a
test r13, r13
je 0x1401b9363
movzx eax, si
xor r9d, r9d
and ax, cx
cmp r9w, ax
jne 0x1401b9363
mov eax, 0x100
test dword [rdi + 0x60], eax
jne 0x1401b9363
mov rcx, r12
call fcn.1401b83d0
movzx r15d, byte [r12 + 0x40]
mov qword [rsp + 0x60], rax
movzx eax, r15b
mov dword [rsp + 0x34], r15d
cmp al, 2
jb 0x1401b937a
mov r11, qword [rsp + 0x48]
test dword [r11 + 0x60], 0x80000
jne 0x1401b937f
mov rcx, r12
call fcn.1401b8610
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 0x1401b945f
mov r8, qword [r12 + 0x3c0]
movzx edx, r9w
and dx, 8
mov ecx, dword [r8 + 0x38]
test ecx, 0x1000
jne 0x1401b941b
mov dword [rsp + 0x128], r10d
cmp r10w, dx
je 0x1401b945f
mov rax, qword [rbp + 0x28]
mov word [rsp + 0x128], r10w
cmp byte [rax + 0x3f], 1
je 0x1401b945f
bt ecx, 0xd
jae 0x1401b9402
mov word [rsp + 0x128], r10w
test r9b, 0x10
je 0x1401b945f
test dword [r11 + 0x60], 0x8000000
mov word [rsp + 0x128], r10w
jne 0x1401b945f
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 0x1401b945f
mov word [rsp + 0x128], r10w
test cl, 0x40
je 0x1401b945f
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 0x1401b952b
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 0x1401b9e40
mov ebp, r10d
test ecx, ecx
jle 0x1401b9e30
mov r13, qword [rsp + 0x118]
nop
cmp dword [r14 + 0x30], 0
jne 0x1401b9e40
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 0x1401b9d82
test al, 8
je 0x1401b9c9e
movsxd rcx, dword [rbx + 0x90]
mov edx, dword [rdi + 0x38]
mov r8d, dword [rdi + 0x3c]
cmp dword [rbx + 0x94], ecx
jg 0x1401b9c6b
mov r9d, edx
mov dword [rsp + 0x20], r10d
mov edx, 0xa
mov rcx, rbx
call fcn.140139520
jmp 0x1401b9d82
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 0x1401b956c
mov rax, qword [r11 + 0x20]
mov r15d, r10d
add rax, 0x18
cmp qword [rax], rcx
je 0x1401b956c
nop
inc r15d
lea rax, [rax + 0x20]
cmp qword [rax], rcx
jne 0x1401b9560
test dword [rbp + 0x30], 0x4000
mov rsi, qword [rdi + 0x60]
mov qword [rsp + 0x68], rsi
jne 0x1401b9650
movzx eax, byte [rbp + 0x3f]
cmp al, 2
je 0x1401b9650
mov ecx, dword [rsi + 0x38]
bt ecx, 0xa
jae 0x1401b96b0
mov rdi, qword [rbp + 0x50]
test rdi, rdi
je 0x1401b95b2
cmp qword [rdi], r11
je 0x1401b95b2
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x1401b95a4
movsxd rdx, dword [rbx + 0x90]
mov r8d, dword [r13 + 0x4c]
cmp dword [rbx + 0x94], edx
jg 0x1401b95de
xor r9d, r9d
mov dword [rsp + 0x20], r10d
mov edx, 0xad
mov rcx, rbx
call fcn.140139520
mov edx, eax
jmp 0x1401b960c
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 0x1401b964b
test edx, edx
jns 0x1401b9621
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 0x1401b969e
mov r9d, 0xfffffff5
mov r8, rdi
mov rcx, rbx
call fcn.14013ab40
mov rdi, qword [rsp + 0x38]
test dword [rsi + 0x38], 0x200
je 0x1401b993e
test byte [rbp + 0x30], 0x80
mov r14d, reloc.WS2_32.dll_WSASetLastError
mov rsi, qword [rsi + 0x20]
je 0x1401b9799
mov eax, dword [rsi + 0x64]
and al, 3
cmp al, 2
movzx eax, word [rsp + 0x30]
jne 0x1401b979e
test al, 0x20
je 0x1401b979e
mov eax, dword [rdi + 4]
mov r14, qword [rsp + 0x110]
mov dword [rdi + 8], eax
jmp 0x1401b993e
test rdi, rdi
je 0x1401b964b
mov qword [rdx + 0x10], rdi
mov byte [rdx + 1], 0xf5
inc dword [rdi + 0x18]
jmp 0x1401b964b
cmp al, 1
je 0x1401b9650
test cl, 0x40
jne 0x1401b96bf
test r9b, 0x20
je 0x1401b96c6
test byte [r13 + 0x44], 0x50
je 0x1401b9650
cmp byte [r12 + 0x42], 0
mov ecx, reloc.WS2_32.dll_WSASetLastError
je 0x1401b96e1
mov eax, dword [r13 + 0x4c]
mov ecx, WSACleanup
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.14017d870
cmp byte [r12 + 0x42], 0
jne 0x1401b976e
cmp word [rbp + 0x36], 0x40
jge 0x1401b976e
test byte [rbp + 0x30], 0xe0
jne 0x1401b976e
test dword [rsi + 0x38], 0x404000
jne 0x1401b976e
mov rax, qword [r13 + 0x58]
xor r9d, r9d
test rax, rax
je 0x1401b9729
inc r9d
shr rax, 1
jne 0x1401b9721
mov rax, qword [rbx]
movsxd r8, r9d
cmp byte [rax + 0x67], 0
jne 0x1401b976e
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 0x1401b9766
mov r9d, 0xfffffffd
mov rcx, rbx
call fcn.14013ab40
jmp 0x1401b976e
mov dword [rdx + 0x10], r9d
mov byte [rdx + 1], 0xfd
movsxd rax, dword [rbx + 0x90]
test eax, eax
jle 0x1401b9650
mov edx, dword [rsp + 0x128]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov word [rax + rcx*8 - 0x16], dx
jmp 0x1401b9650
movzx eax, word [rsp + 0x30]
cmp byte [r12 + 0x42], 0
je 0x1401b97d6
mov rax, qword [r13 + 0x28]
mov edi, dword [rsp + 0x58]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x1401b97c7
cmp rcx, rsi
je 0x1401b97c7
mov rcx, qword [rcx + 0x28]
inc edi
test rcx, rcx
jne 0x1401b97b7
mov r14d, WSACleanup
mov dword [r12 + 0x2c], edi
mov ebp, edi
jmp 0x1401b9827
mov ecx, dword [rsp + 0x58]
test ecx, ecx
je 0x1401b97ee
test al, 0x20
je 0x1401b97ee
mov edi, ecx
mov r14d, 0x65
mov ebp, ecx
jmp 0x1401b9827
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 0x1401b9827
mov rax, qword [rsp + 0x48]
test dword [rax + 0x60], 0x1000000
jne 0x1401b9827
lea r9, [r13 + 8]
mov r8d, edi
mov rdx, rsi
call fcn.1401b87e0
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 0x1401b985a
mov r9d, r8d
mov dword [rsp + 0x20], r15d
mov r8d, edi
mov edx, r14d
mov rcx, rbx
call fcn.140139520
jmp 0x1401b9890
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.1401712e0
mov r8, rax
test rax, rax
je 0x1401b98f2
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
je 0x1401b98d6
cmp qword [rax + 0x2e8], 0
jne 0x1401b98f2
add dword [r8], 0xffffffff
jne 0x1401b98f2
mov rcx, qword [r8 + 0x10]
mov rdx, r8
call fcn.14010e880
jmp 0x1401b98f2
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 0x1401b9939
test eax, 0x188002
jne 0x1401b9939
test byte [r12 + 0x3c], 1
jne 0x1401b9939
cmp byte [r12 + 0x43], 2
je 0x1401b9939
movsxd rax, dword [rbx + 0x90]
mov rbp, qword [rsp + 0x50]
test eax, eax
jle 0x1401b993e
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov word [rax + rcx*8 - 0x16], 2
jmp 0x1401b993e
mov rbp, qword [rsp + 0x50]
test r15d, r15d
js 0x1401b996f
mov rax, qword [r14 + 0x98]
mov rcx, r14
test rax, rax
cmovne rcx, rax
mov eax, dword [rcx + 0x7c]
bt eax, r15d
jb 0x1401b996f
bts eax, r15d
mov dword [rcx + 0x7c], eax
cmp r15d, 1
jne 0x1401b996f
call fcn.1401706e0
test byte [r13 + 0x44], 0x10
je 0x1401b9c2c
mov rcx, qword [r12]
mov edx, 0x24
mov rcx, qword [rcx]
call fcn.14010ec20
mov rsi, rax
test rax, rax
je 0x1401b99ac
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 0x1401b9c2c
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 0x1401b9a03
mov r9d, edx
mov dword [rsp + 0x20], r15d
lea edx, [r15 + 0x4d]
mov r8d, 0x10000
mov rcx, rbx
call fcn.140139520
jmp 0x1401b9a34
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 0x1401b9a67
xor r8d, r8d
mov dword [rsp + 0x20], r15d
mov r9d, edx
mov rcx, rbx
lea edx, [r8 + 0x4b]
call fcn.140139520
jmp 0x1401b9a91
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 0x1401b9b3f
movsxd rcx, dword [rbx + 0x90]
mov edx, dword [rsi]
cmp dword [rbx + 0x94], ecx
jg 0x1401b9ac8
mov r9d, 1
mov dword [rsp + 0x20], r15d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x75]
call fcn.140139520
jmp 0x1401b9af5
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.14018ea70
mov r8, rax
test rax, rax
je 0x1401b9c17
mov rcx, qword [rax + 0x18]
mov qword [rax + 0x20], r15
mov byte [rcx], 0
mov rax, qword [rbx]
cmp byte [rax + 0x67], 0
jne 0x1401b9bdd
movsxd rax, dword [rbx + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
jmp 0x1401b9c0d
mov rdi, qword [rbp + 0x10]
test rdi, rdi
je 0x1401b9b62
nop dword [rax + rax]
mov eax, dword [rdi + 0x64]
and al, 3
cmp al, 2
je 0x1401b9b62
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x1401b9b50
movsxd rcx, dword [rbx + 0x90]
movzx edx, word [rdi + 0x5e]
mov r8d, dword [rsi]
cmp dword [rbx + 0x94], ecx
jg 0x1401b9b8f
mov r9d, edx
mov dword [rsp + 0x20], r15d
mov edx, 0x76
mov rcx, rbx
call fcn.140139520
jmp 0x1401b9bbd
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.1401712e0
mov r8, rax
test rax, rax
je 0x1401b9c17
mov rax, qword [rsi]
cmp byte [rax + 0x67], 0
je 0x1401b9bfb
cmp qword [rax + 0x2e8], 0
jne 0x1401b9c17
add dword [r8], 0xffffffff
jne 0x1401b9c17
mov rcx, qword [r8 + 0x10]
mov rdx, r8
call fcn.14010e880
jmp 0x1401b9c17
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 0x1401b9520
lea rsi, [r12 + 0x360]
jmp 0x1401b9481
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 0x1401b9d82
movsxd rsi, dword [rbx + 0x90]
cmp dword [rbx + 0x94], esi
jg 0x1401b9ccb
xor r9d, r9d
mov dword [rsp + 0x20], r10d
xor r8d, r8d
mov rcx, rbx
lea edx, [r9 + 0xf]
call fcn.140139520
mov esi, eax
xor r10d, r10d
jmp 0x1401b9cf5
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 0x1401b9d22
mov r9d, edx
mov dword [rsp + 0x20], r10d
mov edx, 0xa
mov rcx, rbx
call fcn.140139520
jmp 0x1401b9d50
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 0x1401b9d68
lea rax, [0x140332b10]
jmp 0x1401b9d7a
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 0x1401b9dc8
bt r14d, 0xe
jae 0x1401b9db1
mov rcx, qword [rsp + 0x110]
lea rdx, [r12 + 0x70]
mov r9, rsi
mov r8, rdi
call fcn.1401b15b0
jmp 0x1401b9dc1
mov r9, rdi
mov r8, rsi
mov edx, ebp
mov rcx, r12
call fcn.1401b2470
cmp byte [r15 + 0x67], 0
jne 0x1401b9e40
mov r14, qword [rsp + 0x110]
mov r8, rsi
movzx r9d, word [rsp + 0x30]
mov rcx, r14
mov rdx, r13
call fcn.1401a7090
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.1401a91b0
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 0x1401b94b0
mov eax, dword [rbx + 0x90]
mov dword [r12 + 0x50], eax
mov rax, r12
jmp 0x1401b9e67
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.1401b36d0
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