Function at 0x14003fbc0
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
push rdi
sub rsp, 0x130
mov rax, qword [0x1401bd0e0]
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, [0x14019fea0]
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.0x14003fc4e.44
movsxd rax, dword [rsp + 0x40]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x40cdc]
mov eax, dword [rcx + rax*4 + 0x40c90]
add rax, rcx
jmp rax
lea rdx, str.auto
mov rcx, qword [rsp + 0x148]
call fcn.14004b3f0
test eax, eax
jne 0x14003fc91
cmp dword [rsp + 0x160], 1
jle 0x14003fc7c
mov eax, 1
jmp 0x140040c76
mov rcx, qword [rsp + 0x158]
call fcn.14003fb00
mov dword [rsp + 0x34], 0
jmp case.0x14003fc4e.44
lea rdx, str.julianday
mov rcx, qword [rsp + 0x148]
call fcn.14004b3f0
test eax, eax
jne 0x14003fcf6
cmp dword [rsp + 0x160], 1
jle 0x14003fcc2
mov eax, 1
jmp 0x140040c76
mov rax, qword [rsp + 0x158]
movsx eax, byte [rax + 0x28]
test eax, eax
je 0x14003fcf6
mov rax, qword [rsp + 0x158]
movsx eax, byte [rax + 0x29]
test eax, eax
je 0x14003fcf6
mov dword [rsp + 0x34], 0
mov rax, qword [rsp + 0x158]
mov byte [rax + 0x29], 0
jmp case.0x14003fc4e.44
lea rdx, str.localtime
mov rcx, qword [rsp + 0x148]
call fcn.14004b3f0
test eax, eax
jne 0x14003fd3d
mov rcx, qword [rsp + 0x140]
call fcn.140087f30
test eax, eax
je 0x14003fd3d
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x158]
call fcn.14003f8a0
mov dword [rsp + 0x34], eax
jmp case.0x14003fc4e.44
lea rdx, str.unixepoch
mov rcx, qword [rsp + 0x148]
call fcn.14004b3f0
test eax, eax
jne 0x14003fe25
mov rax, qword [rsp + 0x158]
movsx eax, byte [rax + 0x29]
test eax, eax
je 0x14003fe25
cmp dword [rsp + 0x160], 1
jle 0x14003fd86
mov eax, 1
jmp 0x140040c76
mov rax, qword [rsp + 0x158]
movsd xmm0, qword [rax + 0x20]
mulsd xmm0, qword [0x1401ab9b8]
addsd xmm0, qword [0x1401aba20]
movsd qword [rsp + 0xa0], xmm0
movsd xmm0, qword [rsp + 0xa0]
comisd xmm0, xmmword [0x1401ab928]
jb 0x14003fe20
movsd xmm0, qword [0x1401aba28]
comisd xmm0, xmmword [rsp + 0xa0]
jbe 0x14003fe20
mov rcx, qword [rsp + 0x158]
call fcn.14003f810
movsd xmm0, qword [rsp + 0xa0]
addsd xmm0, qword [0x1401ab960]
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 0x14003ff9d
lea rdx, [0x1401a45fc]
mov rcx, qword [rsp + 0x148]
call fcn.14004b3f0
test eax, eax
jne 0x14003ff9d
mov rcx, qword [rsp + 0x140]
call fcn.140087f30
test eax, eax
je 0x14003ff9d
mov rax, qword [rsp + 0x158]
movsx eax, byte [rax + 0x2d]
test eax, eax
jne 0x14003ff95
mov dword [rsp + 0x44], 0
mov rcx, qword [rsp + 0x158]
call fcn.14003ef60
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
lea rax, [rsp + 0xf0]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
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.14003f8a0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x14003ff0f
mov eax, dword [rsp + 0x34]
jmp 0x140040c76
lea rcx, [rsp + 0xf0]
call fcn.14003ef60
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 0x14003ff5c
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 0x14003fea8
mov rdi, qword [rsp + 0x158]
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
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.0x14003fc4e.44
mov r8d, 8
lea rdx, str.weekday
mov rcx, qword [rsp + 0x148]
call fcn.14004b4f0
test eax, eax
jne 0x14004012c
mov eax, 1
imul rax, rax, 8
mov rcx, qword [rsp + 0x148]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14004ab40
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.14004b890
test eax, eax
jle 0x14004012c
movsd xmm0, qword [rsp + 0xa0]
comisd xmm0, xmmword [0x1401ab928]
jb 0x14004012c
movsd xmm0, qword [0x1401ab970]
comisd xmm0, xmmword [rsp + 0xa0]
jbe 0x14004012c
cvttsd2si eax, qword [rsp + 0xa0]
mov dword [rsp + 0x150], eax
cvtsi2sd xmm0, dword [rsp + 0x150]
ucomisd xmm0, qword [rsp + 0xa0]
jp 0x14004012c
jne 0x14004012c
mov rcx, qword [rsp + 0x158]
call fcn.14003f7e0
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.14003ef60
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 0x1400400ed
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.14003f810
mov dword [rsp + 0x34], 0
jmp case.0x14003fc4e.44
mov r8d, 9
lea rdx, str.start_of
mov rcx, qword [rsp + 0x148]
call fcn.14004b4f0
test eax, eax
je 0x140040198
lea rdx, str.subsec
mov rcx, qword [rsp + 0x148]
call fcn.14004b3f0
test eax, eax
je 0x14004017f
lea rdx, str.subsecond
mov rcx, qword [rsp + 0x148]
call fcn.14004b3f0
test eax, eax
jne 0x140040193
mov rax, qword [rsp + 0x158]
mov byte [rax + 0x2f], 1
mov dword [rsp + 0x34], 0
jmp case.0x14003fc4e.44
mov rax, qword [rsp + 0x158]
movsx eax, byte [rax + 0x28]
test eax, eax
jne 0x1400401cd
mov rax, qword [rsp + 0x158]
movsx eax, byte [rax + 0x2a]
test eax, eax
jne 0x1400401cd
mov rax, qword [rsp + 0x158]
movsx eax, byte [rax + 0x2b]
test eax, eax
jne 0x1400401cd
jmp case.0x14003fc4e.44
mov rax, qword [rsp + 0x148]
add rax, 9
mov qword [rsp + 0x148], rax
mov rcx, qword [rsp + 0x158]
call fcn.14003f540
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.14004b3f0
test eax, eax
jne 0x14004027d
mov rax, qword [rsp + 0x158]
mov dword [rax + 0x10], 1
mov dword [rsp + 0x34], 0
jmp 0x1400402dd
lea rdx, str.year
mov rcx, qword [rsp + 0x148]
call fcn.14004b3f0
test eax, eax
jne 0x1400402bd
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 0x1400402dd
lea rdx, [0x1401a462c]
mov rcx, qword [rsp + 0x148]
call fcn.14004b3f0
test eax, eax
jne 0x1400402dd
mov dword [rsp + 0x34], 0
jmp case.0x14003fc4e.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 0x140040325
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 0x140040426
movsxd rax, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x148]
movsx eax, byte [rcx + rax]
cmp eax, 0x3a
jne 0x14004035f
jmp 0x140040426
movsxd rax, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x148]
movzx eax, byte [rcx + rax]
lea rcx, [0x14019edd0]
movzx eax, byte [rcx + rax]
and eax, 1
test eax, eax
je 0x14004038a
jmp 0x140040426
movsxd rax, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x148]
movsx eax, byte [rcx + rax]
cmp eax, 0x2d
jne 0x140040421
cmp dword [rsp + 0x150], 5
jne 0x1400403e2
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x148]
add rcx, rax
mov rax, rcx
lea r8, [rsp + 0xa8]
lea rdx, [0x1401a4630]
mov rcx, rax
call fcn.14003e9b0
cmp eax, 1
jne 0x1400403e2
jmp 0x140040426
cmp dword [rsp + 0x150], 6
jne 0x140040421
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x148]
add rcx, rax
mov rax, rcx
lea r8, [rsp + 0xa8]
lea rdx, [0x1401a4634]
mov rcx, rax
call fcn.14003e9b0
cmp eax, 1
jne 0x140040421
jmp 0x140040426
jmp 0x140040315
mov r9b, 1
mov r8d, dword [rsp + 0x150]
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x148]
call fcn.14004b890
test eax, eax
jg 0x14004044f
jmp case.0x14003fc4e.44
movsxd rax, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x148]
movsx eax, byte [rcx + rax]
cmp eax, 0x2d
jne 0x14004078d
movsx eax, byte [rsp + 0x30]
cmp eax, 0x2b
je 0x140040485
movsx eax, byte [rsp + 0x30]
cmp eax, 0x2d
je 0x140040485
jmp case.0x14003fc4e.44
cmp dword [rsp + 0x150], 5
jne 0x1400404de
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.14003e9b0
cmp eax, 3
je 0x1400404dc
jmp case.0x14003fc4e.44
jmp 0x14004053e
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.14003e9b0
cmp eax, 3
je 0x14004052b
jmp case.0x14003fc4e.44
mov rax, qword [rsp + 0x148]
inc rax
mov qword [rsp + 0x148], rax
cmp dword [rsp + 0xb0], 0xc
jl 0x14004054d
jmp case.0x14003fc4e.44
cmp dword [rsp + 0xac], 0x1f
jl 0x14004055c
jmp case.0x14003fc4e.44
mov rcx, qword [rsp + 0x158]
call fcn.14003f7e0
mov rax, qword [rsp + 0x158]
mov byte [rax + 0x28], 0
movsx eax, byte [rsp + 0x30]
cmp eax, 0x2d
jne 0x1400405cf
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 0x140040609
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 0x140040632
mov rax, qword [rsp + 0x158]
mov eax, dword [rax + 0xc]
dec eax
cdq
mov ecx, 0xc
idiv ecx
mov dword [rsp + 0x50], eax
jmp 0x14004064c
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.14003ef60
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 0x1400406fd
mov dword [rsp + 0x34], 0
jmp case.0x14003fc4e.44
mov eax, 1
imul rax, rax, 0xb
mov rcx, qword [rsp + 0x148]
movzx eax, byte [rcx + rax]
lea rcx, [0x14019edd0]
movzx eax, byte [rcx + rax]
and eax, 1
test eax, eax
je 0x140040788
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.14003e9b0
cmp eax, 2
jne 0x140040788
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 0x14004078d
jmp case.0x14003fc4e.44
movsxd rax, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
cmp eax, 0x3a
jne 0x1400408be
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
lea rcx, [0x14019edd0]
movzx eax, byte [rcx + rax]
and eax, 4
test eax, eax
jne 0x1400407ce
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xc0]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x48]
call fcn.14003ed10
test eax, eax
je 0x1400407fd
jmp case.0x14003fc4e.44
lea rcx, [rsp + 0xc0]
call fcn.14003ef60
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 0x140040879
mov rax, qword [rsp + 0xc0]
neg rax
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0x158]
call fcn.14003ef60
mov rcx, qword [rsp + 0x158]
call fcn.14003f810
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.0x14003fc4e.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, [0x14019edd0]
movzx eax, byte [rcx + rax]
and eax, 1
test eax, eax
je 0x14004090e
mov rax, qword [rsp + 0x148]
inc rax
mov qword [rsp + 0x148], rax
jmp 0x1400408dc
mov rcx, qword [rsp + 0x148]
call fcn.14004ab40
mov dword [rsp + 0x150], eax
cmp dword [rsp + 0x150], 0xa
jg 0x140040936
cmp dword [rsp + 0x150], 3
jge 0x14004093b
jmp case.0x14003fc4e.44
mov eax, dword [rsp + 0x150]
dec eax
cdqe
mov rcx, qword [rsp + 0x148]
movzx eax, byte [rcx + rax]
lea rcx, [0x14019fea0]
movzx eax, byte [rcx + rax]
cmp eax, 0x73
jne 0x140040972
mov eax, dword [rsp + 0x150]
dec eax
mov dword [rsp + 0x150], eax
mov rcx, qword [rsp + 0x158]
call fcn.14003ef60
xorps xmm0, xmm0
comisd xmm0, xmmword [rsp + 0xa0]
jbe 0x1400409a0
movsd xmm0, qword [0x1401abac8]
movsd qword [rsp + 0x88], xmm0
jmp 0x1400409b1
movsd xmm0, qword [0x1401ab960]
movsd qword [rsp + 0x88], xmm0
movsd xmm0, qword [rsp + 0x88]
movsd qword [rsp + 0x98], xmm0
mov dword [rsp + 0x38], 0
jmp 0x1400409d7
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 6
jge 0x140040c65
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x10
lea rcx, [0x14019ea80]
movzx eax, byte [rcx + rax]
cmp eax, dword [rsp + 0x150]
jne 0x140040c60
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x10
lea rcx, [0x14019ea80]
lea rax, [rcx + rax + 1]
mov r8d, dword [rsp + 0x150]
mov rdx, qword [rsp + 0x148]
mov rcx, rax
call fcn.14004b4f0
test eax, eax
jne 0x140040c60
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x10
lea rcx, [0x14019ea80]
movss xmm0, dword [rcx + rax + 8]
xorps xmm0, xmmword [0x1401abb20]
cvtss2sd xmm0, xmm0
movsd xmm1, qword [rsp + 0xa0]
comisd xmm1, xmm0
jbe 0x140040c60
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x10
lea rcx, [0x14019ea80]
cvtss2sd xmm0, dword [rcx + rax + 8]
comisd xmm0, xmmword [rsp + 0xa0]
jbe 0x140040c60
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 4
je 0x140040ab0
cmp dword [rsp + 0x54], 5
je 0x140040b94
jmp 0x140040bfa
mov rcx, qword [rsp + 0x158]
call fcn.14003f7e0
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 0x140040b05
mov rax, qword [rsp + 0x158]
mov eax, dword [rax + 0xc]
dec eax
cdq
mov ecx, 0xc
idiv ecx
mov dword [rsp + 0x58], eax
jmp 0x140040b1f
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 0x140040bfa
cvttsd2si eax, qword [rsp + 0xa0]
mov dword [rsp + 0x74], eax
mov rcx, qword [rsp + 0x158]
call fcn.14003f7e0
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.14003ef60
movsd xmm0, qword [rsp + 0xa0]
mulsd xmm0, qword [0x1401ab9b8]
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x10
lea rcx, [0x14019ea80]
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 0x140040c65
jmp 0x1400409cd
mov rcx, qword [rsp + 0x158]
call fcn.14003f810
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.14014fcd0
add rsp, 0x130
pop rdi
ret