Function at 0x417840
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9fcb
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x550070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x48]
mov eax, dword [edx + 0x30]
call eax
push eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiRect::constructor_struct_tagRECT_const__]
lea ecx, [ebp - 0x40]
call dword [sym.imp.DuiLib.dll_public:_int___thiscall_DuiLib::CDuiRect::GetHeight_void_const]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x3c]
lea edx, [ecx + eax + 0x64]
push edx
lea ecx, [ebp - 0x40]
call dword [sym.imp.DuiLib.dll_public:_int___thiscall_DuiLib::CDuiRect::GetWidth_void_const]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x68]
call fcn.004170b0
lea ecx, [ebp - 0x40]
call dword [sym.imp.DuiLib.dll_public:_int___thiscall_DuiLib::CDuiRect::GetWidth_void_const]
mov esi, eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.DuiLib.dll_public:_int___thiscall_DuiLib::CDuiRect::GetHeight_void_const]
cmp esi, eax
jle 0x4178dc
lea ecx, [ebp - 0x40]
call dword [sym.imp.DuiLib.dll_public:_int___thiscall_DuiLib::CDuiRect::GetWidth_void_const]
mov dword [ebp - 0x5c], eax
jmp 0x4178e8
lea ecx, [ebp - 0x40]
call dword [sym.imp.DuiLib.dll_public:_int___thiscall_DuiLib::CDuiRect::GetHeight_void_const]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x80]
call fcn.004170e0
mov dword [ebp - 4], 0
push 4
lea ecx, [ebp - 0x80]
call fcn.00417140
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x70]
call fcn.004171a0
push 0x92
push 0xb5
push 0xc7
push 0xc8
lea ecx, [ebp - 0x78]
call fcn.004171a0
mov dword [ebp - 0x74], 1
push 0x92
push 0xb5
push 0xc7
push 0xc8
lea ecx, [ebp - 0x30]
call fcn.004171a0
push 0x92
push 0xb5
push 0xc7
push 0x64
lea ecx, [ebp - 0x2c]
call fcn.004171a0
push 0x92
push 0xb5
push 0xc7
push 0x14
lea ecx, [ebp - 0x28]
call fcn.004171a0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x24]
call fcn.004171a0
xorps xmm0, xmm0
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [0x52d5b8]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [0x52d5bc]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [0x52d5c0]
movss dword [ebp - 0x14], xmm0
mov dword [ebp - 0x60], 0x64
mov dword [ebp - 0x50], 0xa
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x60]
imul eax, dword [edx + 0x824]
mov ecx, dword [ebp - 0x48]
xor edx, edx
div dword [ecx + 0x820]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], 0
jmp 0x417a06
mov edx, dword [ebp - 0x44]
add edx, dword [ebp - 0x60]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x6c]
jge 0x417b5b
mov ecx, dword [ebp - 0x68]
sub ecx, dword [ebp - 0x44]
sub ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x68]
add edx, dword [ebp - 0x44]
add edx, dword [ebp - 0x4c]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x64]
add ecx, dword [ebp - 0x44]
add ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x40]
call dword [sym.imp.DuiLib.dll_public:_int___thiscall_DuiLib::CDuiRect::GetHeight_void_const]
push eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.DuiLib.dll_public:_int___thiscall_DuiLib::CDuiRect::GetWidth_void_const]
push eax
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x9c]
call fcn.004171e0
lea ecx, [ebp - 0x40]
call dword [sym.imp.DuiLib.dll_public:_int___thiscall_DuiLib::CDuiRect::GetHeight_void_const]
mov ecx, dword [ebp - 0x50]
lea edx, [eax + ecx*2]
push edx
lea ecx, [ebp - 0x40]
call dword [sym.imp.DuiLib.dll_public:_int___thiscall_DuiLib::CDuiRect::GetWidth_void_const]
mov ecx, dword [ebp - 0x50]
lea edx, [eax + ecx*2]
push edx
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x40]
sub ecx, dword [ebp - 0x50]
push ecx
lea ecx, [ebp - 0xac]
call fcn.004171e0
push 0
lea ecx, [ebp - 0x58]
call fcn.00417220
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00417270
lea edx, [ebp - 0x9c]
push edx
lea ecx, [ebp - 0x58]
call fcn.004172d0
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x58]
call fcn.004172d0
lea ecx, [ebp - 0x58]
call fcn.00417300
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x8c]
call fcn.00417350
mov byte [ebp - 4], 2
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x8c]
call fcn.00417590
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x8c]
call fcn.00417600
push 4
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00417740
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x8c]
push edx
lea ecx, [ebp - 0x80]
call fcn.00417810
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.00415090
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00417250
jmp 0x4179fd
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.00417120
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d181f
mov esp, ebp
pop ebp
ret 4