Function at 0x418770
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x544bd6
mov eax, dword fs:[0]
push eax
sub esp, 0x4b0
mov eax, dword [0x595534]
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 - 0x284], edi
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x4bc]
push edx
mov dword [ebp - 0x28c], esi
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00429da0
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 0x4187ee
xor ecx, ecx
jmp 0x418802
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4187f3
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00403120
lea ecx, [ebp - 0x4bc]
mov byte [ebp - 4], 2
call fcn.004295e0
push str.selectchanged
mov ecx, esi
call fcn.004296c0
test al, al
je 0x4189b1
mov ecx, dword [edi + 0x918]
mov eax, dword [esi + 0x108]
cmp ecx, eax
jne 0x4188b8
call fcn.00452700
mov ecx, dword [edi + 0x91c]
mov bh, al
mov byte [ebp - 0x284], bh
mov bl, 1
test ecx, ecx
je 0x41885f
call fcn.00452700
mov bl, al
push dword [ebp - 0x284]
mov ecx, dword [edi + 0x90c]
call fcn.00453270
test bh, bh
je 0x41889b
test bl, bl
je 0x41889b
mov ecx, dword [edi + 0x908]
push str.hand
push str.cursor
mov eax, dword [ecx]
call dword [eax + 0x164]
mov ecx, dword [edi + 0x958]
jmp 0x418d28
mov ecx, dword [edi + 0x908]
push 0x57f1bc
push str.cursor
mov eax, dword [ecx]
call dword [eax + 0x164]
jmp 0x4190b9
mov edx, dword [edi + 0x91c]
cmp edx, eax
jne 0x418928
mov ecx, edx
call fcn.00452700
mov ecx, dword [edi + 0x918]
mov bl, al
call fcn.00452700
test bl, bl
je 0x418903
test al, al
je 0x4188ee
mov ecx, dword [edi + 0x908]
push 1
mov eax, dword [ecx]
call dword [eax + 0x12c]
mov ecx, dword [edi + 0x900]
push 1
mov eax, dword [ecx]
call dword [eax + 0x12c]
jmp 0x4190b9
mov ecx, dword [edi + 0x908]
push 0
mov eax, dword [ecx]
call dword [eax + 0x12c]
mov ecx, dword [edi + 0x900]
push 0
mov eax, dword [ecx]
call dword [eax + 0x12c]
jmp 0x4190b9
cmp dword [edi + 0x90c], eax
jne 0x418951
call fcn.00452700
mov ecx, dword [edi + 0x90c]
mov byte [ebp - 0x284], al
push dword [ebp - 0x284]
call fcn.00453270
jmp 0x4190b9
mov ecx, dword [edi + 0x93c]
cmp ecx, eax
jne 0x41897f
cmp byte [0x595f31], 0
je 0x4190b9
call fcn.004527d0
test al, al
jne 0x4190b9
mov byte [0x595f31], al
jmp 0x4190b9
mov ecx, dword [edi + 0x940]
cmp ecx, eax
jne 0x4190b9
cmp byte [0x595f30], 0
je 0x4190b9
call fcn.004527d0
test al, al
jne 0x4190b9
mov byte [0x595f30], al
jmp 0x4190b9
push str.tabselect
mov ecx, esi
call fcn.004296c0
test al, al
je 0x418d3f
mov ecx, dword [edi + 0x8f8]
test ecx, ecx
je 0x418a38
call fcn.00451e20
test eax, eax
jne 0x418a38
push 0x1625
push dword [edi + 0x938]
lea ecx, [edi + 0x10]
call fcn.0042f7d0
push 0x112c
push dword [edi + 0x938]
lea ecx, [edi + 0x10]
call fcn.0042f7d0
mov ecx, dword [edi + 0x938]
test ecx, ecx
je 0x418a12
push str.resmainWnd_bg1.png
call fcn.00438600
mov ecx, dword [edi + 0x938]
test ecx, ecx
je 0x418a21
call fcn.00436bb0
mov ecx, dword [edi + 0x8fc]
test ecx, ecx
je 0x418c94
push 1
push 1
jmp 0x418c8c
mov ecx, dword [edi + 0x8f8]
test ecx, ecx
je 0x418a8a
call fcn.00451e20
cmp eax, 1
jne 0x418a8a
push 0x1625
push dword [edi + 0x938]
lea ecx, [edi + 0x10]
call fcn.0042f7d0
push 0x112c
push dword [edi + 0x938]
lea ecx, [edi + 0x10]
call fcn.0042f7d0
mov ecx, dword [edi + 0x938]
push str.resmainWnd_bg2.png
call fcn.00438600
mov ecx, dword [edi + 0x938]
jmp 0x418a1c
mov ecx, dword [edi + 0x8f8]
test ecx, ecx
je 0x418bb9
call fcn.00451e20
cmp eax, 2
jne 0x418bb9
mov esi, dword [0x59b1a0]
test esi, esi
jle 0x418b6c
mov ecx, dword [0x59b1c4]
mov eax, 0x2aaaaaab
mov ebx, dword [0x59b1c0]
sub ecx, ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jne 0x418b6c
lea eax, [esi - 1]
lea eax, [eax + eax*2]
lea eax, [ebx + eax*8]
push eax
lea ecx, [ebp - 0x58]
call fcn.00405f30
mov byte [ebp - 4], 3
cmp dword [ebp - 0x48], 0
je 0x418b4e
push 0
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x28]
call fcn.00420ae0
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 0x418b38
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, dword [edi + 0x938]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00438600
lea ecx, [ebp - 0x28]
call fcn.00401670
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.004047c0
jmp 0x418b7c
mov ecx, dword [edi + 0x938]
push str.resmainWnd_bg3.png
call fcn.00438600
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.004047c0
jmp 0x418b7c
mov ecx, dword [edi + 0x938]
push str.resmainWnd_bg3.png
call fcn.00438600
mov ecx, dword [edi + 0x938]
test ecx, ecx
je 0x418b8b
call fcn.00436bb0
mov ecx, dword [edi + 0x944]
test ecx, ecx
je 0x418c94
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp eax, 0x57e794
jne 0x418c94
mov ecx, dword [edi + 0x944]
call fcn.00413710
jmp 0x418c94
mov ecx, dword [edi + 0x8f8]
test ecx, ecx
je 0x418c5b
call fcn.00451e20
cmp eax, 3
jne 0x418c5b
mov ecx, dword [edi + 0x8fc]
test ecx, ecx
je 0x418beb
mov eax, dword [ecx]
push 1
push 2
call dword [eax + 0x238]
mov ecx, dword [edi + 0x938]
test ecx, ecx
je 0x418bff
push str.resmainWnd_bg4.png
call fcn.00438600
mov ecx, dword [edi + 0x938]
test ecx, ecx
je 0x418c0e
call fcn.00436bb0
mov ecx, dword [edi + 0x944]
test ecx, ecx
je 0x418c38
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp eax, 0x57e794
jne 0x418c38
mov ecx, dword [edi + 0x944]
push 0x834
push ecx
mov ecx, dword [ecx + 0x44]
call fcn.0042f7d0
mov ecx, dword [edi + 0x948]
test ecx, ecx
je 0x418c94
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp eax, 0x57e794
jne 0x418c94
mov ecx, dword [edi + 0x948]
call fcn.00413710
jmp 0x418c94
mov ecx, dword [edi + 0x938]
test ecx, ecx
je 0x418c6f
push str.resmainWnd_bg1.png
call fcn.00438600
mov ecx, dword [edi + 0x938]
test ecx, ecx
je 0x418c7e
call fcn.00436bb0
mov ecx, dword [edi + 0x8fc]
test ecx, ecx
je 0x418c94
push 1
push 0
mov eax, dword [ecx]
call dword [eax + 0x238]
mov ecx, dword [edi + 0x8f8]
test ecx, ecx
je 0x418cca
call fcn.00451e20
cmp eax, 2
jne 0x418cca
mov ecx, dword [edi + 0x934]
test ecx, ecx
je 0x418cbc
mov eax, dword [ecx]
push 0
call dword [eax + 0x120]
mov ecx, dword [edi + 0x950]
test ecx, ecx
je 0x418cf2
push 1
jmp 0x418cea
mov ecx, dword [edi + 0x934]
test ecx, ecx
je 0x418cde
mov eax, dword [ecx]
push 1
call dword [eax + 0x120]
mov ecx, dword [edi + 0x950]
test ecx, ecx
je 0x418cf2
push 0
mov eax, dword [ecx]
call dword [eax + 0x120]
mov ecx, dword [edi + 0x8f8]
test ecx, ecx
je 0x418d22
call fcn.00451e20
cmp eax, 1
jne 0x418d22
mov ecx, dword [edi + 0x910]
test ecx, ecx
je 0x4190b9
push eax
mov eax, dword [ecx]
call dword [eax + 0x120]
jmp 0x4190b9
mov ecx, dword [edi + 0x910]
test ecx, ecx
je 0x4190b9
mov eax, dword [ecx]
push 0
call dword [eax + 0x120]
jmp 0x4190b9
push str.checknet
mov ecx, esi
call fcn.004296c0
test al, al
je 0x418fad
mov eax, dword [esi + 0x118]
xor ebx, ebx
sar eax, 0x10
test eax, eax
sete bl
test eax, eax
je 0x418f00
push 0x84
lea eax, [ebp - 0x160]
push 0
push eax
call fcn.004fb6e0
add esp, 0xc
lea eax, [ebp - 0x160]
push 0
push str.The_current_network_environment_is_poor__please_install_it_when_the_network_is_smooth
push eax
call fcn.00416230
mov ecx, eax
call fcn.0044d9f0
push 0x84
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 5
push 0
push eax
call fcn.004fb6e0
add esp, 0xc
lea eax, [ebp - 0xdc]
push 0
push str.Gentle_Reminder
push eax
call fcn.00416230
mov ecx, eax
call fcn.0044d9f0
push 0xffffffffffffffff
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x430]
push 0x57d188
mov dword [ebp - 0x438], 4
mov dword [ebp - 0x434], 0x93
call fcn.00429480
push 0xffffffffffffffff
push 0x57f0b8
lea ecx, [ebp - 0x3ac]
mov byte [ebp - 4], 7
call fcn.00429480
push 0x57f0b8
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 8
call fcn.00402fd0
mov esi, eax
push 0x57f0b8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.00402fd0
mov edi, eax
push 1
sub esp, 8
mov byte [ebp - 4], 0xa
mov ecx, esi
call fcn.0041c020
push eax
push 0
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.0041bfe0
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
jb 0x418e62
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x328]
call fcn.00429480
lea ecx, [ebp - 0x58]
call fcn.00401670
lea ecx, [ebp - 0x28]
call fcn.00401670
lea ecx, [ebp - 0x2a4]
call fcn.00401670
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0xc
call fcn.00429da0
push eax
lea ecx, [ebp - 0x160]
call fcn.00429da0
mov edi, dword [ebp - 0x284]
push eax
lea ecx, [edi - 0x20]
call fcn.005106f0
lea edx, [ebp - 0x438]
mov ecx, eax
call fcn.00429190
add esp, 8
lea ecx, [ebp - 0x328]
call fcn.004295e0
lea ecx, [ebp - 0x3ac]
call fcn.004295e0
lea ecx, [ebp - 0x430]
call fcn.004295e0
lea ecx, [ebp - 0xdc]
call fcn.004295e0
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 2
call fcn.004295e0
push 0xffffffffffffffff
push str.install
lea ecx, [ebp - 0x280]
call fcn.00429480
push 0xffffffffffffffff
push 0x57d188
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 0xd
call fcn.00429480
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 0xe
call fcn.0042f3c0
mov dword [ebp - 0x178], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xorps xmm0, xmm0
mov dword [ebp - 0x174], eax
movq qword [ebp - 0x288], xmm0
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x164], 0
push 0
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [edi + 0x10]
call fcn.00434120
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 2
call fcn.004295e0
lea ecx, [ebp - 0x280]
call fcn.004295e0
jmp 0x4190b9
push str.install
mov ecx, esi
call fcn.004296c0
test al, al
je 0x418fd8
cmp dword [esi + 0x118], 0
lea ecx, [edi - 0x20]
setne al
movzx eax, al
push eax
call fcn.004185f0
jmp 0x4190b9
push str.timer
mov ecx, esi
call fcn.004296c0
test al, al
je 0x419083
mov eax, dword [edi + 0x938]
cmp eax, dword [esi + 0x108]
jne 0x41900c
cmp dword [esi + 0x118], 0x1625
jne 0x41900c
inc dword [edi + 0x964]
mov eax, dword [edi + 0x938]
cmp eax, dword [esi + 0x108]
jne 0x419031
cmp dword [esi + 0x118], 0x112c
jne 0x419031
inc dword [edi + 0x964]
jmp 0x4190b9
lea ecx, [edi + 0x10]
call fcn.0042f3c0
cmp eax, dword [esi + 0x108]
jne 0x4190b9
mov eax, dword [esi + 0x118]
cmp eax, 0xa
jne 0x41905f
lea ecx, [edi - 0x20]
call fcn.005106f0
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0xa
jmp 0x419070
cmp eax, 0xb
jne 0x4190b9
push 1
lea ecx, [edi - 0x20]
call fcn.0044e070
push 0xb
lea ecx, [edi + 0x10]
call fcn.0042f3c0
push eax
lea ecx, [edi + 0x10]
call fcn.0042f7d0
jmp 0x4190b9
push str.itemselect
mov ecx, esi
call fcn.004296c0
test al, al
je 0x4190b9
mov ecx, dword [edi + 0x954]
cmp dword [esi + 0x108], ecx
jne 0x4190b9
mov eax, dword [ecx + 0x740]
add ecx, 0x740
call dword [eax + 8]
push ecx
lea ecx, [edi - 0x20]
call fcn.0041b3c0
push dword [ebp - 0x28c]
mov ecx, edi
call fcn.00451220
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4190db
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004017e0
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.004ff9ee
mov esp, ebp
pop ebp
ret 4