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

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov eax, dword [rsp + 0x88]
sub eax, 0x1dbb18
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x268], 1
je 0x1401d0ef8
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x268], 3
jne 0x1401d0fbf
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x268], 3
jne 0x1401d0f19
mov eax, dword [rsp + 0x88]
sub eax, 0x1dbb17
mov dword [rsp + 0x24], eax
imul eax, dword [rsp + 0x24], 0x1e
add eax, 0x2996
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1403149a8]
call fcn.140189570
cvttsd2si eax, xmm0
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x24]
sub eax, 0x1d
mov dword [rsp + 0x5c], eax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.1401d1cc0
mov ecx, dword [rsp + 0x5c]
sub ecx, eax
mov eax, ecx
cvtsi2sd xmm0, eax
divsd xmm0, qword [0x140314990]
call fcn.1400d3f10
cvttsd2si eax, xmm0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xb
jge 0x1401d0f8a
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x40], eax
jmp 0x1401d0f92
mov dword [rsp + 0x40], 0xb
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
mov r8d, dword [rsp + 0x20]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.1401d18d0
cvtsi2sd xmm0, eax
movsd qword [rsp + 0x48], xmm0
jmp 0x1401d1309
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x268], 0
jne 0x1401d10e3
cvtsi2sd xmm0, dword [rsp + 0x24]
divsd xmm0, qword [0x140319b78]
call fcn.1400d4010
cvttsd2si eax, xmm0
mov dword [rsp + 0x2c], eax
cvtsi2sd xmm0, dword [rsp + 0x2c]
mulsd xmm0, qword [0x140319b78]
call fcn.1400d4010
movsd qword [rsp + 0x48], xmm0
mov rcx, qword [rsp + 0x80]
call fcn.14018ba10
mov rdx, qword [rsp + 0x90]
call fcn.1401d19e0
movsd qword [rsp + 0x68], xmm0
mov rax, qword [rsp + 0x90]
mov ecx, dword [rax]
call fcn.1400dd350
movsx eax, al
test eax, eax
je 0x1401d1051
mov rax, qword [rsp + 0x90]
mov dword [rax], 7
jmp 0x1401d13d4
cvtsi2sd xmm0, dword [rsp + 0x24]
subsd xmm0, qword [rsp + 0x48]
comisd xmm0, xmmword [0x140314988]
jb 0x1401d1081
movsd xmm0, qword [rsp + 0x68]
comisd xmm0, xmmword [0x1402ca680]
jbe 0x1401d1081
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x80]
call fcn.1401d1b10
cvtsi2sd xmm0, eax
movsd qword [rsp + 0x48], xmm0
cvtsi2sd xmm0, dword [rsp + 0x24]
movsd xmm1, qword [rsp + 0x48]
comisd xmm1, xmm0
jbe 0x1401d10ba
mov eax, dword [rsp + 0x2c]
dec eax
mov dword [rsp + 0x2c], eax
jmp 0x1401d1081
mov eax, dword [rsp + 0x2c]
cdq
mov ecx, 0xc
idiv ecx
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x2c]
cdq
mov ecx, 0xc
idiv ecx
mov eax, edx
mov dword [rsp + 0x20], eax
jmp 0x1401d1309
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x268], 2
jne 0x1401d12f9
mov edx, 0x526
mov rcx, qword [rsp + 0x80]
call fcn.1401d1cc0
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x24], eax
jge 0x1401d11c2
imul eax, dword [rsp + 0x24], 0x1e
add eax, 0x2996
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1403149a8]
call fcn.140189570
cvttsd2si eax, xmm0
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x24]
sub eax, 0x1d
mov dword [rsp + 0x54], eax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.1401d1cc0
mov ecx, dword [rsp + 0x54]
sub ecx, eax
mov eax, ecx
cvtsi2sd xmm0, eax
divsd xmm0, qword [0x140314990]
call fcn.1400d3f10
cvttsd2si eax, xmm0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xb
jge 0x1401d118d
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x50], eax
jmp 0x1401d1195
mov dword [rsp + 0x50], 0xb
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov r8d, dword [rsp + 0x20]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.1401d18d0
cvtsi2sd xmm0, eax
movsd qword [rsp + 0x48], xmm0
jmp 0x1401d12f7
mov dword [rsp + 0x30], 0x525
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x34], 1
cmp dword [rsp + 0x34], 0
jle 0x1401d12e7
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
call fcn.1401d1cc0
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
call qword [rax + 0x110]
cmp dword [rsp + 0x34], eax
jne 0x1401d1243
mov dword [rsp + 0x38], 0xb
jmp 0x1401d12e7
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
call qword [rax + 0x110]
cmp dword [rsp + 0x34], eax
jge 0x1401d12e2
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov r8d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
call qword [rax + 0x108]
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x34], eax
jle 0x1401d12e0
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov r8d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
call qword [rax + 0x108]
mov dword [rsp + 0x3c], eax
jmp 0x1401d1294
jmp 0x1401d12e7
jmp 0x1401d11da
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x20], eax
jmp 0x1401d1309
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x28], eax
mov r8d, dword [rsp + 0x20]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.1401d18d0
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
inc eax
mov dword [rsp + 0x64], eax
xor r8d, r8d
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.1401d18d0
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
inc eax
mov dword [rsp + 0x58], eax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x80]
call fcn.14018ba30
mov r8d, dword [rsp + 0x28]
mov edx, 1
mov rcx, qword [rsp + 0x80]
call fcn.14018ba30
mov r8d, dword [rsp + 0x28]
mov edx, 0x13
mov rcx, qword [rsp + 0x80]
call fcn.14018ba30
mov r8d, dword [rsp + 0x20]
mov edx, 2
mov rcx, qword [rsp + 0x80]
call fcn.14018ba30
mov r8d, dword [rsp + 0x64]
mov edx, 5
mov rcx, qword [rsp + 0x80]
call fcn.14018ba30
mov r8d, dword [rsp + 0x58]
mov edx, 6
mov rcx, qword [rsp + 0x80]
call fcn.14018ba30
add rsp, 0x78
ret