Function at 0x1004d264
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1017fb49
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101f6410]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, 0x101f84e8
mov ecx, ebp
lea edi, [esi + 0x28]
call fcn.10051bd8
mov ecx, ebp
mov dword [edi], eax
call fcn.10051ad3
mov ecx, ebp
mov dword [esi + 0x2c], eax
call fcn.100525e1
mov ecx, ebp
mov dword [esi + 0x34], eax
call fcn.100526a9
mov ecx, ebp
mov dword [esi + 0x30], eax
call fcn.10052516
mov ecx, ebp
mov dword [esi + 0x40], eax
call fcn.100524b2
mov ecx, ebp
mov dword [esi + 0x38], eax
call fcn.1005244e
mov ecx, ebp
mov dword [esi + 0x3c], eax
call fcn.10051085
mov ecx, ebp
mov dword [esi + 0x48], eax
call fcn.10052870
mov ecx, ebp
mov dword [esi + 0x50], eax
call fcn.10052779
cmp eax, 0xf
jne 0x1004d303
mov dword [esi + 0x4c], 2
jmp 0x1004d315
cmp eax, 0xa
jne 0x1004d311
mov dword [esi + 0x4c], 1
jmp 0x1004d315
and dword [esi + 0x4c], 0
mov ecx, ebp
call fcn.10052ad8
mov ecx, 0x101f84b0
mov dword [esi + 0x64], eax
call fcn.100e4cca
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
jne 0x1004d346
push 0x136
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call ebx
mov ecx, ebp
call fcn.10052d8f
mov ecx, ebp
mov dword [esi + 0x60], eax
call fcn.100514d4
and dword [esp + 0x1c], 0
mov dword [esi + 0x54], eax
and dword [esp + 0x2c], 0
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x101f84b0
call fcn.100e583d
cmp dword [esp + 0x1c], 0
jne 0x1004d38d
push 0x10c
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call ebx
mov ecx, ebp
call fcn.1005290a
mov ecx, ebp
mov dword [esi + 0x58], eax
call fcn.10051454
and dword [esp + 0x18], 0
mov dword [esi + 0x5c], eax
lea eax, [esp + 0x18]
push eax
mov ecx, 0x101f84b0
mov byte [esp + 0x30], 1
call fcn.100e56e5
cmp dword [esp + 0x18], 0
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
jne 0x1004d3d6
push 0xd5
push dword [esi + 4]
call ebp
push 0
push eax
call ebx
and dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push eax
mov ecx, 0x101f84b0
mov byte [esp + 0x30], 2
call fcn.100e54f0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1004d40e
and dword [esp + 0x20], 0
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
call dword [ecx + 0x18]
cmp dword [esp + 0x20], 0
jne 0x1004d41d
push 0xd6
push dword [esi + 4]
call ebp
push 0
push eax
call ebx
push 0
lea eax, [esi + 0x2c]
push eax
push 0xca
mov ecx, edi
call fcn.1004cf19
push 0
lea eax, [esi + 0x30]
push eax
push 0xd0
mov ecx, edi
call fcn.1004cf19
push 0
lea eax, [esi + 0x34]
push eax
push 0xd7
mov ecx, edi
call fcn.1004cf19
push 0
lea eax, [esi + 0x38]
push eax
push 0xd1
mov ecx, edi
call fcn.1004cf19
push 0
lea eax, [esi + 0x3c]
push eax
push 0xd2
mov ecx, edi
call fcn.1004cf19
push 0
lea eax, [esi + 0x40]
push eax
push 0xd3
mov ecx, edi
call fcn.1004cf19
push 0
lea eax, [esi + 0x48]
push eax
push 0x10a
mov ecx, edi
call fcn.1004cf19
push 0
lea eax, [esi + 0x4c]
push eax
push 0xcc
mov ecx, edi
call fcn.1004cf74
push 0
lea eax, [esi + 0x50]
push eax
push 0xcb
mov ecx, edi
call fcn.1004cf19
push 0
lea eax, [esi + 0x54]
push eax
push 0x10c
mov ecx, edi
call fcn.1004cf19
push 0
lea eax, [esi + 0x58]
push eax
push 0xd5
mov ecx, edi
call fcn.1004cf19
push 0
lea eax, [esi + 0x5c]
push eax
push 0x10b
mov ecx, edi
call fcn.1004cf19
push 0
lea eax, [esi + 0x64]
push eax
push 0x136
mov ecx, edi
call fcn.1004cf19
push 0
lea eax, [esi + 0x60]
push eax
push 0xd8
mov ecx, edi
call fcn.1004cf19
mov edi, 0x101f84b0
mov ecx, edi
call fcn.100e4d18
test eax, eax
jne 0x1004d538
push 0xd0
push dword [esi + 4]
call ebp
push 0
push eax
call ebx
cmp dword [esi + 0x30], 0
je 0x1004d586
mov ecx, edi
call fcn.100e4d18
test eax, eax
je 0x1004d586
push 0xd7
push dword [esi + 4]
call ebp
xor edi, edi
inc edi
push edi
push eax
call ebx
push 0xd2
push dword [esi + 4]
call ebp
push edi
push eax
call ebx
push 0xd1
push dword [esi + 4]
call ebp
push edi
push eax
call ebx
push 0xd3
push dword [esi + 4]
call ebp
push edi
push eax
call ebx
jmp 0x1004d5c1
push 0xd7
push dword [esi + 4]
call ebp
xor edi, edi
push edi
push eax
call ebx
push 0xd2
push dword [esi + 4]
call ebp
push edi
push eax
call ebx
push 0xd1
push dword [esi + 4]
call ebp
push edi
push eax
call ebx
push 0xd3
push dword [esi + 4]
call ebp
push edi
push eax
call ebx
inc edi
cmp dword [esi + 0x50], 0
push 0xcc
push dword [esi + 4]
je 0x1004d5f0
call ebp
push edi
push eax
call ebx
push 0x107
push dword [esi + 4]
call ebp
push edi
push eax
call ebx
push 0xcf
push dword [esi + 4]
call ebp
push edi
jmp 0x1004d612
call ebp
push 0
push eax
call ebx
push 0x107
push dword [esi + 4]
call ebp
push 0
push eax
call ebx
push 0xcf
push dword [esi + 4]
call ebp
push 0
push eax
call ebx
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x2c], 1
je 0x1004d628
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
test eax, eax
mov byte [esp + 0x2c], 0
je 0x1004d63b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
or dword [esp + 0x2c], 0xffffffff
test eax, eax
je 0x1004d64e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x10