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

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x6c
push 0xffffffffffffffff
push 0x496803
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x4b0650]
xor eax, ebp
mov dword [ebp + 0x68], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x14], ebx
je 0x45e538
cmp dword [edi + 0x18], 0x10
lea esi, [edi + 4]
jb 0x45e010
mov eax, dword [esi]
jmp 0x45e012
mov eax, esi
cmp eax, ebx
je 0x45e04f
cmp byte [eax], bl
je 0x45e04f
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x45e04f
test al, 0x10
jne 0x45e04f
cmp dword [edi + 0x18], 0x10
jb 0x45e032
mov esi, dword [esi]
cmp esi, ebx
je 0x45e538
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, 1
sete al
cmp al, bl
je 0x45e538
push edi
lea ecx, [ebp + 0x3c]
mov dword [ebp - 4], ebx
call fcn.00437450
lea ecx, [ebp + 0x3c]
mov byte [ebp - 4], 1
call fcn.00436e90
cmp al, bl
je 0x45e52d
push 1
push 3
lea ecx, [ebp - 0x98]
call fcn.00407ff0
lea eax, [ebp - 0x90]
push 0x49ca40
push eax
mov byte [ebp - 4], 2
call fcn.0042d5c0
add esp, 8
push 9
push eax
call fcn.0045dd70
add esp, 8
push 6
mov ecx, eax
call fcn.0042dd50
push 9
push eax
call fcn.0045dd70
mov ecx, dword [0x4b2d14]
add esp, 8
push ecx
mov ecx, eax
call fcn.0042d460
push 0x49b624
push eax
call fcn.0042d5c0
add esp, 8
lea edx, [ebp - 0x90]
push str.DPNH
push edx
call fcn.0042d5c0
add esp, 8
push 9
push eax
call fcn.0045dd70
add esp, 8
push 6
mov ecx, eax
call fcn.0042dd50
push 9
push eax
call fcn.0045dd70
mov ecx, dword [0x4b2d18]
add esp, 8
push ecx
mov ecx, eax
call fcn.0042d460
push 0x49b624
push eax
call fcn.0042d5c0
add esp, 8
lea edx, [ebp - 0x90]
push str.SDPC
push edx
call fcn.0042d5c0
add esp, 8
push 9
push eax
call fcn.0045dd70
add esp, 8
push 6
mov ecx, eax
call fcn.0042dd50
push 9
push eax
call fcn.0045dd70
mov ecx, dword [0x4b2d1c]
add esp, 8
push ecx
mov ecx, eax
call fcn.0042d460
push 0x49b624
push eax
call fcn.0042d5c0
add esp, 8
push str.SEPC
lea edx, [ebp - 0x90]
push edx
call fcn.0042d5c0
add esp, 8
push 9
push eax
call fcn.0045dd70
add esp, 8
push 6
mov ecx, eax
call fcn.0042dd50
push 9
push eax
call fcn.0045dd70
mov ecx, dword [0x4b2d20]
add esp, 8
push ecx
mov ecx, eax
call fcn.0042d460
push 0x49b624
push eax
call fcn.0042d5c0
add esp, 8
lea edx, [ebp - 0x90]
push str.MWSFMH
push edx
call fcn.0042d5c0
add esp, 8
push 9
push eax
call fcn.0045dd70
add esp, 8
push 6
mov ecx, eax
call fcn.0042dd50
push 9
push eax
call fcn.0045dd70
mov ecx, dword [0x4b2d24]
add esp, 8
push ecx
mov ecx, eax
call fcn.0042d460
push 0x49b624
push eax
call fcn.0042d5c0
add esp, 8
lea edx, [ebp - 0x90]
push str.MWSFTH
push edx
call fcn.0042d5c0
add esp, 8
push 9
push eax
call fcn.0045dd70
add esp, 8
push 6
mov ecx, eax
call fcn.0042dd50
push 9
push eax
call fcn.0045dd70
mov ecx, dword [0x4b2d28]
add esp, 8
push ecx
mov ecx, eax
call fcn.0042d460
push 0x49b624
push eax
call fcn.0042d5c0
add esp, 8
lea edx, [ebp - 0x90]
push str.SWSC
push edx
call fcn.0042d5c0
add esp, 8
push 9
push eax
call fcn.0045dd70
add esp, 8
push 6
mov ecx, eax
call fcn.0042dd50
push 9
push eax
call fcn.0045dd70
mov ecx, dword [0x4b2d2c]
add esp, 8
push ecx
mov ecx, eax
call fcn.0042d460
push 0x49b624
push eax
call fcn.0042d5c0
add esp, 8
lea edx, [ebp - 0x90]
push str.AWSC
push edx
call fcn.0042d5c0
add esp, 8
push 9
push eax
call fcn.0045dd70
add esp, 8
push 6
mov ecx, eax
call fcn.0042dd50
push 9
push eax
call fcn.0045dd70
mov ecx, dword [0x4b2d30]
add esp, 8
push ecx
mov ecx, eax
call fcn.0042d460
push 0x49b624
push eax
call fcn.0042d5c0
add esp, 8
lea edx, [ebp - 0x90]
push str.AWSFMH
push edx
call fcn.0042d5c0
add esp, 8
push 9
push eax
call fcn.0045dd70
add esp, 8
push 6
mov ecx, eax
call fcn.0042dd50
push 9
push eax
call fcn.0045dd70
mov ecx, dword [0x4b2d34]
add esp, 8
push ecx
mov ecx, eax
call fcn.0042d460
push 0x49b624
push eax
call fcn.0042d5c0
add esp, 8
lea edx, [ebp - 0x90]
push 0x49c9fc
push edx
call fcn.0042d5c0
add esp, 8
push 9
push eax
call fcn.0045dd70
add esp, 8
push 6
mov ecx, eax
call fcn.0042dd50
push 9
push eax
call fcn.0045dd70
mov ecx, dword [0x4b2d38]
add esp, 8
push ecx
mov ecx, eax
call fcn.0042d460
push 0x49b624
push eax
call fcn.0042d5c0
add esp, 8
lea edx, [ebp - 0x90]
push 0x49c9f8
push edx
call fcn.0042d5c0
add esp, 8
push 9
push eax
call fcn.0045dd70
add esp, 8
push 6
mov ecx, eax
call fcn.0042dd50
push 9
push eax
call fcn.0045dd70
mov ecx, dword [0x4b2d3c]
add esp, 8
push ecx
mov ecx, eax
call fcn.0042d460
push 0x49b624
push eax
call fcn.0042d5c0
add esp, 8
lea edx, [ebp - 0x90]
push 0x49c9f4
push edx
call fcn.0042d5c0
add esp, 8
push 9
push eax
call fcn.0045dd70
add esp, 8
push 2
mov ecx, eax
call fcn.0042dd50
push 9
push eax
call fcn.0045dd70
movzx ecx, byte [0x4b2d40]
add esp, 8
push ecx
mov ecx, eax
call fcn.0042dbf0
push 0x49b624
push eax
call fcn.0042d5c0
add esp, 8
lea edx, [ebp - 0x90]
push 0x49c9f0
push edx
call fcn.0042d5c0
add esp, 8
push 9
push eax
call fcn.0045dd70
add esp, 8
push 2
mov ecx, eax
call fcn.0042dd50
push 9
push eax
call fcn.0045dd70
movzx ecx, byte [0x4b2d41]
add esp, 8
push ecx
mov ecx, eax
call fcn.0042dbf0
push 0x49b624
push eax
call fcn.0042d5c0
add esp, 8
lea edx, [ebp + 0x1c]
push edx
lea ecx, [ebp - 0x98]
mov dword [ebp + 0x38], ebx
call fcn.00405730
mov esi, eax
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 3
call fcn.00405730
mov esi, dword [esi + 0x14]
mov edi, 0x10
cmp dword [eax + 0x18], edi
mov byte [ebp - 4], 4
jb 0x45e4c4
mov eax, dword [eax + 4]
jmp 0x45e4c7
add eax, 4
lea ecx, [ebp + 0x38]
push ecx
push esi
push eax
lea ecx, [ebp + 0x3c]
call fcn.00437000
cmp dword [ebp + 0x18], edi
jb 0x45e4e6
mov edx, dword [ebp + 4]
push edx
call fcn.004604e8
add esp, 4
cmp dword [ebp + 0x34], edi
mov esi, 0xf
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x14], ebx
mov byte [ebp + 4], bl
jb 0x45e505
mov eax, dword [ebp + 0x20]
push eax
call fcn.004604e8
add esp, 4
lea ecx, [ebp - 0x44]
mov dword [ebp + 0x34], esi
mov dword [ebp + 0x30], ebx
mov byte [ebp + 0x20], bl
mov byte [ebp - 4], 1
call fcn.004035e0
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x44], 0x49a288
call fcn.0047bd82
add esp, 4
lea ecx, [ebp + 0x3c]
mov byte [ebp - 4], bl
call fcn.004371a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x68]
xor ecx, ebp
call fcn.004604af
add ebp, 0x6c
mov esp, ebp
pop ebp
ret