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

Disassembly:
mov byte [rsp + 0x20], r9b
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
movsxd rax, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
mov dword [rsp + 0x20], 1
mov qword [rsp + 8], 0
mov dword [rsp + 0x38], 0
mov dword [rsp], 1
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x18], 0
mov dword [rsp + 0x1c], 0
mov rax, qword [rsp + 0x88]
xorpd xmm0, xmm0
movsd qword [rax], xmm0
movzx eax, byte [rsp + 0x98]
cmp eax, 1
jne 0x14001632d
mov dword [rsp + 0x24], 1
jmp 0x1400163e1
mov dword [rsp + 0x24], 2
movzx eax, byte [rsp + 0x98]
mov ecx, 3
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
jmp 0x140016357
mov eax, dword [rsp + 0x40]
add eax, 2
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x40], eax
jge 0x14001637b
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x14001637b
jmp 0x14001634c
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x40], eax
jge 0x140016392
mov dword [rsp + 0x50], 1
jmp 0x14001639a
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x1c], eax
mov eax, dword [rsp + 0x40]
xor eax, 1
cdqe
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
movzx eax, byte [rsp + 0x98]
and eax, 1
cdqe
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x10]
cmp qword [rsp + 0x80], rax
jae 0x14001642a
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax]
lea rcx, [0x1400db340]
movzx eax, byte [rcx + rax]
and eax, 1
test eax, eax
je 0x14001642a
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
jmp 0x1400163e1
mov rax, qword [rsp + 0x10]
cmp qword [rsp + 0x80], rax
jb 0x140016440
xor eax, eax
jmp 0x140016b00
mov rax, qword [rsp + 0x80]
movsx eax, byte [rax]
cmp eax, 0x2d
jne 0x140016475
mov dword [rsp + 0x20], 0xffffffff
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
jmp 0x1400164a0
mov rax, qword [rsp + 0x80]
movsx eax, byte [rax]
cmp eax, 0x2b
jne 0x1400164a0
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x10]
cmp qword [rsp + 0x80], rax
jae 0x140016529
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax]
lea rcx, [0x1400db340]
movzx eax, byte [rcx + rax]
and eax, 4
test eax, eax
je 0x140016529
movabs rax, 0xccccccccccccccb
cmp qword [rsp + 8], rax
jge 0x140016529
mov rax, qword [rsp + 8]
imul rax, rax, 0xa
mov rcx, qword [rsp + 0x80]
movsx ecx, byte [rcx]
sub ecx, 0x30
movsxd rcx, ecx
add rax, rcx
mov qword [rsp + 8], rax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x18]
inc eax
mov dword [rsp + 0x18], eax
jmp 0x1400164a0
mov rax, qword [rsp + 0x10]
cmp qword [rsp + 0x80], rax
jae 0x140016586
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax]
lea rcx, [0x1400db340]
movzx eax, byte [rcx + rax]
and eax, 4
test eax, eax
je 0x140016586
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x18]
inc eax
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
jmp 0x140016529
mov rax, qword [rsp + 0x10]
cmp qword [rsp + 0x80], rax
jb 0x14001659a
jmp 0x140016801
mov rax, qword [rsp + 0x80]
movsx eax, byte [rax]
cmp eax, 0x2e
jne 0x140016660
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x10]
cmp qword [rsp + 0x80], rax
jae 0x140016660
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax]
lea rcx, [0x1400db340]
movzx eax, byte [rcx + rax]
and eax, 4
test eax, eax
je 0x140016660
movabs rax, 0xccccccccccccccb
cmp qword [rsp + 8], rax
jge 0x140016636
mov rax, qword [rsp + 8]
imul rax, rax, 0xa
mov rcx, qword [rsp + 0x80]
movsx ecx, byte [rcx]
sub ecx, 0x30
movsxd rcx, ecx
add rax, rcx
mov qword [rsp + 8], rax
mov eax, dword [rsp + 0x38]
dec eax
mov dword [rsp + 0x38], eax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x18]
inc eax
mov dword [rsp + 0x18], eax
jmp 0x1400165c9
mov rax, qword [rsp + 0x10]
cmp qword [rsp + 0x80], rax
jb 0x140016674
jmp 0x140016801
mov rax, qword [rsp + 0x80]
movsx eax, byte [rax]
cmp eax, 0x65
je 0x140016698
mov rax, qword [rsp + 0x80]
movsx eax, byte [rax]
cmp eax, 0x45
jne 0x1400167b8
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x10]
cmp qword [rsp + 0x80], rax
jb 0x1400166cf
jmp 0x140016801
mov rax, qword [rsp + 0x80]
movsx eax, byte [rax]
cmp eax, 0x2d
jne 0x140016703
mov dword [rsp], 0xffffffff
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
jmp 0x14001672e
mov rax, qword [rsp + 0x80]
movsx eax, byte [rax]
cmp eax, 0x2b
jne 0x14001672e
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x10]
cmp qword [rsp + 0x80], rax
jae 0x1400167b8
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax]
lea rcx, [0x1400db340]
movzx eax, byte [rcx + rax]
and eax, 4
test eax, eax
je 0x1400167b8
cmp dword [rsp + 0x3c], 0x2710
jge 0x140016780
mov eax, dword [rsp + 0x3c]
imul eax, eax, 0xa
mov rcx, qword [rsp + 0x80]
movsx ecx, byte [rcx]
lea eax, [rax + rcx - 0x30]
mov dword [rsp + 0x54], eax
jmp 0x140016788
mov dword [rsp + 0x54], 0x2710
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x3c], eax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x28], 1
jmp 0x14001672e
mov rax, qword [rsp + 0x10]
cmp qword [rsp + 0x80], rax
jae 0x140016801
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax]
lea rcx, [0x1400db340]
movzx eax, byte [rcx + rax]
and eax, 1
test eax, eax
je 0x140016801
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
jmp 0x1400167b8
mov eax, dword [rsp + 0x3c]
imul eax, dword [rsp]
add eax, dword [rsp + 0x38]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jge 0x14001682c
mov dword [rsp], 0xffffffff
mov eax, dword [rsp + 0x3c]
imul eax, eax, 0xffffffff
mov dword [rsp + 0x3c], eax
jmp 0x140016833
mov dword [rsp], 1
cmp qword [rsp + 8], 0
jne 0x14001686d
cmp dword [rsp + 0x20], 0
jge 0x140016852
movsd xmm0, qword [0x1400df748]
movsd qword [rsp + 0x58], xmm0
jmp 0x14001685c
xorpd xmm0, xmm0
movsd qword [rsp + 0x58], xmm0
movsd xmm0, qword [rsp + 0x58]
movsd qword [rsp + 0x30], xmm0
jmp 0x140016ab4
cmp dword [rsp + 0x3c], 0
jle 0x1400168d6
cmp dword [rsp], 0
jle 0x14001689d
movabs rax, 0xccccccccccccccc
cmp qword [rsp + 8], rax
jl 0x14001688d
jmp 0x1400168d6
mov rax, qword [rsp + 8]
imul rax, rax, 0xa
mov qword [rsp + 8], rax
jmp 0x1400168ca
mov rax, qword [rsp + 8]
cqo
mov ecx, 0xa
idiv rcx
mov rax, rdx
test rax, rax
je 0x1400168b6
jmp 0x1400168d6
mov rax, qword [rsp + 8]
cqo
mov ecx, 0xa
idiv rcx
mov qword [rsp + 8], rax
mov eax, dword [rsp + 0x3c]
dec eax
mov dword [rsp + 0x3c], eax
jmp 0x14001686d
cmp dword [rsp + 0x20], 0
jge 0x1400168ec
mov rax, qword [rsp + 8]
neg rax
mov qword [rsp + 0x60], rax
jmp 0x1400168f6
mov rax, qword [rsp + 8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 8], rax
cmp dword [rsp + 0x3c], 0
jne 0x14001691d
pxor xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 8]
movsd qword [rsp + 0x30], xmm0
jmp 0x140016ab4
movsd xmm0, qword [0x1400df680]
movsd qword [rsp + 0x48], xmm0
cmp dword [rsp + 0x3c], 0x133
jle 0x140016a24
cmp dword [rsp + 0x3c], 0x156
jge 0x1400169d9
mov eax, dword [rsp + 0x3c]
cdq
mov ecx, 0x134
idiv ecx
mov eax, edx
test eax, eax
je 0x140016979
movsd xmm0, qword [rsp + 0x48]
mulsd xmm0, qword [0x1400df678]
movsd qword [rsp + 0x48], xmm0
mov eax, dword [rsp + 0x3c]
dec eax
mov dword [rsp + 0x3c], eax
jmp 0x140016947
cmp dword [rsp], 0
jge 0x1400169ac
pxor xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 8]
divsd xmm0, qword [rsp + 0x48]
movsd qword [rsp + 0x30], xmm0
movsd xmm0, qword [rsp + 0x30]
divsd xmm0, qword [0x1400df740]
movsd qword [rsp + 0x30], xmm0
jmp 0x1400169d7
pxor xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 8]
mulsd xmm0, qword [rsp + 0x48]
movsd qword [rsp + 0x30], xmm0
movsd xmm0, qword [rsp + 0x30]
mulsd xmm0, qword [0x1400df740]
movsd qword [rsp + 0x30], xmm0
jmp 0x140016a1f
cmp dword [rsp], 0
jge 0x1400169fe
pxor xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 8]
xorpd xmm1, xmm1
mulsd xmm1, xmm0
movapd xmm0, xmm1
movsd qword [rsp + 0x30], xmm0
jmp 0x140016a1f
pxor xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 8]
movsd xmm1, qword [0x1400df738]
mulsd xmm1, xmm0
movapd xmm0, xmm1
movsd qword [rsp + 0x30], xmm0
jmp 0x140016ab4
mov eax, dword [rsp + 0x3c]
cdq
mov ecx, 0x16
idiv ecx
mov eax, edx
test eax, eax
je 0x140016a56
movsd xmm0, qword [rsp + 0x48]
mulsd xmm0, qword [0x1400df678]
movsd qword [rsp + 0x48], xmm0
mov eax, dword [rsp + 0x3c]
dec eax
mov dword [rsp + 0x3c], eax
jmp 0x140016a24
cmp dword [rsp + 0x3c], 0
jle 0x140016a7e
movsd xmm0, qword [rsp + 0x48]
mulsd xmm0, qword [0x1400df730]
movsd qword [rsp + 0x48], xmm0
mov eax, dword [rsp + 0x3c]
sub eax, 0x16
mov dword [rsp + 0x3c], eax
jmp 0x140016a56
cmp dword [rsp], 0
jge 0x140016a9d
pxor xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 8]
divsd xmm0, qword [rsp + 0x48]
movsd qword [rsp + 0x30], xmm0
jmp 0x140016ab4
pxor xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 8]
mulsd xmm0, qword [rsp + 0x48]
movsd qword [rsp + 0x30], xmm0
mov rax, qword [rsp + 0x88]
movsd xmm0, qword [rsp + 0x30]
movsd qword [rax], xmm0
mov rax, qword [rsp + 0x10]
cmp qword [rsp + 0x80], rax
jne 0x140016af4
cmp dword [rsp + 0x18], 0
jle 0x140016af4
cmp dword [rsp + 0x28], 0
je 0x140016af4
cmp dword [rsp + 0x1c], 0
jne 0x140016af4
mov dword [rsp + 0x68], 1
jmp 0x140016afc
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0x68]
add rsp, 0x78
ret