Function at 0x40c420
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45aaf1
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4732d4]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x30], ebx
push ebx
call fcn.0040bfbb
call fcn.00432250
lea ecx, [ebx + 0x28]
call fcn.004245cd
mov edi, 0x478220
push str.Begin_OnInit
mov ecx, edi
call fcn.0042c230
pop ecx
mov ecx, ebx
call fcn.0040c717
mov esi, eax
push esi
push str.AnalyCmdLine_:__d
mov ecx, edi
call fcn.0042c230
pop ecx
pop ecx
test esi, esi
jne 0x40c4b5
push str.Not_Get_Right_Uninst_Path...Return
mov ecx, edi
call fcn.0042c230
pop ecx
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebx + 0x284]
call fcn.00434210
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0040169d
and dword [esp + 0x40], 0
lea ecx, [esp + 0x24]
call fcn.00401501
lea eax, [esp + 0x28]
mov byte [esp + 0x40], 1
call fcn.0040d6e4
lea eax, [esp + 0x24]
call fcn.0040d6e4
push dword [esp + 0x28]
xor ecx, ecx
lea esi, [esp + 0x28]
call fcn.0040d6b7
test eax, eax
jne 0x40c68e
mov eax, dword [0x476e64]
mov ecx, 0x476e64
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
push 0x105
lea esi, [esp + 0x24]
mov byte [esp + 0x44], 2
call fcn.0040182b
push eax
mov edi, 0x104
push edi
call dword [0x45c0c0]
mov ebx, dword [esp + 0x20]
push dword [ebx - 8]
push ebx
call fcn.0043c63d
pop ecx
pop ecx
mov edx, esi
call fcn.00401919
lea eax, [esp + 0x2c]
xor ecx, ecx
push eax
inc ecx
mov eax, esi
call fcn.0040d70d
mov esi, 0x462884
push esi
push eax
mov byte [esp + 0x48], 3
call fcn.0040e2d2
test eax, eax
mov byte [esp + 0x40], 2
mov eax, dword [esp + 0x2c]
setne byte [esp + 0x17]
add eax, 0xfffffff0
call fcn.00401143
cmp byte [esp + 0x17], 0
je 0x40c59f
push esi
lea eax, [esp + 0x24]
push eax
call fcn.00401753
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0x18]
push str.Shuame_Uninst.exe
push eax
lea ecx, [esp + 0x28]
call fcn.0040d75d
pop ecx
pop ecx
push 0
mov byte [esp + 0x44], 4
push dword [esp + 0x1c]
push dword [esp + 0x2c]
call dword [0x45c0c4]
test eax, eax
jne 0x40c615
lea esi, [esp + 0x18]
call fcn.004017ce
push edi
call fcn.0040182b
inc eax
inc eax
push eax
xor esi, esi
push esi
push esi
push ebx
call dword [0x45c0d0]
mov eax, dword [esp + 0x18]
push dword [eax - 8]
push eax
call fcn.0043c63d
pop ecx
pop ecx
lea edx, [esp + 0x18]
call fcn.00401919
push esi
push dword [esp + 0x1c]
push dword [esp + 0x2c]
call dword [0x45c0c4]
test eax, eax
je 0x40c66c
push dword [esp + 0x18]
call dword [0x45c334]
test eax, eax
je 0x40c66c
mov esi, 0x478198
call fcn.00403fae
push dword [esp + 0x18]
call fcn.0040159a
mov eax, dword [esp + 0x1c]
pop ecx
add eax, 0xfffffff0
call fcn.00401143
lea eax, [ebx - 0x10]
call fcn.00401143
xor esi, esi
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.00401143
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.00401143
mov eax, esi
jmp 0x40c4a2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.00401143
lea eax, [ebx - 0x10]
mov byte [esp + 0x40], 1
call fcn.00401143
mov ebx, dword [esp + 0x30]
mov edi, 0x478220
call fcn.0040cc6a
push eax
push str.InitNeedFiles...__d_
mov ecx, edi
call fcn.0042c230
pop ecx
pop ecx
push str.general
lea edi, [ebx + 0x2c8]
push edi
call fcn.0040172d
and dword [esp + 0x1c], 0
push 0
push str.SoftwareBottleTechShuame
push 0x80000001
lea esi, [esp + 0x28]
mov byte [esp + 0x4c], 5
call fcn.0040be73
mov esi, dword [0x45c01c]
test eax, eax
je 0x40c6fd
push edi
push str.ReleaseChannel
lea ebx, [esp + 0x24]
call fcn.0040bec1
cmp dword [esp + 0x1c], 0
je 0x40c6f8
push dword [esp + 0x1c]
call esi
and dword [esp + 0x1c], 0
cmp dword [esp + 0x1c], 0
je 0x40c70a
push dword [esp + 0x1c]
call esi
and dword [esp + 0x1c], 0
xor esi, esi
inc esi
jmp 0x40c64d