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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x138
mov rax, qword [0x1401cf0e8]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov dword [rsp + 0x34], 1
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x148]
movzx eax, byte [rcx + rax]
lea rcx, [0x1401b1690]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
sub eax, 0x2b
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x4c
ja case.0x14004502d.44
movsxd rax, dword [rsp + 0x40]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x460c0]
mov eax, dword [rcx + rax*4 + 0x46074]
add rax, rcx
jmp rax
lea rdx, str.auto
mov rcx, qword [rsp + 0x148]
call fcn.1400506c0
test eax, eax
jne 0x140045070
cmp dword [rsp + 0x160], 1
jle 0x14004505b
mov eax, 1
jmp 0x14004605b
mov rcx, qword [rsp + 0x158]
call fcn.140044ee0
mov dword [rsp + 0x34], 0
jmp case.0x14004502d.44
lea rdx, str.julianday
mov rcx, qword [rsp + 0x148]
call fcn.1400506c0
test eax, eax
jne 0x1400450d5
cmp dword [rsp + 0x160], 1
jle 0x1400450a1
mov eax, 1
jmp 0x14004605b
mov rax, qword [rsp + 0x158]
movsx eax, byte [rax + 0x28]
test eax, eax
je 0x1400450d5
mov rax, qword [rsp + 0x158]
movsx eax, byte [rax + 0x29]
test eax, eax
je 0x1400450d5
mov dword [rsp + 0x34], 0
mov rax, qword [rsp + 0x158]
mov byte [rax + 0x29], 0
jmp case.0x14004502d.44
lea rdx, str.localtime
mov rcx, qword [rsp + 0x148]
call fcn.1400506c0
test eax, eax
jne 0x14004511c
mov rcx, qword [rsp + 0x140]
call fcn.14008d1d0
test eax, eax
je 0x14004511c
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x158]
call fcn.140044c80
mov dword [rsp + 0x34], eax
jmp case.0x14004502d.44
lea rdx, str.unixepoch
mov rcx, qword [rsp + 0x148]
call fcn.1400506c0
test eax, eax
jne 0x140045204
mov rax, qword [rsp + 0x158]
movsx eax, byte [rax + 0x29]
test eax, eax
je 0x140045204
cmp dword [rsp + 0x160], 1
jle 0x140045165
mov eax, 1
jmp 0x14004605b
mov rax, qword [rsp + 0x158]
movsd xmm0, qword [rax + 0x20]
mulsd xmm0, qword [0x1401bd1a8]
addsd xmm0, qword [0x1401bd218]
movsd qword [rsp + 0xa0], xmm0
movsd xmm0, qword [rsp + 0xa0]
comisd xmm0, xmmword [0x1401bd118]
jb 0x1400451ff
movsd xmm0, qword [0x1401bd220]
comisd xmm0, xmmword [rsp + 0xa0]
jbe 0x1400451ff
mov rcx, qword [rsp + 0x158]
call fcn.140044bf0
movsd xmm0, qword [rsp + 0xa0]
addsd xmm0, qword [0x1401bd150]
cvttsd2si rax, xmm0
mov rcx, qword [rsp + 0x158]
mov qword [rcx], rax
mov rax, qword [rsp + 0x158]
mov byte [rax + 0x28], 1
mov rax, qword [rsp + 0x158]
mov byte [rax + 0x29], 0
mov dword [rsp + 0x34], 0
jmp 0x140045381
lea rdx, [0x1401b5dec]
mov rcx, qword [rsp + 0x148]
call fcn.1400506c0
test eax, eax
jne 0x140045381
mov rcx, qword [rsp + 0x140]
call fcn.14008d1d0
test eax, eax
je 0x140045381
mov rax, qword [rsp + 0x158]
movsx eax, byte [rax + 0x2d]
test eax, eax
jne 0x140045379
mov dword [rsp + 0x44], 0
mov rcx, qword [rsp + 0x158]
call fcn.140044340
mov rax, qword [rsp + 0x158]
mov rax, qword [rax]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x78], 0
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0xf0]
call fcn.14015efd0
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xf0], rax
mov byte [rsp + 0x118], 1
mov rdx, qword [rsp + 0x140]
lea rcx, [rsp + 0xf0]
call fcn.140044c80
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1400452ef
mov eax, dword [rsp + 0x34]
jmp 0x14004605b
lea rcx, [rsp + 0xf0]
call fcn.140044340
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xf0]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x14004533c
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x70], 3
jl 0x140045287
mov r8d, 0x30
xor edx, edx
mov rcx, qword [rsp + 0x158]
call fcn.14015efd0
mov rax, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
mov rax, qword [rsp + 0x158]
mov byte [rax + 0x28], 1
mov rax, qword [rsp + 0x158]
mov byte [rax + 0x2d], 1
mov dword [rsp + 0x34], 0
jmp case.0x14004502d.44
mov r8d, 8
lea rdx, str.weekday
mov rcx, qword [rsp + 0x148]
call fcn.1400507c0
test eax, eax
jne 0x140045510
mov eax, 1
imul rax, rax, 8
mov rcx, qword [rsp + 0x148]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14004fe50
mov ecx, 1
imul rcx, rcx, 8
mov rdx, qword [rsp + 0x148]
add rdx, rcx
mov rcx, rdx
mov r9b, 1
mov r8d, eax
lea rdx, [rsp + 0xa0]
call fcn.140050bc0
test eax, eax
jle 0x140045510
movsd xmm0, qword [rsp + 0xa0]
comisd xmm0, xmmword [0x1401bd118]
jb 0x140045510
movsd xmm0, qword [0x1401bd160]
comisd xmm0, xmmword [rsp + 0xa0]
jbe 0x140045510
cvttsd2si eax, qword [rsp + 0xa0]
mov dword [rsp + 0x150], eax
cvtsi2sd xmm0, dword [rsp + 0x150]
ucomisd xmm0, qword [rsp + 0xa0]
jp 0x140045510
jne 0x140045510
mov rcx, qword [rsp + 0x158]
call fcn.140044bc0
mov rax, qword [rsp + 0x158]
mov byte [rax + 0x2c], 0
mov rax, qword [rsp + 0x158]
mov byte [rax + 0x28], 0
mov rcx, qword [rsp + 0x158]
call fcn.140044340
mov rax, qword [rsp + 0x158]
mov rax, qword [rax]
add rax, 0x7b98a00
cqo
mov ecx, 0x5265c00
idiv rcx
cqo
mov ecx, 7
idiv rcx
mov rax, rdx
mov qword [rsp + 0x68], rax
movsxd rax, dword [rsp + 0x150]
cmp qword [rsp + 0x68], rax
jle 0x1400454d1
mov rax, qword [rsp + 0x68]
sub rax, 7
mov qword [rsp + 0x68], rax
movsxd rax, dword [rsp + 0x150]
sub rax, qword [rsp + 0x68]
imul rax, rax, 0x5265c00
mov rcx, qword [rsp + 0x158]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x158]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x158]
call fcn.140044bf0
mov dword [rsp + 0x34], 0
jmp case.0x14004502d.44
mov r8d, 9
lea rdx, str.start_of
mov rcx, qword [rsp + 0x148]
call fcn.1400507c0
test eax, eax
je 0x14004557c
lea rdx, str.subsec
mov rcx, qword [rsp + 0x148]
call fcn.1400506c0
test eax, eax
je 0x140045563
lea rdx, str.subsecond
mov rcx, qword [rsp + 0x148]
call fcn.1400506c0
test eax, eax
jne 0x140045577
mov rax, qword [rsp + 0x158]
mov byte [rax + 0x2f], 1
mov dword [rsp + 0x34], 0
jmp case.0x14004502d.44
mov rax, qword [rsp + 0x158]
movsx eax, byte [rax + 0x28]
test eax, eax
jne 0x1400455b1
mov rax, qword [rsp + 0x158]
movsx eax, byte [rax + 0x2a]
test eax, eax
jne 0x1400455b1
mov rax, qword [rsp + 0x158]
movsx eax, byte [rax + 0x2b]
test eax, eax
jne 0x1400455b1
jmp case.0x14004502d.44
mov rax, qword [rsp + 0x148]
add rax, 9
mov qword [rsp + 0x148], rax
mov rcx, qword [rsp + 0x158]
call fcn.140044920
mov rax, qword [rsp + 0x158]
mov byte [rax + 0x2b], 1
mov rax, qword [rsp + 0x158]
mov dword [rax + 0x18], 0
mov rax, qword [rsp + 0x158]
mov dword [rax + 0x14], 0
mov rax, qword [rsp + 0x158]
xorps xmm0, xmm0
movsd qword [rax + 0x20], xmm0
mov rax, qword [rsp + 0x158]
mov byte [rax + 0x29], 0
mov rax, qword [rsp + 0x158]
mov byte [rax + 0x2c], 0
mov rax, qword [rsp + 0x158]
mov byte [rax + 0x28], 0
lea rdx, str.month
mov rcx, qword [rsp + 0x148]
call fcn.1400506c0
test eax, eax
jne 0x140045661
mov rax, qword [rsp + 0x158]
mov dword [rax + 0x10], 1
mov dword [rsp + 0x34], 0
jmp 0x1400456c1
lea rdx, str.year
mov rcx, qword [rsp + 0x148]
call fcn.1400506c0
test eax, eax
jne 0x1400456a1
mov rax, qword [rsp + 0x158]
mov dword [rax + 0xc], 1
mov rax, qword [rsp + 0x158]
mov dword [rax + 0x10], 1
mov dword [rsp + 0x34], 0
jmp 0x1400456c1
lea rdx, [0x1401b5e1c]
mov rcx, qword [rsp + 0x148]
call fcn.1400506c0
test eax, eax
jne 0x1400456c1
mov dword [rsp + 0x34], 0
jmp case.0x14004502d.44
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x48], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x148]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x30], al
mov dword [rsp + 0x150], 1
jmp 0x140045709
mov eax, dword [rsp + 0x150]
inc eax
mov dword [rsp + 0x150], eax
movsxd rax, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x148]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x14004580a
movsxd rax, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x148]
movsx eax, byte [rcx + rax]
cmp eax, 0x3a
jne 0x140045743
jmp 0x14004580a
movsxd rax, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x148]
movzx eax, byte [rcx + rax]
lea rcx, [0x1401b05c0]
movzx eax, byte [rcx + rax]
and eax, 1
test eax, eax
je 0x14004576e
jmp 0x14004580a
movsxd rax, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x148]
movsx eax, byte [rcx + rax]
cmp eax, 0x2d
jne 0x140045805
cmp dword [rsp + 0x150], 5
jne 0x1400457c6
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x148]
add rcx, rax
mov rax, rcx
lea r8, [rsp + 0xa8]
lea rdx, [0x1401b5e20]
mov rcx, rax
call fcn.140043d80
cmp eax, 1
jne 0x1400457c6
jmp 0x14004580a
cmp dword [rsp + 0x150], 6
jne 0x140045805
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x148]
add rcx, rax
mov rax, rcx
lea r8, [rsp + 0xa8]
lea rdx, [0x1401b5e24]
mov rcx, rax
call fcn.140043d80
cmp eax, 1
jne 0x140045805
jmp 0x14004580a
jmp 0x1400456f9
mov r9b, 1
mov r8d, dword [rsp + 0x150]
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x148]
call fcn.140050bc0
test eax, eax
jg 0x140045833
jmp case.0x14004502d.44
movsxd rax, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x148]
movsx eax, byte [rcx + rax]
cmp eax, 0x2d
jne 0x140045b71
movsx eax, byte [rsp + 0x30]
cmp eax, 0x2b
je 0x140045869
movsx eax, byte [rsp + 0x30]
cmp eax, 0x2d
je 0x140045869
jmp case.0x14004502d.44
cmp dword [rsp + 0x150], 5
jne 0x1400458c2
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x148]
add rcx, rax
mov rax, rcx
lea rcx, [rsp + 0xac]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0xb0]
lea r8, [rsp + 0xa8]
lea rdx, str.40f_20a_20d
mov rcx, rax
call fcn.140043d80
cmp eax, 3
je 0x1400458c0
jmp case.0x14004502d.44
jmp 0x140045922
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x148]
add rcx, rax
mov rax, rcx
lea rcx, [rsp + 0xac]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0xb0]
lea r8, [rsp + 0xa8]
lea rdx, str.50f_20a_20d
mov rcx, rax
call fcn.140043d80
cmp eax, 3
je 0x14004590f
jmp case.0x14004502d.44
mov rax, qword [rsp + 0x148]
inc rax
mov qword [rsp + 0x148], rax
cmp dword [rsp + 0xb0], 0xc
jl 0x140045931
jmp case.0x14004502d.44
cmp dword [rsp + 0xac], 0x1f
jl 0x140045940
jmp case.0x14004502d.44
mov rcx, qword [rsp + 0x158]
call fcn.140044bc0
mov rax, qword [rsp + 0x158]
mov byte [rax + 0x28], 0
movsx eax, byte [rsp + 0x30]
cmp eax, 0x2d
jne 0x1400459b3
mov rax, qword [rsp + 0x158]
mov ecx, dword [rsp + 0xa8]
mov eax, dword [rax + 8]
sub eax, ecx
mov rcx, qword [rsp + 0x158]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x158]
mov ecx, dword [rsp + 0xb0]
mov eax, dword [rax + 0xc]
sub eax, ecx
mov rcx, qword [rsp + 0x158]
mov dword [rcx + 0xc], eax
mov eax, dword [rsp + 0xac]
neg eax
mov dword [rsp + 0xac], eax
jmp 0x1400459ed
mov rax, qword [rsp + 0x158]
mov eax, dword [rax + 8]
add eax, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0x158]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x158]
mov eax, dword [rax + 0xc]
add eax, dword [rsp + 0xb0]
mov rcx, qword [rsp + 0x158]
mov dword [rcx + 0xc], eax
mov rax, qword [rsp + 0x158]
cmp dword [rax + 0xc], 0
jle 0x140045a16
mov rax, qword [rsp + 0x158]
mov eax, dword [rax + 0xc]
dec eax
cdq
mov ecx, 0xc
idiv ecx
mov dword [rsp + 0x50], eax
jmp 0x140045a30
mov rax, qword [rsp + 0x158]
mov eax, dword [rax + 0xc]
sub eax, 0xc
cdq
mov ecx, 0xc
idiv ecx
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x158]
mov eax, dword [rax + 8]
add eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x158]
mov dword [rcx + 8], eax
imul eax, dword [rsp + 0x3c], 0xc
mov rcx, qword [rsp + 0x158]
mov ecx, dword [rcx + 0xc]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x158]
mov dword [rcx + 0xc], eax
mov rcx, qword [rsp + 0x158]
call fcn.140044340
mov rax, qword [rsp + 0x158]
mov byte [rax + 0x2b], 0
mov rax, qword [rsp + 0x158]
mov byte [rax + 0x2a], 0
movsxd rax, dword [rsp + 0xac]
imul rax, rax, 0x5265c00
mov rcx, qword [rsp + 0x158]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x158]
mov qword [rcx], rax
mov eax, 1
imul rax, rax, 0xb
mov rcx, qword [rsp + 0x148]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x140045ae1
mov dword [rsp + 0x34], 0
jmp case.0x14004502d.44
mov eax, 1
imul rax, rax, 0xb
mov rcx, qword [rsp + 0x148]
movzx eax, byte [rcx + rax]
lea rcx, [0x1401b05c0]
movzx eax, byte [rcx + rax]
and eax, 1
test eax, eax
je 0x140045b6c
mov eax, 1
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x148]
add rcx, rax
mov rax, rcx
lea r9, [rsp + 0xb4]
lea r8, [rsp + 0xb8]
lea rdx, str.20c:20e
mov rcx, rax
call fcn.140043d80
cmp eax, 2
jne 0x140045b6c
mov eax, 1
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x148]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x150], 2
jmp 0x140045b71
jmp case.0x14004502d.44
movsxd rax, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x3a
jne 0x140045ca3
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
lea rcx, [0x1401b05c0]
movzx eax, byte [rcx + rax]
and eax, 4
test eax, eax
jne 0x140045bb2
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0xc0]
call fcn.14015efd0
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x48]
call fcn.1400440e0
test eax, eax
je 0x140045be2
jmp case.0x14004502d.44
lea rcx, [rsp + 0xc0]
call fcn.140044340
mov rax, qword [rsp + 0xc0]
sub rax, 0x2932e00
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
cqo
mov ecx, 0x5265c00
idiv rcx
mov qword [rsp + 0x90], rax
imul rax, qword [rsp + 0x90], 0x5265c00
mov rcx, qword [rsp + 0xc0]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0xc0], rax
movsx eax, byte [rsp + 0x30]
cmp eax, 0x2d
jne 0x140045c5e
mov rax, qword [rsp + 0xc0]
neg rax
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0x158]
call fcn.140044340
mov rcx, qword [rsp + 0x158]
call fcn.140044bf0
mov rax, qword [rsp + 0x158]
mov rax, qword [rax]
add rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x158]
mov qword [rcx], rax
mov dword [rsp + 0x34], 0
jmp case.0x14004502d.44
movsxd rax, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x148]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
movzx eax, byte [rax]
lea rcx, [0x1401b05c0]
movzx eax, byte [rcx + rax]
and eax, 1
test eax, eax
je 0x140045cf3
mov rax, qword [rsp + 0x148]
inc rax
mov qword [rsp + 0x148], rax
jmp 0x140045cc1
mov rcx, qword [rsp + 0x148]
call fcn.14004fe50
mov dword [rsp + 0x150], eax
cmp dword [rsp + 0x150], 0xa
jg 0x140045d1b
cmp dword [rsp + 0x150], 3
jge 0x140045d20
jmp case.0x14004502d.44
mov eax, dword [rsp + 0x150]
dec eax
cdqe
mov rcx, qword [rsp + 0x148]
movzx eax, byte [rcx + rax]
lea rcx, [0x1401b1690]
movzx eax, byte [rcx + rax]
cmp eax, 0x73
jne 0x140045d57
mov eax, dword [rsp + 0x150]
dec eax
mov dword [rsp + 0x150], eax
mov rcx, qword [rsp + 0x158]
call fcn.140044340
xorps xmm0, xmm0
comisd xmm0, xmmword [rsp + 0xa0]
jbe 0x140045d85
movsd xmm0, qword [0x1401bd2c0]
movsd qword [rsp + 0x88], xmm0
jmp 0x140045d96
movsd xmm0, qword [0x1401bd150]
movsd qword [rsp + 0x88], xmm0
movsd xmm0, qword [rsp + 0x88]
movsd qword [rsp + 0x98], xmm0
mov dword [rsp + 0x38], 0
jmp 0x140045dbc
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 6
jge 0x14004604a
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x10
lea rcx, [0x1401b0270]
movzx eax, byte [rcx + rax]
cmp eax, dword [rsp + 0x150]
jne 0x140046045
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x10
lea rcx, [0x1401b0270]
lea rax, [rcx + rax + 1]
mov r8d, dword [rsp + 0x150]
mov rdx, qword [rsp + 0x148]
mov rcx, rax
call fcn.1400507c0
test eax, eax
jne 0x140046045
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x10
lea rcx, [0x1401b0270]
movss xmm0, dword [rcx + rax + 8]
xorps xmm0, xmmword [0x1401bd310]
cvtss2sd xmm0, xmm0
movsd xmm1, qword [rsp + 0xa0]
comisd xmm1, xmm0
jbe 0x140046045
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x10
lea rcx, [0x1401b0270]
cvtss2sd xmm0, dword [rcx + rax + 8]
comisd xmm0, xmmword [rsp + 0xa0]
jbe 0x140046045
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 4
je 0x140045e95
cmp dword [rsp + 0x54], 5
je 0x140045f79
jmp 0x140045fdf
mov rcx, qword [rsp + 0x158]
call fcn.140044bc0
cvttsd2si eax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x158]
add eax, dword [rcx + 0xc]
mov rcx, qword [rsp + 0x158]
mov dword [rcx + 0xc], eax
mov rax, qword [rsp + 0x158]
cmp dword [rax + 0xc], 0
jle 0x140045eea
mov rax, qword [rsp + 0x158]
mov eax, dword [rax + 0xc]
dec eax
cdq
mov ecx, 0xc
idiv ecx
mov dword [rsp + 0x58], eax
jmp 0x140045f04
mov rax, qword [rsp + 0x158]
mov eax, dword [rax + 0xc]
sub eax, 0xc
cdq
mov ecx, 0xc
idiv ecx
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x158]
mov eax, dword [rax + 8]
add eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x158]
mov dword [rcx + 8], eax
imul eax, dword [rsp + 0x3c], 0xc
mov rcx, qword [rsp + 0x158]
mov ecx, dword [rcx + 0xc]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x158]
mov dword [rcx + 0xc], eax
mov rax, qword [rsp + 0x158]
mov byte [rax + 0x28], 0
cvttsd2si eax, qword [rsp + 0xa0]
cvtsi2sd xmm0, eax
movsd xmm1, qword [rsp + 0xa0]
subsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0xa0], xmm0
jmp 0x140045fdf
cvttsd2si eax, qword [rsp + 0xa0]
mov dword [rsp + 0x74], eax
mov rcx, qword [rsp + 0x158]
call fcn.140044bc0
mov rax, qword [rsp + 0x158]
mov eax, dword [rax + 8]
add eax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x158]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x158]
mov byte [rax + 0x28], 0
cvttsd2si eax, qword [rsp + 0xa0]
cvtsi2sd xmm0, eax
movsd xmm1, qword [rsp + 0xa0]
subsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0xa0], xmm0
mov rcx, qword [rsp + 0x158]
call fcn.140044340
movsd xmm0, qword [rsp + 0xa0]
mulsd xmm0, qword [0x1401bd1a8]
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x10
lea rcx, [0x1401b0270]
cvtss2sd xmm1, dword [rcx + rax + 0xc]
mulsd xmm0, xmm1
addsd xmm0, qword [rsp + 0x98]
cvttsd2si rax, xmm0
mov rcx, qword [rsp + 0x158]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x158]
mov qword [rcx], rax
mov dword [rsp + 0x34], 0
jmp 0x14004604a
jmp 0x140045db2
mov rcx, qword [rsp + 0x158]
call fcn.140044bf0
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.14015c750
add rsp, 0x138
ret