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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543b51
mov eax, dword fs:[0]
push eax
mov eax, 0x1150
call fcn.004fede0
mov eax, dword [0x5868f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
test al, al
jne 0x439ebb
push str.Temporary_log_file_does_not_exist
push 0x58ba20
call fcn.00437490
add esp, 8
jmp 0x43a20e
push 0xb8
lea eax, [ebp - 0x10e0]
push 0
push eax
call fcn.00516d20
push esi
lea ecx, [ebp - 0x10e0]
call fcn.0043a9f0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1084], 0
jne 0x439f0e
push str.Failed_to_open_the_Temporary_log_file
push 0x6e
push 0x58ba20
call fcn.00437520
add esp, 0xc
lea ecx, [ebp - 0x10e0]
call fcn.0043a250
jmp 0x43a20e
push 0x34
call fcn.004fdf4e
mov edi, eax
add esp, 4
mov dword [ebp - 0x10e4], edi
mov dword [edi + 4], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1130]
push 0x569e94
mov dword [edi], vtable.std::codecvt_wchar_t__char__struct__Mbstatet_.0
call fcn.0040f930
lea eax, [ebp - 0x115c]
push eax
call fcn.004ead8c
add esp, 4
lea ecx, [ebp - 0x1130]
movups xmm0, xmmword [eax]
movups xmmword [edi + 8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edi + 0x18], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [edi + 0x28], xmm0
mov eax, dword [eax + 0x28]
mov dword [edi + 0x30], eax
call fcn.0040fa30
lea eax, [ebp - 0x10fc]
mov dword [edi], vtable.std::codecvt_utf16_wchar_t__65279__4_.0
push eax
mov eax, dword [ebp - 0x10e0]
lea ecx, [ebp - 0x10e0]
mov eax, dword [eax + 4]
add ecx, eax
call fcn.0040fcd0
mov byte [ebp - 4], 3
push dword [eax + 4]
call fcn.004eaa8e
mov ecx, dword [0x58a13c]
add esp, 4
mov dword [ebp - 0x10e8], eax
test ecx, ecx
jne 0x439ff8
push ecx
lea ecx, [ebp - 0x10e4]
call fcn.004ead15
cmp dword [0x58a13c], 0
jne 0x439fe1
mov eax, dword [0x58a128]
inc eax
mov dword [0x58a128], eax
mov dword [0x58a13c], eax
lea ecx, [ebp - 0x10e4]
call fcn.004ead6d
mov eax, dword [ebp - 0x10e8]
mov ecx, dword [0x58a13c]
push ecx
push edi
push eax
call fcn.004ed629
mov eax, dword [ebp - 0x10e8]
add esp, 0xc
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x10e8]
push 0x569e90
lea ecx, [ecx + 0x18]
call fcn.0041ef30
lea eax, [ebp - 0x10ec]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x10f4]
push eax
mov eax, dword [ebp - 0x10e0]
lea ecx, [ebp - 0x10e0]
mov eax, dword [eax + 4]
add ecx, eax
call fcn.0043aac0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10f0]
test ecx, ecx
je 0x43a06a
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x43a06a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10e8]
test ecx, ecx
je 0x43a089
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x43a089
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10f8]
test ecx, ecx
je 0x43a0a8
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x43a0a8
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
xor eax, eax
mov dword [ebp - 0x1014], 7
mov dword [ebp - 0x1018], 0
mov word [ebp - 0x1028], ax
lea edx, [ebp - 0x1028]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10e0]
call fcn.0043af00
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x43a15a
nop word [eax + eax]
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.00516d20
cmp dword [ebp - 0x1014], 8
lea eax, [ebp - 0x1028]
cmovae eax, dword [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1010]
push str.MovedLog:__s
push eax
call fcn.0043af30
add esp, 0x18
lea eax, [ebp - 0x1010]
mov ecx, 0x58ba20
push eax
call fcn.00436900
lea edx, [ebp - 0x1028]
lea ecx, [ebp - 0x10e0]
call fcn.0043af00
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x43a0f0
mov eax, dword [ebp - 0x1014]
cmp eax, 8
jb 0x43a178
inc eax
lea ecx, [ebp - 0x1028]
push eax
push dword [ebp - 0x1028]
call fcn.00403300
xor eax, eax
mov dword [ebp - 0x1014], 7
mov word [ebp - 0x1028], ax
mov eax, dword [ebp - 0x10e0]
mov dword [ebp - 0x1018], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x10e0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x10e4], eax
lea ecx, [ebp - 0x10d0]
call fcn.00438700
mov eax, dword [ebp - 0x10e0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x10e0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x10e4], eax
lea eax, [ebp - 0x1070]
mov dword [ebp - 4], 9
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004ea6b2
add esp, 4
test esi, esi
je 0x43a229
cmp word [esi], 0
je 0x43a229
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43a229
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fdf3d
mov esp, ebp
pop ebp
ret