Function at 0x470cb0
Capabilities:
Get number of processors
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5fcc10
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6f1550]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [esp + 0x44]
mov ecx, dword [eax + 4]
push edx
lea eax, [ecx + esi + 0x1d]
push 0x64
push eax
call fcn.005c51e5
mov edx, dword [esi]
mov edx, dword [edx + 4]
mov eax, 0x64
push str.skin.ini
mov ecx, eax
push ecx
push eax
lea edx, [edx + esi + 0x1c]
push 0x61e98c
add edx, 1
push edx
lea eax, [esp + 0x38]
push eax
call fcn.0046c1a0
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x3c]
mov dword [eax + esi + 0x88], edx
mov ecx, dword [esp + 0x40]
add esp, 0x24
lea edx, [esp + 0x20]
push edx
mov dword [eax + esi + 0x8c], ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
lea edx, [ecx + esi + 0x88]
mov ecx, dword [edx]
cmp ecx, eax
jle 0x470d6a
cmp eax, 0x280
jge 0x470d6e
test ecx, ecx
jge 0x470d74
mov dword [edx], 0
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + esi + 0x8c]
lea edx, [eax + esi + 0x8c]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
cmp ecx, eax
jle 0x470d9a
cmp eax, 0x1e0
jge 0x470d9e
test ecx, ecx
jge 0x470da4
mov dword [edx], 0
mov edx, dword [esi]
mov edx, dword [edx + 4]
mov eax, pe_nt_image_headers32
push str.skin.ini
lea ecx, [eax - 0x78]
push ecx
push eax
lea edx, [edx + esi + 0x1c]
push 0x61eb40
add edx, 1
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.0046c1a0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0x18
push str.skin.ini
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
mov ecx, dword [eax + 4]
push 0
lea eax, [ecx + esi + 0x1c]
push str.UseResSkin
add eax, 1
push eax
call edi
mov edx, dword [esi]
mov dword [esi + 0x1c], eax
mov eax, dword [edx + 4]
push str.skin.ini
push 0xa
lea eax, [eax + esi + 0x1c]
push str.DockSize
add eax, 1
push eax
call edi
mov ecx, dword [esi]
mov dword [esi + 0x14], eax
mov edx, dword [ecx + 4]
push str.skin.ini
push 0
lea eax, [edx + esi + 0x1c]
push str.DockSide
add eax, 1
push eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push str.skin.ini
mov ebx, 1
push ebx
lea eax, [ecx + esi + 0x1c]
push str.UseDock
add eax, ebx
push eax
call edi
mov edx, dword [esi]
mov dword [esi + 4], eax
mov eax, dword [edx + 4]
push str.skin.ini
push ebx
lea eax, [eax + esi + 0x1c]
push str.usergn
add eax, ebx
push eax
call edi
mov edx, dword [esi]
cmp eax, ebx
mov eax, dword [edx + 4]
sete cl
mov byte [eax + esi + 0x99], cl
push 0x6f8ea0
lea ecx, [esp + 0x18]
call fcn.00401f00
mov dword [esp + 0x38], 0
push ebx
push 0x612bbc
lea ecx, [esp + 0x1c]
call fcn.00401ce0
lea ecx, [esp + 0x44]
call fcn.00401a30
mov byte [esp + 0x38], bl
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 0x104
push str.notfound.bmp
push str.bmp_popupmenu
lea ecx, [esp + 0x24]
push ecx
lea ecx, [eax + esi + 0x1c]
call fcn.0046e3f0
mov byte [esp + 0x38], 2
push eax
lea ecx, [esp + 0x48]
call fcn.004044c0
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x18]
call fcn.00401aa0
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00418d30
add esp, 0xc
mov byte [esp + 0x38], 3
lea edi, [esi + 0x20]
push eax
mov ecx, edi
call fcn.004044c0
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x18]
call fcn.00401aa0
mov edi, dword [edi]
push edi
lea ecx, [esi + 0x24]
call fcn.0046c270
cmp dword [esi + 0x1c], 0
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 0x104
push str.notfound.bmp
je 0x471384
push str.bmp_tl
lea ecx, [esp + 0x24]
push ecx
lea ecx, [eax + esi + 0x1c]
call fcn.0046e3f0
mov byte [esp + 0x38], 4
push eax
lea ecx, [esp + 0x48]
call fcn.004044c0
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x18]
call fcn.00401aa0
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00418d30
add esp, 0xc
mov byte [esp + 0x38], 5
mov eax, dword [eax]
lea edi, [esi + 0x40]
push eax
mov ecx, edi
call fcn.0046c270
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x18]
call fcn.00401aa0
mov ebp, dword [esp + 0x40]
push 0
push 0
push ebp
mov ecx, edi
call fcn.0046cc50
mov edi, eax
push edi
lea ecx, [esi + 0x40]
call fcn.0046cd30
mov edx, dword [esi]
push 0x104
push str.notfound.bmp
mov dword [esi + 0x120], eax
mov eax, dword [edx + 4]
push str.bmp_bl
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [eax + esi + 0x1c]
call fcn.0046e3f0
mov byte [esp + 0x38], 6
push eax
lea ecx, [esp + 0x48]
call fcn.004044c0
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x40]
call fcn.00401aa0
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.00418d30
add esp, 0xc
mov byte [esp + 0x38], 7
mov eax, dword [eax]
lea ecx, [esi + 0x78]
push eax
call fcn.0046c270
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x40]
call fcn.00401aa0
push edi
lea ecx, [esi + 0x78]
call fcn.0046cd30
mov dword [esi + 0x128], eax
push 0x104
mov edx, dword [esi]
mov eax, dword [edx + 4]
push str.notfound.bmp
push str.bmp_tr
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [eax + esi + 0x1c]
call fcn.0046e3f0
mov byte [esp + 0x38], 8
push eax
lea ecx, [esp + 0x48]
call fcn.004044c0
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x40]
call fcn.00401aa0
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.00418d30
add esp, 0xc
mov byte [esp + 0x38], 9
mov eax, dword [eax]
lea ecx, [esi + 0x5c]
push eax
call fcn.0046c270
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x40]
call fcn.00401aa0
push edi
lea ecx, [esi + 0x5c]
call fcn.0046cd30
mov edx, dword [esi]
push 0x104
push str.notfound.bmp
mov dword [esi + 0x124], eax
mov eax, dword [edx + 4]
push str.bmp_br
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [eax + esi + 0x1c]
call fcn.0046e3f0
mov byte [esp + 0x38], 0xa
push eax
lea ecx, [esp + 0x48]
call fcn.004044c0
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x40]
call fcn.00401aa0
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.00418d30
add esp, 0xc
mov byte [esp + 0x38], 0xb
mov eax, dword [eax]
lea ecx, [esi + 0x94]
push eax
call fcn.0046c270
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x40]
call fcn.00401aa0
push edi
lea ecx, [esi + 0x94]
call fcn.0046cd30
mov edx, dword [esi]
push 0x104
push str.notfound.bmp
push str.bmp_l
lea ecx, [esp + 0x4c]
mov dword [esi + 0x12c], eax
push ecx
mov eax, dword [edx + 4]
lea ecx, [eax + esi + 0x1c]
call fcn.0046e3f0
mov byte [esp + 0x38], 0xc
push eax
lea ecx, [esp + 0x48]
call fcn.004044c0
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x40]
call fcn.00401aa0
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.00418d30
add esp, 0xc
mov byte [esp + 0x38], 0xd
mov eax, dword [eax]
lea ecx, [esi + 0xb0]
push eax
call fcn.0046c270
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x40]
call fcn.00401aa0
push edi
push ebp
lea ecx, [esi + 0xb0]
call fcn.0046cd50
mov edx, dword [esi]
push 0x104
push str.notfound.bmp
mov dword [esi + 0x130], eax
mov eax, dword [edx + 4]
push str.bmp_r
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [eax + esi + 0x1c]
call fcn.0046e3f0
mov byte [esp + 0x38], 0xe
push eax
lea ecx, [esp + 0x48]
call fcn.004044c0
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x40]
call fcn.00401aa0
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.00418d30
add esp, 0xc
mov byte [esp + 0x38], 0xf
mov eax, dword [eax]
lea ecx, [esi + 0xcc]
push eax
call fcn.0046c270
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x40]
call fcn.00401aa0
push edi
push ebp
lea ecx, [esi + 0xcc]
call fcn.0046cd50
mov edx, dword [esi]
push 0x104
push str.notfound.bmp
mov dword [esi + 0x134], eax
mov eax, dword [edx + 4]
push str.bmp_b
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [eax + esi + 0x1c]
call fcn.0046e3f0
mov byte [esp + 0x38], 0x10
push eax
lea ecx, [esp + 0x48]
call fcn.004044c0
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x40]
call fcn.00401aa0
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.00418d30
add esp, 0xc
mov byte [esp + 0x38], 0x11
mov eax, dword [eax]
lea ecx, [esi + 0x104]
push eax
call fcn.0046c270
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x40]
call fcn.00401aa0
push edi
push ebp
lea ecx, [esi + 0x104]
call fcn.0046ce40
mov edx, dword [esi]
push 0x104
push str.notfound.bmp
mov dword [esi + 0x13c], eax
mov eax, dword [edx + 4]
push str.bmp_t
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [eax + esi + 0x1c]
call fcn.0046e3f0
mov byte [esp + 0x38], 0x12
push eax
lea ecx, [esp + 0x48]
call fcn.004044c0
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x40]
call fcn.00401aa0
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.00418d30
add esp, 0xc
mov byte [esp + 0x38], 0x13
mov eax, dword [eax]
lea ecx, [esi + 0xe8]
push eax
call fcn.0046c270
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x40]
call fcn.00401aa0
push edi
push ebp
lea ecx, [esi + 0xe8]
call fcn.0046ce40
mov dword [esi + 0x138], eax
jmp 0x4713eb
push str.bmp_main
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [eax + esi + 0x1c]
call fcn.0046e3f0
mov byte [esp + 0x38], 0x14
push eax
lea ecx, [esp + 0x48]
call fcn.004044c0
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x40]
call fcn.00401aa0
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.00418d30
add esp, 0xc
mov byte [esp + 0x38], 0x15
mov ecx, dword [esi]
mov eax, dword [eax]
mov ecx, dword [ecx + 4]
push eax
add ecx, esi
call fcn.0046c270
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x40]
call fcn.00401aa0
mov byte [esp + 0x38], 0
lea ecx, [esp + 0x44]
call fcn.00401aa0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00401aa0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8