Function at 0x1800081b0
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x18019d080]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor esi, esi
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f], xmm1
mov r8d, reloc.WS2_32.dll_send
lea rdx, [0x180157b10]
lea rcx, [rbp + 0xf]
call fcn.1800172e0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x2f], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x3f], xmm1
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.C:WindowsSysWOW64
lea rcx, [rbp + 0x2f]
call fcn.1800172e0
nop
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x11]
call fcn.180007e10
nop
mov rbx, qword [rbp - 1]
test rbx, rbx
jne 0x18000826c
lea rdx, str.Nenhum_arquivo_encontrado_em_System32.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.180016360
lea rdx, [0x180016540]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov edi, 1
jmp 0x18000849e
lea r8, [0x180157594]
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x71]
call fcn.180015bc0
nop
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 7
cmova rdx, qword [rbp - 0x11]
mov r8, rbx
mov rcx, rax
call fcn.180014310
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x31], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x21], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rbp - 0x59]
cmp rdx, 7
jbe 0x18000830a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008305
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180008305
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180127ffc
movdqa xmm0, xmmword [0x180181880]
movdqu xmmword [rbp - 0x61], xmm0
mov word [rbp - 0x71], si
lea r8, str.Windows.Login.Update.xyz
lea rdx, [rbp + 0x2f]
lea rcx, [rbp - 0x51]
call fcn.180015bc0
nop
lea rcx, [rbp - 0x51]
cmp qword [rbp - 0x39], 7
cmova rcx, qword [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, 1
cmp eax, 0xffffffff
je 0x18000836f
lea rcx, [rbp - 0x51]
cmp qword [rbp - 0x39], 7
cmova rcx, qword [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x18000836f
lea rdx, str.Falha_ao_excluir_o_arquivo_existente_em_SysWOW64._C
jmp 0x18000839f
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 7
cmova rdx, qword [rbp - 0x51]
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 7
cmova rcx, qword [rbp - 0x31]
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1800083d1
lea rdx, str.Falha_ao_mover_o_arquivo_para_SysWOW64._C
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.180016360
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
lea rdx, [0x180016540]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
jmp 0x1800083f6
lea rdx, str.Arquivo_movido_com_sucesso_para_SysWOW64.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.180016360
lea rdx, [0x180016540]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov edi, esi
mov rdx, qword [rbp - 0x39]
cmp rdx, 7
jbe 0x180008439
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008434
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180008434
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180127ffc
movdqa xmm0, xmmword [0x180181880]
movdqu xmmword [rbp - 0x41], xmm0
mov word [rbp - 0x51], si
mov rdx, qword [rbp - 0x19]
cmp rdx, 7
jbe 0x180008495
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008488
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180008488
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180127ffc
movdqa xmm0, xmmword [0x180181880]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], si
mov rdx, qword [rbp + 7]
cmp rdx, 7
jbe 0x1800084e2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800084dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800084dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180127ffc
nop
mov rdx, qword [rbp + 0x47]
cmp rdx, 7
jbe 0x180008526
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008520
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180008520
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180127ffc
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 7
jbe 0x180008569
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008564
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180008564
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180127ffc
mov eax, edi
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.180127b60
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret