Function at 0x41d260
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f410e
mov eax, dword fs:[0]
push eax
sub esp, 0xb8c
mov eax, dword [0x5374e4]
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 edi, ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0xb98], eax
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x41d715
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
je 0x41d715
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x41d715
push eax
call esi
test eax, eax
je 0x41d715
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0049a810
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 0x503c38
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [edi + 4]
call fcn.0041d910
lea ecx, [edi + 4]
call fcn.0041da10
test eax, eax
je 0x41d715
lea ecx, [edi + 4]
call fcn.0041d8f0
mov dword [edi + 0x1c], eax
test eax, eax
je 0x41d715
push str.updatecfg.ini
lea eax, [ebp - 0xb8c]
push ebx
push eax
call fcn.0041cfd0
push str.update
lea eax, [ebp - 0xb88]
mov dword [ebp - 4], 0
push ebx
push eax
call fcn.0041cfd0
add esp, 0x18
push 0x5032c8
lea ecx, [ebp - 0xb7c]
mov byte [ebp - 4], 1
call fcn.0040d330
push str.EgkT4QotT_BxVfFBp3YWb_azvQbgk7Kls
lea ecx, [ebp - 0xb78]
mov byte [ebp - 4], 2
call fcn.0040d330
lea eax, [ebp - 0xb7c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xb78]
push eax
lea eax, [ebp - 0xb90]
push eax
call fcn.0046be60
add esp, 0xc
push dword [eax]
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 4
call fcn.0041ce40
lea ecx, [ebp - 0xb90]
call fcn.0040d760
lea ecx, [ebp - 0xb78]
call fcn.0040d760
lea ecx, [ebp - 0xb7c]
mov byte [ebp - 4], 8
call fcn.0040d760
mov ecx, dword [edi + 0x1c]
mov eax, dword [ebp + 8]
mov dword [edi + 0x30], eax
mov eax, dword [ecx]
call dword [eax]
cmp eax, 1
jb 0x41d6ee
mov ecx, dword [edi + 0x1c]
lea edx, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
push edi
push dword [ebp - 0xb8c]
cmovae edx, dword [ebp - 0x248]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
test eax, eax
je 0x41d6ee
mov ecx, dword [edi + 0x1c]
push dword [ebp - 0xb88]
push str.updatetemp
mov eax, dword [ecx]
push 0
call dword [eax + 0xc]
mov ecx, dword [edi + 0x1c]
push dword [ebx]
push str.productpath
mov eax, dword [ecx]
push 0
call dword [eax + 0xc]
mov ecx, dword [edi + 0x1c]
push dword [ebx]
push str.instdir
mov eax, dword [ecx]
push 0
call dword [eax + 0xc]
mov ecx, dword [edi + 0x1c]
push dword [ebx]
push str.datadir
mov eax, dword [ecx]
push 0
call dword [eax + 0xc]
push 0x5032c8
lea ecx, [ebp - 0xb84]
call fcn.0040d330
push str.WYp8mj33SMCI5D8Q3xfmKfazvQbgk7Kl
lea ecx, [ebp - 0xb80]
mov byte [ebp - 4], 9
call fcn.0040d330
lea eax, [ebp - 0xb84]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0xb80]
push eax
lea eax, [ebp - 0xb94]
push eax
call fcn.0046be60
add esp, 0xc
push dword [eax]
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0xb
call fcn.0041ce40
lea ecx, [ebp - 0xb94]
call fcn.0040d760
lea ecx, [ebp - 0xb80]
call fcn.0040d760
lea ecx, [ebp - 0xb84]
mov byte [ebp - 4], 0xf
call fcn.0040d760
push 0x928
lea eax, [ebp - 0xb70]
push 0
push eax
call fcn.0049a810
add esp, 0xc
mov dword [ebp - 0xb74], 0x92c
cmp dword [ebp - 0x21c], 8
lea esi, [ebp - 0x230]
lea ecx, [ebp - 0xb70]
mov edx, 0x20
cmovae esi, dword [ebp - 0x230]
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7fffffde]
test eax, eax
je 0x41d55e
movzx eax, word [ecx + esi]
test ax, ax
je 0x41d55e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41d540
mov esi, dword [ebp - 0xb98]
lea eax, [ecx - 2]
test edx, edx
mov edx, 0x82
cmovne eax, ecx
xor ecx, ecx
mov esi, dword [esi]
mov ebx, esi
mov word [eax], cx
lea ecx, [ebp - 0xaf0]
mov eax, ecx
sub ebx, eax
lea eax, [edx + 0x7fffff7c]
test eax, eax
je 0x41d5a2
movzx eax, word [ecx + ebx]
test ax, ax
je 0x41d5a2
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41d584
test edx, edx
lea eax, [ecx - 2]
mov edx, 0x82
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x8e8]
mov eax, ecx
sub esi, eax
nop
lea eax, [edx + 0x7fffff7c]
test eax, eax
je 0x41d5de
movzx eax, word [ecx + esi]
test ax, ax
je 0x41d5de
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41d5c0
test edx, edx
lea eax, [ecx - 2]
mov esi, str.ComputerZ
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea edx, [ecx + 0x20]
lea ecx, [ebp - 0x6e0]
mov eax, ecx
sub esi, eax
nop dword [eax]
lea eax, [edx + 0x7fffffde]
test eax, eax
je 0x41d61e
movzx eax, word [ecx + esi]
test ax, ax
je 0x41d61e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41d600
test edx, edx
lea eax, [ecx - 2]
mov esi, str.ComputerZ
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea edx, [ecx + 0x20]
lea ecx, [ebp - 0x660]
mov eax, ecx
sub esi, eax
nop dword [eax]
lea eax, [edx + 0x7fffffde]
test eax, eax
je 0x41d65e
movzx eax, word [ecx + esi]
test ax, ax
je 0x41d65e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41d640
lea eax, [ecx - 2]
test edx, edx
push 0
cmovne eax, ecx
lea edx, [ebp - 0xb74]
xor ecx, ecx
push edx
mov word [eax], cx
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 0x250], 1
mov dword [ebp - 0x24c], 0xffffffff
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
je 0x41d6df
mov ecx, dword [edi + 0x1c]
lea edx, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
push 0xffffffffffffffff
cmovae edx, dword [ebp - 0x230]
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
mov ecx, dword [edi + 0x1c]
lea edx, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae edx, dword [ebp - 0x230]
mov eax, dword [ecx]
push edx
call dword [eax + 0x20]
lea ecx, [ebp - 0x230]
mov esi, eax
call fcn.00404a90
jmp 0x41d6f0
lea ecx, [ebp - 0x230]
xor esi, esi
call fcn.00404a90
jmp 0x41d6f0
xor esi, esi
lea ecx, [ebp - 0x248]
call fcn.00404a90
lea ecx, [ebp - 0xb88]
call fcn.0040d760
lea ecx, [ebp - 0xb8c]
call fcn.0040d760
mov eax, esi
jmp 0x41d717
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.0046a581
mov esp, ebp
pop ebp
ret 0xc