Function at 0x482a90
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4aa66a
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x4cd290]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cd290]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb4]
mov ebp, dword [esp + 0xb0]
mov edi, ecx
push edi
mov dword [esp + 0x48], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x482c15
mov esi, ebp
call fcn.00482ea0
test eax, eax
jl 0x482c15
push edi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], 0x80004005
call fcn.00418aa0
lea ecx, [esp + 0x48]
push ecx
xor esi, esi
lea ecx, [esp + 0x84]
mov dword [esp + 0xac], esi
call fcn.004812f0
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x68]
mov byte [esp + 0xac], 1
call fcn.00480bd0
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x80]
mov byte [esp + 0xa8], 3
call fcn.00420780
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, eax
lea eax, [esp + 0x2c]
push eax
mov word [esp + 0x30], si
call ebx
push edi
mov word [esp + 0x30], 8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, esi
mov dword [esp + 0x34], eax
jne 0x482b9e
cmp edi, esi
je 0x482b9e
push 0x8007000e
mov word [esp + 0x30], 0xa
mov dword [esp + 0x38], 0x8007000e
call fcn.00401280
mov byte [esp + 0xa8], 4
mov edx, dword [ebp + 0xc]
mov ebp, dword [esp + 0x2c]
mov edi, dword [edx]
lea ecx, [esp + 0x18]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], ebp
mov ebp, dword [esp + 0x44]
mov dword [ecx + 4], ebp
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0xc], eax
mov ecx, dword [edi + 0x24]
push edx
call ecx
lea edx, [esp + 0x2c]
push edx
mov edi, eax
call ebx
cmp edi, esi
jge 0x482c1f
mov byte [esp + 0xa8], 2
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x482bf7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x64]
call fcn.00418c50
lea ecx, [esp + 0x80]
call fcn.00418c50
lea ecx, [esp + 0x48]
call fcn.00418c50
mov eax, 0x80004005
jmp 0x482e61
mov dword [esp + 0x24], esi
mov byte [esp + 0xa8], 5
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x64]
call fcn.00420780
cmp eax, esi
jne 0x482c88
xor eax, eax
mov dword [esp + 0x14], eax
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0xac], 6
mov ecx, dword [edi]
push eax
mov eax, dword [ecx + 0x30]
push edi
call eax
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.00401a80
cmp edi, esi
jge 0x482ca1
mov byte [esp + 0xa8], 3
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x482bdf
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x482bdf
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, esi
mov dword [esp + 0x14], eax
jne 0x482c42
push 0x8007000e
call fcn.00401280
mov dword [esp + 0x20], esi
mov byte [esp + 0xa8], 7
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [ecx + 0x58]
call eax
cmp eax, esi
jge 0x482cdc
mov byte [esp + 0xa8], 5
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x482c67
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x482c67
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x28]
mov dword [esp + 0x28], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp eax, esi
jl 0x482cc2
xor edi, edi
cmp dword [esp + 0x28], esi
jle 0x482df7
mov dword [esp + 0x1c], esi
mov ecx, edi
mov word [esp + 0x2c], 3
mov dword [esp + 0x34], ecx
mov byte [esp + 0xa8], 9
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov ebx, dword [edx]
lea eax, [esp + 0x1c]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebp
mov ebp, dword [esp + 0x44]
mov dword [eax + 4], ebp
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [ebx + 0x28]
mov dword [eax + 0xc], ecx
call edx
test eax, eax
lea eax, [esp + 0x2c]
push eax
setl bl
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test bl, bl
jne 0x482ddf
mov dword [esp + 0x14], esi
mov byte [esp + 0xa8], 0xa
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
cmp eax, esi
jl 0x482dd6
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.00486a9c
add esp, 8
test eax, eax
je 0x482dc6
lea ecx, [esp + 0x14]
call fcn.00401a80
mov byte [esp + 0xa8], 7
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x482db7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
add edi, 1
cmp edi, dword [esp + 0x28]
jl 0x482d01
jmp 0x482df7
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push eax
call edx
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x14]
call fcn.00401a80
mov byte [esp + 0xa8], 7
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x482df7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xa8], 5
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x482e0f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xa8], 3
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x482e27
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xa8], 2
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x482e3f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x64]
call fcn.00418c50
lea ecx, [esp + 0x80]
call fcn.00418c50
lea ecx, [esp + 0x48]
call fcn.00418c50
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.004851ae
add esp, 0x98
ret 8