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

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x6c
push 0xffffffffffffffff
push 0x4964d3
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 0x45e288
cmp dword [edi + 0x18], 0x10
lea esi, [edi + 4]
jb 0x45dd60
mov eax, dword [esi]
jmp 0x45dd62
mov eax, esi
cmp eax, ebx
je 0x45dd9f
cmp byte [eax], bl
je 0x45dd9f
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x45dd9f
test al, 0x10
jne 0x45dd9f
cmp dword [edi + 0x18], 0x10
jb 0x45dd82
mov esi, dword [esi]
cmp esi, ebx
je 0x45e288
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, 1
sete al
cmp al, bl
je 0x45e288
push edi
lea ecx, [ebp + 0x3c]
mov dword [ebp - 4], ebx
call fcn.004377c0
lea ecx, [ebp + 0x3c]
mov byte [ebp - 4], 1
call fcn.00437200
cmp al, bl
je 0x45e27d
push 1
push 3
lea ecx, [ebp - 0x98]
call fcn.00407f40
lea eax, [ebp - 0x90]
push 0x49ca2c
push eax
mov byte [ebp - 4], 2
call fcn.00425cc0
add esp, 8
push 9
push eax
call fcn.0045dac0
add esp, 8
push 6
mov ecx, eax
call fcn.0042df20
push 9
push eax
call fcn.0045dac0
mov ecx, dword [0x4b2d14]
add esp, 8
push ecx
mov ecx, eax
call fcn.0042d840
push 0x49b64c
push eax
call fcn.00425cc0
add esp, 8
lea edx, [ebp - 0x90]
push str.DPNH
push edx
call fcn.00425cc0
add esp, 8
push 9
push eax
call fcn.0045dac0
add esp, 8
push 6
mov ecx, eax
call fcn.0042df20
push 9
push eax
call fcn.0045dac0
mov ecx, dword [0x4b2d18]
add esp, 8
push ecx
mov ecx, eax
call fcn.0042d840
push 0x49b64c
push eax
call fcn.00425cc0
add esp, 8
lea edx, [ebp - 0x90]
push str.SDPC
push edx
call fcn.00425cc0
add esp, 8
push 9
push eax
call fcn.0045dac0
add esp, 8
push 6
mov ecx, eax
call fcn.0042df20
push 9
push eax
call fcn.0045dac0
mov ecx, dword [0x4b2d1c]
add esp, 8
push ecx
mov ecx, eax
call fcn.0042d840
push 0x49b64c
push eax
call fcn.00425cc0
add esp, 8
push str.SEPC
lea edx, [ebp - 0x90]
push edx
call fcn.00425cc0
add esp, 8
push 9
push eax
call fcn.0045dac0
add esp, 8
push 6
mov ecx, eax
call fcn.0042df20
push 9
push eax
call fcn.0045dac0
mov ecx, dword [0x4b2d20]
add esp, 8
push ecx
mov ecx, eax
call fcn.0042d840
push 0x49b64c
push eax
call fcn.00425cc0
add esp, 8
lea edx, [ebp - 0x90]
push str.MWSFMH
push edx
call fcn.00425cc0
add esp, 8
push 9
push eax
call fcn.0045dac0
add esp, 8
push 6
mov ecx, eax
call fcn.0042df20
push 9
push eax
call fcn.0045dac0
mov ecx, dword [0x4b2d24]
add esp, 8
push ecx
mov ecx, eax
call fcn.0042d840
push 0x49b64c
push eax
call fcn.00425cc0
add esp, 8
lea edx, [ebp - 0x90]
push str.MWSFTH
push edx
call fcn.00425cc0
add esp, 8
push 9
push eax
call fcn.0045dac0
add esp, 8
push 6
mov ecx, eax
call fcn.0042df20
push 9
push eax
call fcn.0045dac0
mov ecx, dword [0x4b2d28]
add esp, 8
push ecx
mov ecx, eax
call fcn.0042d840
push 0x49b64c
push eax
call fcn.00425cc0
add esp, 8
lea edx, [ebp - 0x90]
push str.SWSC
push edx
call fcn.00425cc0
add esp, 8
push 9
push eax
call fcn.0045dac0
add esp, 8
push 6
mov ecx, eax
call fcn.0042df20
push 9
push eax
call fcn.0045dac0
mov ecx, dword [0x4b2d2c]
add esp, 8
push ecx
mov ecx, eax
call fcn.0042d840
push 0x49b64c
push eax
call fcn.00425cc0
add esp, 8
lea edx, [ebp - 0x90]
push str.AWSC
push edx
call fcn.00425cc0
add esp, 8
push 9
push eax
call fcn.0045dac0
add esp, 8
push 6
mov ecx, eax
call fcn.0042df20
push 9
push eax
call fcn.0045dac0
mov ecx, dword [0x4b2d30]
add esp, 8
push ecx
mov ecx, eax
call fcn.0042d840
push 0x49b64c
push eax
call fcn.00425cc0
add esp, 8
lea edx, [ebp - 0x90]
push str.AWSFMH
push edx
call fcn.00425cc0
add esp, 8
push 9
push eax
call fcn.0045dac0
add esp, 8
push 6
mov ecx, eax
call fcn.0042df20
push 9
push eax
call fcn.0045dac0
mov ecx, dword [0x4b2d34]
add esp, 8
push ecx
mov ecx, eax
call fcn.0042d840
push 0x49b64c
push eax
call fcn.00425cc0
add esp, 8
lea edx, [ebp - 0x90]
push 0x49c9e8
push edx
call fcn.00425cc0
add esp, 8
push 9
push eax
call fcn.0045dac0
add esp, 8
push 6
mov ecx, eax
call fcn.0042df20
push 9
push eax
call fcn.0045dac0
mov ecx, dword [0x4b2d38]
add esp, 8
push ecx
mov ecx, eax
call fcn.0042d840
push 0x49b64c
push eax
call fcn.00425cc0
add esp, 8
lea edx, [ebp - 0x90]
push 0x49c9e4
push edx
call fcn.00425cc0
add esp, 8
push 9
push eax
call fcn.0045dac0
add esp, 8
push 6
mov ecx, eax
call fcn.0042df20
push 9
push eax
call fcn.0045dac0
mov ecx, dword [0x4b2d3c]
add esp, 8
push ecx
mov ecx, eax
call fcn.0042d840
push 0x49b64c
push eax
call fcn.00425cc0
add esp, 8
lea edx, [ebp - 0x90]
push 0x49c9e0
push edx
call fcn.00425cc0
add esp, 8
push 9
push eax
call fcn.0045dac0
add esp, 8
push 2
mov ecx, eax
call fcn.0042df20
push 9
push eax
call fcn.0045dac0
movzx ecx, byte [0x4b2d40]
add esp, 8
push ecx
mov ecx, eax
call fcn.0042ddc0
push 0x49b64c
push eax
call fcn.00425cc0
add esp, 8
lea edx, [ebp - 0x90]
push 0x49c9dc
push edx
call fcn.00425cc0
add esp, 8
push 9
push eax
call fcn.0045dac0
add esp, 8
push 2
mov ecx, eax
call fcn.0042df20
push 9
push eax
call fcn.0045dac0
movzx ecx, byte [0x4b2d41]
add esp, 8
push ecx
mov ecx, eax
call fcn.0042ddc0
push 0x49b64c
push eax
call fcn.00425cc0
add esp, 8
lea edx, [ebp + 0x1c]
push edx
lea ecx, [ebp - 0x98]
mov dword [ebp + 0x38], ebx
call fcn.00405650
mov esi, eax
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 3
call fcn.00405650
mov esi, dword [esi + 0x14]
mov edi, 0x10
cmp dword [eax + 0x18], edi
mov byte [ebp - 4], 4
jb 0x45e214
mov eax, dword [eax + 4]
jmp 0x45e217
add eax, 4
lea ecx, [ebp + 0x38]
push ecx
push esi
push eax
lea ecx, [ebp + 0x3c]
call fcn.00437370
cmp dword [ebp + 0x18], edi
jb 0x45e236
mov edx, dword [ebp + 4]
push edx
call fcn.00460238
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 0x45e255
mov eax, dword [ebp + 0x20]
push eax
call fcn.00460238
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.004034d0
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x44], 0x49a288
call fcn.0047bad2
add esp, 4
lea ecx, [ebp + 0x3c]
mov byte [ebp - 4], bl
call fcn.00437510
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.004601ff
add ebp, 0x6c
mov esp, ebp
pop ebp
ret