Function at 0x40c8a0
Capabilities:
Check if file exists
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442ddb
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x453080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x22c], ecx
mov eax, dword [ebp - 0x22c]
movzx ecx, byte [eax + 0x30]
test ecx, ecx
jne 0x40c8e6
jmp 0x40ce76
cmp dword [ebp + 8], 0
jne 0x40c8f1
jmp 0x40ce76
mov edx, dword [ebp - 0x22c]
cmp dword [edx + 0x38], 1
jle 0x40c926
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x22c]
mov edx, dword [eax + 0x54]
cmp edx, dword [ecx + 0x38]
jl 0x40c926
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax + 0x38]
sub ecx, 1
mov edx, dword [ebp - 0x22c]
mov dword [edx + 0x54], ecx
mov eax, dword [ebp - 0x22c]
cmp dword [eax + 0x34], 3
jne 0x40ca71
mov eax, dword [ebp - 0x22c]
add eax, 0x64
call fcn.00405e60
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40c9a3
push 0
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx + 0x54]
push edx
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx + 0x5c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, dword [ebp - 0x22c]
add eax, 0x64
call fcn.00405e60
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00401260
mov ecx, eax
call sym.Install_rocket.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____wchar_t_const___int__int__int__int__int__int__int__int_
jmp 0x40ca6c
mov eax, dword [ebp - 0x22c]
cmp dword [eax + 0x38], 1
jle 0x40ca13
push 0
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx + 0x54]
push edx
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx + 0x5c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, dword [ebp - 0x22c]
add eax, 0x60
call fcn.00405e60
push eax
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx + 0x4c]
mov ecx, dword [ebp - 0x22c]
add eax, dword [ecx + 0x54]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00401260
mov ecx, eax
call sym.Install_rocket.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____int__wchar_t_const___int__int__int__int__int__int__int__int_
jmp 0x40ca6c
push 0
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax + 0x54]
push ecx
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx + 0x50]
push eax
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx + 0x5c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x22c]
add eax, 0x60
call fcn.00405e60
push eax
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx + 0x4c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00401260
mov ecx, eax
call sym.Install_rocket.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____int__wchar_t_const___int__int__int__int__int__int__int__int_
jmp 0x40ce76
call fcn.004012d0
mov ecx, eax
call sym.Install_rocket.exe_public:_int___thiscall_CNsSkin::GetResType_void_
cmp eax, 1
jne 0x40cc49
xor ecx, ecx
mov word [ebp - 0x21c], cx
push 0x206
push 0
lea edx, [ebp - 0x21a]
push edx
call fcn.00416990
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
call fcn.004012d0
mov ecx, eax
call sym.Install_rocket.exe_public:_void___thiscall_CNsSkin::GetThemesPath_wchar_t__
lea esi, [ebp - 0x220]
call fcn.00405be0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx + 0x6c]
push edx
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax + 0x54]
push ecx
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx + 0x68]
push eax
lea ecx, [ebp - 0x21c]
push ecx
push str._s_s__d_s
lea edi, [ebp - 0x220]
call fcn.004063f0
add esp, 0x14
lea eax, [ebp - 0x220]
call fcn.00405e60
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40cb69
push 0
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx + 0x50]
push edx
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax + 0x5c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x220]
call fcn.00405e60
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00401260
mov ecx, eax
call sym.Install_rocket.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____wchar_t_const___int__int__int__int__int__int__int__int_
jmp 0x40cc32
mov ecx, dword [ebp - 0x22c]
cmp dword [ecx + 0x38], 1
jle 0x40cbd9
push 0
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx + 0x50]
push edx
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax + 0x5c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x22c]
add eax, 0x60
call fcn.00405e60
push eax
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax + 0x4c]
mov edx, dword [ebp - 0x22c]
add ecx, dword [edx + 0x54]
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00401260
mov ecx, eax
call sym.Install_rocket.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____int__wchar_t_const___int__int__int__int__int__int__int__int_
jmp 0x40cc32
push 0
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx + 0x54]
push edx
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx + 0x5c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, dword [ebp - 0x22c]
add eax, 0x60
call fcn.00405e60
push eax
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401260
mov ecx, eax
call sym.Install_rocket.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____int__wchar_t_const___int__int__int__int__int__int__int__int_
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x220]
call fcn.00405cd0
jmp 0x40ce76
call fcn.004012d0
mov ecx, eax
call sym.Install_rocket.exe_public:_int___thiscall_CNsSkin::GetResType_void_
cmp eax, 2
jne 0x40cdad
mov dword [ebp - 0x224], 0
mov edx, dword [ebp - 0x224]
push edx
mov eax, dword [ebp - 0x22c]
add eax, 0x68
call fcn.00405e60
push eax
call fcn.004012d0
mov ecx, eax
call sym.Install_rocket.exe_public:_bool___thiscall_CNsSkin::GetRes_wchar_t_const___struct_IStream__
cmp dword [ebp - 0x224], 0
je 0x40ccdf
push 0
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax + 0x54]
push ecx
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx + 0x50]
push eax
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx + 0x5c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x224]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00401260
mov ecx, eax
call sym.Install_rocket.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____struct_IStream___int__int__int__int__int__int__int__int_
jmp 0x40cda8
mov eax, dword [ebp - 0x22c]
cmp dword [eax + 0x38], 1
jle 0x40cd4f
push 0
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx + 0x54]
push edx
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx + 0x5c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, dword [ebp - 0x22c]
add eax, 0x60
call fcn.00405e60
push eax
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx + 0x4c]
mov ecx, dword [ebp - 0x22c]
add eax, dword [ecx + 0x54]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00401260
mov ecx, eax
call sym.Install_rocket.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____int__wchar_t_const___int__int__int__int__int__int__int__int_
jmp 0x40cda8
push 0
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax + 0x54]
push ecx
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx + 0x50]
push eax
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx + 0x5c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x22c]
add eax, 0x60
call fcn.00405e60
push eax
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx + 0x4c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00401260
mov ecx, eax
call sym.Install_rocket.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____int__wchar_t_const___int__int__int__int__int__int__int__int_
jmp 0x40ce76
mov ecx, dword [ebp - 0x22c]
cmp dword [ecx + 0x38], 1
jle 0x40ce1d
push 0
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx + 0x50]
push edx
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax + 0x5c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x22c]
add eax, 0x60
call fcn.00405e60
push eax
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax + 0x4c]
mov edx, dword [ebp - 0x22c]
add ecx, dword [edx + 0x54]
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00401260
mov ecx, eax
call sym.Install_rocket.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____int__wchar_t_const___int__int__int__int__int__int__int__int_
jmp 0x40ce76
push 0
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx + 0x54]
push edx
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx + 0x5c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, dword [ebp - 0x22c]
add eax, 0x60
call fcn.00405e60
push eax
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401260
mov ecx, eax
call sym.Install_rocket.exe_public:_bool___thiscall_CNsImage::DrawStretchImg_struct_HDC_____int__wchar_t_const___int__int__int__int__int__int__int__int_
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00415d4a
mov esp, ebp
pop ebp
ret 0x14