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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0xd8
mov r13, qword [rcx + 0x10]
xor esi, esi
mov r15, qword [rcx]
xorps xmm0, xmm0
mov qword [rsp + 0x58], r13
mov r14, r9
mov qword [rsp + 0x40], r15
mov rdi, r8
mov qword [rsp + 0x68], rsi
mov rbp, rcx
movdqu xmmword [rsp + 0x90], xmm0
test r9, r9
je 0x1402173e4
cmp dword [r9], 0x40
cmovge r14, rsi
movzx r8d, word [rsp + 0x138]
mov r9d, 0xfeff
mov eax, dword [rdx]
and r8w, r9w
mov qword [rsp + 0x80], r14
mov ecx, dword [r15 + 0x5c]
and cl, 0x10
cmove r8w, word [rsp + 0x138]
mov word [rsp + 0x128], r8w
cmp eax, 0x40
jle 0x140217448
mov r8d, 0x40
lea rdx, str.at_most__d_tables_in_a_join
mov rcx, rbp
call fcn.1401db030
xor eax, eax
add rsp, 0xd8
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
test r8b, 0x20
mov qword [rsp + 0x120], rbx
mov ecx, 1
mov qword [rsp + 0xd0], r12
cmovne eax, ecx
mov rcx, r15
mov dword [rsp + 0x30], eax
lea eax, [rax + rax*2]
shl eax, 5
add eax, 0x367
and eax, 0xfffffff8
movsxd rbx, eax
lea rdx, [rbx + 0x60]
call fcn.1401d86e0
mov r12, rax
mov qword [rsp + 0x48], rax
cmp byte [r15 + 0x63], sil
je 0x1402174ac
test rax, rax
je 0x140218376
mov rdx, rax
mov rcx, r15
call fcn.1401d8550
jmp 0x140218376
movsxd rdx, dword [rsp + 0x30]
lea rcx, [r12 + 0x360]
mov r15, qword [rsp + 0x130]
xorps xmm0, xmm0
mov qword [rax], rbp
mov rax, qword [rsp + 0x118]
mov qword [r12 + 8], rax
mov rax, 0xffffffffffffffff
mov qword [r12 + 0x10], r14
mov qword [r12 + 0x20], rdi
mov qword [r12 + 0x18], r15
mov qword [r12 + 0x28], rax
mov byte [r12 + 0x40], dl
mov qword [rsp + 0x50], rax
mov eax, dword [rbp + 0x44]
dec eax
mov dword [rbp + 0x44], eax
mov dword [r12 + 0x30], eax
mov dword [r12 + 0x34], eax
movzx eax, word [rsp + 0x128]
mov word [r12 + 0x3c], ax
mov eax, dword [rsp + 0x140]
mov word [r12 + 0x3e], ax
mov dword [rsp + 0x60], eax
mov eax, dword [rbp + 0xc0]
mov dword [r12 + 0x38], eax
xor eax, eax
movups xmmword [r12 + 0x41], xmm0
movups xmmword [r12 + 0x51], xmm0
mov qword [r12 + 0x61], rax
mov dword [r12 + 0x69], eax
mov word [r12 + 0x6d], ax
mov byte [r12 + 0x6f], al
lea rax, [rdx + 1]
lea r8, [rax + rax*2]
xor edx, edx
shl r8, 5
call fcn.140145ae0
mov qword [rsp + 0x70], r12
lea r9, [r12 + 0x70]
mov qword [rsp + 0x78], r9
lea rcx, [rbx + r12]
mov qword [rsp + 0x88], rcx
lea rax, [rcx + 0x48]
mov qword [rcx + 0x38], rax
mov eax, 3
mov word [rcx + 0x30], ax
lea rbp, [r12 + 0x258]
mov word [rcx + 0x2c], si
lea rax, [r9 + 0x28]
mov dword [rcx + 0x28], esi
mov rbx, rdi
mov dword [rbp + 4], esi
mov qword [r9 + 0x20], rax
mov qword [rsp + 0x38], r9
mov qword [r9], r12
mov byte [r9 + 0x11], sil
mov qword [r9 + 8], rsi
mov dword [r9 + 0x14], esi
mov dword [r9 + 0x18], 8
test rdi, rdi
je 0x1402175f8
mov eax, dword [rbx + 4]
test eax, 0x41000
je 0x1402175f8
bt eax, 0x12
jae 0x1402175ef
mov rax, qword [rbx + 0x20]
mov rbx, qword [rax + 8]
jmp 0x1402175f3
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1402175d5
mov byte [r9 + 0x10], 0x2c
mov r10d, 0x80
test rbx, rbx
je 0x140217854
cmp byte [rbx], 0x2c
je 0x140217834
movsxd r8, dword [r9 + 0x18]
mov edx, esi
cmp esi, r8d
jl 0x1402177a6
mov rcx, qword [r12]
mov rsi, qword [r9 + 0x20]
imul rdx, r8, 0x70
mov rbx, qword [rcx]
movzx eax, word [rbx + 0x184]
cmp rdx, rax
jbe 0x140217662
cmp dword [rbx + 0x180], 0
jne 0x140217653
inc dword [rbx + 0x194]
jmp 0x14021773a
cmp byte [rbx + 0x63], 0
jne 0x140217757
jmp 0x14021773a
cmp rdx, r10
ja 0x1402176fe
mov rcx, qword [rbx + 0x1b8]
test rcx, rcx
je 0x1402176e6
mov rax, qword [rcx]
mov qword [rbx + 0x1b8], rax
inc dword [rbx + 0x190]
mov qword [r9 + 0x20], rcx
movsxd rax, dword [r9 + 0x14]
mov rdx, rsi
imul r8, rax, 0x38
call fcn.140145e70
lea r9, [r12 + 0x70]
lea rax, [r9 + 0x28]
cmp rsi, rax
je 0x1402176be
test rsi, rsi
je 0x1402176be
mov rdx, rsi
mov rcx, rbx
call fcn.1401d8550
lea r9, [r12 + 0x70]
mov rcx, qword [r9 + 0x20]
cmp rcx, qword [rbx + 0x1d0]
jae 0x140217774
cmp rcx, qword [rbx + 0x1c0]
jb 0x140217762
mov eax, 0x80
jmp 0x14021777f
mov rcx, qword [rbx + 0x1b0]
test rcx, rcx
je 0x1402176fe
mov rax, qword [rcx]
mov qword [rbx + 0x1b0], rax
jmp 0x140217681
mov rcx, qword [rbx + 0x1a8]
test rcx, rcx
je 0x140217719
mov rax, qword [rcx]
mov qword [rbx + 0x1a8], rax
jmp 0x140217681
mov rcx, qword [rbx + 0x1a0]
test rcx, rcx
je 0x140217734
mov rax, qword [rcx]
mov qword [rbx + 0x1a0], rax
jmp 0x140217681
inc dword [rbx + 0x198]
mov rcx, rbx
call fcn.1401a6680
lea r9, [r12 + 0x70]
mov rcx, rax
mov qword [r9 + 0x20], rax
test rax, rax
jne 0x14021768b
mov qword [r9 + 0x20], rsi
xor esi, esi
jmp 0x140217854
cmp rcx, qword [rbx + 0x1c8]
jb 0x140217774
movzx eax, word [rbx + 0x186]
jmp 0x14021777f
call qword [0x1402d7e18]
lea r9, [r12 + 0x70]
movsxd rcx, eax
movabs rax, 0x2492492492492493
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
mov edx, dword [r9 + 0x14]
shr rcx, 5
mov dword [r9 + 0x18], ecx
xor esi, esi
movsxd rax, edx
imul r8, rax, 0x38
lea eax, [rdx + 1]
add r8, qword [r9 + 0x20]
mov dword [r9 + 0x14], eax
test rdi, rdi
je 0x1402177de
test dword [rdi + 4], 0x40000
je 0x1402177de
movsxd rcx, dword [rdi + 0x2c]
call fcn.1401ed8c0
mov ecx, 0x10e
sub ax, cx
mov word [r8 + 0x10], ax
jmp 0x1402177f0
mov eax, 1
mov word [r8 + 0x10], ax
test rdi, rdi
je 0x140217813
nop dword [rax]
mov eax, dword [rdi + 4]
test eax, 0x41000
je 0x140217813
bt eax, 0x12
jae 0x14021780a
mov rax, qword [rdi + 0x20]
mov rdi, qword [rax + 8]
jmp 0x14021780e
mov rdi, qword [rdi + 0x10]
test rdi, rdi
jne 0x1402177f0
mov qword [r8], rdi
xorps xmm0, xmm0
mov word [r8 + 0x12], si
xor eax, eax
mov qword [r8 + 8], r9
movups xmmword [r8 + 0x14], xmm0
movups xmmword [r8 + 0x24], xmm0
mov dword [r8 + 0x34], eax
jmp 0x140217854
mov rdx, qword [rbx + 0x10]
mov r8b, 0x2c
mov rcx, r9
call fcn.14021c460
mov rdx, qword [rbx + 0x18]
lea rcx, [r12 + 0x70]
mov r8b, 0x2c
call fcn.14021c460
cmp dword [rsp + 0x30], 0
mov ecx, 0x100
jne 0x140217896
test r14, r14
je 0x14021786e
movzx eax, byte [r14]
mov byte [r12 + 0x41], al
test word [rsp + 0x128], cx
je 0x14021787e
mov byte [r12 + 0x43], 1
mov rcx, qword [rsp + 0x110]
lea r8, str.SCAN_CONSTANT_ROW
xor edx, edx
call fcn.14020fec0
jmp 0x1402178ed
mov r13, qword [rsp + 0x118]
mov ebx, esi
mov rsi, qword [rsp + 0x110]
mov r12, qword [rsp + 0x38]
lea rdi, [r13 + 0x4c]
movsxd rcx, dword [rbp + 4]
lea rdx, [r13 + 8]
mov eax, dword [rdi]
mov r8, r12
mov dword [rbp + rcx*4 + 8], eax
inc dword [rbp + 4]
movsxd rax, ebx
imul rcx, rax, 0x70
add rdx, rcx
mov rcx, rsi
call fcn.14021c4e0
inc ebx
lea rdi, [rdi + 0x70]
cmp ebx, dword [r13]
jl 0x1402178b1
mov r12, qword [rsp + 0x48]
mov r13, qword [rsp + 0x58]
lea rdi, [r12 + 0x70]
mov ebx, dword [rdi + 0x14]
sub ebx, 1
js 0x14021791d
mov rbp, qword [rsp + 0x118]
mov r8d, ebx
mov rdx, rdi
mov rcx, rbp
call fcn.1401a85e0
sub ebx, 1
jns 0x140217902
lea rbp, [r12 + 0x258]
mov r8, qword [rsp + 0x40]
cmp byte [r8 + 0x63], 0
jne 0x140218357
mov rcx, qword [rsp + 0x78]
xor r8d, r8d
mov esi, r8d
cmp dword [rcx + 0x14], r8d
jle 0x140217a3f
mov r13, qword [rsp + 0x110]
lea r9, [0x1401ac610]
mov ebp, dword [rsp + 0x30]
lea r10, [0x1401fe7e0]
mov edi, r8d
lea r15d, [r8 + 1]
mov rbx, qword [rcx + 0x20]
add rbx, rdi
test byte [rbx + 0x12], 2
jne 0x140217a16
cmp qword [rbx + 0x30], 0
jne 0x140217a16
test ebp, ebp
je 0x1402179e5
mov rdx, qword [rbx]
mov qword [rsp + 0xa0], r8
mov qword [rsp + 0xb8], r8
mov dword [rsp + 0xc0], r8d
mov qword [rsp + 0xc6], r8
mov word [rsp + 0xce], r8w
mov word [rsp + 0xc4], r15w
mov qword [rsp + 0xa8], r9
mov qword [rsp + 0xb0], r10
test rdx, rdx
je 0x1402179e5
lea rcx, [rsp + 0xa0]
call fcn.14022c960
cmp word [rsp + 0xc4], 0
je 0x140217a00
mov r8d, dword [r12 + 0x34]
mov r9d, 0x10
mov rdx, qword [rbx]
mov rcx, r13
call fcn.1401dfd20
or word [rbx + 0x12], 4
mov rcx, qword [rsp + 0x78]
lea r10, [0x1401fe7e0]
lea r9, [0x1401ac610]
xor r8d, r8d
inc esi
add rdi, 0x38
cmp esi, dword [rcx + 0x14]
jl 0x140217963
mov r15, qword [rsp + 0x130]
lea rbp, [r12 + 0x258]
mov r13, qword [rsp + 0x58]
lea rdi, [r12 + 0x70]
movzx eax, word [rsp + 0x128]
mov ebx, 0x100
and ax, bx
mov word [rsp + 0x38], ax
je 0x140217a92
mov rdx, qword [rsp + 0x118]
mov r9, r15
mov rcx, qword [rsp + 0x110]
mov r8, rdi
call fcn.1401b5700
test eax, eax
je 0x140217a7d
mov byte [r12 + 0x43], 1
jmp 0x140217a92
test r14, r14
jne 0x140217a92
mov eax, 0x80
mov qword [r12 + 0x10], r15
or word [r12 + 0x3c], ax
mov r14d, dword [rsp + 0x30]
cmp r14d, 1
jne 0x140217aab
lea rcx, [rsp + 0x70]
call fcn.1402320b0
test eax, eax
jne 0x140217b02
lea rcx, [rsp + 0x70]
call fcn.14022d690
test eax, eax
jne 0x140218352
xor edx, edx
mov rcx, r12
call fcn.140230a90
mov r8, qword [rsp + 0x40]
cmp byte [r8 + 0x63], 0
jne 0x140218357
cmp qword [r12 + 0x10], 0
je 0x140217b0f
movzx edx, word [r12 + 0x48]
mov rcx, r12
inc dx
call fcn.140230a90
mov r8, qword [rsp + 0x40]
cmp byte [r8 + 0x63], 0
jne 0x140218357
jmp 0x140217b07
mov r8, qword [rsp + 0x40]
cmp qword [r12 + 0x10], 0
jne 0x140217b23
mov eax, dword [r8 + 0x30]
bt rax, 0xc
jae 0x140217b23
mov qword [r12 + 0x68], 0xffffffffffffffff
mov r10, qword [rsp + 0x110]
cmp dword [r10 + 0x30], 0
jne 0x14021835f
cmp byte [r8 + 0x63], 0
jne 0x14021835f
cmp byte [r12 + 0x40], 2
jb 0x140217ca3
test r15, r15
je 0x140217ca3
test dword [r8 + 0x5c], ebx
jne 0x140217ca3
mov rdx, r15
mov rcx, rbp
call fcn.14021c190
mov rdx, qword [rsp + 0x80]
mov r13, rax
test rdx, rdx
je 0x140217b86
mov rcx, rbp
call fcn.14021c190
or r13, rax
movzx edx, byte [r12 + 0x40]
lea edi, [rdx - 1]
cmp edi, 1
jl 0x140217c91
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x78]
movsxd rcx, edx
lea rax, [rcx - 1]
lea rax, [rax + rax*2]
shl rax, 5
lea r15, [rcx + 9]
add rax, 0x3b0
lea r15, [r15 + r15*2]
add r12, rax
shl r15, 5
lea rax, [rdx + 8]
lea r14, [rax + rax*2]
shl r14, 5
add r14, rbx
add r15, rbx
nop dword [rax + rax]
mov r11, qword [r12]
mov rbx, qword [rbx + 8]
movzx eax, byte [r11 + 0x10]
imul rcx, rax, 0x70
add rbx, rcx
test byte [rbx + 0x44], 8
je 0x140217c6b
cmp word [rsp + 0x38], 0
jne 0x140217c0c
test dword [r11 + 0x28], 0x1000
je 0x140217c6b
mov r10, qword [r11 + 8]
test r13, r10
jne 0x140217c6b
mov rcx, qword [rsi + 0x20]
movsxd rax, dword [rsi + 0x14]
mov rdx, rcx
imul r9, rax, 0x38
add r9, rcx
cmp rcx, r9
jae 0x140217d71
test qword [rdx + 0x30], r10
je 0x140217c49
mov r8, qword [rdx]
test byte [r8 + 4], 1
je 0x140217c62
mov eax, dword [rbx + 0x4c]
cmp dword [r8 + 0x34], eax
jne 0x140217c62
add rdx, 0x38
cmp rdx, r9
jb 0x140217c30
mov rax, r10
not rax
and qword [rsp + 0x50], rax
jmp 0x140217d80
cmp rdx, r9
jae 0x140217d71
mov rbx, qword [rsp + 0x48]
dec edi
sub r15, 0x60
sub r14, 0x60
sub r12, 0x60
cmp edi, 1
jge 0x140217be0
mov r12, qword [rsp + 0x48]
mov r14d, dword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
mov r10, qword [rsp + 0x110]
mov r13, qword [rsp + 0x58]
mov rcx, qword [r12]
xor r9d, r9d
movsx eax, word [r12 + 0x48]
movzx ebx, r9w
movzx ebp, word [rsp + 0x128]
mov r11, qword [rsp + 0x118]
add dword [rcx + 0xc0], eax
mov dword [rsp + 0x38], ebx
test bpl, 4
je 0x140217d56
mov rdx, qword [r12 + 0x3b0]
mov ecx, dword [rdx + 0x28]
test ecx, 0x1000
jne 0x140217d20
mov ebx, r9d
mov dword [rsp + 0x38], ebx
test bpl, 8
je 0x140217d56
mov rax, qword [r11 + 0x28]
mov dword [rsp + 0x38], ebx
cmp dword [rax + 0x54], r9d
jne 0x140217d56
bt ecx, 0xd
jae 0x140217d1a
movzx ebx, r9w
mov dword [rsp + 0x38], ebx
test bpl, 0x10
je 0x140217d56
test ecx, 0x1000
sete al
movzx ebx, r9w
inc al
mov dword [rsp + 0x38], ebx
mov byte [r12 + 0x42], al
mov rax, qword [r11 + 0x28]
test byte [rax + 0x40], 0x80
jne 0x140217d56
mov dword [rsp + 0x38], ebx
test cl, 0x40
je 0x140217d56
and ecx, 0xffffffbf
movzx ebx, bp
and bx, 8
mov dword [rdx + 0x28], ecx
mov dword [rsp + 0x38], ebx
test r14d, r14d
jle 0x1402180c2
mov eax, r14d
lea r15, [r12 + 0x3b0]
mov qword [rsp + 0x58], rax
jmp 0x140217de3
not r10
and qword [rsp + 0x50], r10
cmp rcx, r9
jae 0x140217d98
nop
mov rax, qword [rcx + 0x30]
test qword [r11 + 8], rax
je 0x140217d8f
or word [rcx + 0x12], 4
add rcx, 0x38
cmp rcx, r9
jb 0x140217d80
mov rbx, qword [rsp + 0x48]
movzx ecx, byte [rbx + 0x40]
lea eax, [rcx - 1]
cmp edi, eax
je 0x140217dc4
sub ecx, edi
mov rdx, r15
dec ecx
lea eax, [rcx + rcx*2]
mov rcx, r14
shl eax, 5
movsxd r8, eax
call fcn.140145e70
movzx ecx, byte [rbx + 0x40]
dec cl
dec dword [rsp + 0x30]
mov byte [rbx + 0x40], cl
mov rsi, qword [rsp + 0x78]
jmp 0x140217c70
xor r9d, r9d
movzx eax, byte [r15 - 0x1c]
mov esi, 0xffff8000
imul rbp, rax, 0x70
add rbp, r11
mov rdi, qword [rbp + 0x28]
mov rcx, qword [rdi + 0x70]
test rcx, rcx
je 0x140217e1c
mov rax, qword [r8 + 0x20]
mov esi, r9d
add rax, 0x18
cmp qword [rax], rcx
je 0x140217e1c
inc esi
lea rax, [rax + 0x20]
cmp qword [rax], rcx
jne 0x140217e11
test dword [rdi + 0x40], 0x4000
mov r14, qword [r15]
jne 0x140218014
cmp qword [rdi + 0x18], 0
jne 0x140218014
mov eax, dword [r14 + 0x28]
bt eax, 0xa
jae 0x140217f1d
mov rbx, qword [rdi + 0x60]
test rbx, rbx
je 0x140217e5e
nop
cmp qword [rbx], r8
je 0x140217e5e
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x140217e50
movsxd rdx, dword [r13 + 0x90]
mov r8d, dword [rbp + 0x4c]
cmp dword [r13 + 0x94], edx
jg 0x140217e8b
mov dword [rsp + 0x20], r9d
mov edx, 0xa8
xor r9d, r9d
mov rcx, r13
call fcn.1401b3dc0
mov edx, eax
jmp 0x140217eba
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [r13 + 0x90], eax
mov rax, qword [r13 + 0x88]
mov dword [rax + rcx*8], 0xa8
mov dword [rax + rcx*8 + 4], r8d
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [r13]
cmp byte [rax + 0x63], 0
jne 0x140218014
test edx, edx
jns 0x140217ed5
mov edx, dword [r13 + 0x90]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [r13 + 0x88]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x140217f04
mov r9d, 0xfffffff4
mov r8, rbx
mov rcx, r13
call fcn.140225440
jmp 0x140218014
test rbx, rbx
je 0x140218014
mov qword [rdx + 0x10], rbx
mov byte [rdx + 1], 0xf4
inc dword [rbx + 0x18]
jmp 0x140218014
cmp dword [rdi + 0x54], 0
jne 0x140218014
test al, 0x40
jne 0x140217ffb
test byte [rsp + 0x128], 0x20
jne 0x140217ffb
cmp byte [r12 + 0x42], 0
mov ecx, 0x61
je 0x140217f57
mov eax, dword [rbp + 0x4c]
mov ecx, 0x62
mov dword [r12 + 0x28], eax
mov edx, dword [rbp + 0x4c]
mov r9, rdi
mov dword [rsp + 0x20], ecx
mov r8d, esi
mov rcx, r10
call fcn.1401ee6d0
cmp byte [r12 + 0x42], 0
jne 0x140217fde
cmp word [rdi + 0x46], 0x40
jge 0x140217fde
test byte [rdi + 0x40], 0xe0
jne 0x140217fde
mov rax, qword [rbp + 0x60]
xor r9d, r9d
test rax, rax
je 0x140217f98
nop dword [rax]
inc r9d
shr rax, 1
jne 0x140217f90
mov rax, qword [r13]
movsxd r8, r9d
cmp byte [rax + 0x63], 0
jne 0x140217fde
movsxd rax, dword [r13 + 0x90]
lea rdx, [rax + rax*2]
mov rax, qword [r13 + 0x88]
lea rdx, [rdx - 3]
cmp byte [rax + rdx*8 + 1], 0
lea rdx, [rax + rdx*8]
je 0x140217fd6
mov r9d, 0xfffffffd
mov rcx, r13
call fcn.140225440
jmp 0x140217fde
mov dword [rdx + 0x10], r9d
mov byte [rdx + 1], 0xfd
movsxd rax, dword [r13 + 0x90]
test eax, eax
jle 0x140218014
lea rcx, [rax + rax*2]
mov rax, qword [r13 + 0x88]
mov word [rax + rcx*8 - 0x16], bx
jmp 0x140218014
mov rax, qword [rdi]
xor r9d, r9d
mov r8d, dword [rdi + 0x38]
mov edx, esi
mov rcx, r10
mov qword [rsp + 0x20], rax
call fcn.140200800
test dword [r14 + 0x28], 0x200
je 0x140218057
test byte [rdi + 0x40], 0x80
mov r10d, 0x61
mov rbx, qword [r14 + 0x20]
je 0x1402181bf
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
movzx eax, word [rsp + 0x128]
jne 0x1402181c7
test al, 0x20
je 0x1402181c7
mov eax, dword [r15 - 0x4c]
mov dword [r15 - 0x48], eax
mov rbp, qword [rsp + 0x110]
test esi, esi
js 0x14021808c
mov rax, qword [rbp + 0xa0]
mov rcx, rbp
test rax, rax
cmovne rcx, rax
mov eax, dword [rcx + 0x74]
bt eax, esi
jb 0x14021808c
bts eax, esi
mov dword [rcx + 0x74], eax
cmp esi, 1
jne 0x14021808c
call fcn.1401eea40
mov ebx, dword [rsp + 0x38]
add r15, 0x60
sub qword [rsp + 0x58], 1
mov r10, qword [rsp + 0x110]
mov r8, qword [rsp + 0x40]
mov r11, qword [rsp + 0x118]
jne 0x140217de0
movzx ebp, word [rsp + 0x128]
mov r14d, dword [rsp + 0x30]
mov eax, dword [r13 + 0x90]
mov dword [r12 + 0x4c], eax
cmp byte [r8 + 0x63], 0
jne 0x140218357
test r14d, r14d
jle 0x1402181ab
mov rsi, qword [rsp + 0x110]
lea rdi, [r12 + 0x394]
mov rax, qword [rdi + 0x1c]
test dword [rax + 0x28], 0x4000
je 0x140218140
movzx eax, byte [rdi]
lea rdx, [rdi - 0x34]
mov r8, qword [rsp + 0x118]
mov r9, qword [rsp + 0x50]
add r8, 8
imul rcx, rax, 0x70
mov qword [rsp + 0x20], rdx
lea rdx, [r12 + 0x70]
add r8, rcx
mov rcx, rsi
call fcn.1401a4400
mov r8, qword [rsp + 0x40]
cmp byte [r8 + 0x63], 0
jne 0x140218357
mov rdx, qword [rsp + 0x118]
lea rbx, [rdi - 0x34]
mov r8, rbx
movzx r9d, bp
mov rcx, rsi
call fcn.14021bdb0
mov eax, dword [r13 + 0x90]
mov r8, r12
mov dword [rdi - 0x14], eax
mov rdx, r13
mov rax, qword [rsp + 0x50]
mov rcx, rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov rbx, qword [rsp + 0x68]
mov r9d, ebx
call fcn.140218460
mov ecx, dword [rdi - 0x1c]
inc ebx
add rdi, 0x60
mov qword [rsp + 0x50], rax
mov dword [r12 + 0x30], ecx
mov qword [rsp + 0x68], rbx
cmp ebx, r14d
jl 0x1402180f2
mov eax, dword [r13 + 0x90]
mov dword [r12 + 0x50], eax
mov rax, r12
jmp 0x140218378
movzx eax, word [rsp + 0x128]
cmp byte [r12 + 0x42], 0
je 0x140218205
mov rax, qword [rbp + 0x28]
mov edx, dword [rsp + 0x60]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x1402181f0
cmp rcx, rbx
je 0x1402181f0
mov rcx, qword [rcx + 0x28]
inc edx
test rcx, rcx
jne 0x1402181e0
mov rbp, qword [rsp + 0x110]
mov r10d, 0x62
mov dword [r12 + 0x2c], edx
jmp 0x140218236
mov ecx, dword [rsp + 0x60]
test ecx, ecx
je 0x140218225
test al, 0x20
je 0x140218225
mov rbp, qword [rsp + 0x110]
mov edx, ecx
mov r10d, 0x60
mov eax, ecx
jmp 0x140218238
mov rbp, qword [rsp + 0x110]
mov edx, dword [rbp + 0x34]
lea eax, [rdx + 1]
mov dword [rbp + 0x34], eax
mov eax, edx
mov dword [r15 - 0x48], eax
movsxd rcx, dword [r13 + 0x90]
mov r8d, dword [rbx + 0x58]
cmp dword [r13 + 0x94], ecx
jg 0x140218267
mov r9d, r8d
mov dword [rsp + 0x20], esi
mov r8d, edx
mov rcx, r13
mov edx, r10d
call fcn.1401b3dc0
jmp 0x1402182a0
lea eax, [rcx + 1]
xor r9d, r9d
mov dword [r13 + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r13 + 0x88]
mov byte [rax + rcx*8], r10b
mov word [rax + rcx*8 + 2], r9w
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], r9
mov byte [rax + rcx*8 + 1], r9b
mov rdi, qword [rbp + 0x10]
mov rdx, rbx
mov rcx, rbp
call fcn.1401ec440
mov r8, rax
test rax, rax
je 0x1402182fa
mov rax, qword [rdi]
cmp byte [rax + 0x63], 0
je 0x1402182de
cmp qword [rax + 0x2e0], 0
jne 0x1402182fa
add dword [r8], 0xffffffff
jne 0x1402182fa
mov rcx, qword [r8 + 0x10]
mov rdx, r8
call fcn.1401d8550
jmp 0x1402182fa
movsxd rax, dword [rdi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov byte [rax + rcx*8 - 0x17], 0xf7
mov qword [rax + rcx*8 - 8], r8
mov eax, dword [r14 + 0x28]
test al, 0xf
je 0x14021805f
test eax, 0x188002
jne 0x14021805f
test byte [r12 + 0x3c], 1
jne 0x14021805f
cmp byte [r12 + 0x43], 2
je 0x14021805f
movsxd rax, dword [r13 + 0x90]
test eax, eax
jle 0x14021805f
lea rcx, [rax + rax*2]
mov edx, 2
mov rax, qword [r13 + 0x88]
mov word [rax + rcx*8 - 0x16], dx
jmp 0x14021805f
mov r8, qword [rsp + 0x40]
mov r10, qword [rsp + 0x110]
mov eax, dword [r12 + 0x38]
mov rdx, r12
mov rcx, r8
mov dword [r10 + 0xc0], eax
call fcn.14022d340
xor eax, eax
mov rbx, qword [rsp + 0x120]
mov r12, qword [rsp + 0xd0]
add rsp, 0xd8
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret