Function at 0x482660
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x533a94]
xor eax, ebp
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0xc]
call fcn.0041dbb0
mov dword [ebp - 0x14], 2
push 0x20019
push 0x508378
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xc]
call fcn.0041de00
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4826a4
jmp 0x4826ec
push 0x20019
push 0x5082f8
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xc]
call fcn.0041de00
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4826c6
jmp 0x4826ec
push 0x20019
push 0x508278
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xc]
call fcn.0041de00
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4826e8
jmp 0x4826ec
xor eax, eax
jne 0x482682
push 0x208
push 0
lea ecx, [ebp - 0x228]
push ecx
call fcn.004c1bc0
add esp, 0xc
mov dword [ebp - 0x18], 0x104
cmp dword [ebp - 0x14], 0
jne 0x48274f
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x228]
push eax
push 0
lea ecx, [ebp - 0xc]
call fcn.00467f50
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x48274a
mov dword [ebp - 0x22c], 0
lea ecx, [ebp - 0xc]
call fcn.0041dbe0
mov eax, dword [ebp - 0x22c]
jmp 0x48292a
jmp 0x48282e
push 0x20019
push 0x508200
push SysReAllocString
lea ecx, [ebp - 0xc]
call fcn.0041de00
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x482771
jmp 0x4827b9
push 0x20019
push 0x508188
push SysReAllocString
lea ecx, [ebp - 0xc]
call fcn.0041de00
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x482793
jmp 0x4827b9
push 0x20019
push 0x508110
push SysReAllocString
lea ecx, [ebp - 0xc]
call fcn.0041de00
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4827b5
jmp 0x4827b9
xor ecx, ecx
jne 0x48274f
cmp dword [ebp - 0x14], 0
je 0x4827de
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0xc]
call fcn.0041dbe0
mov eax, dword [ebp - 0x230]
jmp 0x48292a
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x228]
push eax
push 0x5080f0
lea ecx, [ebp - 0xc]
call fcn.00467f50
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x48281c
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 0xc]
call fcn.0041dbe0
mov eax, dword [ebp - 0x234]
jmp 0x48292a
push 0x5080dc
lea ecx, [ebp - 0x228]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x228]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48285c
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0xc]
call fcn.0041dbe0
mov eax, dword [ebp - 0x238]
jmp 0x48292a
push 0
lea eax, [ebp - 0x228]
push eax
call fcn.00402050
test eax, eax
jne 0x48288b
mov dword [ebp - 0x23c], 0
lea ecx, [ebp - 0xc]
call fcn.0041dbe0
mov eax, dword [ebp - 0x23c]
jmp 0x48292a
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x228]
push eax
call fcn.00464c50
add esp, 0xc
test eax, eax
jne 0x4828ce
mov dword [ebp - 0x240], 0
lea ecx, [ebp - 0xc]
call fcn.0041dbe0
mov eax, dword [ebp - 0x240]
jmp 0x48292a
push 0x6a
push 0x60001
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00466350
add esp, 0x10
test eax, eax
jge 0x482903
mov dword [ebp - 0x244], 0
lea ecx, [ebp - 0xc]
call fcn.0041dbe0
mov eax, dword [ebp - 0x244]
jmp 0x48292a
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [ebp + 8]
call fcn.004174b0
mov dword [ebp - 0x248], 1
lea ecx, [ebp - 0xc]
call fcn.0041dbe0
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004c1753
mov esp, ebp
pop ebp
ret