Function at 0x4d3a20
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63cf16
mov eax, dword fs:[0]
push eax
sub esp, 0x390
mov eax, dword [0x6e306c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x394], 0
lea ecx, [ebp - 0x2c]
call fcn.0040a3b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00402bf0
mov byte [ebp - 4], 1
push 0x208
push 0
lea eax, [ebp - 0x24c]
push eax
call fcn.004ef2d0
add esp, 0xc
mov dword [ebp - 0x250], 1
lea ecx, [ebp - 0x288]
call fcn.004c72b4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2a0]
call fcn.0040a3b0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
call fcn.004d34e0
call fcn.0041c1a0
add eax, 4
mov dword [ebp - 0x398], eax
mov eax, dword [ebp - 0x398]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x398]
mov eax, dword [edx + 0x4c]
call eax
mov dword [ebp - 0x2a4], eax
mov ecx, dword [ebp + 0xc]
call fcn.00402a40
test eax, eax
jbe 0x4d3afb
mov ecx, dword [ebp + 0x10]
call fcn.00402a40
test eax, eax
ja 0x4d3b00
jmp 0x4d3d26
cmp dword [ebp - 0x2a4], 0
je 0x4d3b63
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x328], esp
mov eax, dword [ebp + 0xc]
push eax
call fcn.004043c0
lea ecx, [ebp - 0x340]
push ecx
mov edx, dword [ebp - 0x2a4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2a4]
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x398], eax
mov eax, dword [ebp - 0x398]
mov dword [ebp - 0x39c], eax
mov ecx, dword [ebp - 0x39c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00404330
lea ecx, [ebp - 0x340]
call fcn.00402ab0
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x344], esp
mov eax, dword [ebp + 0xc]
push eax
call fcn.004043c0
lea ecx, [ebp - 0x35c]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.004d37e0
mov dword [ebp - 0x398], eax
mov edx, dword [ebp - 0x398]
mov dword [ebp - 0x39c], edx
mov eax, dword [ebp - 0x39c]
push eax
lea ecx, [ebp - 0x2a0]
call fcn.0040a2b0
lea ecx, [ebp - 0x35c]
call fcn.00404000
lea ecx, [ebp - 0x2a0]
call fcn.00403fb0
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00403fb0
push eax
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
jne 0x4d3be2
jmp 0x4d3d26
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d3c00
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.timestamp
lea ecx, [ebp - 0x44]
call fcn.00404310
push 0
call fcn.005095d9
add esp, 4
push edx
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x288]
call fcn.004c752b
push str.content
lea ecx, [ebp - 0x44]
call fcn.00404310
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x288]
call fcn.004c73e2
lea eax, [ebp - 0x374]
push eax
lea ecx, [ebp - 0x288]
call fcn.004c7837
mov dword [ebp - 0x398], eax
mov ecx, dword [ebp - 0x398]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00404330
lea ecx, [ebp - 0x374]
call fcn.00402ab0
cmp dword [ebp - 0x2a4], 0
je 0x4d3cdd
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x378], esp
lea eax, [ebp - 0x44]
push eax
call fcn.004043c0
lea ecx, [ebp - 0x390]
push ecx
mov edx, dword [ebp - 0x2a4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2a4]
mov edx, dword [eax + 0xc]
call edx
mov dword [ebp - 0x398], eax
mov eax, dword [ebp - 0x398]
mov dword [ebp - 0x39c], eax
mov ecx, dword [ebp - 0x39c]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00404330
lea ecx, [ebp - 0x390]
call fcn.00402ab0
lea ecx, [ebp - 0x44]
call fcn.00402a40
push eax
lea ecx, [ebp - 0x44]
call fcn.00404120
push eax
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.004d3da0
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
je 0x4d3d0f
jmp 0x4d3d26
lea ecx, [ebp - 0x2c]
call fcn.004d3e30
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040a6a0
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040ddf0
mov ecx, dword [ebp - 0x394]
or ecx, 1
mov dword [ebp - 0x394], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2a0]
call fcn.00404000
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x288]
call fcn.004c7365
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00402ab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00404000
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004239b8
mov esp, ebp
pop ebp
ret 0xc