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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53edb6b
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x54183c4]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push esi
push edi
mov eax, dword [0x54183c4]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 4]
mov ebx, 0x10
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], 0x80004005
cmp dword [esi + 0x14], ebx
jb 0x53df7e7
mov eax, dword [esi]
jmp 0x53df7e9
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x53df900
cmp dword [esi + 0x14], ebx
jb 0x53df802
mov eax, dword [esi]
jmp 0x53df804
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x53df900
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea eax, [esp + 0x1c]
push eax
call fcn.052e1430
mov dword [esp + 0x100], 0
cmp dword [esi + 0x14], 0x10
jb 0x53df83a
mov eax, dword [esi]
jmp 0x53df83c
mov eax, esi
push ebx
push ecx
push str._:
push ecx
push eax
push ecx
lea ecx, [esp + 0x34]
push 0x5403de4
push ecx
call fcn.052e8240
add esp, 0xc
push eax
call fcn.052e22b0
add esp, 0xc
push eax
call fcn.052e8240
add esp, 0xc
push eax
call fcn.052e5ee0
mov eax, dword [0x5419944]
cmp eax, 0x5419944
je 0x53df8c4
test byte [eax + 0x1c], 1
je 0x53df8c4
cmp byte [eax + 0x19], 2
jb 0x53df8c4
lea ecx, [esp + 0xb8]
lea eax, [esp + 0x1c]
call fcn.052e1510
cmp dword [eax + 0x14], 8
mov ebx, 1
jb 0x53df8a5
mov eax, dword [eax]
push eax
mov eax, dword [0x5419944]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
push 0x53f96d8
push 0xa
push edx
push eax
call fcn.052e1190
add esp, 0x14
jmp 0x53df8c8
mov bl, byte [esp + 0x14]
test bl, 1
je 0x53df8e7
cmp dword [esp + 0xcc], 8
jb 0x53df8e7
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.053504e7
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x100], 0xffffffff
call fcn.052e1350
mov ebx, 0x10
cmp dword [esi + 0x14], ebx
jb 0x53df907
mov esi, dword [esi]
push 0
push 6
lea ebx, [edi + 0x20]
push ebx
push esi
call fcn.053c0a20
xor esi, esi
add esp, 0x10
cmp dword [ebx], esi
je 0x53dfab6
push 0x16
xor edx, edx
push 0x5403de8
lea ecx, [esp + 0xdc]
mov dword [esp + 0x1c], esi
mov dword [esp + 0xf0], 7
mov dword [esp + 0xec], esi
mov word [esp + 0xdc], dx
call fcn.052e5800
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0xbc]
push ecx
mov dword [esp + 0x108], 1
call fcn.053de790
add esp, 8
mov byte [esp + 0x100], 3
cmp dword [esp + 0xe8], 8
jb 0x53df99a
mov edx, dword [esp + 0xd4]
push edx
call fcn.053504e7
add esp, 4
xor eax, eax
cmp dword [esp + 0xcc], 0x10
mov word [esp + 0xd4], ax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xe8], 7
mov dword [esp + 0xe4], esi
jae 0x53df9ce
lea eax, [esp + 0xb8]
mov edx, dword [esp + 0xc8]
push esi
lea ecx, [esp + 0x18]
push ecx
push esi
push 1
push edx
push eax
mov eax, dword [ebx]
push eax
call fcn.053de330
mov ecx, dword [esp + 0x30]
add esp, 0x1c
push ecx
call fcn.053c7300
mov eax, dword [edi + 0x24]
mov ebx, dword [eax]
add esp, 4
cmp ebx, eax
jne 0x53dfa47
mov edi, dword [esp + 0x10]
cmp dword [esp + 0xcc], 0x10
jb 0x53dfa1f
mov eax, dword [esp + 0xb8]
push eax
call fcn.053504e7
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.0534fc81
mov esp, ebp
pop ebp
ret
mov edi, esi
mov esi, dword [ebx + 8]
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov edi, dword [edi]
mov ecx, esi
call eax
mov edx, dword [esi]
push eax
mov eax, dword [edx]
mov ecx, esi
call eax
mov esi, dword [esp + 0x1c]
mov edx, dword [edi + 4]
push eax
mov ecx, esi
call edx
mov edi, eax
test edi, edi
js 0x53dfa79
mov ebx, dword [ebx]
cmp ebx, dword [esi + 0x24]
jne 0x53dfa45
jmp 0x53dfa05
mov eax, dword [0x5419944]
cmp eax, 0x5419944
je 0x53dfa05
test byte [eax + 0x1c], 1
je 0x53dfa05
cmp byte [eax + 0x19], 2
jb 0x53dfa05
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
push edi
push 0x53f96d8
push 0xb
push ecx
push edx
call fcn.052ed6e0
add esp, 0x14
jmp 0x53dfa05
mov ecx, dword [0x5419944]
cmp ecx, 0x5419944
je 0x53dfae8
test byte [ecx + 0x1c], 1
je 0x53dfae8
cmp byte [ecx + 0x19], 2
jb 0x53dfae8
mov edx, dword [ecx + 0x14]
push eax
mov eax, dword [ecx + 0x10]
push 0x53f96d8
push 0xc
push edx
push eax
call fcn.052ed6e0
add esp, 0x14
mov eax, dword [esp + 0x10]
jmp 0x53dfa21