Function at 0x40903f
Capabilities:
Delete file
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a2b0
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1144
call fcn.0041a300
mov eax, dword [0x433774]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
push edi
push 0x42e465
lea ecx, [ebp - 0x1038]
mov dword [ebp - 0x1024], 0xf
mov dword [ebp - 0x1028], edi
mov byte [ebp - 0x1038], 0
call fcn.00402dcc
lea eax, [ebp - 0x1038]
mov dword [ebp - 4], edi
push eax
mov byte [ebp - 4], 1
call fcn.004092f6
pop ecx
cmp eax, edi
jne 0x4091d6
cmp dword [ebp - 0x1028], 1
mov dword [ebp - 0x106c], edi
jbe 0x4091d6
cmp dword [ebp - 0x1024], 0x10
mov eax, dword [ebp - 0x1038]
jae 0x4090e3
lea eax, [ebp - 0x1038]
push edi
push edi
push 3
push edi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4091d6
lea eax, [ebp - 0x1074]
push eax
lea eax, [ebp - 0x108c]
push eax
lea eax, [ebp - 0x109c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x4091ab
lea eax, [ebp - 0x1058]
push eax
lea eax, [ebp - 0x1074]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea eax, [ebp - 0x1068]
push eax
lea eax, [ebp - 0x1058]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
lea eax, [ebp - 0x1048]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x1094]
push eax
lea eax, [ebp - 0x1048]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x1048]
push eax
lea eax, [ebp - 0x1068]
push eax
lea esi, [ebp - 0x10ac]
call fcn.004094ba
mov esi, eax
lea edi, [ebp - 0x1084]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
pop ecx
pop ecx
cmp word [ebp - 0x107c], di
jbe 0x4091ab
mov dword [ebp - 0x106c], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x106c], edi
je 0x4091d6
cmp dword [ebp - 0x1024], 0x10
mov eax, dword [ebp - 0x1038]
jae 0x4091cf
lea eax, [ebp - 0x1038]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0x1024], 0x10
mov eax, dword [ebp - 0x1038]
jae 0x4091eb
lea eax, [ebp - 0x1038]
push eax
lea eax, [ebp - 0x1154]
push eax
call fcn.0040b779
push 0x1000
lea eax, [ebp - 0x101c]
push edi
push eax
mov byte [ebp - 4], 2
call fcn.0041a070
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x101c]
push 0xfff
push eax
call fcn.004108f0
add esp, 0x10
lea eax, [ebp - 0x101c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x101c]
push eax
lea eax, [ebp - 0x1154]
push eax
call fcn.00405548
pop ecx
pop ecx
push eax
call fcn.00405710
pop ecx
lea ecx, [ebp - 0x1154]
call fcn.00402ae1
lea esi, [ebp - 0x1150]
call fcn.0040c21d
cmp eax, edi
jne 0x40929e
mov eax, dword [ebp - 0x1154]
mov ecx, dword [eax + 4]
lea ecx, [ebp + ecx - 0x1154]
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], edi
jne 0x40928d
or eax, 4
and eax, 0x17
mov dword [ecx + 0xc], eax
test dword [ecx + 0x10], eax
je 0x40929e
push edi
call fcn.004013f2
lea ecx, [ebp - 0x10f4]
mov byte [ebp - 4], 1
call fcn.0040b89f
lea eax, [ebp - 0x10f4]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0040d8f5
pop ecx
jmp 0x4092ce
push edi
push 1
lea ecx, [ebp - 0x1038]
call fcn.00402ec6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0040db3d
leave
ret