Function at 0x1400ae7c0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x128
mov qword [rsp + 0xe0], 0xfffffffffffffffe
mov rax, qword [0x1401a8288]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov eax, dword [rsp + 0x148]
sar eax, 6
cdqe
lea rcx, [0x1401b2bc0]
mov edx, dword [rsp + 0x148]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0x158]
mov rcx, qword [rsp + 0x150]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov dword [rsp + 0x98], eax
mov rcx, qword [rsp + 0x160]
call fcn.1400691d0
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax]
cmp dword [rax + 0xc], 0xfde9
jne 0x1400ae889
mov byte [rsp + 0x50], 1
jmp 0x1400ae88e
mov byte [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x51], al
lea rax, [rsp + 0xe8]
mov rdi, rax
xor eax, eax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x48], rax
jae 0x1400af4d7
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x52], al
lea rax, [rsp + 0x54]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
mov dword [rsp + 0x68], 1
movzx eax, byte [rsp + 0x51]
test eax, eax
je 0x1400aef46
mov eax, dword [rsp + 0x148]
sar eax, 6
cdqe
lea rcx, [0x1401b2bc0]
mov edx, dword [rsp + 0x148]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + rdx + 0x3d]
shr al, 2
and al, 1
movzx eax, al
test eax, eax
je 0x1400ae970
lea rax, str.__dbcsBufferUsed_fh_
mov qword [rsp + 0x28], rax
lea rax, [0x1400efac0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x94
lea rdx, str.minkernelcrtsucrt_src_appcrtlowiowrite.cpp
mov ecx, 2
call fcn.1400427e0
cmp eax, 1
jne 0x1400ae970
int3
mov dword [rsp + 0xb8], 5
mov dword [rsp + 0x40], 0
jmp 0x1400ae98f
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 5
jge 0x1400ae9d1
mov eax, dword [rsp + 0x148]
sar eax, 6
cdqe
lea rcx, [0x1401b2bc0]
mov edx, dword [rsp + 0x148]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
add rax, rdx
movsxd rcx, dword [rsp + 0x40]
movsx eax, byte [rax + rcx + 0x3e]
test eax, eax
je 0x1400ae9d1
jmp 0x1400ae985
cmp dword [rsp + 0x40], 0
jle 0x1400aed64
mov eax, dword [rsp + 0x148]
sar eax, 6
cdqe
lea rcx, [0x1401b2bc0]
mov edx, dword [rsp + 0x148]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
add rax, rdx
mov ecx, 1
imul rcx, rcx, 0
movzx ecx, byte [rax + rcx + 0x3e]
call fcn.14008f8c0
movsx eax, al
inc eax
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 1
jle 0x1400aea34
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x40], eax
jl 0x1400aea6e
lea rax, str.1___mb_len__mb_buf_used___mb_len
mov qword [rsp + 0x28], rax
lea rax, [0x1400efac0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x9d
lea rdx, str.minkernelcrtsucrt_src_appcrtlowiowrite.cpp
mov ecx, 2
call fcn.1400427e0
cmp eax, 1
jne 0x1400aea6e
int3
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x70]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x78], eax
movsxd rax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x88]
sub rdx, rcx
mov rcx, rdx
cmp rax, rcx
jg 0x1400aec45
mov dword [rsp + 0x58], 0
jmp 0x1400aeab3
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x58], eax
jge 0x1400aeb00
mov eax, dword [rsp + 0x148]
sar eax, 6
cdqe
lea rcx, [0x1401b2bc0]
mov edx, dword [rsp + 0x148]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
add rdx, qword [rcx + rax*8]
mov rax, rdx
movsxd rcx, dword [rsp + 0x58]
movsxd rdx, dword [rsp + 0x58]
movzx eax, byte [rax + rcx + 0x3e]
mov byte [rsp + rdx + 0xf8], al
jmp 0x1400aeaa9
mov dword [rsp + 0x5c], 0
jmp 0x1400aeb14
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x5c], eax
jge 0x1400aeb44
movsxd rax, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x40]
mov edx, dword [rsp + 0x5c]
add edx, ecx
mov ecx, edx
movsxd rcx, ecx
mov rdx, qword [rsp + 0x48]
movzx eax, byte [rdx + rax]
mov byte [rsp + rcx + 0xf8], al
jmp 0x1400aeb0a
mov dword [rsp + 0x6c], 0
jmp 0x1400aeb58
mov eax, dword [rsp + 0x6c]
inc eax
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x6c], eax
jge 0x1400aeb99
mov eax, dword [rsp + 0x148]
sar eax, 6
cdqe
lea rcx, [0x1401b2bc0]
mov edx, dword [rsp + 0x148]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
add rdx, qword [rcx + rax*8]
mov rax, rdx
movsxd rcx, dword [rsp + 0x6c]
mov byte [rax + rcx + 0x3e], 0
jmp 0x1400aeb4e
lea rax, [rsp + 0xc0]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rax, [rsp + 0xf8]
mov qword [rsp + 0xc8], rax
cmp dword [rsp + 0x70], 4
jne 0x1400aebcc
mov dword [rsp + 0x68], 2
movsxd rax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x160]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0xc0]
mov r8, rax
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x54]
call fcn.1400d0410
cmp rax, 0xffffffffffffffff
jne 0x1400aec28
lea rax, [rsp + 0xe8]
mov rdi, qword [rsp + 0x140]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x140]
jmp 0x1400af4f9
mov eax, dword [rsp + 0x78]
dec eax
cdqe
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
jmp 0x1400aed5f
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x88]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
movsxd rax, dword [rsp + 0x40]
add rax, qword [rsp + 0xa0]
cmp rax, 5
jl 0x1400aecad
lea rax, str.mb_buf_used__bytes_to_add___mb_buf_size
mov qword [rsp + 0x28], rax
lea rax, [0x1400efac0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, SetErrorInfo
lea rdx, str.minkernelcrtsucrt_src_appcrtlowiowrite.cpp
mov ecx, 2
call fcn.1400427e0
cmp eax, 1
jne 0x1400aecad
int3
mov dword [rsp + 0x60], 0
jmp 0x1400aecc1
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
movsxd rax, dword [rsp + 0x60]
cmp rax, qword [rsp + 0xa0]
jge 0x1400aed1f
movsxd rax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x148]
sar ecx, 6
movsxd rcx, ecx
lea rdx, [0x1401b2bc0]
mov edi, dword [rsp + 0x148]
and edi, 0x3f
movsxd rdi, edi
imul rdi, rdi, 0x48
add rdi, qword [rdx + rcx*8]
mov rcx, rdi
mov edx, dword [rsp + 0x40]
mov edi, dword [rsp + 0x60]
add edi, edx
mov edx, edi
movsxd rdx, edx
mov rdi, qword [rsp + 0x48]
movzx eax, byte [rdi + rax]
mov byte [rcx + rdx + 0x3e], al
jmp 0x1400aecb7
mov eax, dword [rsp + 0xa0]
mov ecx, dword [rsp + 0xec]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xec], eax
lea rax, [rsp + 0xe8]
mov rdi, qword [rsp + 0x140]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x140]
jmp 0x1400af4f9
jmp 0x1400aef41
lfence
mov rax, qword [rsp + 0x48]
movzx ecx, byte [rax]
call fcn.14008f8c0
movsx eax, al
inc eax
mov dword [rsp + 0x7c], eax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x88]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
movsxd rax, dword [rsp + 0x7c]
cmp rax, qword [rsp + 0x90]
jg 0x1400aee54
lea rax, [rsp + 0xd0]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xd8], rax
cmp dword [rsp + 0x7c], 4
jne 0x1400aeddb
mov dword [rsp + 0x68], 2
movsxd rax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x160]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0xd0]
mov r8, rax
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x54]
call fcn.1400d0410
cmp rax, 0xffffffffffffffff
jne 0x1400aee37
lea rax, [rsp + 0xe8]
mov rdi, qword [rsp + 0x140]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x140]
jmp 0x1400af4f9
mov eax, dword [rsp + 0x7c]
dec eax
cdqe
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
jmp 0x1400aef41
cmp qword [rsp + 0x90], 5
jbe 0x1400aee99
lea rax, str.available_bytes___sizeof__mbBuffer_fh__
mov qword [rsp + 0x28], rax
lea rax, [0x1400efac0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0xe3
lea rdx, str.minkernelcrtsucrt_src_appcrtlowiowrite.cpp
mov ecx, 2
call fcn.1400427e0
cmp eax, 1
jne 0x1400aee99
int3
mov dword [rsp + 0x64], 0
jmp 0x1400aeead
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
movsxd rax, dword [rsp + 0x64]
cmp rax, qword [rsp + 0x90]
jge 0x1400aef01
movsxd rax, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x148]
sar ecx, 6
movsxd rcx, ecx
lea rdx, [0x1401b2bc0]
mov edi, dword [rsp + 0x148]
and edi, 0x3f
movsxd rdi, edi
imul rdi, rdi, 0x48
add rdi, qword [rdx + rcx*8]
mov rcx, rdi
movsxd rdx, dword [rsp + 0x64]
mov rdi, qword [rsp + 0x48]
movzx eax, byte [rdi + rax]
mov byte [rcx + rdx + 0x3e], al
jmp 0x1400aeea3
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0xec]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xec], eax
lea rax, [rsp + 0xe8]
mov rdi, qword [rsp + 0x140]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x140]
jmp 0x1400af4f9
jmp 0x1400af2c6
mov eax, dword [rsp + 0x148]
sar eax, 6
cdqe
lea rcx, [0x1401b2bc0]
mov edx, dword [rsp + 0x148]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + rdx + 0x3d]
shr al, 2
and al, 1
movzx eax, al
test eax, eax
je 0x1400af118
mov eax, dword [rsp + 0x148]
sar eax, 6
cdqe
lea rcx, [0x1401b2bc0]
mov edx, dword [rsp + 0x148]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
add rax, rdx
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0xa8]
movzx ecx, byte [rax + rcx + 0x3e]
call fcn.14008fde0
movzx eax, ax
test eax, eax
jne 0x1400af00a
lea rax, str._isleadbyte_fast_internal__dbcsBuffer_fh___locale_
mov qword [rsp + 0x28], rax
lea rax, [0x1400efac0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0xf2
lea rdx, str.minkernelcrtsucrt_src_appcrtlowiowrite.cpp
mov ecx, 2
call fcn.1400427e0
cmp eax, 1
jne 0x1400af00a
int3
mov eax, dword [rsp + 0x148]
sar eax, 6
cdqe
lea rcx, [0x1401b2bc0]
mov edx, dword [rsp + 0x148]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
add rdx, qword [rcx + rax*8]
mov rax, rdx
mov ecx, 1
imul rcx, rcx, 0
mov edx, 1
imul rdx, rdx, 0
movzx eax, byte [rax + rcx + 0x3e]
mov byte [rsp + rdx + 0x100], al
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx]
mov byte [rsp + rax + 0x100], cl
mov eax, dword [rsp + 0x148]
sar eax, 6
cdqe
lea rcx, [0x1401b2bc0]
mov edx, dword [rsp + 0x148]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + rdx + 0x3d]
and al, 0xfb
mov ecx, dword [rsp + 0x148]
sar ecx, 6
movsxd rcx, ecx
lea rdx, [0x1401b2bc0]
mov edi, dword [rsp + 0x148]
and edi, 0x3f
movsxd rdi, edi
imul rdi, rdi, 0x48
mov rcx, qword [rdx + rcx*8]
mov byte [rcx + rdi + 0x3d], al
mov r9, qword [rsp + 0x160]
mov r8d, 2
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x54]
call fcn.1400b5550
cmp eax, 0xffffffff
jne 0x1400af113
lea rax, [rsp + 0xe8]
mov rdi, qword [rsp + 0x140]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x140]
jmp 0x1400af4f9
jmp 0x1400af2c6
lfence
mov rdx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0x48]
movzx ecx, byte [rax]
call fcn.14008fde0
movzx eax, ax
test eax, eax
je 0x1400af27d
mov rax, qword [rsp + 0x48]
inc rax
cmp rax, qword [rsp + 0x88]
jae 0x1400af1a8
mov r9, qword [rsp + 0x160]
mov r8d, 2
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x54]
call fcn.1400b5550
cmp eax, 0xffffffff
jne 0x1400af196
lea rax, [rsp + 0xe8]
mov rdi, qword [rsp + 0x140]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x140]
jmp 0x1400af4f9
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
jmp 0x1400af27b
mov eax, dword [rsp + 0x148]
sar eax, 6
cdqe
lea rcx, [0x1401b2bc0]
mov edx, dword [rsp + 0x148]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
add rdx, qword [rcx + rax*8]
mov rax, rdx
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x48]
movzx edx, byte [rdx]
mov byte [rax + rcx + 0x3e], dl
mov eax, dword [rsp + 0x148]
sar eax, 6
cdqe
lea rcx, [0x1401b2bc0]
mov edx, dword [rsp + 0x148]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + rdx + 0x3d]
or al, 4
mov ecx, dword [rsp + 0x148]
sar ecx, 6
movsxd rcx, ecx
lea rdx, [0x1401b2bc0]
mov edi, dword [rsp + 0x148]
and edi, 0x3f
movsxd rdi, edi
imul rdi, rdi, 0x48
mov rcx, qword [rdx + rcx*8]
mov byte [rcx + rdi + 0x3d], al
mov eax, dword [rsp + 0xec]
inc eax
mov dword [rsp + 0xec], eax
lea rax, [rsp + 0xe8]
mov rdi, qword [rsp + 0x140]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x140]
jmp 0x1400af4f9
jmp 0x1400af2c6
mov r9, qword [rsp + 0x160]
mov r8d, 1
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x54]
call fcn.1400b5550
cmp eax, 0xffffffff
jne 0x1400af2c6
lea rax, [rsp + 0xe8]
mov rdi, qword [rsp + 0x140]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x140]
jmp 0x1400af4f9
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 5
lea rax, [rsp + 0x108]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
lea r8, [rsp + 0x54]
xor edx, edx
mov ecx, dword [rsp + 0x98]
call fcn.1400bc3b0
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0
jne 0x1400af34a
lea rax, [rsp + 0xe8]
mov rdi, qword [rsp + 0x140]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x140]
jmp 0x1400af4f9
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x84]
mov r8d, dword [rsp + 0x80]
lea rdx, [rsp + 0x108]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400af3b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xe8], eax
lea rax, [rsp + 0xe8]
mov rdi, qword [rsp + 0x140]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x140]
jmp 0x1400af4f9
mov rax, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0xf0]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xec], eax
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x84], eax
jae 0x1400af40d
lea rax, [rsp + 0xe8]
mov rdi, qword [rsp + 0x140]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x140]
jmp 0x1400af4f9
movsx eax, byte [rsp + 0x52]
cmp eax, 0xa
jne 0x1400af4d2
mov eax, 0xd
mov word [rsp + 0x74], ax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x84]
mov r8d, 1
lea rdx, [rsp + 0x74]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400af484
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xe8], eax
lea rax, [rsp + 0xe8]
mov rdi, qword [rsp + 0x140]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x140]
jmp 0x1400af4f9
cmp dword [rsp + 0x84], 1
jae 0x1400af4b2
lea rax, [rsp + 0xe8]
mov rdi, qword [rsp + 0x140]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x140]
jmp 0x1400af4f9
mov eax, dword [rsp + 0xf0]
inc eax
mov dword [rsp + 0xf0], eax
mov eax, dword [rsp + 0xec]
inc eax
mov dword [rsp + 0xec], eax
jmp 0x1400ae8b8
lea rax, [rsp + 0xe8]
mov rdi, qword [rsp + 0x140]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.140020ff0
add rsp, 0x128
pop rdi
pop rsi
ret