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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push r12
sub rsp, 0x110
mov qword [rax - 0x10], rbx
mov r9, r8
mov qword [rax - 0x18], rbp
mov rbx, rdx
mov qword [rax - 0x20], rsi
mov r12, rcx
mov qword [rax - 0x28], rdi
xor sil, sil
xor edi, edi
mov qword [rax - 0x30], r13
mov r13, qword [rcx + 0x10]
mov qword [rax - 0x40], r15
mov byte [rsp + 0x40], sil
mov qword [rsp + 0x68], rdi
movsxd r11, dword [r13 + 0x90]
mov dword [rsp + 0x88], edi
mov dword [rsp + 0x78], edi
mov qword [rsp + 0x98], r13
mov dword [rsp + 0x8c], r11d
cmp dword [r13 + 0x94], r11d
jg 0x140163131
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor r8d, r8d
lea edx, [rdi + 0xf]
mov rcx, r13
call fcn.1400e7510
mov r9, qword [rsp + 0x130]
mov dword [rsp + 0x8c], eax
jmp 0x140163159
lea rcx, [r11 + r11*2]
lea eax, [r11 + 1]
mov dword [r13 + 0x90], eax
mov rax, qword [r13 + 0x88]
mov qword [rax + rcx*8], 0xf
mov qword [rax + rcx*8 + 8], rdi
mov qword [rax + rcx*8 + 0x10], rdi
mov r8, qword [rsp + 0x140]
mov ebp, edi
mov r15, qword [rbx + 0x20]
mov r10, rdi
movsxd rax, dword [rbx + 0x14]
mov r11d, 3
mov rcx, qword [r9 + 0x20]
mov rdx, qword [r8 + 0x60]
movabs r8, 0x8000000000000000
imul rax, rax, 0x38
mov qword [rsp + 0xe0], r14
add rax, r15
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], rdi
cmp r15, rax
jae 0x1401635ff
lea r14, [r9 + 0x44]
mov rdi, r14
mov qword [rsp + 0x80], r14
lea r8, [0x140105240]
nop
test byte [r15 + 0x12], 2
lea rdx, [fcn.140105420]
mov rbx, qword [r15]
jne 0x14016347b
movzx ecx, byte [r9 + 0x3c]
test cl, 0x40
jne 0x14016347b
mov eax, dword [rbx + 4]
and eax, 1
test cl, 8
je 0x140163215
test eax, eax
je 0x140163476
mov eax, dword [rdi]
cmp dword [rbx + 0x30], eax
je 0x14016321f
mov r14, rdi
jmp 0x140163476
test eax, eax
jne 0x140163476
mov eax, dword [rdi]
mov qword [rsp + 0xa8], rdx
movzx ecx, r11w
mov word [rsp + 0xc4], cx
mov qword [rsp + 0xb0], r8
mov dword [rsp + 0xc8], eax
test rbx, rbx
je 0x14016325f
mov rdx, rbx
lea rcx, [rsp + 0xa0]
call fcn.1400fd450
movzx ecx, word [rsp + 0xc4]
mov r14, rdi
test cx, cx
je 0x140163476
test rbx, rbx
je 0x140163289
mov rcx, qword [r12]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
call fcn.140103c20
mov rsi, rax
xor ebx, ebx
jmp 0x14016328c
mov rsi, rbx
mov r8, qword [rsp + 0x68]
mov rbp, qword [r12]
test r8, r8
jne 0x1401632a4
mov qword [rsp + 0x68], rsi
jmp 0x14016346d
test rsi, rsi
je 0x14016346d
mov eax, dword [r8 + 4]
lea rdi, [rsi + 4]
and eax, 0x20000001
cmp eax, 0x20000000
je 0x1401632d3
mov eax, dword [rdi]
and eax, 0x20000001
cmp eax, 0x20000000
jne 0x1401633e3
cmp byte [r12 + 0x11c], 2
jae 0x1401633e3
test rbp, rbp
je 0x1401632f6
mov edx, 0x18
mov rcx, rbp
call fcn.1400b9520
jmp 0x140163300
mov ecx, 0x18
call fcn.1400b8ca0
mov rdx, qword [rsp + 0x68]
mov rcx, rax
test rax, rax
je 0x140163331
mov rax, qword [r12 + 0xb0]
mov qword [rcx], rax
lea rax, [fcn.140103970]
mov qword [r12 + 0xb0], rcx
mov qword [rcx + 0x10], rax
mov qword [rcx + 8], rdx
jmp 0x14016333a
mov rcx, qword [r12]
call fcn.1401038c0
mov rdx, rsi
mov rcx, r12
call fcn.1401039b0
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], ebx
lea rcx, [0x14063998c]
call fcn.1400be7f0
test eax, eax
mov rcx, rbp
mov eax, 2
cmove ebx, eax
mov edx, ebx
add rdx, 0x48
call fcn.1400b9520
mov qword [rsp + 0x68], rax
mov r8, rax
test rax, rax
je 0x140163465
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r8], xmm0
movups xmmword [r8 + 0x10], xmm0
movups xmmword [r8 + 0x20], xmm0
movups xmmword [r8 + 0x30], xmm0
mov qword [r8 + 0x40], rax
mov eax, 0xffffffff
mov word [r8 + 0x2e], ax
mov byte [r8], 0x9b
test ebx, ebx
jne 0x1401633d1
mov eax, dword [rsp + 0x70]
mov ecx, 0x20800800
test eax, eax
mov dword [r8 + 8], eax
mov edx, 0x10800800
cmovne ecx, edx
or dword [r8 + 4], ecx
jmp 0x140163465
lea rax, [r8 + 0x48]
mov qword [r8 + 8], rax
mov word [rax], 0x30
jmp 0x140163465
mov edx, 0x48
mov rcx, rbp
call fcn.1400b9520
mov rbx, rax
test rax, rax
je 0x140163446
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
mov qword [rbx + 0x40], rax
mov eax, 0xffffffff
mov word [rbx + 0x2e], ax
mov rax, qword [rsp + 0x68]
mov byte [rbx], 0x2c
mov qword [rbx + 0x18], rsi
mov ecx, dword [rdi]
mov qword [rbx + 0x10], rax
and ecx, 0x400208
or ecx, dword [rbx + 4]
mov dword [rbx + 4], ecx
mov eax, dword [rax + 4]
and eax, 0x400208
or eax, ecx
mov dword [rbx + 4], eax
jmp 0x140163460
mov rdx, qword [rsp + 0x68]
mov rcx, qword [r12]
call fcn.1401038c0
mov rcx, qword [r12]
mov rdx, rsi
call fcn.1401038c0
mov qword [rsp + 0x68], rbx
mov r14, qword [rsp + 0x80]
mov ebp, dword [rsp + 0x50]
movzx esi, byte [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov edx, dword [r14]
mov r9, qword [rsp + 0x130]
cmp dword [r15 + 0x1c], edx
jne 0x14016369d
test byte [r15 + 0x14], 0x82
je 0x14016369d
movzx ecx, byte [r9 + 0x3c]
test cl, 0x58
je 0x1401634ce
mov rax, qword [r15]
mov r8d, dword [rax + 4]
test r8b, 3
je 0x1401635ba
cmp dword [rax + 0x30], edx
jne 0x1401635ba
test cl, 0x18
je 0x1401634ce
test r8b, 2
jne 0x1401635ba
mov rax, qword [rsp + 0x138]
test qword [r15 + 0x28], rax
jne 0x1401635ba
movsxd rax, dword [r15 + 0x20]
test eax, eax
js 0x1401635ba
lea rdx, [rax + rax*2]
mov rax, qword [r9 + 0x20]
mov rcx, qword [rax + 8]
movzx edx, byte [rcx + rdx*8 + 0xc]
mov rcx, qword [r15]
call fcn.140102010
test eax, eax
je 0x1401635b2
movsxd rcx, dword [r15 + 0x20]
cmp ecx, 0x40
jl 0x140163522
movabs rbx, 0x8000000000000000
jmp 0x14016352a
mov ebx, 1
shl rbx, cl
test sil, sil
jne 0x14016355f
mov rax, qword [rsp + 0x90]
lea rcx, [rcx + rcx*2]
lea rdx, str.automatic_index_on__s__s_
mov r9, qword [rax + 8]
mov r8, qword [rax]
mov r9, qword [r9 + rcx*8]
mov ecx, 0x11c
call fcn.1400bc730
mov sil, 1
mov byte [rsp + 0x40], sil
mov r10, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
test r10, rbx
jne 0x1401635a8
mov rcx, qword [r12]
lea edi, [rbp + 1]
mov r8d, edi
call fcn.140165190
test eax, eax
jne 0x14016409e
mov r10, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
or r10, rbx
movsxd rcx, ebp
mov ebp, edi
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x60], r10
mov rax, qword [rdx + 0x48]
mov qword [rax + rcx*8], r15
mov r9, qword [rsp + 0x130]
jmp 0x1401635c4
mov r9, qword [rsp + 0x130]
mov rdx, qword [rsp + 0x58]
mov r10, qword [rsp + 0x60]
mov rax, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x80]
lea r8, [0x140105240]
add r15, 0x38
mov r11d, 3
cmp r15, rax
jb 0x1401631d0
mov rcx, qword [rsp + 0x90]
xor edi, edi
movabs r8, 0x8000000000000000
mov word [rdx + 0x3c], bp
not r10
mov word [rdx + 0x18], bp
or r10, r8
mov dword [rdx + 0x38], 0x4241
mov ebx, 0x3f
movsx eax, word [rcx + 0x36]
mov edx, edi
mov r9, qword [r9 + 0x50]
mov r8d, eax
and r10, r9
mov qword [rsp + 0x60], r10
cmp bx, ax
jl 0x140163640
mov ebx, eax
test eax, eax
jle 0x140163657
nop dword [rax]
mov ecx, ebp
mov eax, edx
inc ebp
bt r10, rax
cmovae ebp, ecx
inc edx
cmp edx, ebx
jl 0x140163640
mov dword [rsp + 0x50], ebp
test r9, r9
jns 0x140163666
add ebp, 0xffffffc1
add ebp, r8d
mov dword [rsp + 0x50], ebp
mov rcx, qword [r12]
lea edi, [rbp + 1]
movsx rsi, di
movsx r14d, di
lea eax, [rsi + r14]
lea edx, [rax*2 + 9]
add edx, esi
lea eax, [rsi + 0xe]
and edx, 0xfffffff8
lea eax, [rdx + rax*8]
movsxd rbp, eax
test rcx, rcx
je 0x1401636ac
mov rdx, rbp
call fcn.1400b9520
jmp 0x1401636b4
mov r10, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
jmp 0x1401635c9
mov rcx, rbp
call fcn.1400b8ca0
mov r15, rax
test rax, rax
je 0x14016409e
mov r8, rbp
xor edx, edx
mov rcx, rax
call fcn.1405e5c90
mov rbp, qword [rsp + 0x128]
lea rax, [r15 + 0x70]
mov r9d, dword [rsp + 0x50]
lea rdx, [rax + rsi*8]
mov r11, qword [rsp + 0x90]
xor r10d, r10d
mov qword [r15 + 0x40], rax
lea eax, [r14 + 1]
mov r14, qword [rsp + 0x58]
movsxd rcx, eax
mov qword [r15 + 0x10], rdx
mov word [r15 + 0x60], di
mov word [r15 + 0x5e], r9w
lea rax, [rdx + rcx*2]
mov dword [rsp + 0x70], r10d
mov qword [r15 + 8], rax
lea rax, [rax + rsi*2]
mov qword [r15 + 0x38], rax
mov esi, r10d
mov qword [r14 + 0x20], r15
lea rax, str.auto_index
mov qword [r15], rax
mov rax, qword [rsp + 0x48]
mov qword [r15 + 0x18], r11
mov rdi, qword [rbp + 0x20]
mov qword [rsp + 0x80], r10
cmp rdi, rax
jae 0x1401638ea
mov r13, qword [rsp + 0x130]
mov r14d, r10d
mov qword [rsp + 0x70], r10
nop
mov edx, dword [r13 + 0x44]
cmp dword [rdi + 0x1c], edx
jne 0x1401638b4
test byte [rdi + 0x14], 0x82
je 0x1401638b4
movzx ecx, byte [r13 + 0x3c]
test cl, 0x58
je 0x1401637af
mov rax, qword [rdi]
mov r8d, dword [rax + 4]
test r8b, 3
je 0x1401638af
cmp dword [rax + 0x30], edx
mov rax, qword [rsp + 0x48]
jne 0x1401638b4
test cl, 0x18
je 0x1401637af
test r8b, 2
jne 0x1401638b4
mov rcx, qword [rsp + 0x138]
mov ebp, ebx
test qword [rdi + 0x28], rcx
jne 0x1401638b4
movsxd rax, dword [rdi + 0x20]
test eax, eax
js 0x1401638af
lea rdx, [rax + rax*2]
mov rax, qword [r13 + 0x20]
mov rcx, qword [rax + 8]
movzx edx, byte [rcx + rdx*8 + 0xc]
mov rcx, qword [rdi]
call fcn.140102010
test eax, eax
je 0x1401638af
mov edx, dword [rdi + 0x20]
cmp edx, 0x40
jl 0x140163804
movabs rax, 0x8000000000000000
jmp 0x14016380e
mov ecx, edx
mov eax, 1
shl rax, cl
mov r8, qword [rsp + 0x80]
test r8, rax
jne 0x1401638af
mov rcx, qword [rdi]
or r8, rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x80], r8
mov word [r14 + rax], dx
test dword [rcx + 4], 0x400
je 0x140163849
mov rbx, qword [rcx + 0x10]
mov rdx, qword [rcx + 0x18]
jmp 0x140163851
mov rbx, qword [rcx + 0x18]
mov rdx, qword [rcx + 0x10]
test dword [rdx + 4], 0x200
jne 0x140163878
test rbx, rbx
je 0x140163868
test dword [rbx + 4], 0x200
jne 0x140163875
mov rcx, r12
call fcn.140101c70
test rax, rax
jne 0x140163885
mov rdx, rbx
mov rcx, r12
call fcn.140101c70
test rax, rax
je 0x14016388a
mov rcx, qword [rax]
jmp 0x140163891
lea rcx, [0x140632388]
mov r8, qword [rsp + 0x70]
inc esi
mov rax, qword [r15 + 0x40]
add r14, 2
mov ebx, ebp
mov qword [r8 + rax], rcx
add r8, 8
mov qword [rsp + 0x70], r8
mov rax, qword [rsp + 0x48]
add rdi, 0x38
cmp rdi, rax
jb 0x140163760
mov r13, qword [rsp + 0x98]
xor r10d, r10d
mov r9d, dword [rsp + 0x50]
mov r11, qword [rsp + 0x90]
mov r14, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x128]
mov dword [rsp + 0x70], esi
lea rdi, [0x140632388]
mov ecx, r10d
test ebx, ebx
jle 0x140163940
mov r10, qword [rsp + 0x60]
movsxd rax, esi
lea rdx, [rax*8]
lea r8, [rax + rax]
nop dword [rax]
mov eax, ecx
bt r10, rax
jae 0x140163933
mov rax, qword [r15 + 8]
inc esi
mov word [r8 + rax], cx
add r8, 2
mov rax, qword [r15 + 0x40]
mov qword [rdx + rax], rdi
add rdx, 8
inc ecx
cmp ecx, ebx
jl 0x140163910
mov dword [rsp + 0x70], esi
xor r10d, r10d
mov rax, qword [rsp + 0x130]
cmp qword [rax + 0x50], 0
jge 0x14016399e
mov r8d, 0x3f
cmp r8w, word [r11 + 0x36]
jge 0x14016399e
movsxd rax, esi
lea rcx, [rax*8]
lea rdx, [rax + rax]
nop dword [rax + rax]
mov rax, qword [r15 + 8]
lea rdx, [rdx + 2]
inc esi
lea rcx, [rcx + 8]
mov word [rdx + rax - 2], r8w
inc r8d
mov rax, qword [r15 + 0x40]
mov qword [rcx + rax - 8], rdi
movsx eax, word [r11 + 0x36]
cmp r8d, eax
jl 0x140163970
mov dword [rsp + 0x70], esi
mov rax, qword [r15 + 8]
mov edx, 0xffffffff
movsxd rcx, esi
mov rsi, qword [rsp + 0x140]
mov word [rax + rcx*2], dx
lea edx, [r9 + 1]
mov rax, qword [r15 + 0x40]
mov qword [rax + rcx*8], rdi
mov eax, dword [r12 + 0x34]
mov dword [rsi + 8], eax
inc dword [r12 + 0x34]
movsxd rcx, dword [r13 + 0x90]
mov r8d, dword [rsi + 8]
cmp dword [r13 + 0x94], ecx
jg 0x140163a01
mov r9d, edx
mov dword [rsp + 0x20], r10d
mov edx, 0x74
mov rcx, r13
call fcn.1400e7510
lea rbx, [r13 + 0x88]
jmp 0x140163a33
lea eax, [rcx + 1]
mov dword [r13 + 0x90], eax
lea rcx, [rcx + rcx*2]
lea rbx, [r13 + 0x88]
mov rax, qword [rbx]
mov dword [rax + rcx*8], 0x74
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 rdi, qword [r12 + 0x10]
mov rdx, r15
mov rcx, r12
call fcn.1401213e0
mov r8, rax
test rax, rax
je 0x140163a95
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
je 0x140163a79
cmp qword [rax + 0x2e8], 0
jne 0x140163a70
add dword [r8], 0xffffffff
jne 0x140163a70
mov rcx, qword [r8 + 0x10]
mov rdx, r8
call fcn.1400b90e0
lea rbx, [r13 + 0x88]
jmp 0x140163a95
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 [r12]
test dword [rax + 0x60], 0x80000
jne 0x140163adb
mov edx, dword [r12 + 0x38]
inc edx
mov dword [r12 + 0x38], edx
mov dword [rsi + 0x34], edx
movsxd rcx, dword [r13 + 0x90]
cmp dword [r13 + 0x94], ecx
jg 0x140163b33
xor eax, eax
mov r9d, edx
mov r8d, 0x2710
mov dword [rsp + 0x20], eax
mov rcx, r13
lea edx, [rax + 0x4d]
call fcn.1400e7510
xor r9d, r9d
movzx eax, byte [rsi + 0x40]
imul rdx, rax, 0x68
mov rax, qword [rbp]
mov rbp, qword [rax + 8]
add rbp, rdx
test byte [rbp + 0x48], 0x20
je 0x140163c32
movsxd r8, dword [r13 + 0x90]
mov esi, dword [rbp + 0x3c]
mov dword [rsp + 0x78], r8d
cmp dword [r13 + 0x94], r8d
jg 0x140163b69
mov dword [rsp + 0x20], r9d
xor r8d, r8d
xor r9d, r9d
mov rcx, r13
lea edx, [r9 + 0x47]
call fcn.1400e7510
mov dword [rsp + 0x78], eax
xor r9d, r9d
jmp 0x140163b91
lea eax, [rcx + 1]
xor r9d, r9d
mov dword [r13 + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx]
mov dword [rax + rcx*8], 0x4d
mov dword [rax + rcx*8 + 4], 0x2710
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
jmp 0x140163ade
lea rcx, [r8 + r8*2]
lea eax, [r8 + 1]
mov dword [r13 + 0x90], eax
mov rax, qword [rbx]
mov qword [rax + rcx*8], 0x47
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r9
movsxd rcx, dword [r13 + 0x90]
mov edx, dword [rbp + 0x38]
cmp dword [r13 + 0x94], ecx
jg 0x140163bbf
xor r9d, r9d
mov dword [rsp + 0x20], edx
mov r8d, esi
mov rcx, r13
lea edx, [r9 + 0xb]
call fcn.1400e7510
xor r9d, r9d
jmp 0x140163be9
lea eax, [rcx + 1]
mov dword [r13 + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx]
mov dword [rax + rcx*8], 0xb
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r9
movsxd rdi, dword [r13 + 0x90]
cmp dword [r13 + 0x94], edi
jg 0x140163c14
mov dword [rsp + 0x20], r9d
mov r8d, esi
xor r9d, r9d
mov rcx, r13
lea edx, [r9 + 0xc]
call fcn.1400e7510
mov edi, eax
jmp 0x140163c8a
lea eax, [rdi + 1]
mov dword [r13 + 0x90], eax
lea rcx, [rdi + rdi*2]
mov rax, qword [rbx]
mov dword [rax + rcx*8], 0xc
mov dword [rax + rcx*8 + 4], esi
jmp 0x140163c7c
movsxd rdi, dword [r13 + 0x90]
mov edx, dword [rsi + 4]
cmp dword [r13 + 0x94], edi
jg 0x140163c60
mov dword [rsp + 0x20], r9d
mov r8d, edx
xor r9d, r9d
mov rcx, r13
lea edx, [r9 + 0x24]
call fcn.1400e7510
mov edi, eax
jmp 0x140163c8a
lea eax, [rdi + 1]
mov dword [r13 + 0x90], eax
lea rcx, [rdi + rdi*2]
mov rax, qword [rbx]
mov dword [rax + rcx*8], 0x24
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 0x10], r9
mov qword [rax + rcx*8 + 8], 0
mov rsi, qword [rsp + 0x68]
mov eax, 0x10
test rsi, rsi
je 0x140163cc1
dec dword [r12 + 0x44]
mov r9d, eax
mov r8d, dword [r12 + 0x44]
mov rdx, rsi
mov rcx, r12
mov dword [rsp + 0x88], r8d
call fcn.14010c060
or dword [r14 + 0x38], 0x20000
movzx eax, byte [r12 + 0x1f]
test al, al
jne 0x140163cd7
inc dword [r12 + 0x38]
mov r14d, dword [r12 + 0x38]
jmp 0x140163ce9
dec al
movzx eax, al
mov byte [r12 + 0x1f], al
mov r14d, dword [r12 + rax*4 + 0xd0]
mov r8, qword [rsp + 0x140]
xor eax, eax
mov dword [rsp + 0x38], eax
mov r9d, r14d
mov qword [rsp + 0x30], rax
mov rdx, r15
mov qword [rsp + 0x28], rax
mov rcx, r12
mov r8d, dword [r8 + 4]
mov dword [rsp + 0x20], eax
call fcn.140124750
mov r9, qword [rsp + 0x140]
mov r15d, eax
mov r8d, dword [r9 + 0x34]
test r8d, r8d
je 0x140163dba
mov rax, qword [rsp + 0x58]
movsxd rdx, dword [r13 + 0x90]
movzx esi, word [rax + 0x18]
cmp dword [r13 + 0x94], edx
jg 0x140163d69
xor r9d, r9d
mov dword [rsp + 0x20], r15d
mov edx, 0xb4
mov rcx, r13
call fcn.1400e7510
mov r9, qword [rsp + 0x140]
mov edx, eax
jmp 0x140163d98
lea rcx, [rdx + rdx*2]
xor r10d, r10d
lea eax, [rdx + 1]
mov dword [r13 + 0x90], eax
mov rax, qword [rbx]
mov dword [rax + rcx*8], 0xb4
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r10d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r10
mov rax, qword [r13]
cmp byte [rax + 0x67], 0
jne 0x140163db5
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx]
mov byte [rax + rcx*8 + 1], 0xfd
mov dword [rax + rcx*8 + 0x10], esi
mov rsi, qword [rsp + 0x68]
movsxd rcx, dword [r13 + 0x90]
mov edx, dword [r9 + 8]
cmp dword [r13 + 0x94], ecx
jg 0x140163de9
xor eax, eax
mov r8d, edx
mov edx, 0x8a
mov dword [rsp + 0x20], eax
mov r9d, r14d
mov rcx, r13
call fcn.1400e7510
jmp 0x140163e17
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [r13 + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx]
mov dword [rax + rcx*8], 0x8a
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
movsxd rdx, dword [r13 + 0x90]
test edx, edx
jle 0x140163e3a
mov rax, qword [rbx]
lea rcx, [rdx + rdx*2]
mov edx, 0x10
mov word [rax + rcx*8 - 0x16], dx
mov edx, dword [r13 + 0x90]
test rsi, rsi
je 0x140163e70
mov r9, qword [r13 + 0x18]
mov ecx, dword [rsp + 0x88]
not ecx
mov eax, dword [r9 + 0x48]
add eax, dword [r9 + 0x44]
jns 0x140163e66
mov r8d, ecx
mov rdx, r13
mov rcx, r9
call fcn.1400e81a0
jmp 0x140163e70
mov rax, qword [r9 + 0x50]
movsxd rcx, ecx
mov dword [rax + rcx*4], edx
test byte [rbp + 0x48], 0x20
lea rsi, [0x14099b880]
je 0x140163fb5
mov rax, qword [r13]
cmp byte [rax + 0x67], 0
je 0x140163e90
mov rcx, rsi
jmp 0x140163ea0
movsxd rax, dword [rsp + 0x78]
lea rcx, [rax + rax*2]
mov rax, qword [rbx]
lea rcx, [rax + rcx*8]
mov eax, dword [rsp + 0x70]
add eax, r15d
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x140]
mov rdx, qword [r12 + 0x10]
mov r11d, dword [rbp + 0x40]
mov r9d, dword [rax + 8]
mov r10d, dword [rax + 4]
mov rax, qword [rdx]
cmp byte [rax + 0x67], 0
je 0x140163ed1
mov r8, rsi
jmp 0x140163ee3
movsxd rax, edi
lea rcx, [rax + rax*2]
mov rax, qword [rdx + 0x88]
lea r8, [rax + rcx*8]
mov rax, qword [r12]
mov ecx, dword [rdx + 0x90]
cmp byte [rax + 0x67], 0
jne 0x140163f57
cmp edi, ecx
jge 0x140163f57
sub ecx, edi
lea rdx, [r8 + 0xc]
xor r13d, r13d
mov r8d, ecx
lea r12d, [r13 + 2]
cmp dword [rdx - 8], r10d
jne 0x140163f3d
movzx eax, byte [rdx - 0xc]
cmp al, 0x5e
jne 0x140163f31
mov ecx, dword [rdx - 4]
mov eax, dword [rdx]
add ecx, r11d
mov dword [rdx - 8], ecx
mov byte [rdx - 0xc], 0x50
mov dword [rdx - 4], eax
mov dword [rdx], r13d
mov word [rdx - 0xa], r12w
jmp 0x140163f3d
cmp al, 0x87
jne 0x140163f3d
mov byte [rdx - 0xc], 0x7e
mov dword [rdx - 8], r9d
add rdx, 0x18
sub r8, 1
jne 0x140163f07
mov r12, qword [rsp + 0x120]
mov r13, qword [rsp + 0x98]
movsxd rcx, dword [r13 + 0x90]
cmp dword [r13 + 0x94], ecx
jg 0x140163f87
xor eax, eax
mov r9d, edi
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, r13
lea edx, [rax + 9]
call fcn.1400e7510
and dword [rbp + 0x48], 0xffffffdf
jmp 0x140164034
lea eax, [rcx + 1]
xor edx, edx
mov dword [r13 + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx]
mov qword [rax + rcx*8], 9
mov dword [rax + rcx*8 + 8], edi
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
and dword [rbp + 0x48], 0xffffffdf
jmp 0x140164034
mov r8, qword [rsp + 0x140]
lea edx, [rdi + 1]
movsxd rcx, dword [r13 + 0x90]
mov r8d, dword [r8 + 4]
cmp dword [r13 + 0x94], ecx
jg 0x140163fea
xor eax, eax
mov r9d, edx
mov rcx, r13
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x27]
call fcn.1400e7510
jmp 0x140164018
lea eax, [rcx + 1]
xor r9d, r9d
mov dword [r13 + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx]
mov dword [rax + rcx*8], 0x27
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
movsxd rax, dword [r13 + 0x90]
test eax, eax
jle 0x140164034
lea rcx, [rax + rax*2]
mov edx, 3
mov rax, qword [rbx]
mov word [rax + rcx*8 - 0x16], dx
mov rax, qword [r13]
mov edx, dword [r13 + 0x90]
cmp byte [rax + 0x67], 0
je 0x14016404a
mov rax, rsi
jmp 0x140164058
movsxd rax, edi
lea rcx, [rax + rax*2]
mov rax, qword [rbx]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
test r14d, r14d
je 0x140164077
movzx eax, byte [r12 + 0x1f]
cmp al, 8
jae 0x140164077
mov dword [r12 + rax*4 + 0xd0], r14d
inc byte [r12 + 0x1f]
mov rax, qword [r13]
mov edx, dword [r13 + 0x90]
cmp byte [rax + 0x67], 0
jne 0x14016409b
movsxd rax, dword [rsp + 0x8c]
lea rcx, [rax + rax*2]
mov rax, qword [rbx]
lea rsi, [rax + rcx*8]
mov dword [rsi + 8], edx
mov rax, qword [rsp + 0x68]
mov r15, qword [rsp + 0xd8]
mov r14, qword [rsp + 0xe0]
mov r13, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0xf0]
mov rsi, qword [rsp + 0xf8]
mov rbp, qword [rsp + 0x100]
mov rbx, qword [rsp + 0x108]
test rax, rax
je 0x1401640ec
mov rcx, qword [r12]
mov rdx, rax
call fcn.1401038c0
add rsp, 0x110
pop r12
ret