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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x14011a288]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xa0]
add rax, 2
cmp rax, qword [rsp + 0xb0]
jbe 0x140080358
mov eax, 0xffffffff
jmp 0x1400805e9
mov rcx, qword [rsp + 0xa0]
call fcn.14007d5f0
movzx eax, ax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xa0]
add rax, 2
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x20], 3
jmp 0x140080394
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x1400805e7
mov qword [rsp + 0x28], 0
cmp dword [rsp + 0x20], 3
jne 0x1400803c0
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x20]
shl eax, 2
movzx ecx, al
mov eax, dword [rsp + 0x48]
shr eax, cl
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
and eax, 8
test eax, eax
je 0x1400805e2
cmp qword [rsp + 0x28], 0
jne 0x14008043e
mov rax, qword [rsp + 0xa0]
add rax, 4
cmp rax, qword [rsp + 0xb0]
jbe 0x14008040b
mov eax, 0xffffffff
jmp 0x1400805e9
mov rcx, qword [rsp + 0xa0]
call fcn.14007d650
mov dword [rsp + 0x4c], eax
mov ecx, dword [rsp + 0x4c]
call fcn.140080270
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xa0]
add rax, 4
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x38]
and eax, 3
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
cmp rax, qword [rsp + 0xb0]
jbe 0x140080477
mov eax, 0xffffffff
jmp 0x1400805e9
mov dword [rsp + 0x30], 0
jmp 0x14008048b
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x30], eax
jae 0x1400804c5
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax]
shl eax, 0x10
mov ecx, dword [rsp + 0x34]
shr ecx, 8
or eax, ecx
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xa0]
inc rax
mov qword [rsp + 0xa0], rax
jmp 0x140080481
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x1400804f5
mov qword [rsp + 0x40], 0
jmp 0x1400804ff
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
xor edx, edx
mov eax, dword [rsp + 0x34]
mov ecx, 0x989680
div ecx
mov rcx, qword [rsp + 0x40]
add eax, dword [rcx]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x38]
and eax, 4
test eax, eax
je 0x140080541
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x40]
call fcn.14007d480
mov qword [rsp + 0x28], rax
cmp dword [rsp + 0x20], 3
jne 0x14008056a
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x28], rcx
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0x24]
mov dword [rax + 0x30], ecx
jmp 0x1400805e2
cmp dword [rsp + 0x20], 2
jne 0x140080593
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x70], rcx
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0x24]
mov dword [rax + 0x78], ecx
jmp 0x1400805e2
cmp dword [rsp + 0x20], 1
jne 0x1400805bc
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x60], rcx
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0x24]
mov dword [rax + 0x68], ecx
jmp 0x1400805e2
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x80], rcx
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0x24]
mov dword [rax + 0x88], ecx
jmp 0x14008038a
xor eax, eax
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400f0970
add rsp, 0x98
ret