Function at 0x48ac80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4be4ea
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4e2210]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x4e2210]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, edx
push esi
mov ebx, ecx
mov dword [esp + 0x44], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48adbf
mov eax, ebx
call fcn.0048b070
test eax, eax
jl 0x48adbf
push esi
lea ecx, [esp + 0x48]
mov dword [esp + 0x2c], 0x80004005
call fcn.004089f0
lea ecx, [esp + 0x44]
push ecx
xor edi, edi
lea ecx, [esp + 0x80]
mov dword [esp + 0xac], edi
call fcn.0048a4f0
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x64]
mov byte [esp + 0xac], 1
call fcn.00489f10
mov dword [esp + 0x14], edi
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa8], 3
call fcn.00401cb0
push eax
lea ecx, [esp + 0x30]
call fcn.004687a0
mov byte [esp + 0xa8], 4
mov edx, dword [ebx + 0xc]
mov ebx, dword [eax]
mov esi, dword [edx]
lea ecx, [esp + 0x14]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], ebx
mov ebx, dword [eax + 4]
mov dword [ecx + 4], ebx
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x24]
push edx
call ecx
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.00468840
cmp esi, edi
jge 0x48adc9
mov byte [esp + 0xa8], 2
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x48ada4
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x60]
call fcn.0042a190
lea ecx, [esp + 0x7c]
call fcn.0042a190
lea ecx, [esp + 0x44]
call fcn.0042a190
mov eax, 0x80004005
jmp 0x48b02d
mov dword [esp + 0x20], edi
mov byte [esp + 0xa8], 5
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x60]
call fcn.00401cb0
cmp eax, edi
jne 0x48ae4a
xor eax, eax
mov dword [esp + 0x10], eax
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0xac], 6
mov ecx, dword [esi]
push eax
mov eax, dword [ecx + 0x30]
push esi
call eax
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00425000
cmp esi, edi
jge 0x48ae63
mov byte [esp + 0xa8], 3
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x48ae29
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xa8], 2
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x48ada4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x48ada4
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x48adec
push 0x8007000e
call fcn.00404a90
mov dword [esp + 0x1c], edi
mov byte [esp + 0xa8], 7
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x58]
call eax
cmp eax, edi
jge 0x48aea5
mov byte [esp + 0xa8], 5
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x48ae11
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x48ae11
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp eax, edi
jl 0x48ae84
xor esi, esi
cmp dword [esp + 0x24], edi
jle 0x48afc6
lea ebx, [ebx]
mov dword [esp + 0x18], edi
mov ecx, esi
mov word [esp + 0x2c], 3
mov dword [esp + 0x34], ecx
mov byte [esp + 0xa8], 9
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
mov edi, dword [edx]
lea eax, [esp + 0x18]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x44]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [edi + 0x28]
mov dword [eax + 0xc], ecx
call edx
test eax, eax
lea ecx, [esp + 0x2c]
setl bl
call fcn.00468840
xor edi, edi
test bl, bl
jne 0x48afae
mov dword [esp + 0x10], edi
mov byte [esp + 0xa8], 0xa
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
cmp eax, edi
jl 0x48afa5
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x10]
push ecx
push edx
call fcn.0049d802
add esp, 8
test eax, eax
je 0x48af95
lea ecx, [esp + 0x10]
call fcn.00425000
mov byte [esp + 0xa8], 7
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x48af86
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
add esi, 1
cmp esi, dword [esp + 0x24]
jl 0x48aed0
jmp 0x48afc6
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push eax
call edx
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x10]
call fcn.00425000
mov byte [esp + 0xa8], 7
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x48afc6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xa8], 5
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x48afde
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xa8], 3
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x48aff6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xa8], 2
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x48b00e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x60]
call fcn.0042a190
lea ecx, [esp + 0x7c]
call fcn.0042a190
lea ecx, [esp + 0x44]
call fcn.0042a190
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0049d270
mov esp, ebp
pop ebp
ret 4