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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x17]
sub rsp, 0xf8
mov rax, qword [rcx + 0x10]
xor esi, esi
mov r12, qword [rcx]
xorps xmm0, xmm0
mov qword [rsp + 0x50], rax
mov rdi, r8
mov qword [rsp + 0x58], r12
mov r14, r9
mov qword [rbp - 0x69], rsi
mov r8, rdx
mov qword [rbp - 0x61], rsi
mov r13, rcx
mov qword [rbp - 0x59], rsi
mov qword [rbp - 0x39], rsi
movdqu xmmword [rbp - 0x49], xmm0
test r9, r9
je 0x14015917c
cmp dword [r9], 0x40
cmovge r14, rsi
mov qword [rbp + 0x67], r14
movzx edx, word [rbp + 0x77]
mov r9d, 0xfeff
mov eax, dword [r8]
and dx, r9w
mov qword [rbp - 0x51], r14
movzx ecx, byte [r12 + 0x5c]
and cl, 0x10
cmove dx, word [rbp + 0x77]
mov word [rsp + 0x40], dx
cmp eax, 0x40
jle 0x1401591d1
mov r8d, 0x40
lea rdx, str.at_most__d_tables_in_a_join
mov rcx, r13
call fcn.140123d60
xor eax, eax
add rsp, 0xf8
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test dl, 0x20
mov qword [rsp + 0x140], rbx
mov ecx, 1
mov qword [rsp + 0xf0], r15
cmovne eax, ecx
mov rcx, r12
mov dword [rsp + 0x44], eax
lea eax, [rax + rax*2]
shl eax, 5
add eax, 0x39f
and eax, 0xfffffff8
movsxd rbx, eax
lea rdx, [rbx + 0x60]
call fcn.140121770
mov r15, rax
mov qword [rsp + 0x48], rax
cmp byte [r12 + 0x61], sil
je 0x14015922c
mov rdx, rax
mov rcx, r12
call fcn.1401216b0
jmp 0x140159de2
movsxd rdx, dword [rsp + 0x44]
lea rcx, [r15 + 0x398]
mov qword [rax], r13
mov rax, qword [rbp + 0x57]
mov qword [r15 + 8], rax
mov rax, qword [rbp + 0x6f]
mov qword [r15 + 0x18], rax
mov rax, 0xffffffffffffffff
mov qword [r15 + 0x10], r14
mov qword [r15 + 0x20], rdi
mov qword [r15 + 0x28], rax
mov byte [r15 + 0x40], dl
mov qword [rbp - 0x79], rax
mov eax, dword [r13 + 0x44]
dec eax
mov qword [rbp - 0x29], rcx
mov dword [r13 + 0x44], eax
mov dword [r15 + 0x30], eax
mov dword [r15 + 0x34], eax
movzx eax, word [rsp + 0x40]
mov word [r15 + 0x3c], ax
mov eax, dword [rbp + 0x7f]
mov word [r15 + 0x3e], ax
mov dword [rbp - 0x7d], eax
mov eax, dword [r13 + 0xbc]
mov dword [r15 + 0x38], eax
xor eax, eax
mov qword [r15 + 0x41], rax
mov qword [r15 + 0x49], rax
mov qword [r15 + 0x51], rax
mov qword [r15 + 0x59], rax
mov dword [r15 + 0x61], eax
mov word [r15 + 0x65], ax
mov byte [r15 + 0x67], al
lea rax, [rdx + 1]
lea r8, [rax + rax*2]
xor edx, edx
shl r8, 5
call sub.msvcrt.dll_memset
mov qword [rbp - 0x61], r15
lea r9, [r15 + 0x68]
mov qword [rbp - 0x59], r9
lea rcx, [rbx + r15]
mov qword [rbp - 0x49], rcx
lea rax, [rcx + 0x48]
mov qword [rcx + 0x38], rax
lea r12, [r15 + 0x290]
mov word [rcx + 0x2c], si
mov eax, 3
mov word [rcx + 0x30], ax
mov r8b, 0x2c
mov dword [rcx + 0x28], esi
lea rax, [r9 + 0x28]
mov dword [r12 + 4], esi
mov rdx, rdi
mov rcx, r9
mov qword [r9 + 0x20], rax
mov qword [rbp - 0x71], r12
mov qword [rbp - 0x31], r9
mov qword [r9], r15
mov byte [r9 + 0x11], sil
mov qword [r9 + 8], rsi
mov dword [r9 + 0x14], esi
mov dword [r9 + 0x18], 8
call fcn.14015da80
mov ecx, 0x100
cmp dword [rsp + 0x44], esi
jne 0x140159379
test r14, r14
je 0x140159353
movzx eax, byte [r14]
mov byte [r15 + 0x41], al
test word [rsp + 0x40], cx
je 0x14015935f
mov byte [r15 + 0x43], 1
lea r8, str.SCAN_CONSTANT_ROW
xor edx, edx
mov rcx, r13
call fcn.140152a20
mov rcx, qword [rbp + 0x57]
jmp 0x14015950e
mov dword [rsp + 0x60], esi
mov rsi, qword [rbp + 0x57]
add rsi, 0x48
nop word [rax + rax]
movsxd rcx, dword [r12 + 4]
mov eax, dword [rsi + 4]
mov dword [r12 + rcx*4 + 8], eax
inc dword [r12 + 4]
test byte [rsi], 4
je 0x1401594eb
mov r13, qword [rsi + 0x20]
mov r14, qword [rsi - 0x20]
test r13, r13
je 0x1401594e7
xor eax, eax
mov ebx, eax
mov r15d, eax
cmp dword [r13], eax
jle 0x1401594e7
lea r12, [r13 + 8]
movsx ecx, word [r14 + 0x46]
cmp ebx, ecx
jge 0x140159645
mov rdx, qword [r14 + 8]
movsxd rax, ebx
shl rax, 5
test byte [rax + rdx + 0x1c], 2
jne 0x1401593f6
inc ebx
cmp ebx, ecx
jl 0x1401593e2
cmp ebx, ecx
jge 0x140159645
mov rcx, qword [rbp + 0x4f]
mov edx, 0x48
mov rcx, qword [rcx]
call fcn.140121770
mov rdi, rax
test rax, rax
je 0x1401594e3
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x20], rax
mov qword [rdi + 0x28], rax
mov qword [rdi + 0x30], rax
mov qword [rdi + 0x38], rax
mov qword [rdi + 0x40], rax
mov rax, 0xffffffffffffffff
mov word [rdi + 0x32], ax
mov byte [rdi], 0xa4
mov dword [rdi + 0x28], 1
mov eax, dword [rsi + 4]
mov word [rdi + 0x30], bx
inc ebx
mov dword [rdi + 0x2c], eax
mov qword [rdi + 0x40], r14
mov rdx, qword [r12]
test rdx, rdx
je 0x140159482
mov rax, qword [rbp + 0x4f]
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rax]
call fcn.1400fb1e0
jmp 0x140159484
xor eax, eax
mov rcx, qword [rbp + 0x4f]
xor r9d, r9d
mov r8, rax
mov edx, 0xab
call fcn.140136400
mov rcx, qword [rbp + 0x4f]
mov r9, rax
mov r8, rdi
mov edx, 0x35
call fcn.140136400
test byte [rsi - 4], 8
mov r9, rax
je 0x1401594c0
mov edx, dword [rsi + 4]
mov rcx, rax
call fcn.140143f30
mov rcx, qword [rbp - 0x31]
mov r8d, 1
mov rdx, r9
call fcn.14016b9d0
inc r15d
add r12, 0x20
cmp r15d, dword [r13]
jl 0x1401593d1
mov r12, qword [rbp - 0x71]
mov r13, qword [rbp + 0x4f]
mov eax, dword [rsp + 0x60]
add rsi, 0x70
mov rcx, qword [rbp + 0x57]
inc eax
mov dword [rsp + 0x60], eax
cmp eax, dword [rcx]
jl 0x140159390
mov r15, qword [rsp + 0x48]
mov r14, qword [rbp + 0x67]
mov ebx, dword [r15 + 0x7c]
lea rdi, [r15 + 0x68]
sub ebx, 1
js 0x140159534
nop dword [rax + rax]
mov r8d, ebx
mov rdx, rdi
call fcn.1400f9510
sub ebx, 1
mov rcx, qword [rbp + 0x57]
jns 0x140159520
mov r8, qword [rsp + 0x58]
cmp byte [r8 + 0x61], 0
jne 0x140159dc8
mov rcx, qword [rbp - 0x59]
xor r8d, r8d
mov esi, r8d
cmp dword [rcx + 0x14], r8d
jle 0x140159612
mov r12d, dword [rsp + 0x44]
lea r9, [0x1400fbf70]
mov edi, r8d
lea r10, [0x140143d80]
lea r14d, [r8 + 1]
mov rbx, qword [rcx + 0x20]
add rbx, rdi
test byte [rbx + 0x12], 2
jne 0x1401595f4
cmp qword [rbx + 0x38], 0
jne 0x1401595f4
test r12d, r12d
je 0x1401595c5
mov rdx, qword [rbx]
mov qword [rbp - 0x21], r8
mov qword [rbp - 9], r8
mov dword [rbp - 1], r8d
mov qword [rbp + 5], r8
mov word [rbp + 0xd], r8w
mov word [rbp + 3], r14w
mov qword [rbp - 0x19], r9
mov qword [rbp - 0x11], r10
test rdx, rdx
je 0x1401595c5
lea rcx, [rbp - 0x21]
call fcn.14016b570
cmp word [rbp + 3], 0
je 0x1401595df
mov r8d, dword [r15 + 0x34]
mov r9d, InitCommonControls
mov rdx, qword [rbx]
mov rcx, r13
call fcn.140128150
or word [rbx + 0x12], 4
mov rcx, qword [rbp - 0x59]
lea r10, [0x140143d80]
lea r9, [0x1400fbf70]
xor r8d, r8d
inc esi
add rdi, 0x40
cmp esi, dword [rcx + 0x14]
jl 0x140159572
mov r14, qword [rbp + 0x67]
lea r12, [r15 + 0x290]
lea rdi, [r15 + 0x68]
movzx r13d, word [rsp + 0x40]
mov esi, 0x100
mov rbx, qword [rbp + 0x6f]
and r13w, si
je 0x14015967a
mov rdx, qword [rbp + 0x57]
mov r9, rbx
mov rcx, qword [rbp + 0x4f]
mov r8, rdi
call fcn.140103e10
test eax, eax
je 0x140159667
mov byte [r15 + 0x43], 1
jmp 0x14015967a
mov r13, qword [rbp + 0x4f]
lea rdx, str.too_many_arguments_on__s_____max__d
mov r8, qword [r14]
mov rcx, r13
mov r9d, r15d
call fcn.140123d60
mov r12, qword [rbp - 0x71]
jmp 0x1401594eb
test r14, r14
jne 0x14015967a
mov eax, 0x80
mov qword [r15 + 0x10], rbx
or word [r15 + 0x3c], ax
cmp dword [rsp + 0x44], 1
jne 0x14015968e
lea rcx, [rbp - 0x61]
call fcn.1401703e0
test eax, eax
jne 0x1401596e2
lea rcx, [rbp - 0x61]
call fcn.14016c0f0
test eax, eax
jne 0x140159dc3
xor edx, edx
mov rcx, r15
call fcn.14016f260
mov r8, qword [rsp + 0x58]
cmp byte [r8 + 0x61], 0
jne 0x140159dc8
cmp qword [r15 + 0x10], 0
je 0x1401596ee
movzx edx, word [r15 + 0x48]
mov rcx, r15
inc dx
call fcn.14016f260
mov r8, qword [rsp + 0x58]
cmp byte [r8 + 0x61], 0
jne 0x140159dc8
jmp 0x1401596e7
mov r8, qword [rsp + 0x58]
cmp qword [r15 + 0x10], 0
jne 0x140159701
mov eax, dword [r8 + 0x30]
bt rax, 0xc
jae 0x140159701
mov qword [r15 + 0x60], 0xffffffffffffffff
mov r10, qword [rbp + 0x4f]
cmp dword [r10 + 0x30], 0
jne 0x140159dcc
cmp byte [r8 + 0x61], 0
jne 0x140159dcc
cmp byte [r15 + 0x40], 2
jb 0x1401598cb
test rbx, rbx
je 0x1401598cb
test word [r8 + 0x5c], si
jne 0x1401598cb
mov rdx, rbx
mov rcx, r12
call fcn.14015d7e0
mov rdx, qword [rbp - 0x51]
mov r12, rax
test rdx, rdx
je 0x140159760
lea rcx, [r15 + 0x290]
call fcn.14015d7e0
or r12, rax
movzx ecx, byte [r15 + 0x40]
lea ebx, [rcx - 1]
cmp ebx, 1
jl 0x1401598c2
mov rdi, qword [rbp - 0x59]
lea rsi, [r15 + 0x3e8]
movsxd rax, ecx
lea r14, [rcx + rcx*2]
dec rax
shl r14, 5
add r14, 0x338
add r14, r15
add r15, 0x398
lea rax, [rax + rax*2]
shl rax, 5
add rsi, rax
lea eax, [rbx + 1]
movsxd rcx, eax
lea rax, [rcx + rcx*2]
shl rax, 5
add r15, rax
nop word [rax + rax]
mov r10, qword [rsi]
movzx eax, byte [r10 + 0x10]
imul r11, rax, 0x70
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 8]
add r11, rax
test byte [r11 + 0x44], 8
je 0x1401598a6
test r13w, r13w
jne 0x1401597f7
test dword [r10 + 0x28], 0x1000
je 0x1401598a6
mov r9, qword [r10 + 8]
test r12, r9
jne 0x1401598a6
mov rcx, qword [rdi + 0x20]
movsxd r8, dword [rdi + 0x14]
mov rdx, rcx
shl r8, 6
add r8, rcx
cmp rcx, r8
jae 0x140159849
nop dword [rax + rax]
test qword [rdx + 0x38], r9
je 0x140159839
mov rax, qword [rdx]
test byte [rax + 4], 1
je 0x140159844
movsx eax, word [rax + 0x34]
cmp eax, dword [r11 + 0x4c]
jne 0x140159844
add rdx, 0x40
cmp rdx, r8
jb 0x140159820
jmp 0x140159849
cmp rdx, r8
jb 0x1401598a6
not r9
and qword [rbp - 0x79], r9
cmp rcx, r8
jae 0x14015986d
mov rax, qword [rcx + 0x38]
test qword [r10 + 8], rax
je 0x140159864
or word [rcx + 0x12], 4
add rcx, 0x40
cmp rcx, r8
jb 0x140159855
mov rdi, qword [rsp + 0x48]
movzx ecx, byte [rdi + 0x40]
lea eax, [rcx - 1]
cmp ebx, eax
je 0x140159899
sub ecx, ebx
mov rdx, r15
dec ecx
lea eax, [rcx + rcx*2]
mov rcx, r14
shl eax, 5
movsxd r8, eax
call sub.msvcrt.dll_memmove
movzx ecx, byte [rdi + 0x40]
dec cl
dec dword [rsp + 0x44]
mov byte [rdi + 0x40], cl
mov rdi, qword [rbp - 0x59]
dec ebx
sub r15, 0x60
sub r14, 0x60
sub rsi, 0x60
cmp ebx, 1
jge 0x1401597c0
mov r15, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov r10, qword [rbp + 0x4f]
mov rcx, qword [r15]
xor edx, edx
movsx eax, word [r15 + 0x48]
movzx r13d, dx
movzx r11d, word [rsp + 0x40]
mov r9, qword [rbp + 0x57]
add dword [rcx + 0xbc], eax
test r11b, 4
je 0x14015995b
mov rax, qword [r15 + 0x3e8]
mov ecx, dword [rax + 0x28]
test ecx, 0x1000
jne 0x140159929
mov r13d, edx
test r11b, 8
je 0x14015995b
mov rax, qword [r9 + 0x28]
cmp dword [rax + 0x54], edx
jne 0x14015995b
bt ecx, 0xd
jae 0x140159923
movzx r13d, dx
test r11b, 0x10
je 0x14015995b
test ecx, 0x1000
sete al
movzx r13d, dx
inc al
mov byte [r15 + 0x42], al
mov rax, qword [r9 + 0x28]
test byte [rax + 0x40], 0x80
jne 0x14015995b
test cl, 0x40
je 0x14015995b
mov rax, qword [r15 + 0x3e8]
and ecx, 0xffffffbf
movzx r13d, r11w
and r13w, 8
mov dword [rax + 0x28], ecx
mov r12d, dword [rsp + 0x44]
test r12d, r12d
jle 0x140159ad2
mov r12, qword [rbp - 0x29]
mov ebx, dword [rsp + 0x44]
add r12, 0x50
mov qword [rbp + 0x67], rbx
jmp 0x140159982
xor edx, edx
movzx eax, byte [r12 - 0x1c]
mov edi, 0xfff0bdc0
imul r14, rax, 0x70
add r14, r9
mov rsi, qword [r14 + 0x28]
mov rcx, qword [rsi + 0x70]
test rcx, rcx
je 0x1401599bb
mov rax, qword [r8 + 0x20]
mov edi, edx
add rax, 0x18
cmp qword [rax], rcx
je 0x1401599bb
inc edi
lea rax, [rax + 0x20]
cmp qword [rax], rcx
jne 0x1401599b0
test byte [rsi + 0x40], 2
mov r15, qword [r12]
jne 0x140159cd6
cmp qword [rsi + 0x18], 0
jne 0x140159cd6
mov eax, dword [r15 + 0x28]
bt eax, 0xa
jae 0x140159bbb
mov rax, qword [rsi + 0x60]
test rax, rax
je 0x1401599fe
nop dword [rax + rax]
cmp qword [rax], r8
je 0x1401599fe
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x1401599f0
mov r8d, dword [r14 + 0x4c]
xor r9d, r9d
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x30], 0xfffffff4
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edx
mov edx, 0xa5
call fcn.140149940
mov r10, qword [rsp + 0x50]
movzx r11d, word [rsp + 0x40]
test dword [r15 + 0x28], 0x200
je 0x140159a72
test byte [rsi + 0x40], 0x80
mov edx, 0x60
mov rbx, qword [r15 + 0x20]
je 0x140159ce0
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
jne 0x140159ce0
test r11b, 0x20
je 0x140159ce0
mov eax, dword [r12 - 0x4c]
mov rbx, qword [rbp + 0x67]
mov dword [r12 - 0x48], eax
mov r15, qword [rsp + 0x48]
mov r10, qword [rbp + 0x4f]
test edi, edi
js 0x140159aac
mov rax, qword [r10 + 0xa0]
mov rcx, r10
test rax, rax
cmovne rcx, rax
mov eax, dword [rcx + 0x74]
bt eax, edi
jb 0x140159aac
bts eax, edi
mov dword [rcx + 0x74], eax
cmp edi, 1
jne 0x140159aac
call fcn.1401362e0
mov r10, qword [rbp + 0x4f]
mov r8, qword [rsp + 0x58]
add r12, 0x60
movzx r11d, word [rsp + 0x40]
sub rbx, 1
mov r9, qword [rbp + 0x57]
mov qword [rbp + 0x67], rbx
jne 0x140159980
mov r12d, dword [rsp + 0x44]
mov r14, qword [rsp + 0x50]
mov eax, dword [r14 + 0x90]
mov dword [r15 + 0x4c], eax
cmp byte [r8 + 0x61], 0
jne 0x140159dcc
test r12d, r12d
jle 0x140159bb3
lea rdi, [r15 + 0x3cc]
nop dword [rax]
mov rax, qword [rdi + 0x1c]
test dword [rax + 0x28], 0x4000
je 0x140159b48
movzx eax, byte [rdi]
lea rdx, [rdi - 0x34]
mov r8, qword [rbp + 0x57]
mov r9, qword [rbp - 0x79]
add r8, 8
imul rcx, rax, 0x70
mov qword [rsp + 0x20], rdx
lea rdx, [r15 + 0x68]
add r8, rcx
mov rcx, r10
call fcn.1400f53e0
mov r8, qword [rsp + 0x58]
cmp byte [r8 + 0x61], 0
jne 0x140159dc8
movzx r9d, word [rsp + 0x40]
lea rbx, [rdi - 0x34]
mov rdx, qword [rbp + 0x57]
mov r8, rbx
mov rcx, qword [rbp + 0x4f]
call fcn.14015d4a0
mov eax, dword [r14 + 0x90]
mov r8, r15
mov r9d, dword [rbp - 0x69]
mov rdx, r14
mov rcx, qword [rbp + 0x4f]
mov dword [rdi - 0x14], eax
mov rax, qword [rbp - 0x79]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call fcn.140159fa0
mov rdx, qword [rbp - 0x69]
mov ecx, dword [rdi - 0x1c]
inc edx
mov r10, qword [rbp + 0x4f]
add rdi, 0x60
mov qword [rbp - 0x79], rax
mov dword [r15 + 0x30], ecx
mov qword [rbp - 0x69], rdx
cmp edx, r12d
jl 0x140159b00
mov rax, r15
jmp 0x140159de4
cmp dword [rsi + 0x54], 0
jne 0x140159cd6
test al, 0x40
jne 0x140159cb8
test r11b, 0x20
jne 0x140159cb8
mov rdx, qword [rsp + 0x48]
mov ecx, 0x60
cmp byte [rdx + 0x42], 0
je 0x140159bf3
mov eax, dword [r14 + 0x4c]
mov ecx, 0x61
mov dword [rdx + 0x28], eax
mov edx, dword [r14 + 0x4c]
mov r9, rsi
mov dword [rsp + 0x20], ecx
mov r8d, edi
mov rcx, r10
call fcn.140135ef0
mov rax, qword [rsp + 0x48]
cmp byte [rax + 0x42], 0
jne 0x140159c8e
cmp word [rsi + 0x46], 0x40
jge 0x140159c8e
test byte [rsi + 0x40], 0xe0
jne 0x140159c8e
mov rax, qword [r14 + 0x60]
xor edx, edx
test rax, rax
je 0x140159c37
nop dword [rax]
inc edx
shr rax, 1
jne 0x140159c30
mov r11, qword [rsp + 0x50]
movsxd r8, edx
mov rcx, qword [r11]
cmp byte [rcx + 0x61], 0
je 0x140159c54
mov edx, 0xfffffffd
call fcn.1400ff1f0
jmp 0x140159c8e
movsxd rax, dword [r11 + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [r11 + 0x88]
cmp byte [rax + rcx*8 - 0x17], 0
lea r10, [rax + rcx*8]
je 0x140159c85
mov r9d, 0xfffffffd
lea rdx, [r10 - 0x18]
mov rcx, r11
call fcn.140164c00
jmp 0x140159c8e
mov dword [r10 - 8], edx
mov byte [r10 - 0x17], 0xfd
mov r10, qword [rsp + 0x50]
movsxd rax, dword [r10 + 0x90]
test eax, eax
jle 0x140159a2a
lea rcx, [rax + rax*2]
mov rax, qword [r10 + 0x88]
mov word [rax + rcx*8 - 0x16], r13w
jmp 0x140159a2a
mov rax, qword [rsi]
xor r9d, r9d
mov r8d, dword [rsi + 0x38]
mov edx, edi
mov rcx, r10
mov qword [rsp + 0x20], rax
call fcn.1401458f0
jmp 0x140159a25
mov r10, qword [rsp + 0x50]
jmp 0x140159a30
mov r9, qword [rsp + 0x48]
cmp byte [r9 + 0x42], 0
je 0x140159d1c
mov rax, qword [r14 + 0x28]
mov r8d, dword [rbp - 0x7d]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x140159d11
nop dword [rax]
cmp rcx, rbx
je 0x140159d11
mov rcx, qword [rcx + 0x28]
inc r8d
test rcx, rcx
jne 0x140159d00
mov edx, 0x61
mov dword [r9 + 0x2c], r8d
jmp 0x140159d42
mov eax, dword [rbp - 0x7d]
test eax, eax
je 0x140159d33
test r11b, 0x20
je 0x140159d33
mov r8d, eax
mov edx, 0x5f
jmp 0x140159d45
mov rcx, qword [rbp + 0x4f]
mov r8d, dword [rcx + 0x34]
lea eax, [r8 + 1]
mov dword [rcx + 0x34], eax
mov eax, r8d
mov dword [r12 - 0x48], eax
mov rcx, r10
mov r9d, dword [rbx + 0x58]
mov dword [rsp + 0x20], edi
call fcn.1401498d0
mov rcx, qword [rbp + 0x4f]
mov rdx, rbx
call fcn.140156650
mov eax, dword [r15 + 0x28]
mov r15, qword [rsp + 0x48]
test al, 0xf
je 0x140159dba
test eax, 0x88002
jne 0x140159dba
test byte [r15 + 0x3c], 1
jne 0x140159dba
cmp byte [r15 + 0x43], 2
je 0x140159dba
mov rdx, qword [rsp + 0x50]
mov rbx, qword [rbp + 0x67]
movsxd rax, dword [rdx + 0x90]
test eax, eax
jle 0x140159a77
lea rcx, [rax + rax*2]
mov rax, qword [rdx + 0x88]
mov edx, 2
mov word [rax + rcx*8 - 0x16], dx
jmp 0x140159a77
mov rbx, qword [rbp + 0x67]
jmp 0x140159a77
mov r8, qword [rsp + 0x58]
mov r10, qword [rbp + 0x4f]
mov eax, dword [r15 + 0x38]
mov rdx, r15
mov rcx, r8
mov dword [r10 + 0xbc], eax
call fcn.14016bf00
xor eax, eax
mov rbx, qword [rsp + 0x140]
mov r15, qword [rsp + 0xf0]
add rsp, 0xf8
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret