Function at 0x41ff60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x535800
mov eax, dword fs:[0]
push eax
sub esp, 0x3a8
mov eax, dword [0x58b464]
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 dword [ebp - 0x17c], edi
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x3b4]
push edx
mov dword [ebp - 0x184], esi
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0044e420
mov edx, eax
mov dword [ebp - 0x2c], 7
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [edx], ax
jne 0x41ffde
xor ecx, ecx
jmp 0x41fff2
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ffe3
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00406670
lea ecx, [ebp - 0x3b4]
mov byte [ebp - 4], 2
call fcn.0044db80
push str.selectchanged
mov ecx, esi
call fcn.0044dc80
test al, al
je 0x420100
mov ecx, dword [edi + 0x688]
mov eax, dword [esi + 0x108]
cmp ecx, eax
jne 0x420075
call fcn.00466220
mov ecx, dword [edi + 0x67c]
mov bl, al
push 1
mov byte [ebp - 0x17c], bl
push dword [ebp - 0x17c]
call fcn.004662a0
mov ecx, dword [edi + 0x678]
mov eax, dword [ecx]
test bl, bl
jne 0x420068
push 0
call dword [eax + 0xec]
jmp 0x420734
push 1
call dword [eax + 0xec]
jmp 0x420734
cmp dword [edi + 0x67c], eax
jne 0x4200a0
call fcn.00466220
mov ecx, dword [edi + 0x67c]
push 1
mov byte [ebp - 0x17c], al
push dword [ebp - 0x17c]
call fcn.004662a0
jmp 0x420734
mov ecx, dword [edi + 0x6a8]
cmp ecx, eax
jne 0x4200ce
cmp byte [0x58be71], 0
je 0x420734
call fcn.00466510
test al, al
jne 0x420734
mov byte [0x58be71], al
jmp 0x420734
mov ecx, dword [edi + 0x6ac]
cmp ecx, eax
jne 0x420734
cmp byte [0x58be70], 0
je 0x420734
call fcn.00466510
test al, al
jne 0x420734
mov byte [0x58be70], al
jmp 0x420734
push str.tabselect
mov ecx, esi
call fcn.0044dc80
test al, al
je 0x420489
mov ecx, dword [edi + 0x668]
test ecx, ecx
je 0x420187
call fcn.00465d80
test eax, eax
jne 0x420187
push 0x1625
push dword [edi + 0x6a4]
lea ecx, [edi + 0xc]
call fcn.004543b0
push 0x112c
push dword [edi + 0x6a4]
lea ecx, [edi + 0xc]
call fcn.004543b0
mov ecx, dword [edi + 0x6a4]
test ecx, ecx
je 0x420161
push str.resmainWnd_bg1.png
call fcn.0045bbe0
mov ecx, dword [edi + 0x6a4]
test ecx, ecx
je 0x420170
call fcn.00459d60
mov ecx, dword [edi + 0x66c]
test ecx, ecx
je 0x4203dd
push 1
push 1
jmp 0x4203d8
mov ecx, dword [edi + 0x668]
test ecx, ecx
je 0x4201d9
call fcn.00465d80
cmp eax, 1
jne 0x4201d9
push 0x1625
push dword [edi + 0x6a4]
lea ecx, [edi + 0xc]
call fcn.004543b0
push 0x112c
push dword [edi + 0x6a4]
lea ecx, [edi + 0xc]
call fcn.004543b0
mov ecx, dword [edi + 0x6a4]
push str.resmainWnd_bg2.png
call fcn.0045bbe0
mov ecx, dword [edi + 0x6a4]
jmp 0x42016b
mov ecx, dword [edi + 0x668]
test ecx, ecx
je 0x420308
call fcn.00465d80
cmp eax, 2
jne 0x420308
mov esi, dword [0x590fb0]
test esi, esi
jle 0x4202bb
mov ecx, dword [0x590fd4]
mov eax, 0x2aaaaaab
mov ebx, dword [0x590fd0]
sub ecx, ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jne 0x4202bb
lea eax, [esi - 1]
lea eax, [eax + eax*2]
lea eax, [ebx + eax*8]
push eax
lea ecx, [ebp - 0x58]
call fcn.0040b470
mov byte [ebp - 4], 3
cmp dword [ebp - 0x48], 0
je 0x42029d
push 0
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x28]
call fcn.00448f10
add esp, 4
mov byte [ebp - 4], 4
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x420287
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, dword [edi + 0x6a4]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0045bbe0
lea ecx, [ebp - 0x28]
call fcn.004063c0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.004064a0
jmp 0x4202cb
mov ecx, dword [edi + 0x6a4]
push 0x5702b4
call fcn.0045bbe0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.004064a0
jmp 0x4202cb
mov ecx, dword [edi + 0x6a4]
push 0x5702b4
call fcn.0045bbe0
mov ecx, dword [edi + 0x6a4]
test ecx, ecx
je 0x4202da
call fcn.00459d60
mov ecx, dword [edi + 0x6b0]
test ecx, ecx
je 0x4203dd
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp eax, 0x571384
jne 0x4203dd
mov ecx, dword [edi + 0x6b0]
call fcn.0041a7b0
jmp 0x4203dd
mov ecx, dword [edi + 0x668]
test ecx, ecx
je 0x4203a7
call fcn.00465d80
cmp eax, 3
jne 0x4203a7
mov ecx, dword [edi + 0x66c]
test ecx, ecx
je 0x420337
push 1
push 2
call fcn.00465ec0
mov ecx, dword [edi + 0x6a4]
test ecx, ecx
je 0x42034b
push str.resmainWnd_bg4.png
call fcn.0045bbe0
mov ecx, dword [edi + 0x6a4]
test ecx, ecx
je 0x42035a
call fcn.00459d60
mov ecx, dword [edi + 0x6b0]
test ecx, ecx
je 0x420384
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp eax, 0x571384
jne 0x420384
mov ecx, dword [edi + 0x6b0]
push 0x834
push ecx
mov ecx, dword [ecx + 0x5c]
call fcn.004543b0
mov ecx, dword [edi + 0x6b4]
test ecx, ecx
je 0x4203dd
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp eax, 0x571384
jne 0x4203dd
mov ecx, dword [edi + 0x6b4]
call fcn.0041a7b0
jmp 0x4203dd
mov ecx, dword [edi + 0x6a4]
test ecx, ecx
je 0x4203bb
push str.resmainWnd_bg1.png
call fcn.0045bbe0
mov ecx, dword [edi + 0x6a4]
test ecx, ecx
je 0x4203ca
call fcn.00459d60
mov ecx, dword [edi + 0x66c]
test ecx, ecx
je 0x4203dd
push 1
push 0
call fcn.00465ec0
mov ecx, dword [edi + 0x668]
test ecx, ecx
je 0x420413
call fcn.00465d80
cmp eax, 2
jne 0x420413
mov ecx, dword [edi + 0x6a0]
test ecx, ecx
je 0x420405
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x6bc]
test ecx, ecx
je 0x42043b
push 1
jmp 0x420433
mov ecx, dword [edi + 0x6a0]
test ecx, ecx
je 0x420427
mov eax, dword [ecx]
push 1
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x6bc]
test ecx, ecx
je 0x42043b
push 0
mov eax, dword [ecx]
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x668]
test ecx, ecx
je 0x42046c
call fcn.00465d80
cmp eax, 1
jne 0x42046c
mov ecx, dword [edi + 0x680]
test ecx, ecx
je 0x420734
mov eax, dword [ecx]
push 1
call dword [eax + 0xe0]
jmp 0x420734
mov ecx, dword [edi + 0x680]
test ecx, ecx
je 0x420734
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
jmp 0x420734
push str.checknet
mov ecx, esi
call fcn.0044dc80
test al, al
je 0x42065b
mov eax, dword [esi + 0x118]
xor ebx, ebx
sar eax, 0x10
test eax, eax
sete bl
test eax, eax
je 0x4205be
push 0xffffffffffffffff
push 0x56f9a4
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x330], 4
mov dword [ebp - 0x32c], 0x93
call fcn.0044da60
push 0xffffffffffffffff
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 5
call fcn.0044da60
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 6
call fcn.00406400
mov esi, eax
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00406400
mov edi, eax
push 1
sub esp, 8
mov byte [ebp - 4], 8
mov ecx, esi
call fcn.00422f70
push eax
push 0
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.00422f00
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
jb 0x420544
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x220]
call fcn.0044da60
lea ecx, [ebp - 0x58]
call fcn.004063c0
lea ecx, [ebp - 0x28]
call fcn.004063c0
lea ecx, [ebp - 0x19c]
call fcn.004063c0
mov byte [ebp - 4], 0xa
mov edi, dword [ebp - 0x17c]
push 0x571ac4
push str.S_MRQ
lea ecx, [edi - 0x20]
call fcn.0048dda0
lea edx, [ebp - 0x330]
mov ecx, eax
call fcn.0044d6a0
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x220]
call fcn.0044db80
lea ecx, [ebp - 0x2a4]
call fcn.0044db80
lea ecx, [ebp - 0x328]
call fcn.0044db80
push 0xffffffffffffffff
push str.install
lea ecx, [ebp - 0x178]
call fcn.0044da60
push 0xffffffffffffffff
push 0x56f9a4
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0xb
call fcn.0044da60
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 0xc
call fcn.00454060
mov dword [ebp - 0x70], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xorps xmm0, xmm0
mov dword [ebp - 0x6c], eax
movq qword [ebp - 0x180], xmm0
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], 0
push 1
push 0
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [edi + 0xc]
call fcn.00457940
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 2
call fcn.0044db80
lea ecx, [ebp - 0x178]
call fcn.0044db80
jmp 0x420734
push str.install
mov ecx, esi
call fcn.0044dc80
test al, al
je 0x420686
cmp dword [esi + 0x118], 0
lea ecx, [edi - 0x20]
setne al
movzx eax, al
push eax
call fcn.0041fce0
jmp 0x420734
push str.timer
mov ecx, esi
call fcn.0044dc80
test al, al
je 0x420734
mov eax, dword [edi + 0x6a4]
cmp eax, dword [esi + 0x108]
jne 0x4206be
cmp dword [esi + 0x118], 0x1625
jne 0x4206be
push 0
lea ecx, [edi - 0x20]
call fcn.00422e00
mov eax, dword [edi + 0x6a4]
cmp eax, dword [esi + 0x108]
jne 0x4206e4
cmp dword [esi + 0x118], 0x112c
jne 0x4206e4
push 0
lea ecx, [edi - 0x20]
call fcn.00422e00
jmp 0x420734
lea ecx, [edi + 0xc]
call fcn.00454060
cmp eax, dword [esi + 0x108]
jne 0x420734
mov eax, dword [esi + 0x118]
cmp eax, 0xa
jne 0x420712
lea ecx, [edi - 0x20]
call fcn.0048dda0
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0xa
jmp 0x420723
cmp eax, 0xb
jne 0x420734
push 1
lea ecx, [edi - 0x20]
call fcn.00464390
push 0xb
lea ecx, [edi + 0xc]
call fcn.00454060
push eax
lea ecx, [edi + 0xc]
call fcn.004543b0
push dword [ebp - 0x184]
mov ecx, edi
call fcn.00465190
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x420756
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00406dd0
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.004f16f8
mov esp, ebp
pop ebp
ret 4