Function at 0x1004f950
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016e536
mov eax, dword fs:[0]
push eax
sub esp, 0x634
mov eax, dword [0x101d7c7c]
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 0x1004fd9f
cmp dword [ebp + 8], 0
je 0x1004f9a3
call fcn.10071f70
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
test eax, eax
jne 0x1004fd9f
call fcn.10071f70
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
neg eax
sbb esi, esi
inc esi
call fcn.10044c90
mov ecx, eax
call fcn.10040050
cmp dword [eax], 0
jne 0x1004fd9f
call fcn.10044c90
mov ecx, eax
call fcn.1003e350
push eax
lea ecx, [ebp - 0x634]
call fcn.10010760
mov dword [ebp - 4], 0
test esi, esi
je 0x1004f9fb
push str.__video
lea ecx, [ebp - 0x634]
call fcn.1004de00
call fcn.10044c90
mov ecx, eax
call fcn.1003e5c0
push 0x1018a154
push dword [eax]
call fcn.1013da92
add esp, 8
test eax, eax
jne 0x1004fa2b
push dword [0x101d74c4]
lea ecx, [ebp - 0x634]
call fcn.1004de00
test esi, esi
je 0x1004fa4b
call fcn.10044d20
push dword [eax + 0x48]
lea eax, [ebp - 0x634]
push str.___init_mode_d
push eax
call fcn.1002ecb0
add esp, 0xc
mov edi, dword [ebp - 0x634]
push edi
push str.szCNCmdLine:__s
call fcn.1004d370
add esp, 8
test esi, esi
je 0x1004fa77
call fcn.10044c90
mov ecx, eax
call fcn.10040090
test eax, eax
jne 0x1004fd80
call fcn.10044c90
mov ecx, eax
call fcn.10040020
mov eax, dword [eax]
mov dword [ebp - 0x63c], eax
call fcn.10044c90
mov ecx, eax
call fcn.10040070
mov eax, dword [eax]
mov dword [ebp - 0x638], eax
call fcn.10044c90
mov ecx, eax
call fcn.10040060
mov eax, dword [eax]
mov dword [ebp - 0x640], eax
call fcn.10044c90
mov ecx, eax
call fcn.1003e5b0
push eax
lea ecx, [ebp - 0x62c]
call fcn.10010760
push 0x1018892c
lea ecx, [ebp - 0x62c]
mov byte [ebp - 4], 1
call fcn.1004de00
push dword [0x101d74c0]
lea ecx, [ebp - 0x62c]
call fcn.1004de00
call fcn.10044c90
mov ecx, eax
call fcn.1003ff50
test eax, eax
jne 0x1004fb79
call fcn.10044c90
mov ecx, eax
call fcn.1003ff70
xor edx, edx
mov ecx, str.__NoFloat
cmp dword [eax], edx
cmove ecx, edx
push ecx
lea ecx, [ebp - 0x62c]
call fcn.1004de00
call fcn.10044c90
mov ecx, eax
call fcn.1003ff80
test eax, eax
jne 0x1004fb38
test esi, esi
je 0x1004fb59
push 0x1018892c
lea ecx, [ebp - 0x62c]
call fcn.1004de00
push dword [0x101d74bc]
lea ecx, [ebp - 0x62c]
call fcn.1004de00
call fcn.10044c90
mov ecx, eax
call fcn.1003e1a0
call fcn.10044c90
mov ecx, eax
call fcn.1003e270
test eax, eax
jne 0x1004fb79
test esi, esi
jne 0x1004fb89
push str.__VerifyPhone
lea ecx, [ebp - 0x62c]
call fcn.1004de00
mov ecx, ebx
call fcn.1004f640
call fcn.10044c90
mov esi, dword [ebp - 0x62c]
cmp dword [eax + 0x60], 0
je 0x1004fbb3
push str.disable_all_entry
call fcn.1004d370
add esp, 4
jmp 0x1004fd64
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10112750
add esp, 0xc
call fcn.10071f70
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.10112750
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 0x1004fc4d
add dword [ebp - 0x630], 0x208
add ebx, 0x208
cmp ebx, 0x208
jb 0x1004fbf0
xor ebx, ebx
jmp 0x1004fc52
mov ebx, 1
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x630], ebx
push 0
push eax
call fcn.10112750
add esp, 0xc
call fcn.10071f70
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.1004d370
lea eax, [ebp - 0x218]
push eax
push str.install_path:__s
call fcn.1004d370
add esp, 0x10
test ebx, ebx
je 0x1004fcf7
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 0x1018b530
push str.ShowDesktopPanel
push str.general
call ebx
lea eax, [ebp - 0x218]
push eax
push 0x1018b530
push str.ShowMonitor
push str.general
call ebx
mov ebx, dword [ebp - 0x630]
push esi
push str.szTrayCmdLine:__s
call fcn.1004d370
add esp, 8
cmp dword [ebp - 0x638], 0
je 0x1004fd33
cmp dword [ebp - 0x63c], 0
jne 0x1004fd28
call fcn.10071f70
push esi
push str.ComputerZTray.exe
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
cmp dword [ebp - 0x640], 0
je 0x1004fd64
jmp 0x1004fd44
call fcn.10071f70
push esi
push str.ComputerZTray.exe
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
test ebx, ebx
jne 0x1004fd64
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.10071f70
push edi
push 0x10187e1c
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 0x1004fd80
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 0x1004fd9f
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.100acb08
mov esp, ebp
pop ebp
ret 4