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

Disassembly:
push 0xffffffffffffffff
push 0x4a4a38
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4c7894]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c7894]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, 0xf
mov dword [esp + 0x88], ebx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov eax, dword [esp + 0x94]
mov ebp, 0x10
cmp dword [esp + 0xa8], ebp
mov byte [esp + 0x88], 1
jae 0x438533
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x4386df
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xb4]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov byte [esp + 0xb0], 2
mov byte [ecx + 4], bl
call fcn.00408230
lea ecx, [esp + 0x7c]
push ecx
call fcn.004380e0
add esp, 0x20
cmp al, bl
je 0x4386cc
lea ecx, [esp + 0x18]
call fcn.004735d0
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8c], 3
call fcn.00473e50
lea ecx, [esp + 0x18]
xor esi, esi
call fcn.004727d0
test eax, eax
jbe 0x438659
push esi
lea ecx, [esp + 0x1c]
call fcn.00472780
cmp dword [eax + 0x18], ebp
jb 0x4385d4
mov edi, dword [eax + 4]
jmp 0x4385d7
lea edi, [eax + 4]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x438640
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
cmp al, bl
jne 0x438640
push 0x4accdc
push esi
lea ecx, [esp + 0x20]
call fcn.00472780
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00418fe0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x94], 4
call fcn.00417970
cmp dword [esp + 0x40], ebp
mov byte [esp + 0x88], 3
jb 0x438640
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0047964d
add esp, 4
lea ecx, [esp + 0x18]
add esi, 1
call fcn.004727d0
cmp esi, eax
jb 0x4385c0
mov edi, 0xf
cmp dword [esp + 0x58], ebx
jne 0x43868b
cmp dword [esp + 0xa8], ebp
mov esi, dword [esp + 0x94]
jae 0x438676
lea esi, [esp + 0x94]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x4386bb
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4386bb
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xb4]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
lea esi, [esp + 0x6c]
mov byte [ecx + 4], bl
call fcn.00408230
mov ecx, esi
call fcn.00436810
add esp, 0x1c
lea ecx, [esp + 0x18]
mov byte [esp + 0x88], 2
call fcn.004735e0
cmp dword [esp + 0x78], ebp
jb 0x4386df
mov eax, dword [esp + 0x64]
push eax
call fcn.0047964d
add esp, 4
cmp dword [esp + 0x5c], ebp
jb 0x4386f2
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0047964d
add esp, 4
cmp dword [esp + 0xa8], ebp
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
jb 0x438717
mov edx, dword [esp + 0x94]
push edx
call fcn.0047964d
add esp, 4
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0047a194
add esp, 0x78
ret