Function at 0x4acb00
Capabilities:
Check if file exists
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x502a74
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x27c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x294]
mov eax, dword [esp + 0x28c]
xor ebp, ebp
mov dword [esp + 0x14], eax
cmp eax, ebp
je 0x4ad1f1
mov dword [esp + 0x30], ebp
lea eax, [esp + 0x30]
push eax
push 0x50dc6c
push 0x17
push ebp
push 0x50dc7c
mov dword [esp + 0x298], ebp
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [esp + 0x30]
test eax, eax
jl 0x4ad1da
cmp ecx, ebp
je 0x4ad1da
mov edi, dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edx, 3
mov word [esp + 0x4c], dx
mov dword [esp + 0x54], ebp
mov esi, dword [esp + 0x4c]
mov edx, dword [ecx]
lea eax, [esp + 0x60]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x64]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x68]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x6c]
push ecx
mov ecx, dword [edx + 0x20]
mov dword [eax + 0xc], esi
call ecx
test eax, eax
jne 0x4ad1bd
mov dword [esp + 0x18], ebp
mov byte [esp + 0x284], 1
mov eax, dword [esp + 0x60]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x18]
push ecx
push 0x50dc5c
push eax
call edx
test eax, eax
mov eax, dword [esp + 0x18]
jl 0x4ace98
cmp eax, ebp
je 0x4ace98
mov dword [esp + 0x20], ebp
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x288], 2
mov ecx, dword [eax]
push 0x50dc8c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
mov eax, dword [esp + 0x20]
jl 0x4ace8e
cmp eax, ebp
je 0x4ace8e
mov dword [esp + 0x24], ebp
lea edx, [esp + 0x24]
push edx
push 0x50db6c
mov byte [esp + 0x28c], 3
mov ecx, dword [eax]
push 0x50dbac
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
mov eax, dword [esp + 0x24]
jl 0x4ace84
cmp eax, ebp
je 0x4ace84
mov dword [esp + 0x1c], ebp
lea edx, [esp + 0x1c]
mov byte [esp + 0x284], 4
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
test eax, eax
mov eax, dword [esp + 0x1c]
jl 0x4ace7a
cmp eax, ebp
je 0x4ace7a
mov dword [esp + 0x28], ebp
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x288], 5
mov ecx, dword [eax]
push 0x50dbcc
push eax
mov eax, dword [ecx]
call eax
test eax, eax
mov eax, dword [esp + 0x28]
jl 0x4ace70
cmp eax, ebp
je 0x4ace70
mov dword [esp + 0x2c], ebp
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x288], 6
mov ecx, dword [eax]
push 0x50dbbc
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
mov eax, dword [esp + 0x2c]
jl 0x4ace63
cmp eax, ebp
je 0x4ace63
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jl 0x4acddd
cmp dword [esp + 0x38], ebp
je 0x4acddd
push 0x206
lea edx, [esp + 0x72]
xor ecx, ecx
push ebp
push edx
xor esi, esi
mov word [esp + 0x78], cx
call fcn.004e8fe0
mov ecx, dword [esp + 0x20]
add esp, 0xc
lea eax, [esp + 0x34]
push eax
call fcn.00401640
lea ecx, [esp + 0x6c]
mov byte [esp + 0x284], 7
mov edx, dword [esp + 0x38]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4acdc5
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x70]
push ecx
call fcn.004e4707
add esp, 8
test eax, eax
je 0x4acdc0
lea eax, [esp + 0x6c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4acd86
sub eax, edx
sar eax, 1
cmp eax, ebp
jle 0x4acdaa
cmp word [esp + eax*2 + 0x6a], 0x5c
lea eax, [esp + eax*2 + 0x6a]
jne 0x4acdaa
xor edx, edx
mov word [eax], dx
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x70]
push ecx
call fcn.004e4707
add esp, 8
test eax, eax
jne 0x4acdc5
mov esi, 1
mov edx, dword [esp + 0x38]
push edx
call edi
cmp esi, ebp
jne 0x4aceb9
lea ecx, [esp + 0x34]
call fcn.004016f0
mov byte [esp + 0x284], 5
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x4acdf5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x284], 4
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x4ace0d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x284], 3
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x4ace25
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x284], 2
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x4ace3d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x284], 1
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x4ace55
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x284], 0
mov eax, dword [esp + 0x18]
jmp 0x4acea0
mov byte [esp + 0x284], 5
jmp 0x4acde9
mov byte [esp + 0x284], 4
jmp 0x4ace01
mov byte [esp + 0x284], 3
jmp 0x4ace19
mov byte [esp + 0x284], 2
jmp 0x4ace31
mov byte [esp + 0x284], 1
jmp 0x4ace49
mov byte [esp + 0x284], 0
cmp eax, ebp
je 0x4aceac
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
inc dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
jmp 0x4acba2
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x5c]
push edx
push eax
mov eax, dword [ecx + 0x94]
call eax
mov eax, dword [esp + 0x5c]
mov esi, eax
cmp eax, ebp
je 0x4acef0
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4acef0
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
lea esi, [esp + 0x3c]
mov edi, ebx
call fcn.0041c960
lea esi, [esp + 0x44]
call fcn.0041ca30
mov esi, eax
lea edi, [esp + 0x3c]
call fcn.00424120
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test al, al
je 0x4acffe
mov bl, 8
nop
lea esi, [esp + 0x14]
call fcn.004048a0
mov byte [esp + 0x284], bl
mov edi, dword [esp + 0x34]
lea esi, [esp + 0x3c]
call fcn.004761f0
mov ecx, dword [eax]
push ecx
push edi
push 0x512580
lea edi, [esp + 0x20]
call fcn.00404890
add esp, 0xc
push 0x511ddc
push 0x517bb4
mov edx, edi
push edx
call fcn.0041e6f0
mov esi, dword [esp + 0x14]
push esi
call ebp
test eax, eax
jne 0x4acfb0
mov ecx, edi
mov byte [esp + 0x284], 7
call fcn.004016f0
lea edi, [esp + 0x64]
lea esi, [esp + 0x3c]
call fcn.0041c1f0
mov edi, dword [esp + 0x294]
lea esi, [esp + 0x44]
call fcn.0041ca30
mov esi, eax
lea edi, [esp + 0x3c]
call fcn.00424120
test al, al
jne 0x4acf20
jmp 0x4acffe
push esi
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
mov esi, eax
mov dword [esp + 0x3c], esi
push esi
mov byte [esp + 0x288], 9
call dword [sym.imp.SHELL32.dll_ILFindLastID]
test eax, eax
je 0x4acfe2
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
push 0x8c
push eax
mov eax, dword [edx + 0x38]
push ecx
call eax
test esi, esi
je 0x4acfed
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [esp + 0x14]
mov byte [esp + 0x284], 7
call fcn.004016f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push eax
call edx
mov edi, dword [esp + 0x290]
lea esi, [esp + 0x44]
call fcn.0041c960
lea esi, [esp + 0x64]
call fcn.0041ca30
mov esi, eax
lea edi, [esp + 0x44]
call fcn.00424120
test al, al
je 0x4ad105
mov bl, 0xa
jmp 0x4ad040
lea esi, [esp + 0x14]
call fcn.004048a0
mov byte [esp + 0x284], bl
mov edi, dword [esp + 0x34]
lea esi, [esp + 0x44]
call fcn.004761f0
mov eax, dword [eax]
push eax
push edi
push 0x512580
lea edi, [esp + 0x20]
call fcn.00404890
add esp, 0xc
push 0x511ddc
push 0x517bb4
mov ecx, edi
push ecx
call fcn.0041e6f0
mov esi, dword [esp + 0x14]
push esi
call ebp
test eax, eax
je 0x4ad0cc
push esi
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
mov esi, eax
mov dword [esp + 0x3c], esi
push esi
mov byte [esp + 0x288], 0xb
call dword [sym.imp.SHELL32.dll_ILFindLastID]
test eax, eax
je 0x4ad0c1
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
push 0x99
push eax
mov eax, dword [edx + 0x38]
push ecx
call eax
test esi, esi
je 0x4ad0cc
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [esp + 0x14]
call fcn.004016f0
lea edi, [esp + 0x4c]
lea esi, [esp + 0x44]
call fcn.0041c1f0
mov edi, dword [esp + 0x290]
lea esi, [esp + 0x64]
call fcn.0041ca30
mov esi, eax
lea edi, [esp + 0x44]
call fcn.00424120
test al, al
jne 0x4ad040
lea ecx, [esp + 0x34]
call fcn.004016f0
mov byte [esp + 0x284], 5
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4ad126
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x284], 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4ad13e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x284], 3
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4ad156
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x284], 2
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4ad16e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x284], 1
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4ad186
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x284], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4ad19e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x284], 0xffffffff
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4ad1b9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
jmp 0x4ad1f6
mov dword [esp + 0x284], 0xffffffff
mov eax, dword [esp + 0x30]
cmp eax, ebp
je 0x4ad1f1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x4ad1f1
mov dword [esp + 0x284], 0xffffffff
cmp ecx, ebp
je 0x4ad1f1
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, 1
mov ecx, dword [esp + 0x27c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.004e3edb
add esp, 0x274
ret