Function at 0x48cf73
Capabilities:
Check if file exists

Disassembly:
push 0x44
mov eax, 0x5d16eb
call fcn.00506dc7
xor ebx, ebx
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
call fcn.0042ca82
xor esi, esi
lea ecx, [ebp - 0x50]
inc esi
mov dword [ebp - 4], esi
call fcn.0042ca82
mov byte [ebp - 4], 2
call fcn.0041279d
mov edi, dword [ebp + 8]
mov ecx, edi
push eax
call fcn.00411d94
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esi
push 0x601ae0
call fcn.00413f09
push SysReAllocString
lea ecx, [ebp - 0x38]
call fcn.0043fb03
test eax, eax
je 0x48d07f
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x601b1c
call fcn.00413f09
push ecx
mov ecx, esp
mov byte [ebp - 4], 3
push 0x601b34
call fcn.00413f09
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x38]
call fcn.00434880
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 4
cmp dword [eax - 0xc], ebx
je 0x48d069
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x601be0
call fcn.00413f09
push ecx
mov esi, esp
mov byte [ebp - 4], 5
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00412393
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x18]
pop ecx
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.00434114
push eax
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.00411f3a
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
jmp 0x48d070
mov ecx, edi
call fcn.004124d1
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00412ac4
mov eax, dword [edi]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp dword [eax - 0xc], 0
je 0x48d098
push eax
call ebx
test eax, eax
jne 0x48d165
push 0
push ecx
mov ecx, esp
push 0x601d1c
call fcn.00413f09
push SysReAllocString
lea ecx, [ebp - 0x38]
call fcn.0043fb03
test eax, eax
je 0x48d165
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x601d4c
call fcn.00413f09
push ecx
mov ecx, esp
mov byte [ebp - 4], 7
push 0x601dd8
call fcn.00413f09
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x38]
call fcn.00434880
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 8
cmp dword [eax - 0xc], 0
je 0x48d14f
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x601ec0
call fcn.00413f09
push ecx
mov esi, esp
mov byte [ebp - 4], 9
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00412393
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x18]
pop ecx
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 8
call fcn.00434114
push eax
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.00411f3a
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
jmp 0x48d156
mov ecx, edi
call fcn.004124d1
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00412ac4
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x48d178
push eax
call ebx
test eax, eax
jne 0x48d241
push 0
push ecx
mov ecx, esp
push 0x601f7c
call fcn.00413f09
push SysReAllocString
lea ecx, [ebp - 0x38]
call fcn.0043fb03
test eax, eax
je 0x48d241
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x601fd8
call fcn.00413f09
push ecx
mov ecx, esp
mov byte [ebp - 4], 0xb
push 0x60201c
call fcn.00413f09
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x38]
call fcn.00434880
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0xc
cmp dword [eax - 0xc], 0
je 0x48d22f
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x60216c
call fcn.00413f09
push ecx
mov esi, esp
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00412393
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x18]
pop ecx
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xc
call fcn.00434114
push eax
mov ecx, edi
mov byte [ebp - 4], 0xe
call fcn.00411f3a
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
jmp 0x48d236
mov ecx, edi
call fcn.004124d1
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea ecx, [ebp - 0x50]
call fcn.0042e60b
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.00412ac4
lea ecx, [ebp - 0x38]
call fcn.0042e60b
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00412ac4
mov eax, edi
call fcn.00506d90
ret