Function at 0x4a2510
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x538eea
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push ebp
push esi
mov esi, ecx
push edi
push esi
lea ecx, [esp + 0x64]
mov dword [esi + 0x188], 1
call fcn.00515acf
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x7c], ebx
call fcn.0047ee30
mov edx, dword [eax]
push ebx
push esi
mov ecx, eax
call dword [edx + 0xd0]
push eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x48]
call fcn.004be9f0
lea ecx, [esp + 0x50]
push ebx
push ecx
push ebx
push 0x30
mov byte [esp + 0x8c], 1
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov edx, dword [esi]
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call dword [edx + 0x124]
mov eax, dword [esi + 0x198]
mov dword [esp + 0x24], ebx
cmp eax, ebx
je 0x4a25e3
mov ecx, esi
call fcn.0047ee30
push ebx
push ebx
sub esp, 0x10
mov edi, eax
mov ecx, esp
mov dword [esp + 0x28], esp
mov ebp, dword [edi]
push ebx
call fcn.00471a40
lea ecx, [esp + 0x78]
lea edx, [esp + 0x40]
push ecx
push edx
mov ecx, edi
call dword [ebp + 0xac]
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x34]
mov eax, dword [eax + 4]
add ecx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], ecx
cmp dword [esi + 0xdc], 1
jne 0x4a2665
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14c]
lea eax, [esp + 0x30]
push ebx
push eax
push 0x142
mov ecx, esi
call fcn.0048fe10
lea ecx, [esp + 0x6c]
push eax
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esi + 0xe0]
push edx
call fcn.0047a9b0
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x24]
mov ecx, edx
sub eax, ebp
sub ecx, edi
push edx
push eax
mov eax, dword [esp + 0x38]
push ecx
lea ecx, [esi + 0x19c]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x188], ebx
mov esi, dword [esp + 0x84]
mov dword [esi], edx
jmp 0x4a2855
cmp dword [esp + 0x88], ebx
jne 0x4a26b7
mov ecx, esi
xor edi, edi
call fcn.0047d940
test eax, eax
jle 0x4a26a6
push edi
mov ecx, esi
call fcn.0047d950
cmp eax, ebx
je 0x4a269a
cmp dword [eax + 0xf8], esi
jne 0x4a269a
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx + 0x9c]
mov ecx, esi
inc edi
call fcn.0047d940
cmp edi, eax
jl 0x4a267b
mov ecx, esi
call fcn.004a3690
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14c]
mov ecx, dword [esi + 0xe0]
push 0x23be
call fcn.00479120
mov edi, eax
mov eax, dword [esi + 0x18c]
xor ebp, ebp
cmp eax, ebx
je 0x4a278b
mov ecx, esi
call fcn.0047ee30
mov edx, dword [eax]
push ebx
push ebx
push esi
push ebx
lea ecx, [esp + 0x70]
push 1
push ecx
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call dword [edx + 0xa4]
mov edx, dword [eax]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], edx
mov ebp, dword [eax + 4]
add ecx, ebp
cmp edi, ebx
mov dword [esp + 0x3c], ecx
jne 0x4a277d
push 0x164
call fcn.00511c2c
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
cmp edi, ebx
mov byte [esp + 0x7c], 2
je 0x4a2757
mov ecx, edi
call fcn.004c6230
mov dword [edi], 0x55399c
mov dword [edi + 0x1c], 0x553940
mov dword [edi + 0xf4], 1
mov dword [edi + 0xd0], 0x5a
jmp 0x4a2759
xor edi, edi
mov ecx, dword [esi + 0xe0]
push 1
push 0xffffffffffffffff
push 0x5a17b0
push 0x23be
push edi
mov byte [esp + 0x90], 1
call fcn.00478db0
mov edi, eax
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0x8c]
jmp 0x4a279b
cmp edi, ebx
je 0x4a279b
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 0x8c]
mov ecx, dword [esp + 0x88]
lea eax, [esp + 0x30]
push eax
lea edx, [esp + 0x64]
push ecx
mov ecx, dword [esi + 0xe0]
lea eax, [esp + 0x20]
push edx
push eax
call fcn.0047af40
cmp dword [esi + 0x18c], ebx
je 0x4a2813
mov edx, dword [edi]
push ebx
mov ecx, edi
call dword [edx + 0x8c]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
sub eax, ebx
sub esp, 0x10
mov ebx, dword [edi]
lea ecx, [eax + ebp]
mov ebp, esp
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x28]
sub ecx, edx
mov edx, dword [esp + 0x40]
mov dword [ebp], edx
mov edx, dword [esp + 0x98]
mov dword [ebp + 4], eax
mov dword [ebp + 8], ecx
mov ecx, edi
mov dword [ebp + 0xc], edx
call dword [ebx + 0x74]
xor ebx, ebx
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x24]
mov ecx, edx
sub eax, ebp
sub ecx, edi
push edx
push eax
mov eax, dword [esp + 0x38]
push ecx
lea ecx, [esi + 0x19c]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x188], ebx
mov esi, dword [esp + 0x84]
mov dword [esi], edx
lea ecx, [esp + 0x40]
mov dword [esi + 4], eax
mov byte [esp + 0x7c], bl
call fcn.004bea50
lea ecx, [esp + 0x60]
mov dword [esp + 0x7c], 0xffffffff
call fcn.00515b41
mov ecx, dword [esp + 0x74]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x70
ret 0xc