Function at 0x140167700
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 0x140167754
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 0x1401677b8
mov r8d, 0x40
lea rdx, str.at_most__d_tables_in_a_join
mov rcx, rbp
call fcn.14012b3a0
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.140128a50
mov r12, rax
mov qword [rsp + 0x48], rax
cmp byte [r15 + 0x63], sil
je 0x14016781c
test rax, rax
je 0x1401686e6
mov rdx, rax
mov rcx, r15
call fcn.1401288c0
jmp 0x1401686e6
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.1401b3ce0
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 0x140167968
mov eax, dword [rbx + 4]
test eax, 0x41000
je 0x140167968
bt eax, 0x12
jae 0x14016795f
mov rax, qword [rbx + 0x20]
mov rbx, qword [rax + 8]
jmp 0x140167963
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140167945
mov byte [r9 + 0x10], 0x2c
mov r10d, 0x80
test rbx, rbx
je 0x140167bc4
cmp byte [rbx], 0x2c
je 0x140167ba4
movsxd r8, dword [r9 + 0x18]
mov edx, esi
cmp esi, r8d
jl 0x140167b16
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 0x1401679d2
cmp dword [rbx + 0x180], 0
jne 0x1401679c3
inc dword [rbx + 0x194]
jmp 0x140167aaa
cmp byte [rbx + 0x63], 0
jne 0x140167ac7
jmp 0x140167aaa
cmp rdx, r10
ja 0x140167a6e
mov rcx, qword [rbx + 0x1b8]
test rcx, rcx
je 0x140167a56
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.1401b3e90
lea r9, [r12 + 0x70]
lea rax, [r9 + 0x28]
cmp rsi, rax
je 0x140167a2e
test rsi, rsi
je 0x140167a2e
mov rdx, rsi
mov rcx, rbx
call fcn.1401288c0
lea r9, [r12 + 0x70]
mov rcx, qword [r9 + 0x20]
cmp rcx, qword [rbx + 0x1d0]
jae 0x140167ae4
cmp rcx, qword [rbx + 0x1c0]
jb 0x140167ad2
mov eax, 0x80
jmp 0x140167aef
mov rcx, qword [rbx + 0x1b0]
test rcx, rcx
je 0x140167a6e
mov rax, qword [rcx]
mov qword [rbx + 0x1b0], rax
jmp 0x1401679f1
mov rcx, qword [rbx + 0x1a8]
test rcx, rcx
je 0x140167a89
mov rax, qword [rcx]
mov qword [rbx + 0x1a8], rax
jmp 0x1401679f1
mov rcx, qword [rbx + 0x1a0]
test rcx, rcx
je 0x140167aa4
mov rax, qword [rcx]
mov qword [rbx + 0x1a0], rax
jmp 0x1401679f1
inc dword [rbx + 0x198]
mov rcx, rbx
call fcn.1400f69f0
lea r9, [r12 + 0x70]
mov rcx, rax
mov qword [r9 + 0x20], rax
test rax, rax
jne 0x1401679fb
mov qword [r9 + 0x20], rsi
xor esi, esi
jmp 0x140167bc4
cmp rcx, qword [rbx + 0x1c8]
jb 0x140167ae4
movzx eax, word [rbx + 0x186]
jmp 0x140167aef
call qword [0x1402b62b8]
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 0x140167b4e
test dword [rdi + 4], 0x40000
je 0x140167b4e
movsxd rcx, dword [rdi + 0x2c]
call fcn.14013dc30
mov ecx, 0x10e
sub ax, cx
mov word [r8 + 0x10], ax
jmp 0x140167b60
mov eax, 1
mov word [r8 + 0x10], ax
test rdi, rdi
je 0x140167b83
nop dword [rax]
mov eax, dword [rdi + 4]
test eax, 0x41000
je 0x140167b83
bt eax, 0x12
jae 0x140167b7a
mov rax, qword [rdi + 0x20]
mov rdi, qword [rax + 8]
jmp 0x140167b7e
mov rdi, qword [rdi + 0x10]
test rdi, rdi
jne 0x140167b60
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 0x140167bc4
mov rdx, qword [rbx + 0x10]
mov r8b, 0x2c
mov rcx, r9
call fcn.14016c7d0
mov rdx, qword [rbx + 0x18]
lea rcx, [r12 + 0x70]
mov r8b, 0x2c
call fcn.14016c7d0
cmp dword [rsp + 0x30], 0
mov ecx, 0x100
jne 0x140167c06
test r14, r14
je 0x140167bde
movzx eax, byte [r14]
mov byte [r12 + 0x41], al
test word [rsp + 0x128], cx
je 0x140167bee
mov byte [r12 + 0x43], 1
mov rcx, qword [rsp + 0x110]
lea r8, str.SCAN_CONSTANT_ROW
xor edx, edx
call fcn.140160230
jmp 0x140167c5d
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.14016c850
inc ebx
lea rdi, [rdi + 0x70]
cmp ebx, dword [r13]
jl 0x140167c21
mov r12, qword [rsp + 0x48]
mov r13, qword [rsp + 0x58]
lea rdi, [r12 + 0x70]
mov ebx, dword [rdi + 0x14]
sub ebx, 1
js 0x140167c8d
mov rbp, qword [rsp + 0x118]
mov r8d, ebx
mov rdx, rdi
mov rcx, rbp
call fcn.1400f8950
sub ebx, 1
jns 0x140167c72
lea rbp, [r12 + 0x258]
mov r8, qword [rsp + 0x40]
cmp byte [r8 + 0x63], 0
jne 0x1401686c7
mov rcx, qword [rsp + 0x78]
xor r8d, r8d
mov esi, r8d
cmp dword [rcx + 0x14], r8d
jle 0x140167daf
mov r13, qword [rsp + 0x110]
lea r9, [0x1400fc980]
mov ebp, dword [rsp + 0x30]
lea r10, [0x14014eb50]
mov edi, r8d
lea r15d, [r8 + 1]
mov rbx, qword [rcx + 0x20]
add rbx, rdi
test byte [rbx + 0x12], 2
jne 0x140167d86
cmp qword [rbx + 0x30], 0
jne 0x140167d86
test ebp, ebp
je 0x140167d55
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 0x140167d55
lea rcx, [rsp + 0xa0]
call fcn.14017ccd0
cmp word [rsp + 0xc4], 0
je 0x140167d70
mov r8d, dword [r12 + 0x34]
mov r9d, 0x10
mov rdx, qword [rbx]
mov rcx, r13
call fcn.140130090
or word [rbx + 0x12], 4
mov rcx, qword [rsp + 0x78]
lea r10, [0x14014eb50]
lea r9, [0x1400fc980]
xor r8d, r8d
inc esi
add rdi, 0x38
cmp esi, dword [rcx + 0x14]
jl 0x140167cd3
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 0x140167e02
mov rdx, qword [rsp + 0x118]
mov r9, r15
mov rcx, qword [rsp + 0x110]
mov r8, rdi
call fcn.140105a70
test eax, eax
je 0x140167ded
mov byte [r12 + 0x43], 1
jmp 0x140167e02
test r14, r14
jne 0x140167e02
mov eax, 0x80
mov qword [r12 + 0x10], r15
or word [r12 + 0x3c], ax
mov r14d, dword [rsp + 0x30]
cmp r14d, 1
jne 0x140167e1b
lea rcx, [rsp + 0x70]
call fcn.140182420
test eax, eax
jne 0x140167e72
lea rcx, [rsp + 0x70]
call fcn.14017da00
test eax, eax
jne 0x1401686c2
xor edx, edx
mov rcx, r12
call fcn.140180e00
mov r8, qword [rsp + 0x40]
cmp byte [r8 + 0x63], 0
jne 0x1401686c7
cmp qword [r12 + 0x10], 0
je 0x140167e7f
movzx edx, word [r12 + 0x48]
mov rcx, r12
inc dx
call fcn.140180e00
mov r8, qword [rsp + 0x40]
cmp byte [r8 + 0x63], 0
jne 0x1401686c7
jmp 0x140167e77
mov r8, qword [rsp + 0x40]
cmp qword [r12 + 0x10], 0
jne 0x140167e93
mov eax, dword [r8 + 0x30]
bt rax, 0xc
jae 0x140167e93
mov qword [r12 + 0x68], 0xffffffffffffffff
mov r10, qword [rsp + 0x110]
cmp dword [r10 + 0x30], 0
jne 0x1401686cf
cmp byte [r8 + 0x63], 0
jne 0x1401686cf
cmp byte [r12 + 0x40], 2
jb 0x140168013
test r15, r15
je 0x140168013
test dword [r8 + 0x5c], ebx
jne 0x140168013
mov rdx, r15
mov rcx, rbp
call fcn.14016c500
mov rdx, qword [rsp + 0x80]
mov r13, rax
test rdx, rdx
je 0x140167ef6
mov rcx, rbp
call fcn.14016c500
or r13, rax
movzx edx, byte [r12 + 0x40]
lea edi, [rdx - 1]
cmp edi, 1
jl 0x140168001
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 0x140167fdb
cmp word [rsp + 0x38], 0
jne 0x140167f7c
test dword [r11 + 0x28], 0x1000
je 0x140167fdb
mov r10, qword [r11 + 8]
test r13, r10
jne 0x140167fdb
mov rcx, qword [rsi + 0x20]
movsxd rax, dword [rsi + 0x14]
mov rdx, rcx
imul r9, rax, 0x38
add r9, rcx
cmp rcx, r9
jae 0x1401680e1
test qword [rdx + 0x30], r10
je 0x140167fb9
mov r8, qword [rdx]
test byte [r8 + 4], 1
je 0x140167fd2
mov eax, dword [rbx + 0x4c]
cmp dword [r8 + 0x34], eax
jne 0x140167fd2
add rdx, 0x38
cmp rdx, r9
jb 0x140167fa0
mov rax, r10
not rax
and qword [rsp + 0x50], rax
jmp 0x1401680f0
cmp rdx, r9
jae 0x1401680e1
mov rbx, qword [rsp + 0x48]
dec edi
sub r15, 0x60
sub r14, 0x60
sub r12, 0x60
cmp edi, 1
jge 0x140167f50
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 0x1401680c6
mov rdx, qword [r12 + 0x3b0]
mov ecx, dword [rdx + 0x28]
test ecx, 0x1000
jne 0x140168090
mov ebx, r9d
mov dword [rsp + 0x38], ebx
test bpl, 8
je 0x1401680c6
mov rax, qword [r11 + 0x28]
mov dword [rsp + 0x38], ebx
cmp dword [rax + 0x54], r9d
jne 0x1401680c6
bt ecx, 0xd
jae 0x14016808a
movzx ebx, r9w
mov dword [rsp + 0x38], ebx
test bpl, 0x10
je 0x1401680c6
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 0x1401680c6
mov dword [rsp + 0x38], ebx
test cl, 0x40
je 0x1401680c6
and ecx, 0xffffffbf
movzx ebx, bp
and bx, 8
mov dword [rdx + 0x28], ecx
mov dword [rsp + 0x38], ebx
test r14d, r14d
jle 0x140168432
mov eax, r14d
lea r15, [r12 + 0x3b0]
mov qword [rsp + 0x58], rax
jmp 0x140168153
not r10
and qword [rsp + 0x50], r10
cmp rcx, r9
jae 0x140168108
nop
mov rax, qword [rcx + 0x30]
test qword [r11 + 8], rax
je 0x1401680ff
or word [rcx + 0x12], 4
add rcx, 0x38
cmp rcx, r9
jb 0x1401680f0
mov rbx, qword [rsp + 0x48]
movzx ecx, byte [rbx + 0x40]
lea eax, [rcx - 1]
cmp edi, eax
je 0x140168134
sub ecx, edi
mov rdx, r15
dec ecx
lea eax, [rcx + rcx*2]
mov rcx, r14
shl eax, 5
movsxd r8, eax
call fcn.1401b3e90
movzx ecx, byte [rbx + 0x40]
dec cl
dec dword [rsp + 0x30]
mov byte [rbx + 0x40], cl
mov rsi, qword [rsp + 0x78]
jmp 0x140167fe0
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 0x14016818c
mov rax, qword [r8 + 0x20]
mov esi, r9d
add rax, 0x18
cmp qword [rax], rcx
je 0x14016818c
inc esi
lea rax, [rax + 0x20]
cmp qword [rax], rcx
jne 0x140168181
test dword [rdi + 0x40], 0x4000
mov r14, qword [r15]
jne 0x140168384
cmp qword [rdi + 0x18], 0
jne 0x140168384
mov eax, dword [r14 + 0x28]
bt eax, 0xa
jae 0x14016828d
mov rbx, qword [rdi + 0x60]
test rbx, rbx
je 0x1401681ce
nop
cmp qword [rbx], r8
je 0x1401681ce
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1401681c0
movsxd rdx, dword [r13 + 0x90]
mov r8d, dword [rbp + 0x4c]
cmp dword [r13 + 0x94], edx
jg 0x1401681fb
mov dword [rsp + 0x20], r9d
mov edx, 0xa8
xor r9d, r9d
mov rcx, r13
call fcn.140104130
mov edx, eax
jmp 0x14016822a
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 0x140168384
test edx, edx
jns 0x140168245
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 0x140168274
mov r9d, 0xfffffff4
mov r8, rbx
mov rcx, r13
call fcn.1401757b0
jmp 0x140168384
test rbx, rbx
je 0x140168384
mov qword [rdx + 0x10], rbx
mov byte [rdx + 1], 0xf4
inc dword [rbx + 0x18]
jmp 0x140168384
cmp dword [rdi + 0x54], 0
jne 0x140168384
test al, 0x40
jne 0x14016836b
test byte [rsp + 0x128], 0x20
jne 0x14016836b
cmp byte [r12 + 0x42], 0
mov ecx, 0x61
je 0x1401682c7
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.14013ea40
cmp byte [r12 + 0x42], 0
jne 0x14016834e
cmp word [rdi + 0x46], 0x40
jge 0x14016834e
test byte [rdi + 0x40], 0xe0
jne 0x14016834e
mov rax, qword [rbp + 0x60]
xor r9d, r9d
test rax, rax
je 0x140168308
nop dword [rax]
inc r9d
shr rax, 1
jne 0x140168300
mov rax, qword [r13]
movsxd r8, r9d
cmp byte [rax + 0x63], 0
jne 0x14016834e
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 0x140168346
mov r9d, 0xfffffffd
mov rcx, r13
call fcn.1401757b0
jmp 0x14016834e
mov dword [rdx + 0x10], r9d
mov byte [rdx + 1], 0xfd
movsxd rax, dword [r13 + 0x90]
test eax, eax
jle 0x140168384
lea rcx, [rax + rax*2]
mov rax, qword [r13 + 0x88]
mov word [rax + rcx*8 - 0x16], bx
jmp 0x140168384
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.140150b70
test dword [r14 + 0x28], 0x200
je 0x1401683c7
test byte [rdi + 0x40], 0x80
mov r10d, 0x61
mov rbx, qword [r14 + 0x20]
je 0x14016852f
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
movzx eax, word [rsp + 0x128]
jne 0x140168537
test al, 0x20
je 0x140168537
mov eax, dword [r15 - 0x4c]
mov dword [r15 - 0x48], eax
mov rbp, qword [rsp + 0x110]
test esi, esi
js 0x1401683fc
mov rax, qword [rbp + 0xa0]
mov rcx, rbp
test rax, rax
cmovne rcx, rax
mov eax, dword [rcx + 0x74]
bt eax, esi
jb 0x1401683fc
bts eax, esi
mov dword [rcx + 0x74], eax
cmp esi, 1
jne 0x1401683fc
call fcn.14013edb0
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 0x140168150
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 0x1401686c7
test r14d, r14d
jle 0x14016851b
mov rsi, qword [rsp + 0x110]
lea rdi, [r12 + 0x394]
mov rax, qword [rdi + 0x1c]
test dword [rax + 0x28], 0x4000
je 0x1401684b0
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.1400f4770
mov r8, qword [rsp + 0x40]
cmp byte [r8 + 0x63], 0
jne 0x1401686c7
mov rdx, qword [rsp + 0x118]
lea rbx, [rdi - 0x34]
mov r8, rbx
movzx r9d, bp
mov rcx, rsi
call fcn.14016c120
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.1401687d0
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 0x140168462
mov eax, dword [r13 + 0x90]
mov dword [r12 + 0x50], eax
mov rax, r12
jmp 0x1401686e8
movzx eax, word [rsp + 0x128]
cmp byte [r12 + 0x42], 0
je 0x140168575
mov rax, qword [rbp + 0x28]
mov edx, dword [rsp + 0x60]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x140168560
cmp rcx, rbx
je 0x140168560
mov rcx, qword [rcx + 0x28]
inc edx
test rcx, rcx
jne 0x140168550
mov rbp, qword [rsp + 0x110]
mov r10d, 0x62
mov dword [r12 + 0x2c], edx
jmp 0x1401685a6
mov ecx, dword [rsp + 0x60]
test ecx, ecx
je 0x140168595
test al, 0x20
je 0x140168595
mov rbp, qword [rsp + 0x110]
mov edx, ecx
mov r10d, 0x60
mov eax, ecx
jmp 0x1401685a8
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 0x1401685d7
mov r9d, r8d
mov dword [rsp + 0x20], esi
mov r8d, edx
mov rcx, r13
mov edx, r10d
call fcn.140104130
jmp 0x140168610
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.14013c7b0
mov r8, rax
test rax, rax
je 0x14016866a
mov rax, qword [rdi]
cmp byte [rax + 0x63], 0
je 0x14016864e
cmp qword [rax + 0x2e0], 0
jne 0x14016866a
add dword [r8], 0xffffffff
jne 0x14016866a
mov rcx, qword [r8 + 0x10]
mov rdx, r8
call fcn.1401288c0
jmp 0x14016866a
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 0x1401683cf
test eax, 0x188002
jne 0x1401683cf
test byte [r12 + 0x3c], 1
jne 0x1401683cf
cmp byte [r12 + 0x43], 2
je 0x1401683cf
movsxd rax, dword [r13 + 0x90]
test eax, eax
jle 0x1401683cf
lea rcx, [rax + rax*2]
mov edx, 2
mov rax, qword [r13 + 0x88]
mov word [rax + rcx*8 - 0x16], dx
jmp 0x1401683cf
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.14017d6b0
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