Function at 0x412730
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd140
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
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 ebx, ecx
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x268], edi
test edi, edi
je 0x41333d
mov eax, dword [edi]
cmp eax, 0x3ea
jne 0x41287b
movsd xmm0, qword [edi + 8]
lea eax, [ebp - 0x204]
mulsd xmm0, qword [0x4f6ba0]
push 0x1f4
push 0
push eax
mulsd xmm0, qword [0x4e3108]
cvttsd2si esi, xmm0
call fcn.00475590
mov ecx, dword [ebx + 0x6c0]
add esp, 0xc
mov eax, dword [ecx]
call dword [eax + 0xcc]
mov ecx, eax
call fcn.004204e0
push eax
lea ecx, [ebp - 0x21c]
call fcn.00403010
mov dword [ebp - 4], 0
cmp dword [ebp - 0x20c], 0
jne 0x412809
lea ecx, [ebx + 0x798]
call fcn.0041a9c0
comiss xmm0, dword [0x4e3118]
lea ecx, [ebp - 0x21c]
jbe 0x4127ff
push 0x4e2234
jmp 0x412804
push 0x4e225c
call fcn.00402f40
cmp dword [ebp - 0x208], 8
lea eax, [ebp - 0x21c]
push esi
cmovae eax, dword [ebp - 0x21c]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.00416270
mov ecx, dword [ebx + 0x6c0]
add esp, 0xc
test ecx, ecx
je 0x412844
mov eax, dword [ecx]
lea edx, [ebp - 0x204]
push edx
call dword [eax + 0x3c]
mov ecx, dword [ebx + 0x6ec]
test ecx, ecx
je 0x412854
push esi
call fcn.004393f0
mov eax, dword [ebp - 0x208]
cmp eax, 8
jb 0x413335
inc eax
lea ecx, [ebp - 0x21c]
push eax
push dword [ebp - 0x21c]
call fcn.004017c0
jmp 0x413335
cmp eax, 0x3e9
jne 0x4128d2
cmp byte [ebx + 0x7e0], 0
jne 0x4128ba
lea eax, [ebp - 0x24c]
mov byte [ebx + 0x7e0], 1
push eax
mov ecx, 0x4f6af0
call fcn.0040f6c0
push eax
lea ecx, [ebx + 0x7c8]
call fcn.00402f90
lea ecx, [ebp - 0x24c]
call fcn.00401650
mov byte [ebx + 0x79c], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x798], eax
jmp 0x413335
cmp eax, 0x3eb
jne 0x4128e9
lea ecx, [ebx + 0x798]
call fcn.0041a9c0
jmp 0x413335
cmp eax, 0x3ec
jne 0x412b2f
push edi
call fcn.00413b40
push 0xffffffffffffffff
push 0x4e0730
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x1a4], 4
mov dword [ebp - 0x1a0], 0x93
call fcn.0041fb20
push 0xffffffffffffffff
push str.NetworkTipWnd.xml
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 1
call fcn.0041fb20
push str.NetworkTipWnd.xml
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
call fcn.00403010
mov esi, eax
push str.NetworkTipWnd.xml
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 3
call fcn.00403010
mov edi, eax
push 1
sub esp, 8
mov byte [ebp - 4], 4
mov ecx, esi
call fcn.00415180
push eax
push 0
lea eax, [ebp - 0x24c]
mov ecx, edi
push eax
call fcn.00415110
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x412992
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x94]
call fcn.0041fb20
lea ecx, [ebp - 0x24c]
call fcn.00401650
lea ecx, [ebp - 0x21c]
call fcn.00401650
lea ecx, [ebp - 0x234]
call fcn.00401650
push 0
push 0
mov ecx, ebx
mov dword [ebp - 4], 6
call fcn.004367b0
lea edx, [ebp - 0x1a4]
mov ecx, eax
call fcn.0041f760
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a4]
mov esi, eax
call fcn.0040fbe0
cmp esi, 1
jne 0x412a16
cmp byte [ebx + 0x7b8], 0
je 0x412b05
push esi
mov ecx, ebx
call fcn.00436590
jmp 0x412b05
test esi, esi
jne 0x412b05
xor eax, eax
mov dword [ebp - 0x208], 7
mov dword [ebp - 0x20c], esi
mov word [ebp - 0x21c], ax
mov dword [ebp - 4], 7
cmp dword [ebx + 0x7a4], eax
jne 0x412a8b
lea eax, [ebp - 0x234]
mov ecx, ebx
push eax
call fcn.004133b0
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402f90
lea ecx, [ebp - 0x234]
call fcn.00401650
cmp dword [ebp - 0x208], 8
lea eax, [ebp - 0x21c]
push 1
cmovae eax, dword [ebp - 0x21c]
mov ecx, ebx
push 1
push eax
call fcn.00410a80
cmp dword [ebx + 0x7a4], 1
jne 0x412af3
lea eax, [ebp - 0x234]
mov ecx, ebx
push eax
call fcn.004138c0
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402f90
lea ecx, [ebp - 0x234]
call fcn.00401650
cmp dword [ebp - 0x208], 8
lea esi, [ebp - 0x21c]
mov ecx, dword [ebx + 0x6d0]
cmovae esi, dword [ebp - 0x21c]
call fcn.00438730
mov ecx, dword [ebx + 0x6cc]
movzx eax, al
push eax
call fcn.00438730
movzx eax, al
mov ecx, ebx
push eax
push esi
call fcn.00410a80
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
call fcn.00401650
mov ecx, dword [ebx + 0x688]
mov dword [ebx + 0x7b0], 2
test ecx, ecx
je 0x41332f
push 1
push dword [ebx + 0x7a4]
call fcn.004380e0
jmp 0x41332f
cmp eax, 0x7d1
jne 0x412b40
call fcn.00414100
jmp 0x413335
cmp eax, 0x7d2
jne 0x412cda
movsd xmm0, qword [edi + 8]
lea ecx, [ebp - 0x234]
movaps xmm1, xmm0
movsd qword [ebp - 0x26c], xmm0
call fcn.0040f690
mov dword [ebp - 4], 8
movsd xmm0, qword [ebx + 0x7a8]
addsd xmm0, qword [str.333333]
movsd xmm1, qword [0x4e30f0]
comisd xmm0, xmm1
movsd qword [ebx + 0x7a8], xmm0
jbe 0x412b9b
movsd qword [ebx + 0x7a8], xmm1
movsd xmm2, qword [ebp - 0x26c]
ucomisd xmm2, qword [0x4e30d8]
movsd xmm0, qword [ebx + 0x7a8]
lahf
test ah, 0x44
jp 0x412bc4
comisd xmm0, xmm2
jbe 0x412bd5
movaps xmm2, xmm0
jmp 0x412bdd
comisd xmm0, xmm2
jbe 0x412bcf
movaps xmm2, xmm0
jmp 0x412bdd
comisd xmm2, xmm0
jbe 0x412bdd
movsd qword [ebx + 0x7a8], xmm2
movsd xmm1, qword [0x4e30f8]
lea eax, [ebp - 0x204]
subsd xmm1, qword [0x4f6ba0]
push 0x1f4
push 0
push eax
mulsd xmm1, xmm2
addsd xmm1, qword [0x4f6ba0]
mulsd xmm1, qword [0x4e3108]
cvttsd2si esi, xmm1
call fcn.00475590
mov ecx, dword [ebx + 0x6c0]
add esp, 0xc
mov eax, dword [ecx]
call dword [eax + 0xcc]
mov ecx, eax
call fcn.004204e0
push eax
lea ecx, [ebp - 0x21c]
call fcn.00403010
mov byte [ebp - 4], 9
cmp dword [ebp - 0x20c], 0
jne 0x412c74
lea ecx, [ebx + 0x798]
call fcn.0041a9c0
comiss xmm0, dword [0x4e3118]
lea ecx, [ebp - 0x21c]
jbe 0x412c6a
push 0x4e2234
jmp 0x412c6f
push 0x4e225c
call fcn.00402f40
cmp dword [ebp - 0x208], 8
lea eax, [ebp - 0x21c]
push esi
cmovae eax, dword [ebp - 0x21c]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.00416270
mov ecx, dword [ebx + 0x6c0]
add esp, 0xc
test ecx, ecx
je 0x412caf
mov eax, dword [ecx]
lea edx, [ebp - 0x204]
push edx
call dword [eax + 0x3c]
mov ecx, dword [ebx + 0x6ec]
test ecx, ecx
je 0x412cbf
push esi
call fcn.004393f0
lea ecx, [ebp - 0x21c]
call fcn.00401650
lea ecx, [ebp - 0x234]
call fcn.00404190
jmp 0x413335
cmp eax, 0x7d3
jne 0x412e27
lea ecx, [ebx + 0x798]
call fcn.0041a9c0
call fcn.004261f0
mov ecx, eax
call fcn.004204e0
push eax
lea ecx, [ebp - 0x24c]
call fcn.00403010
push str.resmainWndinstallPrg3.png
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 0xa
call fcn.00403010
mov byte [ebp - 4], 0xb
mov ecx, dword [ebx + 0x6ec]
test ecx, ecx
je 0x412d34
push 0x64
call fcn.004393f0
lea eax, [ebp - 0x21c]
push eax
lea edx, [ebp - 0x24c]
lea ecx, [ebp - 0x234]
call fcn.00416190
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x412d57
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x234]
mov esi, eax
call fcn.00401650
test esi, esi
je 0x412da2
mov ecx, dword [ebx + 0x6ec]
test ecx, ecx
je 0x412d93
cmp dword [ebp - 0x208], 8
lea eax, [ebp - 0x21c]
cmovae eax, dword [ebp - 0x21c]
push eax
call fcn.004393a0
mov ecx, dword [ebx + 0x6ec]
test ecx, ecx
je 0x412da2
call fcn.0042bf50
push 0x1625
push dword [ebx + 0x6c8]
lea ecx, [ebx + 0x2c]
call fcn.00426570
push 0x112c
push dword [ebx + 0x6c8]
lea ecx, [ebx + 0x2c]
call fcn.00426570
mov ecx, dword [ebx + 0x6dc]
test ecx, ecx
je 0x412dec
mov eax, dword [ecx]
push 0x4e1cb8
call dword [eax + 0x3c]
mov ecx, dword [ebx + 0x6dc]
push 1
mov eax, dword [ecx]
call dword [eax + 0xe0]
mov ecx, dword [ebx + 0x688]
push 1
push 3
call fcn.004380e0
mov ecx, ebx
mov dword [ebx + 0x7b0], 3
call fcn.00413e10
lea ecx, [ebp - 0x21c]
call fcn.00401650
lea ecx, [ebp - 0x24c]
call fcn.00401650
jmp 0x413335
cmp eax, 0x7d4
jne 0x412fcf
push ecx
push edi
call fcn.00413db0
lea eax, [edi + 0x10]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00406200
mov dword [ebp - 4], 0xc
cmp dword [edi + 0x20], 0
jne 0x412e65
push 0x4e22dc
lea ecx, [ebp - 0x21c]
call fcn.00402f40
push 0xffffffffffffffff
push 0x4e0730
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x1a4], 4
mov dword [ebp - 0x1a0], 0x93
call fcn.0041fb20
push 0xffffffffffffffff
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x14
call fcn.0041fb20
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0x15
call fcn.00403010
mov esi, eax
push str.MessageBox2Wnd.xml
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0x16
call fcn.00403010
mov edi, eax
push 1
sub esp, 8
mov byte [ebp - 4], 0x17
mov ecx, esi
call fcn.00415180
push eax
push 0
lea eax, [ebp - 0x234]
mov ecx, edi
push eax
call fcn.00415110
mov byte [ebp - 4], 0x18
cmp dword [eax + 0x14], 8
jb 0x412efa
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x94]
call fcn.0041fb20
lea ecx, [ebp - 0x234]
call fcn.00401650
lea ecx, [ebp - 0x24c]
call fcn.00401650
lea ecx, [ebp - 0x264]
call fcn.00401650
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x21c]
cmp dword [ebp - 0x208], 8
mov ecx, ebx
push 0x4e2058
cmovae eax, dword [ebp - 0x21c]
push eax
call fcn.004367b0
lea edx, [ebp - 0x1a4]
mov ecx, eax
call fcn.0041f760
add esp, 8
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1a4]
call fcn.0040fbe0
mov ecx, dword [ebx + 0x6ec]
mov dword [ebx + 0x7b0], 2
call fcn.00439080
cmp eax, 0x46
jl 0x412fac
mov ecx, dword [ebx + 0x6c0]
test ecx, ecx
je 0x412f9b
mov eax, dword [ecx]
push str.ck_W
call dword [eax + 0x3c]
mov ecx, dword [ebx + 0x6ec]
test ecx, ecx
je 0x412fac
push 0
call fcn.004393f0
mov ecx, dword [ebx + 0x688]
test ecx, ecx
je 0x412fbf
push 1
push 0
call fcn.004380e0
lea ecx, [ebp - 0x21c]
call fcn.00401650
jmp 0x41332f
cmp eax, 0xbb8
jne 0x412fde
lea ecx, [ebx + 0x728]
jmp 0x413009
cmp eax, 0xbb9
jne 0x412fed
lea ecx, [ebx + 0x6f8]
jmp 0x413009
cmp eax, 0xbbb
jne 0x412ffc
lea ecx, [ebx + 0x710]
jmp 0x413009
cmp eax, 0xbbc
jne 0x413023
lea ecx, [ebx + 0x770]
lea eax, [edi + 0x10]
cmp ecx, eax
je 0x413335
push 0xffffffffffffffff
push 0
push eax
call fcn.00403270
jmp 0x413335
cmp eax, 0xbbd
jne 0x41303a
cvttsd2si eax, qword [edi + 8]
mov dword [ebx + 0x788], eax
jmp 0x413335
cmp eax, 0xbbf
jne 0x413056
movsd xmm0, qword [edi + 8]
call fcn.0048d631
mov dword [ebx + 0x78c], eax
jmp 0x413335
cmp eax, 0xbc0
jne 0x413072
movsd xmm0, qword [edi + 8]
call fcn.0048d631
mov dword [ebx + 0x790], eax
jmp 0x413335
cmp eax, 0xbc1
jne 0x413189
push 0xffffffffffffffff
push 0x4e0730
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x1a4], 4
mov dword [ebp - 0x1a0], 0x93
call fcn.0041fb20
push 0xffffffffffffffff
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0x22
call fcn.0041fb20
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0x23
call fcn.00403010
mov esi, eax
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0x24
call fcn.00403010
mov edi, eax
push 1
sub esp, 8
mov byte [ebp - 4], 0x25
mov ecx, esi
call fcn.00415180
push eax
push 0
lea eax, [ebp - 0x234]
mov ecx, edi
push eax
call fcn.00415110
mov byte [ebp - 4], 0x26
cmp dword [eax + 0x14], 8
jb 0x413115
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x94]
call fcn.0041fb20
lea ecx, [ebp - 0x234]
call fcn.00401650
lea ecx, [ebp - 0x24c]
call fcn.00401650
lea ecx, [ebp - 0x21c]
call fcn.00401650
mov edi, dword [ebp - 0x268]
lea eax, [edi + 0x10]
mov dword [ebp - 4], 0x27
cmp dword [eax + 0x14], 8
jb 0x41315c
mov eax, dword [eax]
push 0x4e2308
push eax
mov ecx, ebx
call fcn.004367b0
lea edx, [ebp - 0x1a4]
mov ecx, eax
call fcn.0041f760
add esp, 8
lea ecx, [ebp - 0x1a4]
call fcn.0040fbe0
jmp 0x413335
cmp eax, 0x3ee
jne 0x41319c
push ecx
push edi
call fcn.00413db0
jmp 0x413335
cmp eax, 0x1389
je 0x413335
cmp eax, 0x138a
je 0x413335
cmp eax, 0x138b
je 0x413335
cmp eax, 0x138c
je 0x4131cf
cmp eax, 0x138d
jne 0x413335
push 0x4e201c
lea ecx, [ebp - 0x264]
call fcn.00403010
push 0xffffffffffffffff
mov dword [ebp - 4], 0x36
lea ecx, [ebp - 0x440]
push 0x4e0730
mov dword [ebp - 0x448], 4
mov dword [ebp - 0x444], 0x93
call fcn.0041fb20
push 0xffffffffffffffff
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x3bc]
mov byte [ebp - 4], 0x37
call fcn.0041fb20
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 0x38
call fcn.00403010
mov esi, eax
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0x39
call fcn.00403010
mov edi, eax
push 1
sub esp, 8
mov byte [ebp - 4], 0x3a
mov ecx, esi
call fcn.00415180
push eax
push 0
lea eax, [ebp - 0x284]
mov ecx, edi
push eax
call fcn.00415110
mov byte [ebp - 4], 0x3b
cmp dword [eax + 0x14], 8
jb 0x41327b
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x338]
call fcn.0041fb20
lea ecx, [ebp - 0x284]
call fcn.00401650
lea ecx, [ebp - 0x29c]
call fcn.00401650
lea ecx, [ebp - 0x2b4]
call fcn.00401650
mov byte [ebp - 4], 0x3c
lea eax, [ebp - 0x264]
cmp dword [ebp - 0x250], 8
mov ecx, ebx
push 0x4e2058
cmovae eax, dword [ebp - 0x264]
push eax
call fcn.004367b0
lea edx, [ebp - 0x448]
mov ecx, eax
call fcn.0041f760
add esp, 8
lea ecx, [ebp - 0x448]
call fcn.0040fbe0
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], 0xffffffff
call fcn.00401650
mov ecx, dword [ebx + 0x688]
mov dword [ebx + 0x7b0], 2
test ecx, ecx
je 0x41331d
push 1
push dword [ebx + 0x7a4]
call fcn.004380e0
cmp byte [ebx + 0x7b8], 0
je 0x41332f
push 1
mov ecx, ebx
call fcn.00436590
mov edi, dword [ebp - 0x268]
push ecx
mov ecx, edi
call fcn.00413360
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.0048cbbc
mov esp, ebp
pop ebp
ret 0x10