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

Disassembly:
jmp 0x1400123e0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x110
mov rdi, rsp
mov ecx, 0x44
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x120]
mov rax, qword [0x1400c53c0]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x4c]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0xe0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x5c], 0
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0x70], 0
jne 0x140012466
jmp 0x140012fea
mov rax, qword [rsp + 0x120]
mov eax, dword [rax]
mov dword [rsp + 0x80], eax
mov dword [rsp + 0x84], 0x52
mov dword [rsp + 0x88], 0
mov rcx, qword [rsp + 0x120]
call fcn.140013360
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x98], eax
mov dword [rsp + 0x9c], 0
mov dword [rsp + 0x94], 0
mov dword [rsp + 0x90], 0
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0xd0]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x40], 0
jmp 0x1400124fa
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x40], eax
jge 0x14001258b
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
add eax, 0x18
mov rcx, qword [rsp + 0x120]
cmp eax, dword [rcx + 4]
jle 0x140012551
mov r8d, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x120]
call fcn.140013020
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x90]
lea r8, [rsp + 0x94]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x120]
call fcn.140013100
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
call fcn.140013170
mov qword [rsp + 0x30], rax
jmp 0x1400124f0
mov rax, qword [rsp + 0x120]
mov dword [rax + 0xd0], 0
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0x40], 0
jne 0x1400126bb
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0x78], 0
jne 0x1400125f2
mov rax, qword [rsp + 0x120]
mov dword [rax + 0x78], 0x1b58
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x4c]
mov rcx, qword [rsp + 0x120]
add eax, dword [rcx + 0x78]
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x74], eax
jmp 0x1400126b9
mov rax, qword [rsp + 0x120]
mov edx, dword [rax + 0x74]
mov rax, qword [rsp + 0x120]
mov ecx, dword [rax + 0x4c]
call fcn.1400112c0
test eax, eax
jl 0x1400126b9
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0x78], 0x1b58
jae 0x140012635
mov rax, qword [rsp + 0x120]
mov dword [rax + 0x78], 0x1b58
xor edx, edx
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x78]
mov ecx, 2
div ecx
mov rcx, qword [rsp + 0x120]
add eax, dword [rcx + 0x78]
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x78], eax
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0x78], 0x1d4c0
jbe 0x14001267f
mov rax, qword [rsp + 0x120]
mov dword [rax + 0x78], 0x1d4c0
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x4c]
mov rcx, qword [rsp + 0x120]
add eax, dword [rcx + 0x78]
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x74], eax
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x48]
or eax, 1
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x48], eax
jmp 0x1400126d9
mov rax, qword [rsp + 0x120]
mov dword [rax + 0x74], 0
mov rax, qword [rsp + 0x120]
mov dword [rax + 0x78], 0
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x48]
and eax, 1
test eax, eax
je 0x140012753
mov dword [rsp + 0x84], 0x53
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
add eax, 0x18
mov rcx, qword [rsp + 0x120]
cmp eax, dword [rcx + 4]
jle 0x14001273f
mov r8d, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x120]
call fcn.140013020
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
call fcn.140013170
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x48]
and eax, 2
test eax, eax
je 0x1400127cd
mov dword [rsp + 0x84], 0x54
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
add eax, 0x18
mov rcx, qword [rsp + 0x120]
cmp eax, dword [rcx + 4]
jle 0x1400127b9
mov r8d, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x120]
call fcn.140013020
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
call fcn.140013170
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x120]
mov dword [rax + 0x48], 0
mov rax, qword [rsp + 0x120]
mov edx, dword [rax + 0x40]
mov rax, qword [rsp + 0x120]
mov ecx, dword [rax + 0x38]
call fcn.140011e00
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0xf0], 0
jne 0x140012824
mov edx, dword [rsp + 0x48]
mov rax, qword [rsp + 0x120]
mov ecx, dword [rax + 0x44]
call fcn.140011e00
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x10]
add eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x120]
mov ecx, dword [rax + 0x14]
call fcn.1400112c0
test eax, eax
jge 0x140012a42
mov rax, qword [rsp + 0x120]
add rax, 0x88
mov rcx, qword [rsp + 0x120]
cmp rax, qword [rcx + 0x88]
jne 0x140012871
jmp 0x140012a42
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x88]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx + 8]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx]
mov qword [rax], rcx
mov rax, qword [rsp + 0xc8]
mov qword [rax], 0
mov rax, qword [rsp + 0xc8]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x120]
mov rcx, qword [rcx + 0xb0]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x120]
add rax, 0xa8
mov rcx, qword [rsp + 0xc8]
mov qword [rcx], rax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0xb0]
mov rcx, qword [rsp + 0xc8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0xc8]
mov qword [rax + 0xb0], rcx
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x68]
dec eax
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x68], eax
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x60]
inc eax
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x60], eax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0xc8]
mov dword [rax + 0x14], 0x51
mov rax, qword [rsp + 0xc8]
mov ecx, dword [rsp + 0x8c]
mov dword [rax + 0x1c], ecx
mov rax, qword [rsp + 0xc8]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 0x20], ecx
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0x14]
mov dword [rax + 0x24], ecx
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x14]
inc eax
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x14], eax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0x18]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0xc8]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 0x30], ecx
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0x30]
mov dword [rax + 0x34], ecx
mov rax, qword [rsp + 0xc8]
mov dword [rax + 0x38], 0
mov rax, qword [rsp + 0xc8]
mov dword [rax + 0x3c], 0
jmp 0x140012824
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0xe8], 0
jle 0x140012a6a
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0xe8]
mov dword [rsp + 0xf0], eax
jmp 0x140012a75
mov dword [rsp + 0xf0], 0xffffffff
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0x6c], 0
jne 0x140012aa5
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x30]
sar eax, 3
mov dword [rsp + 0xf4], eax
jmp 0x140012ab0
mov dword [rsp + 0xf4], 0
mov eax, dword [rsp + 0xf4]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0xa8]
mov qword [rsp + 0x50], rax
jmp 0x140012ade
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x120]
add rax, 0xa8
cmp qword [rsp + 0x50], rax
je 0x140012e7d
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0xd8], 0
mov rax, qword [rsp + 0xd0]
cmp dword [rax + 0x3c], 0
jne 0x140012b7d
mov dword [rsp + 0xd8], 1
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x3c]
inc eax
mov rcx, qword [rsp + 0xd0]
mov dword [rcx + 0x3c], eax
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0x30]
mov dword [rax + 0x34], ecx
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x34]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0xd0]
mov dword [rcx + 0x30], eax
jmp 0x140012d3f
mov rax, qword [rsp + 0xd0]
mov edx, dword [rax + 0x30]
mov ecx, dword [rsp + 0x20]
call fcn.1400112c0
test eax, eax
jl 0x140012ca4
mov dword [rsp + 0xd8], 1
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x3c]
inc eax
mov rcx, qword [rsp + 0xd0]
mov dword [rcx + 0x3c], eax
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x58]
inc eax
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x58], eax
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0x6c], 0
jne 0x140012c15
mov rax, qword [rsp + 0x120]
mov edx, dword [rax + 0x30]
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rax + 0x34]
call fcn.140011d60
mov rcx, qword [rsp + 0xd0]
add eax, dword [rcx + 0x34]
mov rcx, qword [rsp + 0xd0]
mov dword [rcx + 0x34], eax
jmp 0x140012c79
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0x6c], 2
jae 0x140012c37
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x34]
mov dword [rsp + 0xf8], eax
jmp 0x140012c49
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x30]
mov dword [rsp + 0xf8], eax
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0xdc], eax
mov eax, dword [rsp + 0xdc]
cdq
sub eax, edx
sar eax, 1
mov rcx, qword [rsp + 0xd0]
add eax, dword [rcx + 0x34]
mov rcx, qword [rsp + 0xd0]
mov dword [rcx + 0x34], eax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x34]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0xd0]
mov dword [rcx + 0x30], eax
mov dword [rsp + 0x5c], 1
jmp 0x140012d3f
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0x44]
cmp dword [rax + 0x38], ecx
jb 0x140012d3f
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0xec]
cmp dword [rax + 0x3c], ecx
jle 0x140012ce5
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0xec], 0
jg 0x140012d3f
mov dword [rsp + 0xd8], 1
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x3c]
inc eax
mov rcx, qword [rsp + 0xd0]
mov dword [rcx + 0x3c], eax
mov rax, qword [rsp + 0xd0]
mov dword [rax + 0x38], 0
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x34]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0xd0]
mov dword [rcx + 0x30], eax
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0xd8], 0
je 0x140012e78
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 0x20], ecx
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0x8c]
mov dword [rax + 0x1c], ecx
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0x18]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x2c]
add eax, 0x18
mov dword [rsp + 0xe0], eax
mov eax, dword [rsp + 0xe0]
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x120]
cmp eax, dword [rcx + 4]
jle 0x140012dea
mov r8d, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x120]
call fcn.140013020
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x30]
call fcn.140013170
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xd0]
cmp dword [rax + 0x2c], 0
jbe 0x140012e51
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x2c]
mov rcx, qword [rsp + 0xd0]
add rcx, 0x40
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x30]
call fcn.140027230
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x2c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0x7c]
cmp dword [rax + 0x3c], ecx
jb 0x140012e78
mov rax, qword [rsp + 0x120]
mov dword [rax + 0xc], 0xffffffff
jmp 0x140012ad1
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jle 0x140012eaf
mov r8d, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x120]
call fcn.140013020
cmp dword [rsp + 0x58], 0
je 0x140012f50
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0x10]
mov eax, dword [rax + 0x14]
sub eax, ecx
mov dword [rsp + 0xe4], eax
xor edx, edx
mov eax, dword [rsp + 0xe4]
mov ecx, 2
div ecx
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x24], eax
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0x24], 2
jae 0x140012f11
mov rax, qword [rsp + 0x120]
mov dword [rax + 0x24], 2
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x24]
add eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x44], eax
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x120]
mov eax, dword [rax + 0x44]
imul eax, dword [rcx + 8]
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x80], eax
cmp dword [rsp + 0x5c], 0
je 0x140012fb4
xor edx, edx
mov eax, dword [rsp + 0x48]
mov ecx, 2
div ecx
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x24], eax
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0x24], 2
jae 0x140012f8c
mov rax, qword [rsp + 0x120]
mov dword [rax + 0x24], 2
mov rax, qword [rsp + 0x120]
mov dword [rax + 0x44], 1
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 8]
mov dword [rax + 0x80], ecx
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0x44], 1
jae 0x140012fea
mov rax, qword [rsp + 0x120]
mov dword [rax + 0x44], 1
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 8]
mov dword [rax + 0x80], ecx
mov rcx, rsp
lea rdx, [0x1400a27e0]
call fcn.1400290a0
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.14002a4b0
add rsp, 0x110
pop rdi
ret