Function at 0x424503
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes

Disassembly:
mov eax, 0x440e7e
call fcn.00432c38
sub esp, 0x2b0
push ebx
push esi
push edi
mov al, byte [ebp + 0x33]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x20], al
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x20]
lea ecx, [ebp + 8]
push eax
push 0x3b
mov byte [ebp - 4], 1
call fcn.0041bdfc
cmp dword [ebp - 0x1c], ebx
je 0x4245a9
mov eax, dword [ebp - 0x18]
push 0x28
sub eax, dword [ebp - 0x1c]
pop ecx
mov edi, 0x44249c
mov esi, 0x442494
cdq
idiv ecx
cmp eax, 3
jne 0x424593
lea eax, [ebp - 0xd]
push ebx
push eax
push 0x450eb4
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x40], esi
call fcn.0040b740
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x20]
push eax
mov byte [ebp - 4], 2
push dword [ebp - 0x18]
call fcn.00424a69
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.00401915
cmp dword [ebp - 0x1c], ebx
je 0x4245a9
mov eax, dword [ebp - 0x18]
push 0x28
sub eax, dword [ebp - 0x1c]
pop ecx
cdq
idiv ecx
cmp eax, 4
je 0x4245b1
push 0xfffffffffffffffc
pop esi
jmp 0x4247e4
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x30]
cmp eax, ebx
jne 0x4245c0
mov eax, 0x4424b4
push eax
call fcn.00434849
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c]
pop ecx
mov eax, dword [eax + 0x58]
cmp eax, ebx
jne 0x4245d9
mov eax, 0x4424b4
push eax
call fcn.00434849
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x8c]
push eax
call fcn.0040a825
pop ecx
pop ecx
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 3
mov byte [ebp - 0xd], bl
call fcn.004016f0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x424732
lea eax, [ebp - 0x21]
push ebx
push eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x40], esi
call fcn.00401581
mov esi, 0x104
lea eax, [ebp - 0x30]
push esi
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 4
call fcn.00409fc5
mov edi, eax
mov ecx, dword [edi]
mov byte [ebp - 4], 5
call fcn.004016f0
push eax
push esi
mov dword [edi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00409ff2
lea eax, [ebp - 0x30]
push esi
push eax
lea ecx, [ebp - 0x8c]
call fcn.00409fc5
mov edi, eax
mov ecx, dword [edi]
mov byte [ebp - 4], 6
call fcn.004016f0
push eax
push ebx
push 0x44cbec
lea ecx, [ebp - 0x60]
mov dword [edi + 8], eax
call fcn.004016f0
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00409ff2
lea eax, [ebp - 0x2bc]
push esi
push eax
push dword [0x453ed4]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x2bc]
lea ecx, [ebp - 0x1b8]
push eax
call fcn.0042a3b7
push ebx
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 7
call fcn.004016f0
push eax
push 0x44c804
lea ecx, [ebp - 0x1b8]
call fcn.0042a619
cmp eax, 1
je 0x424713
cmp dword [ebp - 0x70], ebx
mov esi, dword [0x4425a8]
je 0x424704
push dword [ebp - 0x70]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x70], ebx
push esi
push ebx
lea ecx, [ebp - 0x88]
call fcn.0040a110
jmp 0x424717
mov byte [ebp - 0xd], 1
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 4
call fcn.0042a4fc
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.00401915
cmp dword [ebp - 0x80], ebx
mov esi, 0x1b59
je 0x424793
lea eax, [ebp - 0x8c]
lea ecx, [ebp - 0x64]
push eax
call fcn.0040a785
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 8
call fcn.0040a962
test eax, eax
jne 0x42476f
mov esi, dword [0x453ec8]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.0040a802
jmp 0x4247d5
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + 0x78]
push ecx
lea ecx, [ebp - 0x64]
push dword [ebp - 0x38]
push dword [ebp - 0x34]
push eax
call fcn.0040ae6b
lea ecx, [ebp - 0x64]
mov esi, eax
mov byte [ebp - 4], 3
call fcn.0040a802
cmp byte [ebp - 0xd], bl
je 0x4247aa
lea ecx, [ebp - 0x8c]
call fcn.004016f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp byte [ebp + 0x30], bl
je 0x4247d5
lea ecx, [ebp - 0x30]
call fcn.00401972
push dword [0x453ed4]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
call fcn.004019a6
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.0040199f
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 1
call fcn.00401915
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0041c23a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401915
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret