Function at 0x140163050
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 0x1401630f1
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor r8d, r8d
lea edx, [rdi + 0xf]
mov rcx, r13
call fcn.1400e74d0
mov r9, qword [rsp + 0x130]
mov dword [rsp + 0x8c], eax
jmp 0x140163119
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 0x1401635bf
lea r14, [r9 + 0x44]
mov rdi, r14
mov qword [rsp + 0x80], r14
lea r8, [0x140105200]
nop
test byte [r15 + 0x12], 2
lea rdx, [fcn.1401053e0]
mov rbx, qword [r15]
jne 0x14016343b
movzx ecx, byte [r9 + 0x3c]
test cl, 0x40
jne 0x14016343b
mov eax, dword [rbx + 4]
and eax, 1
test cl, 8
je 0x1401631d5
test eax, eax
je 0x140163436
mov eax, dword [rdi]
cmp dword [rbx + 0x30], eax
je 0x1401631df
mov r14, rdi
jmp 0x140163436
test eax, eax
jne 0x140163436
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 0x14016321f
mov rdx, rbx
lea rcx, [rsp + 0xa0]
call fcn.1400fd410
movzx ecx, word [rsp + 0xc4]
mov r14, rdi
test cx, cx
je 0x140163436
test rbx, rbx
je 0x140163249
mov rcx, qword [r12]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
call fcn.140103be0
mov rsi, rax
xor ebx, ebx
jmp 0x14016324c
mov rsi, rbx
mov r8, qword [rsp + 0x68]
mov rbp, qword [r12]
test r8, r8
jne 0x140163264
mov qword [rsp + 0x68], rsi
jmp 0x14016342d
test rsi, rsi
je 0x14016342d
mov eax, dword [r8 + 4]
lea rdi, [rsi + 4]
and eax, 0x20000001
cmp eax, 0x20000000
je 0x140163293
mov eax, dword [rdi]
and eax, 0x20000001
cmp eax, 0x20000000
jne 0x1401633a3
cmp byte [r12 + 0x11c], 2
jae 0x1401633a3
test rbp, rbp
je 0x1401632b6
mov edx, 0x18
mov rcx, rbp
call fcn.1400b94e0
jmp 0x1401632c0
mov ecx, 0x18
call fcn.1400b8c60
mov rdx, qword [rsp + 0x68]
mov rcx, rax
test rax, rax
je 0x1401632f1
mov rax, qword [r12 + 0xb0]
mov qword [rcx], rax
lea rax, [fcn.140103930]
mov qword [r12 + 0xb0], rcx
mov qword [rcx + 0x10], rax
mov qword [rcx + 8], rdx
jmp 0x1401632fa
mov rcx, qword [r12]
call fcn.140103880
mov rdx, rsi
mov rcx, r12
call fcn.140103970
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], ebx
lea rcx, [0x14063a98c]
call fcn.1400be7b0
test eax, eax
mov rcx, rbp
mov eax, 2
cmove ebx, eax
mov edx, ebx
add rdx, 0x48
call fcn.1400b94e0
mov qword [rsp + 0x68], rax
mov r8, rax
test rax, rax
je 0x140163425
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 0x140163391
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 0x140163425
lea rax, [r8 + 0x48]
mov qword [r8 + 8], rax
mov word [rax], 0x30
jmp 0x140163425
mov edx, 0x48
mov rcx, rbp
call fcn.1400b94e0
mov rbx, rax
test rax, rax
je 0x140163406
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 0x140163420
mov rdx, qword [rsp + 0x68]
mov rcx, qword [r12]
call fcn.140103880
mov rcx, qword [r12]
mov rdx, rsi
call fcn.140103880
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 0x14016365d
test byte [r15 + 0x14], 0x82
je 0x14016365d
movzx ecx, byte [r9 + 0x3c]
test cl, 0x58
je 0x14016348e
mov rax, qword [r15]
mov r8d, dword [rax + 4]
test r8b, 3
je 0x14016357a
cmp dword [rax + 0x30], edx
jne 0x14016357a
test cl, 0x18
je 0x14016348e
test r8b, 2
jne 0x14016357a
mov rax, qword [rsp + 0x138]
test qword [r15 + 0x28], rax
jne 0x14016357a
movsxd rax, dword [r15 + 0x20]
test eax, eax
js 0x14016357a
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.140101fd0
test eax, eax
je 0x140163572
movsxd rcx, dword [r15 + 0x20]
cmp ecx, 0x40
jl 0x1401634e2
movabs rbx, 0x8000000000000000
jmp 0x1401634ea
mov ebx, 1
shl rbx, cl
test sil, sil
jne 0x14016351f
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.1400bc6f0
mov sil, 1
mov byte [rsp + 0x40], sil
mov r10, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
test r10, rbx
jne 0x140163568
mov rcx, qword [r12]
lea edi, [rbp + 1]
mov r8d, edi
call fcn.140165150
test eax, eax
jne 0x14016405e
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 0x140163584
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, [0x140105200]
add r15, 0x38
mov r11d, 3
cmp r15, rax
jb 0x140163190
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 0x140163600
mov ebx, eax
test eax, eax
jle 0x140163617
nop dword [rax]
mov ecx, ebp
mov eax, edx
inc ebp
bt r10, rax
cmovae ebp, ecx
inc edx
cmp edx, ebx
jl 0x140163600
mov dword [rsp + 0x50], ebp
test r9, r9
jns 0x140163626
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 0x14016366c
mov rdx, rbp
call fcn.1400b94e0
jmp 0x140163674
mov r10, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
jmp 0x140163589
mov rcx, rbp
call fcn.1400b8c60
mov r15, rax
test rax, rax
je 0x14016405e
mov r8, rbp
xor edx, edx
mov rcx, rax
call fcn.1405e6460
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 0x1401638aa
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 0x140163874
test byte [rdi + 0x14], 0x82
je 0x140163874
movzx ecx, byte [r13 + 0x3c]
test cl, 0x58
je 0x14016376f
mov rax, qword [rdi]
mov r8d, dword [rax + 4]
test r8b, 3
je 0x14016386f
cmp dword [rax + 0x30], edx
mov rax, qword [rsp + 0x48]
jne 0x140163874
test cl, 0x18
je 0x14016376f
test r8b, 2
jne 0x140163874
mov rcx, qword [rsp + 0x138]
mov ebp, ebx
test qword [rdi + 0x28], rcx
jne 0x140163874
movsxd rax, dword [rdi + 0x20]
test eax, eax
js 0x14016386f
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.140101fd0
test eax, eax
je 0x14016386f
mov edx, dword [rdi + 0x20]
cmp edx, 0x40
jl 0x1401637c4
movabs rax, 0x8000000000000000
jmp 0x1401637ce
mov ecx, edx
mov eax, 1
shl rax, cl
mov r8, qword [rsp + 0x80]
test r8, rax
jne 0x14016386f
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 0x140163809
mov rbx, qword [rcx + 0x10]
mov rdx, qword [rcx + 0x18]
jmp 0x140163811
mov rbx, qword [rcx + 0x18]
mov rdx, qword [rcx + 0x10]
test dword [rdx + 4], 0x200
jne 0x140163838
test rbx, rbx
je 0x140163828
test dword [rbx + 4], 0x200
jne 0x140163835
mov rcx, r12
call fcn.140101c30
test rax, rax
jne 0x140163845
mov rdx, rbx
mov rcx, r12
call fcn.140101c30
test rax, rax
je 0x14016384a
mov rcx, qword [rax]
jmp 0x140163851
lea rcx, [0x140633388]
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 0x140163720
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, [0x140633388]
mov ecx, r10d
test ebx, ebx
jle 0x140163900
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 0x1401638f3
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 0x1401638d0
mov dword [rsp + 0x70], esi
xor r10d, r10d
mov rax, qword [rsp + 0x130]
cmp qword [rax + 0x50], 0
jge 0x14016395e
mov r8d, 0x3f
cmp r8w, word [r11 + 0x36]
jge 0x14016395e
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 0x140163930
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 0x1401639c1
mov r9d, edx
mov dword [rsp + 0x20], r10d
mov edx, 0x74
mov rcx, r13
call fcn.1400e74d0
lea rbx, [r13 + 0x88]
jmp 0x1401639f3
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.1401213a0
mov r8, rax
test rax, rax
je 0x140163a55
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
je 0x140163a39
cmp qword [rax + 0x2e8], 0
jne 0x140163a30
add dword [r8], 0xffffffff
jne 0x140163a30
mov rcx, qword [r8 + 0x10]
mov rdx, r8
call fcn.1400b90a0
lea rbx, [r13 + 0x88]
jmp 0x140163a55
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 0x140163a9b
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 0x140163af3
xor eax, eax
mov r9d, edx
mov r8d, 0x2710
mov dword [rsp + 0x20], eax
mov rcx, r13
lea edx, [rax + 0x4d]
call fcn.1400e74d0
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 0x140163bf2
movsxd r8, dword [r13 + 0x90]
mov esi, dword [rbp + 0x3c]
mov dword [rsp + 0x78], r8d
cmp dword [r13 + 0x94], r8d
jg 0x140163b29
mov dword [rsp + 0x20], r9d
xor r8d, r8d
xor r9d, r9d
mov rcx, r13
lea edx, [r9 + 0x47]
call fcn.1400e74d0
mov dword [rsp + 0x78], eax
xor r9d, r9d
jmp 0x140163b51
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 0x140163a9e
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 0x140163b7f
xor r9d, r9d
mov dword [rsp + 0x20], edx
mov r8d, esi
mov rcx, r13
lea edx, [r9 + 0xb]
call fcn.1400e74d0
xor r9d, r9d
jmp 0x140163ba9
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 0x140163bd4
mov dword [rsp + 0x20], r9d
mov r8d, esi
xor r9d, r9d
mov rcx, r13
lea edx, [r9 + 0xc]
call fcn.1400e74d0
mov edi, eax
jmp 0x140163c4a
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 0x140163c3c
movsxd rdi, dword [r13 + 0x90]
mov edx, dword [rsi + 4]
cmp dword [r13 + 0x94], edi
jg 0x140163c20
mov dword [rsp + 0x20], r9d
mov r8d, edx
xor r9d, r9d
mov rcx, r13
lea edx, [r9 + 0x24]
call fcn.1400e74d0
mov edi, eax
jmp 0x140163c4a
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 0x140163c81
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.14010c020
or dword [r14 + 0x38], 0x20000
movzx eax, byte [r12 + 0x1f]
test al, al
jne 0x140163c97
inc dword [r12 + 0x38]
mov r14d, dword [r12 + 0x38]
jmp 0x140163ca9
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.140124710
mov r9, qword [rsp + 0x140]
mov r15d, eax
mov r8d, dword [r9 + 0x34]
test r8d, r8d
je 0x140163d7a
mov rax, qword [rsp + 0x58]
movsxd rdx, dword [r13 + 0x90]
movzx esi, word [rax + 0x18]
cmp dword [r13 + 0x94], edx
jg 0x140163d29
xor r9d, r9d
mov dword [rsp + 0x20], r15d
mov edx, 0xb4
mov rcx, r13
call fcn.1400e74d0
mov r9, qword [rsp + 0x140]
mov edx, eax
jmp 0x140163d58
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 0x140163d75
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 0x140163da9
xor eax, eax
mov r8d, edx
mov edx, 0x8a
mov dword [rsp + 0x20], eax
mov r9d, r14d
mov rcx, r13
call fcn.1400e74d0
jmp 0x140163dd7
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 0x140163dfa
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 0x140163e30
mov r9, qword [r13 + 0x18]
mov ecx, dword [rsp + 0x88]
not ecx
mov eax, dword [r9 + 0x48]
add eax, dword [r9 + 0x44]
jns 0x140163e26
mov r8d, ecx
mov rdx, r13
mov rcx, r9
call fcn.1400e8160
jmp 0x140163e30
mov rax, qword [r9 + 0x50]
movsxd rcx, ecx
mov dword [rax + rcx*4], edx
test byte [rbp + 0x48], 0x20
lea rsi, [0x1409b3370]
je 0x140163f75
mov rax, qword [r13]
cmp byte [rax + 0x67], 0
je 0x140163e50
mov rcx, rsi
jmp 0x140163e60
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 0x140163e91
mov r8, rsi
jmp 0x140163ea3
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 0x140163f17
cmp edi, ecx
jge 0x140163f17
sub ecx, edi
lea rdx, [r8 + 0xc]
xor r13d, r13d
mov r8d, ecx
lea r12d, [r13 + 2]
cmp dword [rdx - 8], r10d
jne 0x140163efd
movzx eax, byte [rdx - 0xc]
cmp al, 0x5e
jne 0x140163ef1
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 0x140163efd
cmp al, 0x87
jne 0x140163efd
mov byte [rdx - 0xc], 0x7e
mov dword [rdx - 8], r9d
add rdx, 0x18
sub r8, 1
jne 0x140163ec7
mov r12, qword [rsp + 0x120]
mov r13, qword [rsp + 0x98]
movsxd rcx, dword [r13 + 0x90]
cmp dword [r13 + 0x94], ecx
jg 0x140163f47
xor eax, eax
mov r9d, edi
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, r13
lea edx, [rax + 9]
call fcn.1400e74d0
and dword [rbp + 0x48], 0xffffffdf
jmp 0x140163ff4
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 0x140163ff4
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 0x140163faa
xor eax, eax
mov r9d, edx
mov rcx, r13
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x27]
call fcn.1400e74d0
jmp 0x140163fd8
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 0x140163ff4
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 0x14016400a
mov rax, rsi
jmp 0x140164018
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 0x140164037
movzx eax, byte [r12 + 0x1f]
cmp al, 8
jae 0x140164037
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 0x14016405b
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 0x1401640ac
mov rcx, qword [r12]
mov rdx, rax
call fcn.140103880
add rsp, 0x110
pop r12
ret