Function at 0x41b140
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9b76
mov eax, dword fs:[0]
push eax
sub esp, 0xb44
mov eax, dword [0x4e949c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xb50], eax
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x41b4a0
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebx
test eax, eax
je 0x41b4a0
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x41b4a0
push eax
call ebx
test eax, eax
je 0x41b4a0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00464a00
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x4c1a94
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 4]
call fcn.0041b690
lea ecx, [esi + 4]
call fcn.0041b790
test eax, eax
je 0x41b4a0
lea ecx, [esi + 4]
call fcn.0041b670
mov dword [esi + 0x1c], eax
test eax, eax
je 0x41b4a0
push str.updatecfg.ini
lea eax, [ebp - 0xb4c]
push edi
push eax
call fcn.0041aeb0
push str.update
lea eax, [ebp - 0xb48]
mov dword [ebp - 4], 0
push edi
push eax
call fcn.0041aeb0
add esp, 0x18
mov ecx, dword [esi + 0x1c]
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], eax
mov byte [ebp - 4], 1
mov eax, dword [ecx]
call dword [eax]
cmp eax, 1
jb 0x41b484
mov ecx, dword [esi + 0x1c]
push esi
push dword [ebp - 0xb4c]
mov eax, dword [ecx]
push str.360HardwareMaster
call dword [eax + 4]
test eax, eax
je 0x41b484
mov ecx, dword [esi + 0x1c]
push dword [ebp - 0xb48]
push str.updatetemp
mov eax, dword [ecx]
push 0
call dword [eax + 0xc]
mov ecx, dword [esi + 0x1c]
push dword [edi]
push str.productpath
mov eax, dword [ecx]
push 0
call dword [eax + 0xc]
mov ecx, dword [esi + 0x1c]
push dword [edi]
push str.instdir
mov eax, dword [ecx]
push 0
call dword [eax + 0xc]
mov ecx, dword [esi + 0x1c]
push dword [edi]
push str.datadir
mov eax, dword [ecx]
push 0
call dword [eax + 0xc]
push 0x928
lea eax, [ebp - 0xb40]
push 0
push eax
call fcn.00464a00
lea ecx, [ebp - 0xb40]
mov dword [ebp - 0xb44], 0x92c
mov edi, str.360hardwaremaster
mov eax, ecx
add esp, 0xc
mov edx, 0x20
sub edi, eax
nop dword [eax + eax]
lea eax, [edx + 0x7fffffde]
test eax, eax
je 0x41b32e
movzx eax, word [edi + ecx]
test ax, ax
je 0x41b32e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41b310
mov edi, dword [ebp - 0xb50]
lea eax, [ecx - 2]
test edx, edx
mov edx, 0x82
cmovne eax, ecx
xor ecx, ecx
mov edi, dword [edi]
mov ebx, edi
mov word [eax], cx
lea ecx, [ebp - 0xac0]
mov eax, ecx
sub ebx, eax
lea eax, [edx + 0x7fffff7c]
test eax, eax
je 0x41b372
movzx eax, word [ebx + ecx]
test ax, ax
je 0x41b372
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41b354
test edx, edx
lea eax, [ecx - 2]
mov edx, 0x82
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x8b8]
mov eax, ecx
sub edi, eax
nop
lea eax, [edx + 0x7fffff7c]
test eax, eax
je 0x41b3ae
movzx eax, word [edi + ecx]
test ax, ax
je 0x41b3ae
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41b390
test edx, edx
lea eax, [ecx - 2]
mov edi, str.ComputerZ
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea edx, [ecx + 0x20]
lea ecx, [ebp - 0x6b0]
mov eax, ecx
sub edi, eax
nop dword [eax]
lea eax, [edx + 0x7fffffde]
test eax, eax
je 0x41b3ee
movzx eax, word [ecx + edi]
test ax, ax
je 0x41b3ee
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41b3d0
test edx, edx
lea eax, [ecx - 2]
mov edi, str.ComputerZ
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea edx, [ecx + 0x20]
lea ecx, [ebp - 0x630]
mov eax, ecx
sub edi, eax
nop dword [eax]
lea eax, [edx + 0x7fffffde]
test eax, eax
je 0x41b42e
movzx eax, word [ecx + edi]
test ax, ax
je 0x41b42e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41b410
lea eax, [ecx - 2]
test edx, edx
push 0
cmovne eax, ecx
lea edx, [ebp - 0xb44]
xor ecx, ecx
push edx
mov word [eax], cx
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x21c], 0xffffffff
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
je 0x41b484
mov ecx, dword [esi + 0x1c]
push 0xffffffffffffffff
push str.360hardwaremaster
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [esi + 0x1c]
push str.360hardwaremaster
mov eax, dword [ecx]
call dword [eax + 0x20]
mov esi, eax
jmp 0x41b486
xor esi, esi
lea ecx, [ebp - 0xb48]
call fcn.0040bd90
lea ecx, [ebp - 0xb4c]
call fcn.0040bd90
mov eax, esi
jmp 0x41b4a2
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00462391
mov esp, ebp
pop ebp
ret 0xc