Function at 0x41a160
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46e338
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x498700]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41a1b0
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 4
lea edi, [esp + 0x30]
call fcn.0041fde0
xor esi, esi
mov dword [esp + 0x48], esi
mov ecx, dword [esp + 0x30]
cmp ecx, esi
je 0x41a1d4
mov eax, dword [esp + 0x34]
sub eax, ecx
sar eax, 2
jne 0x41a1dd
call fcn.0044ec76
mov ecx, dword [esp + 0x30]
push 5
push str.Brand
call fcn.00401ca0
mov ecx, dword [esp + 0x30]
cmp ecx, esi
je 0x41a1ff
mov eax, dword [esp + 0x34]
sub eax, ecx
sar eax, 2
cmp eax, 1
ja 0x41a208
call fcn.0044ec76
mov ecx, dword [esp + 0x30]
push 0xe
add ecx, 4
push str.FlashInstaller
call fcn.00401ca0
mov ecx, dword [esp + 0x30]
cmp ecx, esi
je 0x41a22d
mov eax, dword [esp + 0x34]
sub eax, ecx
sar eax, 2
cmp eax, 2
ja 0x41a236
call fcn.0044ec76
mov ecx, dword [esp + 0x30]
push 6
add ecx, 8
push str.Update
call fcn.00401ca0
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x41a25b
mov ecx, dword [esp + 0x34]
sub ecx, eax
sar ecx, 2
cmp ecx, 3
ja 0x41a264
call fcn.0044ec76
mov eax, dword [esp + 0x30]
push 5
lea ecx, [eax + 0xc]
push str.Utils
call fcn.00401ca0
push 3
lea edi, [esp + 0x20]
call fcn.0041fde0
mov byte [esp + 0x48], 1
mov ecx, dword [esp + 0x20]
cmp ecx, esi
je 0x41a296
mov edx, dword [esp + 0x24]
sub edx, ecx
sar edx, 2
jne 0x41a29f
call fcn.0044ec76
mov ecx, dword [esp + 0x20]
push 4
push str..zip
call fcn.00401ca0
mov ecx, dword [esp + 0x20]
cmp ecx, esi
je 0x41a2c1
mov eax, dword [esp + 0x24]
sub eax, ecx
sar eax, 2
cmp eax, 1
ja 0x41a2ca
call fcn.0044ec76
mov ecx, dword [esp + 0x20]
push 4
add ecx, 4
push str..log
call fcn.00401ca0
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x41a2ef
mov ecx, dword [esp + 0x24]
sub ecx, eax
sar ecx, 2
cmp ecx, 2
ja 0x41a2f8
call fcn.0044ec76
mov eax, dword [esp + 0x20]
push 4
lea ecx, [eax + 8]
push str..exe
call fcn.00401ca0
mov eax, dword [ebx]
sub eax, 0x10
push eax
call fcn.00409080
add eax, 0x10
add esp, 4
mov dword [esp + 0x14], eax
push 1
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 2
call fcn.00410d80
push 0x480d88
push eax
call fcn.0041fd50
mov bl, al
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a361
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41a375
push 1
push 0x480d88
lea ecx, [esp + 0x1c]
call fcn.00406800
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
lea ecx, [esp + 0x18]
call fcn.00410260
mov bl, al
mov byte [esp + 0x4c], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a3b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x41a3cf
mov edi, dword [esp + 0x24]
call fcn.00420150
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00430f55
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
je 0x41a3f9
mov edi, dword [esp + 0x34]
call fcn.00420150
mov edx, dword [esp + 0x30]
push edx
call fcn.00430f55
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret