Function at 0x48c230
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x50d670
lea eax, [ebp - 0x18]
xor ebx, ebx
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
xor eax, eax
lock cmpxchg dword [0x6d26f4], ebx
jne 0x48c297
push str.shell32.dll
call fcn.00436bb0
add esp, 4
test eax, eax
je 0x48c297
push 0x6776b2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x6d26f4], ecx
lea esi, [ebp - 0x256]
push 0x20a
push 0
push esi
call fcn.0061e8c0
add esp, 0xc
mov dword [ebp - 0x20], 0
xor eax, eax
lock cmpxchg dword [0x6d26f4], ebx
je 0x48c35f
mov ecx, eax
call dword [0x64689c]
lea eax, [ebp - 0x20]
push eax
push 0
push 0x400
push 0x6581ac
call ecx
xor ebx, ebx
test eax, eax
js 0x48c35f
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x48c35f
mov ecx, 0xfffffdf6
movzx edx, word [eax + ecx + 0x20a]
test dx, dx
je 0x48c319
mov word [ebp + ecx - 0x4c], dx
add ecx, 2
jne 0x48c2f0
mov word [ebp + ecx - 0x4e], 0
mov dword [ebp - 0x10], 0xffffffff
xor ebx, ebx
jmp 0x48c34e
mov word [ebp + ecx - 0x4c], 0
mov dword [ebp - 0x10], 0xffffffff
push esi
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x48c34c
mov eax, 0x105
nop word [eax + eax]
cmp word [esi], 0
je 0x48c375
add esi, 2
dec eax
jne 0x48c340
xor ebx, ebx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 0xffffffff
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, ebx
add esp, 0x24c
pop esi
pop edi
pop ebx
pop ebp
ret
xor edx, edx
nop word [eax + eax]
mov ecx, edx
movzx edx, word [edx + edx + str.Acrobat_DC_Set_Up.exe]
test dx, dx
je 0x48c3a5
mov word [esi + ecx*2], dx
lea edx, [ecx + 1]
cmp eax, edx
jne 0x48c380
mov word [esi + ecx*2], 0
jmp 0x48c30e
mov word [esi + ecx*2], 0
lea esi, [ebp - 0x256]
mov dword [ebp - 0x10], 0xffffffff
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48c34c
lea ecx, [ebp - 0x4c]
call fcn.005e6f10
mov dword [ebp - 0x10], 1
push esi
call fcn.005f8360
add esp, 4
test al, al
je 0x48c424
lea edi, [ebp - 0x256]
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], 0
push edi
call fcn.005d3244
add esp, 4
mov esi, eax
cmp eax, 7
jbe 0x48c428
sub esp, 0xc
mov al, byte [ebp - 0x24]
lea ecx, [ebp - 0x3c]
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], esi
call fcn.00405590
jmp 0x48c444
xor ebx, ebx
jmp 0x48c497
mov eax, esi
mov dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x3c]
add eax, esi
push eax
push edi
push ecx
call fcn.0061e340
add esp, 0xc
mov word [ebp + esi*2 - 0x3c], 0
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x10], 2
push 0
push 0x278d00
push eax
call fcn.00509b70
add esp, 0xc
mov ecx, dword [ebp - 0x28]
mov ebx, eax
cmp ecx, 8
jb 0x48c497
mov eax, dword [ebp - 0x3c]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x48c48d
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x48c4ab
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
lea ecx, [ebp - 0x4c]
call fcn.005e7670
mov dword [ebp - 0x10], 0xffffffff
jmp 0x48c34e
mov dword [ebp - 0x10], 0
call fcn.006207e0
nop word [eax + eax]
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
mov ecx, dword [ebp - 0x28]
cmp ecx, 8
jb 0x48c50e
mov eax, dword [ebp - 0x3c]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x48c504
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x48c527
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], 0
add esp, 0x10
pop ebp
ret
call fcn.006207e0
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
lea ecx, [ebp - 0x4c]
call fcn.005e7670
add esp, 0x10
pop ebp
ret