Function at 0x140164a50
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 rdi
push r12
push r13
push r14
sub rsp, 0xd8
mov rdi, qword [rcx + 0x10]
mov r12, r9
mov rbp, qword [rcx]
xor r9d, r9d
mov qword [rsp + 0x68], rdi
xorps xmm0, xmm0
mov qword [rsp + 0x38], rbp
mov rbx, r8
mov r13, rdx
mov r14, rcx
movdqu xmmword [rax - 0x80], xmm0
test r12, r12
je 0x140164aa9
cmp dword [r12], 0x40
cmovge r12, r9
mov qword [rax + 0x20], r12
mov eax, dword [rdx]
cmp eax, 0x40
jle 0x140164ad5
mov r8d, 0x40
lea rdx, str.at_most__d_tables_in_a_join
call fcn.140127c50
xor eax, eax
add rsp, 0xd8
pop r14
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
test byte [rsp + 0x140], 0x20
mov ecx, 1
mov qword [rsp + 0x120], rsi
cmovne eax, ecx
mov qword [rsp + 0xd0], r15
mov dword [rsp + 0x30], eax
mov rcx, rbp
imul eax, eax, 0x70
add eax, 0x360
movsxd rsi, eax
lea rdx, [rsi + 0x70]
call fcn.140125140
cmp byte [rbp + 0x67], 0
mov r15, rax
mov qword [rsp + 0x50], rax
je 0x140164b37
test rax, rax
je 0x140165ca5
mov rdx, rax
mov rcx, rbp
call fcn.140124fb0
jmp 0x140165ca5
movsxd rcx, dword [rsp + 0x30]
xorps xmm0, xmm0
mov qword [rax + 8], r13
xor edx, edx
mov r13, qword [rsp + 0x138]
mov qword [rax], r14
mov qword [rax + 0x10], r12
mov rax, qword [rsp + 0x130]
mov qword [r15 + 0x18], rax
mov rax, 0xffffffffffffffff
mov qword [r15 + 0x28], rax
mov byte [r15 + 0x40], cl
mov qword [rsp + 0x60], rax
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 + 0x140]
mov word [r15 + 0x3c], ax
mov eax, dword [rsp + 0x148]
mov word [r15 + 0x3e], ax
movsx eax, word [r14 + 0xd8]
mov dword [r15 + 0x38], eax
xor eax, eax
mov qword [r15 + 0x20], r13
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.1401b9730
lea r14, [r15 + 0x70]
xor ebp, ebp
mov dword [r15 + 0x25c], ebp
lea rcx, [rsi + r15]
mov dword [r15 + 0x260], 0xffffff9d
lea rax, [rcx + 0x58]
mov qword [rsp + 0x70], r15
mov rsi, rbx
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], rcx
mov qword [rcx + 0x48], rax
lea rax, [r14 + 0x28]
mov word [rcx + 0x3c], bp
mov word [rcx + 0x40], 3
mov dword [rcx + 0x38], ebp
mov qword [r14 + 0x20], rax
mov qword [r14], r15
mov byte [r14 + 0x11], bpl
mov qword [r14 + 8], rbp
mov dword [r14 + 0x14], ebp
mov qword [r14 + 0x18], 8
test rbx, rbx
je 0x140164c73
nop word [rax + rax]
mov eax, dword [rsi + 4]
test eax, 0x82000
je 0x140164c73
bt eax, 0x13
jae 0x140164c6a
mov rax, qword [rsi + 0x20]
mov rsi, qword [rax + 8]
jmp 0x140164c6e
mov rsi, qword [rsi + 0x10]
test rsi, rsi
jne 0x140164c50
mov byte [r14 + 0x10], 0x2c
test rsi, rsi
je 0x140164e62
cmp byte [rsi], 0x2c
je 0x140164e44
movsxd rax, dword [r14 + 0x18]
cmp ebp, eax
jl 0x140164db4
mov rbp, qword [r14 + 0x20]
mov rsi, r15
imul r15, rax, 0x70
mov rax, qword [rsi]
mov rcx, qword [rax]
lea rdx, [r15 + 0x10]
movzx eax, word [rcx + 0x1a4]
cmp rdx, rax
jbe 0x140164cda
cmp dword [rcx + 0x1a0], 0
jne 0x140164ccb
inc dword [rcx + 0x1b4]
jmp 0x140164d61
cmp byte [rcx + 0x67], 0
jne 0x140164d8a
jmp 0x140164d61
cmp rdx, 0x80
ja 0x140164d1f
mov r9, qword [rcx + 0x1d8]
test r9, r9
je 0x140164d01
mov rax, qword [r9]
mov qword [rcx + 0x1d8], rax
inc dword [rcx + 0x1b0]
jmp 0x140164d6e
mov r9, qword [rcx + 0x1d0]
test r9, r9
je 0x140164d1f
mov rax, qword [r9]
mov qword [rcx + 0x1d0], rax
inc dword [rcx + 0x1b0]
jmp 0x140164d6e
mov r9, qword [rcx + 0x1c8]
test r9, r9
je 0x140164d3d
mov rax, qword [r9]
mov qword [rcx + 0x1c8], rax
inc dword [rcx + 0x1b0]
jmp 0x140164d6e
mov r9, qword [rcx + 0x1c0]
test r9, r9
je 0x140164d5b
mov rax, qword [r9]
inc dword [rcx + 0x1b0]
mov qword [rcx + 0x1c0], rax
jmp 0x140164d6e
inc dword [rcx + 0x1b8]
call fcn.1400ebf30
mov r9, rax
test rax, rax
je 0x140164d81
mov rax, qword [rsi + 0x60]
mov qword [r9], rax
mov qword [r9 + 8], r15
mov qword [rsi + 0x60], r9
add r9, 0x10
mov qword [r14 + 0x20], r9
test r9, r9
jne 0x140164d95
mov qword [r14 + 0x20], rbp
xor ebp, ebp
jmp 0x140164e62
movsxd rax, dword [r14 + 0x14]
mov rdx, rbp
imul r8, rax, 0x38
mov rcx, r9
call fcn.1401b9090
mov eax, dword [r14 + 0x18]
add eax, eax
mov dword [r14 + 0x18], eax
xor ebp, ebp
movsxd rdx, dword [r14 + 0x14]
imul r8, rdx, 0x38
lea eax, [rdx + 1]
add r8, qword [r14 + 0x20]
mov dword [r14 + 0x14], eax
mov dword [r14 + 0x1c], eax
test rbx, rbx
je 0x140164df1
test dword [rbx + 4], 0x80000
je 0x140164df1
movsxd rcx, dword [rbx + 0x2c]
call fcn.14013b440
mov ecx, 0x10e
sub ax, cx
mov word [r8 + 0x10], ax
jmp 0x140164e00
mov word [r8 + 0x10], 1
test rbx, rbx
je 0x140164e23
nop dword [rax]
mov eax, dword [rbx + 4]
test eax, 0x82000
je 0x140164e23
bt eax, 0x13
jae 0x140164e1a
mov rax, qword [rbx + 0x20]
mov rbx, qword [rax + 8]
jmp 0x140164e1e
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140164e00
mov qword [r8], rbx
xorps xmm0, xmm0
mov word [r8 + 0x12], bp
xor eax, eax
mov qword [r8 + 8], r14
movups xmmword [r8 + 0x14], xmm0
movups xmmword [r8 + 0x24], xmm0
mov dword [r8 + 0x34], eax
jmp 0x140164e62
mov rdx, qword [rsi + 0x10]
mov r8b, 0x2c
mov rcx, r14
call fcn.14016aa90
mov rdx, qword [rsi + 0x18]
mov r8b, 0x2c
mov rcx, r14
call fcn.14016aa90
cmp dword [rsp + 0x30], 0
mov ecx, 0x100
mov r15, qword [rsp + 0x50]
jne 0x140164eb6
test r12, r12
je 0x140164e81
movzx eax, byte [r12]
mov byte [r15 + 0x41], al
test word [rsp + 0x140], cx
je 0x140164e9b
mov rax, qword [rsp + 0x38]
test byte [rax + 0x60], 0x10
jne 0x140164e9b
mov byte [r15 + 0x43], 1
mov rbp, qword [rsp + 0x110]
lea r8, str.SCAN_CONSTANT_ROW
mov rcx, rbp
xor edx, edx
call fcn.14015e600
jmp 0x140164f15
mov r13, qword [rsp + 0x118]
mov ebx, ebp
mov rbp, qword [rsp + 0x110]
lea rsi, [r13 + 0x4c]
nop dword [rax]
movsxd rcx, dword [r15 + 0x25c]
mov r8, r14
mov eax, dword [rsi]
mov dword [r15 + rcx*4 + 0x260], eax
mov rcx, rbp
inc dword [r15 + 0x25c]
movsxd rax, ebx
imul rdx, rax, 0x68
add rdx, 8
add rdx, r13
call fcn.14016ab10
inc ebx
lea rsi, [rsi + 0x68]
cmp ebx, dword [r13]
jl 0x140164ed0
mov r13, qword [rsp + 0x138]
mov ebx, dword [r14 + 0x14]
sub ebx, 1
js 0x140164f43
mov rsi, qword [rsp + 0x118]
nop word [rax + rax]
mov r8d, ebx
mov rdx, r14
mov rcx, rsi
call fcn.1400ed9f0
sub ebx, 1
jns 0x140164f30
test r13, r13
je 0x140164f5a
cmp qword [r13 + 0x60], 0
je 0x140164f5a
mov rdx, r13
mov rcx, r14
call fcn.140164950
cmp dword [rbp + 0x30], 0
jne 0x140165c8c
mov rax, qword [rsp + 0x78]
xor edx, edx
mov ebp, edx
cmp dword [rax + 0x1c], edx
jle 0x140165087
mov r13, qword [rsp + 0x110]
lea r8, [0x1400f19c0]
mov rdi, qword [rsp + 0x118]
lea r9, [0x14014d5c0]
mov r12d, dword [rsp + 0x30]
mov r14d, edx
nop dword [rax]
mov rax, qword [rsp + 0x78]
mov rbx, qword [rax + 0x20]
add rbx, r14
test byte [rbx + 0x12], 2
jne 0x140165053
cmp qword [rbx + 0x30], 0
mov rsi, qword [rbx]
jne 0x140165053
test r12d, r12d
je 0x14016502d
mov qword [rsp + 0x98], rdx
mov eax, 1
mov word [rsp + 0xbc], ax
mov qword [rsp + 0xb0], rdx
mov dword [rsp + 0xb8], edx
mov qword [rsp + 0xbe], rdx
mov word [rsp + 0xc6], dx
mov qword [rsp + 0xa0], r8
mov qword [rsp + 0xa8], r9
test rsi, rsi
je 0x14016502d
mov rdx, rsi
lea rcx, [rsp + 0x98]
call fcn.140164620
cmp word [rsp + 0xbc], 0
je 0x140165053
test byte [rsi + 4], 2
je 0x140165039
test byte [rdi + 0x44], 0x40
jne 0x140165053
mov r8d, dword [r15 + 0x34]
mov r9d, reloc.WS2_32.dll_recv
mov rdx, rsi
mov rcx, r13
call fcn.14012cfc0
or word [rbx + 0x12], 4
mov rax, qword [rsp + 0x78]
lea r8, [0x1400f19c0]
inc ebp
lea r9, [0x14014d5c0]
add r14, 0x38
mov edx, 0
cmp ebp, dword [rax + 0x1c]
jl 0x140164fa0
mov rdi, qword [rsp + 0x68]
mov r12, qword [rsp + 0x128]
movzx r13d, word [rsp + 0x140]
bt r13w, 8
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x130]
mov rbp, qword [rsp + 0x110]
mov r14, qword [rsp + 0x118]
jae 0x140165104
test byte [rsi + 0x60], 0x10
je 0x1401650d4
mov ecx, 0xfeff
and r13w, cx
and word [r15 + 0x3c], cx
mov word [rsp + 0x140], r13w
jmp 0x140165104
lea r8, [r15 + 0x70]
mov r9, rbx
mov rdx, r14
mov rcx, rbp
call fcn.1400fbc60
test eax, eax
je 0x1401650f1
mov byte [r15 + 0x43], 1
jmp 0x140165104
test r12, r12
jne 0x140165104
mov eax, 0x80
mov qword [r15 + 0x10], rbx
or word [r15 + 0x3c], ax
mov r12d, dword [rsp + 0x30]
cmp r12d, 1
jne 0x14016511d
lea rcx, [rsp + 0x70]
call fcn.140181360
test eax, eax
jne 0x140165164
lea rcx, [rsp + 0x70]
call fcn.14017c730
test eax, eax
jne 0x140165c8c
xor edx, edx
mov rcx, r15
call fcn.14017fd00
cmp byte [rsi + 0x67], 0
jne 0x140165c8c
cmp qword [r15 + 0x10], 0
je 0x14016516b
movzx edx, word [r15 + 0x48]
mov rcx, r15
inc dx
call fcn.14017fd00
cmp byte [rsi + 0x67], 0
jne 0x140165c8c
cmp qword [r15 + 0x10], 0
jne 0x14016517d
mov eax, dword [rsi + 0x30]
bt rax, 0xc
jae 0x14016517d
mov rcx, r15
call fcn.140180ab0
cmp dword [rbp + 0x30], 0
jne 0x140165c8c
movzx eax, byte [r15 + 0x40]
mov ecx, 0x400
cmp al, 2
jb 0x1401651ee
test rbx, rbx
je 0x1401651d7
movzx eax, r13w
xor r9d, r9d
and ax, cx
cmp r9w, ax
jne 0x1401651d7
mov eax, 0x100
test dword [rsi + 0x60], eax
jne 0x1401651d7
lea rdx, [r9 - 1]
mov rcx, r15
call fcn.14017f060
movzx r12d, byte [r15 + 0x40]
mov qword [rsp + 0x60], rax
movzx eax, r12b
mov dword [rsp + 0x30], r12d
cmp al, 2
jb 0x1401651ee
mov r11, qword [rsp + 0x38]
test dword [r11 + 0x60], 0x80000
jne 0x1401651f3
mov rcx, r15
call fcn.14017c160
mov r11, qword [rsp + 0x38]
mov rcx, qword [r15]
xor r9d, r9d
movzx eax, word [r15 + 0x48]
movzx r8d, word [rsp + 0x140]
mov word [rsp + 0x128], r9w
add word [rcx + 0xd8], ax
test r8b, 4
je 0x1401652c6
mov rdx, qword [r15 + 0x3c0]
mov ecx, dword [rdx + 0x38]
test ecx, 0x1000
jne 0x140165286
mov dword [rsp + 0x128], r9d
test r8b, 8
je 0x1401652c6
mov rax, qword [r14 + 0x28]
mov word [rsp + 0x128], r9w
cmp byte [rax + 0x3f], 1
je 0x1401652c6
bt ecx, 0xd
jae 0x14016526d
mov word [rsp + 0x128], r9w
test r8b, 0x10
je 0x1401652c6
test dword [r11 + 0x60], 0x8000000
mov word [rsp + 0x128], r9w
jne 0x1401652c6
test ecx, 0x1000
sete al
mov word [rsp + 0x128], r9w
inc al
mov byte [r15 + 0x42], al
mov rax, qword [r14 + 0x28]
test byte [rax + 0x30], 0x80
jne 0x1401652c6
mov word [rsp + 0x128], r9w
test cl, 0x40
je 0x1401652c6
and ecx, 0xffffffbf
movzx eax, r8w
and ax, 8
mov dword [rdx + 0x38], ecx
mov word [rsp + 0x128], ax
mov dword [rsp + 0x58], r9d
lea rbx, [r15 + 0x360]
mov qword [rsp + 0x40], rbx
test r12d, r12d
jle 0x140165a8a
jmp 0x1401652f5
mov r11, qword [rsp + 0x38]
movzx eax, byte [rbx + 0x40]
mov rdx, 0xffffffffffff8000
imul r13, rax, 0x68
mov r12d, edx
add r13, r14
mov r14, qword [r13 + 0x28]
mov qword [rsp + 0x48], r14
mov rcx, qword [r14 + 0x60]
test rcx, rcx
je 0x14016533f
mov rax, qword [r11 + 0x20]
mov r12d, r9d
add rax, 0x18
mov rdx, r9
cmp qword [rax], rcx
je 0x14016533f
nop
inc r12d
lea rax, [rax + 0x20]
inc rdx
cmp qword [rax], rcx
jne 0x140165330
test dword [r14 + 0x30], 0x4000
mov rsi, qword [rbx + 0x60]
mov qword [rsp + 0x68], rsi
jne 0x140165581
movzx eax, byte [r14 + 0x3f]
cmp al, 2
je 0x140165581
mov ecx, dword [rsi + 0x38]
bt ecx, 0xa
jae 0x140165454
mov rbx, qword [r14 + 0x50]
test rbx, rbx
je 0x14016538e
nop dword [rax]
cmp qword [rbx], r11
je 0x14016538e
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x140165380
movsxd rdx, dword [rdi + 0x90]
mov r8d, dword [r13 + 0x4c]
cmp dword [rdi + 0x94], edx
jg 0x1401653ba
mov dword [rsp + 0x20], r9d
mov edx, 0xad
xor r9d, r9d
mov rcx, rdi
call fcn.1400f9f80
mov edx, eax
jmp 0x1401653e8
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], r9
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
jne 0x140165427
test edx, edx
jns 0x1401653fd
mov edx, dword [rdi + 0x90]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x140165431
mov r9d, 0xfffffff5
mov r8, rbx
mov rcx, rdi
call fcn.140173730
mov rbx, qword [rsp + 0x40]
jmp 0x140165578
movzx r8d, word [rsp + 0x140]
test rbx, rbx
je 0x14016544a
mov qword [rdx + 0x10], rbx
mov byte [rdx + 1], 0xf5
inc dword [rbx + 0x18]
mov rbx, qword [rsp + 0x40]
jmp 0x140165581
cmp al, 1
je 0x140165581
test cl, 0x40
jne 0x140165467
test r8b, 0x20
je 0x140165472
test byte [r13 + 0x44], 0x50
je 0x140165541
cmp byte [r15 + 0x42], 0
mov ecx, WSAStartup
je 0x14016548b
mov eax, dword [r13 + 0x4c]
mov ecx, WSAStartup
mov dword [r15 + 0x28], eax
mov edx, dword [r13 + 0x4c]
mov r9, r14
mov dword [rsp + 0x20], ecx
mov r8d, r12d
mov rcx, rbp
call fcn.14013c430
cmp byte [r15 + 0x42], 0
jne 0x14016551d
cmp word [r14 + 0x36], 0x40
jge 0x14016551d
test byte [r14 + 0x30], 0xe0
jne 0x14016551d
test dword [rsi + 0x38], 0x404000
jne 0x14016551d
mov rax, qword [r13 + 0x58]
xor r9d, r9d
test rax, rax
je 0x1401654d8
nop dword [rax]
inc r9d
shr rax, 1
jne 0x1401654d0
mov rax, qword [rdi]
movsxd r8, r9d
cmp byte [rax + 0x67], 0
jne 0x14016551d
movsxd rax, dword [rdi + 0x90]
lea rdx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
lea rdx, [rdx - 3]
cmp byte [rax + rdx*8 + 1], 0
lea rdx, [rax + rdx*8]
je 0x140165515
mov r9d, 0xfffffffd
mov rcx, rdi
call fcn.140173730
jmp 0x14016551d
mov dword [rdx + 0x10], r9d
mov byte [rdx + 1], 0xfd
movsxd rax, dword [rdi + 0x90]
test eax, eax
jle 0x140165578
mov edx, dword [rsp + 0x128]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov word [rax + rcx*8 - 0x16], dx
jmp 0x140165578
cmp r12d, 1
je 0x140165581
mov rax, qword [rbp]
shl rdx, 5
mov rcx, qword [rax + 0x20]
mov rax, qword [rdx + rcx + 8]
cmp byte [rax + 0x11], 0
je 0x140165581
mov rax, qword [r14]
xor r9d, r9d
mov r8d, dword [r14 + 0x28]
mov edx, r12d
mov rcx, rbp
mov qword [rsp + 0x20], rax
call fcn.140101d10
movzx r8d, word [rsp + 0x140]
test dword [rsi + 0x38], 0x200
je 0x140165765
mov rax, qword [rsp + 0x48]
mov r14d, WSAStartup
mov rbp, qword [rsi + 0x20]
test byte [rax + 0x30], 0x80
je 0x1401655c5
mov eax, dword [rbp + 0x64]
and al, 3
cmp al, 2
jne 0x1401655c5
test r8b, 0x20
je 0x1401655c5
mov eax, dword [rbx + 4]
mov rbp, qword [rsp + 0x110]
mov dword [rbx + 8], eax
jmp 0x140165760
cmp byte [r15 + 0x42], 0
je 0x1401655fe
mov rax, qword [r13 + 0x28]
mov ebx, dword [rsp + 0x148]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x1401655f0
cmp rcx, rbp
je 0x1401655f0
mov rcx, qword [rcx + 0x28]
inc ebx
test rcx, rcx
jne 0x1401655e0
mov r14d, WSAStartup
mov dword [r15 + 0x2c], ebx
mov esi, ebx
jmp 0x140165654
mov eax, dword [rsp + 0x148]
test eax, eax
je 0x14016561b
test r8b, 0x20
je 0x14016561b
mov ebx, eax
mov r14d, 0x65
mov esi, eax
jmp 0x140165654
mov rcx, qword [rsp + 0x110]
mov ebx, dword [rcx + 0x34]
mov esi, ebx
lea eax, [rbx + 1]
mov dword [rcx + 0x34], eax
test dword [rbp + 0x64], 0x800
je 0x140165654
mov rax, qword [rsp + 0x38]
test dword [rax + 0x60], 0x1000000
jne 0x140165654
lea r9, [r13 + 8]
mov r8d, ebx
mov rdx, rbp
call fcn.14017b8c0
mov rax, qword [rsp + 0x40]
mov dword [rax + 8], esi
movsxd rcx, dword [rdi + 0x90]
mov r8d, dword [rbp + 0x58]
cmp dword [rdi + 0x94], ecx
jg 0x140165687
mov r9d, r8d
mov dword [rsp + 0x20], r12d
mov r8d, ebx
mov edx, r14d
mov rcx, rdi
call fcn.1400f9f80
jmp 0x1401656bd
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 rax, qword [rsp + 0x110]
mov rdx, rbp
mov rcx, rax
mov rbp, rax
mov rbx, qword [rax + 0x10]
call fcn.14013a2d0
mov r8, rax
test rax, rax
je 0x140165722
mov rax, qword [rbx]
cmp byte [rax + 0x67], 0
je 0x140165706
cmp qword [rax + 0x308], 0
jne 0x140165722
add dword [r8], 0xffffffff
jne 0x140165722
mov rcx, qword [r8 + 0x10]
mov rdx, r8
call fcn.140125200
jmp 0x140165722
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], r8
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x38]
test al, 0xf
je 0x140165760
test eax, 0x188002
jne 0x140165760
test byte [r15 + 0x3c], 1
jne 0x140165760
cmp byte [r15 + 0x43], 2
je 0x140165760
movsxd rax, dword [rdi + 0x90]
test eax, eax
jle 0x140165760
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov word [rax + rcx*8 - 0x16], 2
mov r14, qword [rsp + 0x48]
test r12d, r12d
js 0x140165796
mov rax, qword [rbp + 0xa8]
mov rcx, rbp
test rax, rax
cmovne rcx, rax
mov eax, dword [rcx + 0x7c]
bt eax, r12d
jb 0x140165796
bts eax, r12d
mov dword [rcx + 0x7c], eax
cmp r12d, 1
jne 0x140165796
call fcn.14013c7f0
test byte [r13 + 0x44], 0x10
je 0x140165a4a
mov rcx, qword [r15]
mov edx, 0x24
mov rcx, qword [rcx]
call fcn.140125140
mov rsi, rax
test rax, rax
je 0x1401657d0
mov rcx, qword [r15 + 0x60]
add rsi, 0x10
mov qword [rax], rcx
mov qword [rax + 8], socket
mov qword [r15 + 0x60], rax
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x38], rsi
test rsi, rsi
je 0x140165a4a
mov eax, dword [rbp + 0x34]
xor r12d, r12d
mov dword [rsi], eax
mov edx, dword [rbp + 0x38]
inc dword [rbp + 0x34]
inc edx
mov dword [rbp + 0x38], edx
mov dword [rsi + 4], edx
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x140165824
mov r9d, edx
mov dword [rsp + 0x20], r12d
lea edx, [r12 + 0x4d]
mov r8d, 0x10000
mov rcx, rdi
call fcn.1400f9f80
jmp 0x140165855
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 [rbp + 0x38]
mov edx, dword [rbp + 0x38]
mov dword [rsi + 8], edx
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x140165886
xor r8d, r8d
mov dword [rsp + 0x20], r12d
mov r9d, edx
mov rcx, rdi
lea edx, [r8 + 0x4b]
call fcn.1400f9f80
jmp 0x1401658b0
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 0x140165960
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [rsi]
cmp dword [rdi + 0x94], ecx
jg 0x1401658e8
mov r9d, 1
mov dword [rsp + 0x20], r12d
mov r8d, edx
mov rcx, rdi
lea edx, [r9 + 0x75]
call fcn.1400f9f80
jmp 0x140165915
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 [rbp]
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.14013a160
mov r8, rax
test rax, rax
je 0x140165a37
mov rcx, qword [rax + 0x18]
mov qword [rax + 0x20], r12
mov byte [rcx], 0
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
jne 0x1401659fd
movsxd rax, dword [rdi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
jmp 0x140165a2d
mov rbx, qword [r14 + 0x10]
test rbx, rbx
je 0x140165982
nop dword [rax]
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x140165982
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x140165970
movsxd rcx, dword [rdi + 0x90]
movzx edx, word [rbx + 0x5e]
mov r8d, dword [rsi]
cmp dword [rdi + 0x94], ecx
jg 0x1401659af
mov r9d, edx
mov dword [rsp + 0x20], r12d
mov edx, 0x76
mov rcx, rdi
call fcn.1400f9f80
jmp 0x1401659dd
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 [rbp + 0x10]
mov rdx, rbx
mov rcx, rbp
call fcn.14013a2d0
mov r8, rax
test rax, rax
je 0x140165a37
mov rax, qword [rsi]
cmp byte [rax + 0x67], 0
je 0x140165a1b
cmp qword [rax + 0x308], 0
jne 0x140165a37
add dword [r8], 0xffffffff
jne 0x140165a37
mov rcx, qword [r8 + 0x10]
mov rdx, r8
call fcn.140125200
jmp 0x140165a37
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 rcx, qword [rsp + 0x68]
and dword [rcx + 0x38], 0xffffffbf
mov byte [r15 + 0x41], 0
mov byte [r15 + 0x43], 3
mov r8d, dword [rsp + 0x58]
mov r9d, 0
mov rbx, qword [rsp + 0x40]
inc r8d
mov r12d, dword [rsp + 0x30]
add rbx, 0x70
mov r14, qword [rsp + 0x118]
cmp r8d, r12d
mov dword [rsp + 0x58], r8d
movzx r8d, word [rsp + 0x140]
mov qword [rsp + 0x40], rbx
jl 0x1401652f0
mov r13, qword [rsp + 0x38]
mov eax, dword [rdi + 0x90]
mov dword [r15 + 0x4c], eax
cmp byte [r13 + 0x67], 0
jne 0x140165c8c
mov r14d, r9d
test r12d, r12d
jle 0x140165d31
lea r12, [r15 + 0x70]
lea rbx, [r15 + 0x360]
nop dword [rax + rax]
cmp dword [rbp + 0x30], 0
jne 0x140165c8c
mov rax, qword [rbx + 0x60]
mov r15d, dword [rax + 0x38]
movzx eax, byte [rbx + 0x40]
imul rsi, rax, 0x68
add rsi, qword [rsp + 0x118]
mov eax, dword [rsi + 0x48]
test al, 0x10
je 0x140165c42
test al, 8
je 0x140165b54
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [rsi + 0x38]
mov r8d, dword [rsi + 0x3c]
cmp dword [rdi + 0x94], ecx
jg 0x140165b21
mov dword [rsp + 0x20], r9d
mov rcx, rdi
mov r9d, edx
mov edx, 0xa
call fcn.1400f9f80
jmp 0x140165c42
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], r9d
mov qword [rax + rcx*8 + 0x10], r9
jmp 0x140165c42
movsxd rbp, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ebp
jg 0x140165b81
mov dword [rsp + 0x20], r9d
xor r8d, r8d
xor r9d, r9d
mov rcx, rdi
lea edx, [r9 + 0xf]
call fcn.1400f9f80
mov ebp, eax
xor r9d, r9d
jmp 0x140165bb2
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], send
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r9
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [rsi + 0x38]
mov r8d, dword [rsi + 0x3c]
cmp dword [rdi + 0x94], ecx
jg 0x140165bdf
mov dword [rsp + 0x20], r9d
mov rcx, rdi
mov r9d, edx
mov edx, 0xa
call fcn.1400f9f80
jmp 0x140165c0d
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], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rdi]
mov edx, dword [rdi + 0x90]
cmp byte [rax + 0x67], 0
je 0x140165c25
lea rax, [0x140243af8]
jmp 0x140165c37
movsxd rax, ebp
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
lea rax, [rax + rcx*8]
mov rbp, qword [rsp + 0x110]
mov dword [rax + 8], edx
mov rsi, qword [rsp + 0x60]
test r15d, 0x404000
je 0x140165cc8
bt r15d, 0xe
jae 0x140165c6f
mov r9, rbx
mov r8, rsi
mov rdx, r12
mov rcx, rbp
call fcn.1400e9970
mov r15, qword [rsp + 0x50]
jmp 0x140165c85
mov r15, qword [rsp + 0x50]
mov r9, rsi
mov rcx, r15
mov r8, rbx
mov edx, r14d
call fcn.140122a30
cmp byte [r13 + 0x67], 0
je 0x140165ccd
movzx eax, word [r15 + 0x38]
mov rdx, r15
mov rcx, qword [rsp + 0x38]
mov word [rbp + 0xd8], ax
call fcn.14017c4a0
xor eax, eax
mov rsi, qword [rsp + 0x120]
mov r15, qword [rsp + 0xd0]
add rsp, 0xd8
pop r14
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
mov r15, qword [rsp + 0x50]
movzx r9d, word [rsp + 0x140]
mov r8, rbx
mov rdx, qword [rsp + 0x118]
mov rcx, rbp
call fcn.140169b40
mov eax, dword [rdi + 0x90]
mov r9d, r14d
mov r8, r15
mov qword [rsp + 0x28], rsi
mov rdx, rdi
mov dword [rbx + 0x20], eax
mov rcx, rbp
mov qword [rsp + 0x20], rbx
call fcn.140165de0
mov qword [rsp + 0x60], rax
inc r14d
mov eax, dword [rbx + 0x18]
mov r9d, 0
add rbx, 0x70
mov dword [r15 + 0x30], eax
cmp r14d, dword [rsp + 0x30]
jl 0x140165ac0
mov eax, dword [rdi + 0x90]
mov dword [r15 + 0x50], eax
mov rax, r15
jmp 0x140165ca7