Function at 0x1004f640
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013de46
mov eax, dword fs:[0]
push eax
sub esp, 0x634
mov eax, dword [0x1019bc84]
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
cmp dword [ebx + 0x6c], 3
jne 0x1004fa8f
cmp dword [ebp + 8], 0
je 0x1004f693
call fcn.10062810
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
test eax, eax
jne 0x1004fa8f
call fcn.10062810
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
neg eax
sbb esi, esi
inc esi
call fcn.10044a80
mov ecx, eax
call fcn.1003fc80
cmp dword [eax], 0
jne 0x1004fa8f
call fcn.10044a80
mov ecx, eax
call fcn.1003df80
push eax
lea ecx, [ebp - 0x634]
call fcn.10010420
mov dword [ebp - 4], 0
test esi, esi
je 0x1004f6eb
push str.__video
lea ecx, [ebp - 0x634]
call fcn.1004dc00
call fcn.10044a80
mov ecx, eax
call fcn.1003e1f0
push 0x101570c4
push dword [eax]
call fcn.1010dcf2
add esp, 8
test eax, eax
jne 0x1004f71b
push dword [0x1019b4c4]
lea ecx, [ebp - 0x634]
call fcn.1004dc00
test esi, esi
je 0x1004f73b
call fcn.10044b20
push dword [eax + 0x48]
lea eax, [ebp - 0x634]
push str.___init_mode_d
push eax
call fcn.1002e940
add esp, 0xc
mov edi, dword [ebp - 0x634]
push edi
push str.szCNCmdLine:__s
call fcn.1004d170
add esp, 8
test esi, esi
je 0x1004f767
call fcn.10044a80
mov ecx, eax
call fcn.1003fe80
test eax, eax
jne 0x1004fa70
call fcn.10044a80
mov ecx, eax
call fcn.1003fc50
mov eax, dword [eax]
mov dword [ebp - 0x63c], eax
call fcn.10044a80
mov ecx, eax
call fcn.1003fca0
mov eax, dword [eax]
mov dword [ebp - 0x638], eax
call fcn.10044a80
mov ecx, eax
call fcn.1003fc90
mov eax, dword [eax]
mov dword [ebp - 0x640], eax
call fcn.10044a80
mov ecx, eax
call fcn.1003e1e0
push eax
lea ecx, [ebp - 0x62c]
call fcn.10010420
push 0x1015589c
lea ecx, [ebp - 0x62c]
mov byte [ebp - 4], 1
call fcn.1004dc00
push dword [0x1019b4c0]
lea ecx, [ebp - 0x62c]
call fcn.1004dc00
call fcn.10044a80
mov ecx, eax
call fcn.1003fb80
test eax, eax
jne 0x1004f869
call fcn.10044a80
mov ecx, eax
call fcn.1003fba0
xor edx, edx
mov ecx, str.__NoFloat
cmp dword [eax], edx
cmove ecx, edx
push ecx
lea ecx, [ebp - 0x62c]
call fcn.1004dc00
call fcn.10044a80
mov ecx, eax
call fcn.1003fbb0
test eax, eax
jne 0x1004f828
test esi, esi
je 0x1004f849
push 0x1015589c
lea ecx, [ebp - 0x62c]
call fcn.1004dc00
push dword [0x1019b4bc]
lea ecx, [ebp - 0x62c]
call fcn.1004dc00
call fcn.10044a80
mov ecx, eax
call fcn.1003ddd0
call fcn.10044a80
mov ecx, eax
call fcn.1003dea0
test eax, eax
jne 0x1004f869
test esi, esi
jne 0x1004f879
push str.__VerifyPhone
lea ecx, [ebp - 0x62c]
call fcn.1004dc00
mov ecx, ebx
call fcn.1004f330
call fcn.10044a80
mov esi, dword [ebp - 0x62c]
cmp dword [eax + 0x60], 0
je 0x1004f8a3
push str.disable_all_entry
call fcn.1004d170
add esp, 4
jmp 0x1004fa54
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100e3030
add esp, 0xc
call fcn.10062810
push 0x104
lea edx, [ebp - 0x420]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
mov dword [ebp - 0x630], str.ThemesUIludashi.dat
xor ebx, ebx
nop dword [eax]
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.100e3030
add esp, 0xc
lea eax, [ebp - 0x420]
push dword [ebp - 0x630]
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1004f93d
add dword [ebp - 0x630], 0x208
add ebx, 0x208
cmp ebx, 0x208
jb 0x1004f8e0
xor ebx, ebx
jmp 0x1004f942
mov ebx, 1
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x630], ebx
push 0
push eax
call fcn.100e3030
add esp, 0xc
call fcn.10062810
push 0x104
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
push ebx
push str.is_lite_pack:__d
call fcn.1004d170
lea eax, [ebp - 0x218]
push eax
push str.install_path:__s
call fcn.1004d170
add esp, 0x10
test ebx, ebx
je 0x1004f9e7
push str.ComputerZ.set
lea eax, [ebp - 0x218]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
push 0x10158470
push str.ShowDesktopPanel
push str.general
call ebx
lea eax, [ebp - 0x218]
push eax
push 0x10158470
push str.ShowMonitor
push str.general
call ebx
mov ebx, dword [ebp - 0x630]
push esi
push str.szTrayCmdLine:__s
call fcn.1004d170
add esp, 8
cmp dword [ebp - 0x638], 0
je 0x1004fa23
cmp dword [ebp - 0x63c], 0
jne 0x1004fa18
call fcn.10062810
push esi
push str.ComputerZTray.exe
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
cmp dword [ebp - 0x640], 0
je 0x1004fa54
jmp 0x1004fa34
call fcn.10062810
push esi
push str.ComputerZTray.exe
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
test ebx, ebx
jne 0x1004fa54
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.10062810
push edi
push 0x10154d8c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1004fa70
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1004fa8f
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
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.1009de58
mov esp, ebp
pop ebp
ret 4