Function at 0x486ca0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], 0
push 0x536ca4
push 0x536ca8
lea eax, [ebp - 8]
push eax
call fcn.0041b740
add esp, 0xc
lea ecx, [ebp - 8]
call fcn.0041d2b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x486cf1
lea ecx, [ebp - 8]
call fcn.0041d100
lea ecx, [ebp + 8]
call fcn.0041d100
jmp 0x48705a
lea ecx, [ebp - 8]
call fcn.0041d2b0
push eax
call fcn.004896f0
add esp, 4
test eax, eax
jne 0x486d1b
lea ecx, [ebp - 8]
call fcn.0041d100
lea ecx, [ebp + 8]
call fcn.0041d100
jmp 0x48705a
push 0
lea ecx, [ebp - 4]
call fcn.00487eb0
lea ecx, [ebp - 4]
call fcn.00487f10
push eax
call fcn.00488d50
add esp, 4
xor ecx, ecx
test eax, eax
setge cl
test ecx, ecx
jne 0x486d5e
lea ecx, [ebp - 4]
call fcn.00487700
lea ecx, [ebp - 8]
call fcn.0041d100
lea ecx, [ebp + 8]
call fcn.0041d100
jmp 0x48705a
xor edx, edx
mov word [ebp - 0xc], dx
lea ecx, [ebp - 4]
call fcn.00487f00
test eax, eax
je 0x486ded
lea ecx, [ebp + 8]
call fcn.0041d2b0
push eax
lea ecx, [ebp - 0x60]
call fcn.00489670
or dword [ebp - 0x74], 1
mov ecx, dword [eax]
mov dword [ebp - 0x50], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x4c], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x48], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x44], edx
lea ecx, [ebp - 4]
call fcn.00487f20
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0xc]
push eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x50]
mov dword [ecx], edx
mov eax, dword [ebp - 0x4c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x48]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x44]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x7c]
push ecx
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx]
mov ecx, dword [eax + 0x8c]
call ecx
test eax, eax
jl 0x486ded
movsx edx, word [ebp - 0xc]
test edx, edx
je 0x486ded
mov dword [ebp - 0x80], 1
jmp 0x486df4
mov dword [ebp - 0x80], 0
mov al, byte [ebp - 0x80]
mov byte [ebp - 0x39], al
mov ecx, dword [ebp - 0x74]
and ecx, 1
je 0x486e0e
and dword [ebp - 0x74], 0xfffffffe
lea ecx, [ebp - 0x60]
call fcn.004896c0
movzx edx, byte [ebp - 0x39]
test edx, edx
je 0x487042
lea ecx, [ebp - 0x10]
call fcn.00487f30
lea ecx, [ebp - 4]
call fcn.00487f20
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x10]
call fcn.00487f90
push eax
push str.root_softinfo
lea ecx, [ebp - 0x68]
call fcn.004875c0
or dword [ebp - 0x74], 2
mov ecx, eax
call fcn.004875b0
push eax
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx]
mov eax, dword [edx + 0x6c]
call eax
test eax, eax
jl 0x486e82
lea ecx, [ebp - 0x10]
call fcn.00487f80
test eax, eax
je 0x486e82
mov dword [ebp - 0x88], 1
jmp 0x486e8c
mov dword [ebp - 0x88], 0
mov cl, byte [ebp - 0x88]
mov byte [ebp - 0x61], cl
mov edx, dword [ebp - 0x74]
and edx, 2
je 0x486ea9
and dword [ebp - 0x74], 0xfffffffd
lea ecx, [ebp - 0x68]
call fcn.00401160
movzx eax, byte [ebp - 0x61]
test eax, eax
je 0x48703a
lea ecx, [ebp - 0x14]
call fcn.00487fb0
lea ecx, [ebp - 0x10]
call fcn.00487fa0
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x14]
call fcn.00488010
push eax
push 0x536cd0
lea ecx, [ebp - 0x70]
call fcn.004875c0
or dword [ebp - 0x74], 4
mov ecx, eax
call fcn.004875b0
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx]
mov ecx, dword [eax + 0x68]
call ecx
test eax, eax
jl 0x486f1d
lea ecx, [ebp - 0x14]
call fcn.00488000
test eax, eax
je 0x486f1d
mov dword [ebp - 0x90], 1
jmp 0x486f27
mov dword [ebp - 0x90], 0
mov dl, byte [ebp - 0x90]
mov byte [ebp - 0x69], dl
mov eax, dword [ebp - 0x74]
and eax, 4
je 0x486f44
and dword [ebp - 0x74], 0xfffffffb
lea ecx, [ebp - 0x70]
call fcn.00401160
movzx ecx, byte [ebp - 0x69]
test ecx, ecx
je 0x487032
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x14]
call fcn.00488020
mov dword [ebp - 0x94], eax
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
mov dword [ebp - 0x1c], 0
jmp 0x486f8f
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x18]
jge 0x487032
lea ecx, [ebp - 0x20]
call fcn.00487f30
lea ecx, [ebp - 0x14]
call fcn.00488020
mov dword [ebp - 0x98], eax
lea ecx, [ebp - 0x20]
call fcn.00487f90
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x98]
push ecx
mov edx, dword [ebp - 0x98]
mov eax, dword [edx]
mov ecx, dword [eax + 0x1c]
call ecx
test eax, eax
jl 0x487025
lea ecx, [ebp - 0x20]
call fcn.00487f80
test eax, eax
je 0x487025
lea ecx, [ebp - 0x38]
call fcn.0045d930
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x20]
call fcn.00487f80
push eax
mov ecx, dword [ebp - 0x78]
call fcn.00487060
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00458e80
mov ecx, eax
call fcn.0045d9c0
lea ecx, [ebp - 0x38]
call fcn.00458d90
lea ecx, [ebp - 0x20]
call fcn.00487720
jmp 0x486f86
lea ecx, [ebp - 0x14]
call fcn.00487740
lea ecx, [ebp - 0x10]
call fcn.00487720
lea ecx, [ebp - 4]
call fcn.00487700
lea ecx, [ebp - 8]
call fcn.0041d100
lea ecx, [ebp + 8]
call fcn.0041d100
mov esp, ebp
pop ebp
ret 0xc