Function at 0x676c80
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x728f0e
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x7e6410]
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
mov dword [ebp - 0x60], ebx
xor eax, eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
call fcn.00429050
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0
call fcn.00429050
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00429050
push 0xa
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x64], 0xffffffff
call fcn.0042a540
push dword [ebp - 0x40]
lea eax, [ebp - 0x21]
mov byte [ebp - 4], 3
lea esi, [ebx + 0x3c]
push eax
push dword [esi + 4]
mov dword [ebp - 0x70], esi
push dword [esi]
call fcn.006764b0
mov eax, dword [esi]
add esp, 0x10
mov dword [esi + 4], eax
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1009
push dword [ebx + 0x30]
call esi
push 0
push 0
push 0x101f
push dword [ebx + 0x30]
call esi
test eax, eax
je 0x676e0c
push 0
push 0
push 0x1200
push eax
call esi
test eax, eax
jg 0x676e0c
mov ecx, dword [0x7f7170]
mov dword [ebp - 0xa0], 6
test ecx, ecx
je 0x676d85
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_SKIN_NAME
call dword [eax + 8]
mov dword [ebp - 0x94], eax
jmp 0x676d8f
mov dword [ebp - 0x94], 0x790eb0
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x98], 0x64
push eax
push 0
push 0x1061
push dword [ebx + 0x30]
call esi
mov ecx, dword [0x7f7170]
mov dword [ebp - 0xa0], 5
test ecx, ecx
je 0x676dd7
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_SKIN_FILENAME
call dword [eax + 8]
mov dword [ebp - 0x94], eax
jmp 0x676de1
mov dword [ebp - 0x94], 0x790eb0
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x9c], 0
push eax
push 1
push 0x1061
push dword [ebx + 0x30]
call esi
push 0x20
push 0x20
push 0x1036
push dword [ebx + 0x30]
call esi
push ecx
mov ecx, esp
push 0x790eb0
call fcn.00428840
lea eax, [ebp - 0x34]
push eax
call fcn.0057ff90
add esp, 8
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.004289a0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.00428810
push str.skin.xml
lea ecx, [ebp - 0x48]
call fcn.00428a30
lea ecx, [ebp - 0x30]
call fcn.00429050
push 0x783b24
mov ecx, 0x7f7240
mov byte [ebp - 4], 5
call fcn.00429150
test eax, eax
je 0x676e9e
push 0x783af4
mov ecx, 0x7f7240
call fcn.00429150
test eax, eax
jne 0x676e84
push 0x74fcec
jmp 0x676ea3
push 0x783aec
mov ecx, 0x7f7240
call fcn.00429150
test eax, eax
jne 0x676e9e
push 0x790eb0
jmp 0x676ea3
push 0x74fcf4
lea ecx, [ebp - 0x30]
call fcn.00428a30
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x676ec8
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_SKIN_FOLDERHEADER
call dword [eax + 8]
mov edi, eax
jmp 0x676ecd
mov edi, 0x790eb0
push ecx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x40], esp
mov ecx, esp
push eax
call fcn.00428690
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
push edi
mov byte [ebp - 4], 6
call fcn.00428840
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 7
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
push str.skin.xml
call fcn.00428840
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str..gas
mov byte [ebp - 4], 8
call fcn.00428840
push ecx
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 9
mov ecx, esp
push eax
call fcn.00428690
mov byte [ebp - 4], 5
call fcn.0043cac0
add esp, 0x1c
test eax, eax
je 0x6773a9
lea ecx, [ebp - 0x34]
call fcn.00429050
mov edi, dword [ebp - 0xc8]
mov byte [ebp - 4], 0xa
test edi, edi
je 0x6772fd
jmp 0x676f60
push 1
push 0x24
push edi
mov esi, edi
call fcn.00435480
mov eax, dword [ebp - 0x3c]
add esi, 8
mov edi, dword [edi]
add eax, 0x27a4
cmp eax, 0x2807
jg 0x6772f7
lea ecx, [ebp - 0x54]
call fcn.00429100
push eax
mov ecx, esi
call fcn.00429150
test eax, eax
jne 0x676fb1
lea ecx, [ebp - 0x48]
call fcn.00429100
push eax
lea ecx, [esi + 8]
call fcn.00429150
test eax, eax
je 0x6772ef
push esi
lea ecx, [ebp - 0x34]
call fcn.004289a0
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0x790eb0
call fcn.00428840
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0xb
push eax
call fcn.005b6a10
mov ecx, esp
mov byte [ebp - 4], 0xc
push 0x744bc4
push eax
push ecx
call fcn.00428bd0
push str.SKINPATH
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0xd
push 0x7494a8
push eax
call fcn.005b55c0
add esp, 0x18
lea ebx, [esi + 4]
mov byte [ebp - 4], 0xe
mov ecx, eax
mov dword [ebp - 0x28], ebx
call fcn.00429100
push eax
mov ecx, ebx
call fcn.00429170
test eax, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x74]
sete bl
call fcn.00428810
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xa
call fcn.00428810
test bl, bl
je 0x67706d
mov ecx, dword [0x7f7170]
test ecx, ecx
je 0x67705a
mov eax, dword [ecx]
push 0x7425a0
push str.IDS_SKIN_FOLDERHEADER
call dword [eax + 8]
jmp 0x67705f
mov eax, 0x790eb0
push 0x790eb0
push eax
lea ecx, [ebp - 0x34]
call fcn.00429560
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0xb0], 1
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], 0
call fcn.00429100
mov ebx, dword [ebp - 0x60]
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0xb0]
push eax
push 0
push 0x104d
push dword [ebx + 0x30]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x6772ef
lea ecx, [ebp - 0x44]
call fcn.00429050
lea ecx, [esi + 4]
mov byte [ebp - 4], 0xf
call fcn.00429100
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.005b4a50
add esp, 8
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x10
call fcn.004289a0
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xf
call fcn.00428810
lea ecx, [ebp - 0x44]
mov dword [ebp - 0xfc], 1
call fcn.00429100
mov dword [ebp - 0xf0], eax
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x3c]
push 0x1074
push dword [ebx + 0x30]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00428690
lea ebx, [esi + 8]
mov byte [ebp - 4], 0x11
push ebx
lea ecx, [ebp - 0x18]
call fcn.00428690
lea eax, [esi + 0xc]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x14]
call fcn.00428690
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0x13
call fcn.006791f0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x15
call fcn.00428810
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x14
call fcn.00428810
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xf
call fcn.00428810
mov esi, dword [ebp - 0x3c]
mov ecx, 0x7f724c
inc esi
mov dword [ebp - 0x3c], esi
call fcn.00429100
mov ecx, dword [ebp - 0x28]
push eax
call fcn.00429150
test eax, eax
jne 0x6771bd
mov ecx, 0x7f7250
call fcn.00429100
push eax
mov ecx, ebx
call fcn.00429150
test eax, eax
je 0x677270
push 0x790eb0
push 0x7f724c
call fcn.004291f0
test al, al
je 0x677279
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
push 0x790eb0
call fcn.00428840
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x16
push eax
call fcn.005b6a10
mov ebx, dword [ebp - 0x2c]
mov ecx, esp
push 0x744bc4
push eax
or ebx, 1
mov byte [ebp - 4], 0x17
push ecx
mov dword [ebp - 0x28], ebx
call fcn.00428bd0
push str.SKINPATH
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0x18
push 0x7494a8
push eax
call fcn.005b55c0
add esp, 0x18
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x68]
or ebx, 2
push eax
mov dword [ebp - 0x28], ebx
call fcn.00428b20
or ebx, 4
mov dword [ebp - 4], 0x1a
mov ecx, eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
call fcn.00429100
push eax
lea ecx, [ebp - 0x44]
call fcn.00429150
test eax, eax
jne 0x67727c
mov byte [ebp - 0x21], 1
jmp 0x677280
mov ebx, dword [ebp - 0x2c]
mov byte [ebp - 0x21], 1
jmp 0x677280
mov ebx, dword [ebp - 0x2c]
mov byte [ebp - 0x21], 0
mov dword [ebp - 4], 0x19
test bl, 4
je 0x67729d
and ebx, 0xfffffffb
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
call fcn.00428810
mov dword [ebp - 4], 0x18
test bl, 2
je 0x6772ba
and ebx, 0xfffffffd
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
call fcn.00428810
mov dword [ebp - 4], 0xf
test bl, 1
je 0x6772d4
and ebx, 0xfffffffe
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], ebx
call fcn.00428810
cmp byte [ebp - 0x21], 0
je 0x6772e0
lea eax, [esi - 1]
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xa
call fcn.00428810
mov ebx, dword [ebp - 0x60]
test edi, edi
jne 0x676f60
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.00428810
mov edi, dword [ebp - 0x64]
test edi, edi
js 0x6773a9
lea eax, [ebp - 0x104]
mov dword [ebp - 0xf4], 3
push eax
push edi
push 0x102b
push dword [ebx + 0x30]
mov dword [ebp - 0xf8], 3
call esi
push 1
push edi
push 0x1013
push dword [ebx + 0x30]
call esi
push 0x7f724c
lea ecx, [ebp - 0x1c]
call fcn.00428690
push 0x7f7250
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x1b
call fcn.00428690
push 0x7f7254
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1c
call fcn.00428690
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x1d
push eax
mov ecx, ebx
call fcn.006789e0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1f
call fcn.00428810
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x1e
call fcn.00428810
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.00428810
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [ebx + 0x30]
movdqu xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
sub eax, 0x64
mov dword [ebp - 0xa0], 2
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0xa0]
push eax
push 1
push 0x1060
push dword [ebx + 0x30]
call esi
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x6773f9
call fcn.00453920
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
push 0x7856e8
call fcn.00428840
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push 0x7f724c
mov byte [ebp - 4], 0x20
call fcn.00428690
push ecx
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x21
mov ecx, esp
push eax
call fcn.00428690
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 5
push eax
call fcn.005b0270
add esp, 0xc
mov byte [ebp - 4], 0x22
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
call fcn.00428690
call fcn.005b0c40
add esp, 4
mov esi, eax
push 0x567
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.00428810
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00428810
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 2
call fcn.005c37f0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00428810
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.00428810
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.00428810
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.006b3266
mov esp, ebp
pop ebp
ret