Function at 0x411930
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bcf10
mov eax, dword fs:[0]
push eax
sub esp, 0x3a8
mov eax, dword [0x4f23d4]
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.004204e0
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 0x4119ae
xor ecx, ecx
jmp 0x4119c2
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4119b3
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00403170
lea ecx, [ebp - 0x3b4]
mov byte [ebp - 4], 2
call fcn.0041fc50
push str.selectchanged
mov ecx, esi
call fcn.0041fd40
test al, al
je 0x411b65
mov ecx, dword [edi + 0x688]
mov eax, dword [esi + 0x108]
cmp ecx, eax
jne 0x411a6a
call fcn.00438440
mov ecx, dword [edi + 0x68c]
mov bh, al
mov byte [ebp - 0x17c], bh
mov bl, 1
test ecx, ecx
je 0x411a1f
call fcn.00438440
mov bl, al
mov ecx, dword [edi + 0x67c]
push 1
push dword [ebp - 0x17c]
call fcn.004384c0
test bh, bh
je 0x411a55
test bl, bl
je 0x411a55
mov ecx, dword [edi + 0x678]
push 1
mov eax, dword [ecx]
call dword [eax + 0xec]
mov ecx, dword [edi + 0x6c8]
jmp 0x411ed6
mov ecx, dword [edi + 0x678]
push 0
mov eax, dword [ecx]
call dword [eax + 0xec]
jmp 0x4121c5
mov edx, dword [edi + 0x68c]
cmp edx, eax
jne 0x411ada
mov ecx, edx
call fcn.00438440
mov ecx, dword [edi + 0x688]
mov bl, al
call fcn.00438440
test bl, bl
je 0x411ab5
test al, al
je 0x411aa0
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 0x4121c5
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 0x4121c5
cmp dword [edi + 0x67c], eax
jne 0x411b05
call fcn.00438440
mov ecx, dword [edi + 0x67c]
push 1
mov byte [ebp - 0x17c], al
push dword [ebp - 0x17c]
call fcn.004384c0
jmp 0x4121c5
mov ecx, dword [edi + 0x6ac]
cmp ecx, eax
jne 0x411b33
cmp byte [0x4f2c65], 0
je 0x4121c5
call fcn.00438730
test al, al
jne 0x4121c5
mov byte [0x4f2c65], al
jmp 0x4121c5
mov ecx, dword [edi + 0x6b0]
cmp ecx, eax
jne 0x4121c5
cmp byte [0x4f2c64], 0
je 0x4121c5
call fcn.00438730
test al, al
jne 0x4121c5
mov byte [0x4f2c64], al
jmp 0x4121c5
push str.tabselect
mov ecx, esi
call fcn.0041fd40
test al, al
je 0x411eed
mov ecx, dword [edi + 0x668]
test ecx, ecx
je 0x411bec
call fcn.00437fa0
test eax, eax
jne 0x411bec
push 0x1625
push dword [edi + 0x6a8]
lea ecx, [edi + 0xc]
call fcn.00426570
push 0x112c
push dword [edi + 0x6a8]
lea ecx, [edi + 0xc]
call fcn.00426570
mov ecx, dword [edi + 0x6a8]
test ecx, ecx
je 0x411bc6
push str.resmainWnd_bg1.png
call fcn.0042ddd0
mov ecx, dword [edi + 0x6a8]
test ecx, ecx
je 0x411bd5
call fcn.0042bf50
mov ecx, dword [edi + 0x66c]
test ecx, ecx
je 0x411e42
push 1
push 1
jmp 0x411e3d
mov ecx, dword [edi + 0x668]
test ecx, ecx
je 0x411c3e
call fcn.00437fa0
cmp eax, 1
jne 0x411c3e
push 0x1625
push dword [edi + 0x6a8]
lea ecx, [edi + 0xc]
call fcn.00426570
push 0x112c
push dword [edi + 0x6a8]
lea ecx, [edi + 0xc]
call fcn.00426570
mov ecx, dword [edi + 0x6a8]
push str.resmainWnd_bg2.png
call fcn.0042ddd0
mov ecx, dword [edi + 0x6a8]
jmp 0x411bd0
mov ecx, dword [edi + 0x668]
test ecx, ecx
je 0x411d6d
call fcn.00437fa0
cmp eax, 2
jne 0x411d6d
mov esi, dword [0x4f6bf0]
test esi, esi
jle 0x411d20
mov ecx, dword [0x4f6c14]
mov eax, 0x2aaaaaab
mov ebx, dword [0x4f6c10]
sub ecx, ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jne 0x411d20
lea eax, [esi - 1]
lea eax, [eax + eax*2]
lea eax, [ebx + eax*8]
push eax
lea ecx, [ebp - 0x58]
call fcn.004058c0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x48], 0
je 0x411d02
push 0
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x28]
call fcn.004195f0
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 0x411cec
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, dword [edi + 0x6a8]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0042ddd0
lea ecx, [ebp - 0x28]
call fcn.00401650
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00404190
jmp 0x411d30
mov ecx, dword [edi + 0x6a8]
push str.resmainWnd_bg3.png
call fcn.0042ddd0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00404190
jmp 0x411d30
mov ecx, dword [edi + 0x6a8]
push str.resmainWnd_bg3.png
call fcn.0042ddd0
mov ecx, dword [edi + 0x6a8]
test ecx, ecx
je 0x411d3f
call fcn.0042bf50
mov ecx, dword [edi + 0x6b4]
test ecx, ecx
je 0x411e42
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp eax, 0x4e1af0
jne 0x411e42
mov ecx, dword [edi + 0x6b4]
call fcn.0040f050
jmp 0x411e42
mov ecx, dword [edi + 0x668]
test ecx, ecx
je 0x411e0c
call fcn.00437fa0
cmp eax, 3
jne 0x411e0c
mov ecx, dword [edi + 0x66c]
test ecx, ecx
je 0x411d9c
push 1
push 2
call fcn.004380e0
mov ecx, dword [edi + 0x6a8]
test ecx, ecx
je 0x411db0
push str.resmainWnd_bg4.png
call fcn.0042ddd0
mov ecx, dword [edi + 0x6a8]
test ecx, ecx
je 0x411dbf
call fcn.0042bf50
mov ecx, dword [edi + 0x6b4]
test ecx, ecx
je 0x411de9
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp eax, 0x4e1af0
jne 0x411de9
mov ecx, dword [edi + 0x6b4]
push 0x834
push ecx
mov ecx, dword [ecx + 0x5c]
call fcn.00426570
mov ecx, dword [edi + 0x6b8]
test ecx, ecx
je 0x411e42
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp eax, 0x4e1af0
jne 0x411e42
mov ecx, dword [edi + 0x6b8]
call fcn.0040f050
jmp 0x411e42
mov ecx, dword [edi + 0x6a8]
test ecx, ecx
je 0x411e20
push str.resmainWnd_bg1.png
call fcn.0042ddd0
mov ecx, dword [edi + 0x6a8]
test ecx, ecx
je 0x411e2f
call fcn.0042bf50
mov ecx, dword [edi + 0x66c]
test ecx, ecx
je 0x411e42
push 1
push 0
call fcn.004380e0
mov ecx, dword [edi + 0x668]
test ecx, ecx
je 0x411e78
call fcn.00437fa0
cmp eax, 2
jne 0x411e78
mov ecx, dword [edi + 0x6a4]
test ecx, ecx
je 0x411e6a
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x6c0]
test ecx, ecx
je 0x411ea0
push 1
jmp 0x411e98
mov ecx, dword [edi + 0x6a4]
test ecx, ecx
je 0x411e8c
mov eax, dword [ecx]
push 1
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x6c0]
test ecx, ecx
je 0x411ea0
push 0
mov eax, dword [ecx]
call dword [eax + 0xe0]
mov ecx, dword [edi + 0x668]
test ecx, ecx
je 0x411ed0
call fcn.00437fa0
cmp eax, 1
jne 0x411ed0
mov ecx, dword [edi + 0x680]
test ecx, ecx
je 0x4121c5
push eax
mov eax, dword [ecx]
call dword [eax + 0xe0]
jmp 0x4121c5
mov ecx, dword [edi + 0x680]
test ecx, ecx
je 0x4121c5
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
jmp 0x4121c5
push str.checknet
mov ecx, esi
call fcn.0041fd40
test al, al
je 0x4120a9
mov eax, dword [esi + 0x118]
xor ebx, ebx
sar eax, 0x10
test eax, eax
sete bl
test eax, eax
je 0x41200c
push 0xffffffffffffffff
push 0x4e0730
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x330], 4
mov dword [ebp - 0x32c], 0x93
call fcn.0041fb20
push 0xffffffffffffffff
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 0xd
call fcn.0041fb20
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0xe
call fcn.00403010
mov esi, eax
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
call fcn.00403010
mov edi, eax
push 1
sub esp, 8
mov byte [ebp - 4], 0x10
mov ecx, esi
call fcn.00415180
push eax
push 0
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.00415110
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x14], 8
jb 0x411fa8
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x220]
call fcn.0041fb20
lea ecx, [ebp - 0x58]
call fcn.00401650
lea ecx, [ebp - 0x28]
call fcn.00401650
lea ecx, [ebp - 0x19c]
call fcn.00401650
mov byte [ebp - 4], 0x12
mov edi, dword [ebp - 0x17c]
push 0x4e2058
push str.S_MRQ
lea ecx, [edi - 0x20]
call fcn.004367b0
lea edx, [ebp - 0x330]
mov ecx, eax
call fcn.0041f760
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x330]
call fcn.0040fbe0
push 0xffffffffffffffff
push str.install
lea ecx, [ebp - 0x178]
call fcn.0041fb20
push 0xffffffffffffffff
push 0x4e0730
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x13
call fcn.0041fb20
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 0x14
call fcn.00426220
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.00429b00
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 2
call fcn.0041fc50
lea ecx, [ebp - 0x178]
call fcn.0041fc50
jmp 0x4121c5
push str.install
mov ecx, esi
call fcn.0041fd40
test al, al
je 0x4120d4
cmp dword [esi + 0x118], 0
lea ecx, [edi - 0x20]
setne al
movzx eax, al
push eax
call fcn.004117b0
jmp 0x4121c5
push str.timer
mov ecx, esi
call fcn.0041fd40
test al, al
je 0x412183
mov eax, dword [edi + 0x6a8]
cmp eax, dword [esi + 0x108]
jne 0x412108
cmp dword [esi + 0x118], 0x1625
jne 0x412108
inc dword [edi + 0x6d4]
mov eax, dword [edi + 0x6a8]
cmp eax, dword [esi + 0x108]
jne 0x41212d
cmp dword [esi + 0x118], 0x112c
jne 0x41212d
inc dword [edi + 0x6d4]
jmp 0x4121c5
lea ecx, [edi + 0xc]
call fcn.00426220
cmp eax, dword [esi + 0x108]
jne 0x4121c5
mov eax, dword [esi + 0x118]
cmp eax, 0xa
jne 0x41215f
lea ecx, [edi - 0x20]
call fcn.004367b0
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0xa
jmp 0x412170
cmp eax, 0xb
jne 0x4121c5
push 1
lea ecx, [edi - 0x20]
call fcn.00436590
push 0xb
lea ecx, [edi + 0xc]
call fcn.00426220
push eax
lea ecx, [edi + 0xc]
call fcn.00426570
jmp 0x4121c5
push str.itemselect
mov ecx, esi
call fcn.0041fd40
test al, al
je 0x4121c5
mov ecx, dword [edi + 0x6c4]
cmp dword [esi + 0x108], ecx
jne 0x4121c5
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.004144b0
push dword [ebp - 0x184]
mov ecx, edi
call fcn.004373b0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4121e7
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004017c0
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.0048cbbc
mov esp, ebp
pop ebp
ret 4