Function at 0x419040
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520d26
mov eax, dword fs:[0]
push eax
sub esp, 0x3d8
mov eax, dword [0x569434]
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 - 0x3e4]
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.00428280
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 0x4190be
xor ecx, ecx
jmp 0x4190d2
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4190c3
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00402a00
lea ecx, [ebp - 0x3e4]
mov byte [ebp - 4], 2
call fcn.004279f0
push str.selectchanged
mov ecx, esi
call fcn.00427ae0
test al, al
je 0x419275
mov ecx, dword [edi + 0x688]
mov eax, dword [esi + 0x108]
cmp ecx, eax
jne 0x41917a
call fcn.004401c0
mov ecx, dword [edi + 0x68c]
mov bh, al
mov byte [ebp - 0x17c], bh
mov bl, 1
test ecx, ecx
je 0x41912f
call fcn.004401c0
mov bl, al
mov ecx, dword [edi + 0x67c]
push 1
push dword [ebp - 0x17c]
call fcn.00440240
test bh, bh
je 0x419165
test bl, bl
je 0x419165
mov ecx, dword [edi + 0x678]
push 1
mov eax, dword [ecx]
call dword [eax + 0xec]
mov ecx, dword [edi + 0x6c8]
jmp 0x4195e6
mov ecx, dword [edi + 0x678]
push 0
mov eax, dword [ecx]
call dword [eax + 0xec]
jmp 0x41991d
mov edx, dword [edi + 0x68c]
cmp edx, eax
jne 0x4191ea
mov ecx, edx
call fcn.004401c0
mov ecx, dword [edi + 0x688]
mov bl, al
call fcn.004401c0
test bl, bl
je 0x4191c5
test al, al
je 0x4191b0
mov ecx, dword [edi + 0x678]
push 1
mov eax, dword [ecx]
call dword [eax + 0xec]
mov ecx, dword [edi + 0x670]
push 1
mov eax, dword [ecx]
call dword [eax + 0xec]
jmp 0x41991d
mov ecx, dword [edi + 0x678]
push 0
mov eax, dword [ecx]
call dword [eax + 0xec]
mov ecx, dword [edi + 0x670]
push 0
mov eax, dword [ecx]
call dword [eax + 0xec]
jmp 0x41991d
cmp dword [edi + 0x67c], eax
jne 0x419215
call fcn.004401c0
mov ecx, dword [edi + 0x67c]
push 1
mov byte [ebp - 0x17c], al
push dword [ebp - 0x17c]
call fcn.00440240
jmp 0x41991d
mov ecx, dword [edi + 0x6ac]
cmp ecx, eax
jne 0x419243
cmp byte [0x569e21], 0
je 0x41991d
call fcn.004404b0
test al, al
jne 0x41991d
mov byte [0x569e21], al
jmp 0x41991d
mov ecx, dword [edi + 0x6b0]
cmp ecx, eax
jne 0x41991d
cmp byte [0x569e20], 0
je 0x41991d
call fcn.004404b0
test al, al
jne 0x41991d
mov byte [0x569e20], al
jmp 0x41991d
push str.tabselect
mov ecx, esi
call fcn.00427ae0
test al, al
je 0x4195fd
mov ecx, dword [edi + 0x668]
test ecx, ecx
je 0x4192fc
call fcn.0043fd20
test eax, eax
jne 0x4192fc
push 0x1625
push dword [edi + 0x6a8]
lea ecx, [edi + 0xc]
call fcn.0042e310
push 0x112c
push dword [edi + 0x6a8]
lea ecx, [edi + 0xc]
call fcn.0042e310
mov ecx, dword [edi + 0x6a8]
test ecx, ecx
je 0x4192d6
push str.resmainWnd_bg1.png
call fcn.00435b50
mov ecx, dword [edi + 0x6a8]
test ecx, ecx
je 0x4192e5
call fcn.00433cd0
mov ecx, dword [edi + 0x66c]
test ecx, ecx
je 0x419552
push 1
push 1
jmp 0x41954d
mov ecx, dword [edi + 0x668]
test ecx, ecx
je 0x41934e
call fcn.0043fd20
cmp eax, 1
jne 0x41934e
push 0x1625
push dword [edi + 0x6a8]
lea ecx, [edi + 0xc]
call fcn.0042e310
push 0x112c
push dword [edi + 0x6a8]
lea ecx, [edi + 0xc]
call fcn.0042e310
mov ecx, dword [edi + 0x6a8]
push str.resmainWnd_bg2.png
call fcn.00435b50
mov ecx, dword [edi + 0x6a8]
jmp 0x4192e0
mov ecx, dword [edi + 0x668]
test ecx, ecx
je 0x41947d
call fcn.0043fd20
cmp eax, 2
jne 0x41947d
mov esi, dword [0x56f220]
test esi, esi
jle 0x419430
mov ecx, dword [0x56f244]
mov eax, 0x2aaaaaab
mov ebx, dword [0x56f240]
sub ecx, ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jne 0x419430
lea eax, [esi - 1]
lea eax, [eax + eax*2]
lea eax, [ebx + eax*8]
push eax
lea ecx, [ebp - 0x58]
call fcn.00405ba0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x48], 0
je 0x419412
push 0
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x28]
call fcn.00421730
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 0x4193fc
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, dword [edi + 0x6a8]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00435b50
lea ecx, [ebp - 0x28]
call fcn.00402770
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00404280
jmp 0x419440
mov ecx, dword [edi + 0x6a8]
push str.resmainWnd_bg3.png
call fcn.00435b50
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00404280
jmp 0x419440
mov ecx, dword [edi + 0x6a8]
push str.resmainWnd_bg3.png
call fcn.00435b50
mov ecx, dword [edi + 0x6a8]
test ecx, ecx
je 0x41944f
call fcn.00433cd0
mov ecx, dword [edi + 0x6b4]
test ecx, ecx
je 0x419552
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp eax, 0x555048
jne 0x419552
mov ecx, dword [edi + 0x6b4]
call fcn.00414240
jmp 0x419552
mov ecx, dword [edi + 0x668]
test ecx, ecx
je 0x41951c
call fcn.0043fd20
cmp eax, 3
jne 0x41951c
mov ecx, dword [edi + 0x66c]
test ecx, ecx
je 0x4194ac
push 1
push 2
call fcn.0043fe60
mov ecx, dword [edi + 0x6a8]
test ecx, ecx
je 0x4194c0
push str.resmainWnd_bg4.png
call fcn.00435b50
mov ecx, dword [edi + 0x6a8]
test ecx, ecx
je 0x4194cf
call fcn.00433cd0
mov ecx, dword [edi + 0x6b4]
test ecx, ecx
je 0x4194f9
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp eax, 0x555048
jne 0x4194f9
mov ecx, dword [edi + 0x6b4]
push 0x834
push ecx
mov ecx, dword [ecx + 0x5c]
call fcn.0042e310
mov ecx, dword [edi + 0x6b8]
test ecx, ecx
je 0x419552
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp eax, 0x555048
jne 0x419552
mov ecx, dword [edi + 0x6b8]
call fcn.00414240
jmp 0x419552
mov ecx, dword [edi + 0x6a8]
test ecx, ecx
je 0x419530
push str.resmainWnd_bg1.png
call fcn.00435b50
mov ecx, dword [edi + 0x6a8]
test ecx, ecx
je 0x41953f
call fcn.00433cd0
mov ecx, dword [edi + 0x66c]
test ecx, ecx
je 0x419552
push 1
push 0
call fcn.0043fe60
mov ecx, dword [edi + 0x668]
test ecx, ecx
je 0x419588
call fcn.0043fd20
cmp eax, 2
jne 0x419588
mov ecx, dword [edi + 0x6a4]
test ecx, ecx
je 0x41957a
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x6c0]
test ecx, ecx
je 0x4195b0
push 1
jmp 0x4195a8
mov ecx, dword [edi + 0x6a4]
test ecx, ecx
je 0x41959c
mov eax, dword [ecx]
push 1
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x6c0]
test ecx, ecx
je 0x4195b0
push 0
mov eax, dword [ecx]
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x668]
test ecx, ecx
je 0x4195e0
call fcn.0043fd20
cmp eax, 1
jne 0x4195e0
mov ecx, dword [edi + 0x680]
test ecx, ecx
je 0x41991d
push eax
mov eax, dword [ecx]
call dword [eax + 0xe0]
jmp 0x41991d
mov ecx, dword [edi + 0x680]
test ecx, ecx
je 0x41991d
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
jmp 0x41991d
push str.checknet
mov ecx, esi
call fcn.00427ae0
test al, al
je 0x419801
mov eax, dword [esi + 0x118]
xor ebx, ebx
sar eax, 0x10
test eax, eax
sete bl
test eax, eax
je 0x419764
push 0xffffffffffffffff
push 0x5537bc
lea ecx, [ebp - 0x358]
mov dword [ebp - 0x360], 4
mov dword [ebp - 0x35c], 0x93
call fcn.004278c0
push 0xffffffffffffffff
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 5
call fcn.004278c0
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 6
call fcn.00402830
mov esi, eax
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00402830
mov edi, eax
push 1
sub esp, 8
mov byte [ebp - 4], 8
mov ecx, esi
call fcn.0041ca00
push eax
push 0
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.0041c990
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
jb 0x4196b8
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x250]
call fcn.004278c0
lea ecx, [ebp - 0x58]
call fcn.00402770
lea ecx, [ebp - 0x28]
call fcn.00402770
lea ecx, [ebp - 0x19c]
call fcn.00402770
mov edx, 0x64
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1cc]
call fcn.00424480
mov esi, eax
mov edx, 0x69
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1b4]
call fcn.00424480
mov byte [ebp - 4], 0xc
cmp dword [esi + 0x14], 8
jb 0x419717
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x41971f
mov eax, dword [eax]
mov edi, dword [ebp - 0x17c]
push esi
push eax
lea ecx, [edi - 0x20]
call fcn.00467db0
lea edx, [ebp - 0x360]
mov ecx, eax
call fcn.00427500
add esp, 8
lea ecx, [ebp - 0x1b4]
call fcn.00402770
lea ecx, [ebp - 0x1cc]
call fcn.00402770
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 2
call fcn.00416ff0
push 0xffffffffffffffff
push str.install
lea ecx, [ebp - 0x178]
call fcn.004278c0
push 0xffffffffffffffff
push 0x5537bc
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x13
call fcn.004278c0
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 0x14
call fcn.0042dfc0
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], 0x15
push eax
lea ecx, [edi + 0xc]
call fcn.004318a0
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 2
call fcn.004279f0
lea ecx, [ebp - 0x178]
call fcn.004279f0
jmp 0x41991d
push str.install
mov ecx, esi
call fcn.00427ae0
test al, al
je 0x41982c
cmp dword [esi + 0x118], 0
lea ecx, [edi - 0x20]
setne al
movzx eax, al
push eax
call fcn.00418ed0
jmp 0x41991d
push str.timer
mov ecx, esi
call fcn.00427ae0
test al, al
je 0x4198db
mov eax, dword [edi + 0x6a8]
cmp eax, dword [esi + 0x108]
jne 0x419860
cmp dword [esi + 0x118], 0x1625
jne 0x419860
inc dword [edi + 0x6d4]
mov eax, dword [edi + 0x6a8]
cmp eax, dword [esi + 0x108]
jne 0x419885
cmp dword [esi + 0x118], 0x112c
jne 0x419885
inc dword [edi + 0x6d4]
jmp 0x41991d
lea ecx, [edi + 0xc]
call fcn.0042dfc0
cmp eax, dword [esi + 0x108]
jne 0x41991d
mov eax, dword [esi + 0x118]
cmp eax, 0xa
jne 0x4198b7
lea ecx, [edi - 0x20]
call fcn.00467db0
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0xa
jmp 0x4198c8
cmp eax, 0xb
jne 0x41991d
push 1
lea ecx, [edi - 0x20]
call fcn.0043e320
push 0xb
lea ecx, [edi + 0xc]
call fcn.0042dfc0
push eax
lea ecx, [edi + 0xc]
call fcn.0042e310
jmp 0x41991d
push str.itemselect
mov ecx, esi
call fcn.00427ae0
test al, al
je 0x41991d
mov ecx, dword [edi + 0x6c4]
cmp dword [esi + 0x108], ecx
jne 0x41991d
mov eax, dword [ecx + 0x690]
add ecx, 0x690
call dword [eax + 4]
mov dword [ebp - 0x17c], eax
lea ecx, [edi - 0x20]
lea eax, [ebp - 0x17c]
push eax
call fcn.0041bd30
push dword [ebp - 0x184]
mov ecx, edi
call fcn.0043f130
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x41993f
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00402e20
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.004db7a8
mov esp, ebp
pop ebp
ret 4