Function at 0x4f3040
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a24c0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x6336a0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
lea ecx, [esp + 0x30]
call fcn.0055d752
mov edi, dword [ebp + 8]
lea ebx, [esp + 0x30]
mov dword [esp + 0x78], 0
call fcn.004f2f90
xor ebx, ebx
xor esi, esi
cmp dword [esp + 0x38], 1
mov dword [esp + 0x18], ebx
jne 0x4f30e0
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov eax, dword [0x63c454]
cmp eax, esi
je 0x4f30dc
mov eax, dword [eax + 0x20]
cmp eax, esi
je 0x4f30dc
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x44]
push ecx
push esi
push 0x113e
push eax
mov dword [esp + 0x54], 0x14
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4f30dc
mov edx, dword [esp + 0x68]
mov dword [esp + 0x18], edx
mov ebx, edx
jmp 0x4f30e0
mov dword [esp + 0x18], esi
add edi, 0x15c
mov dword [esp + 0x14], edi
call fcn.00535630
cmp dword [ebp + 0x10], esi
je 0x4f3125
push 0
push 0
push 0x4d10
push 0
push edi
mov eax, 0x5f12b4
call fcn.005350a0
push 0
push 0
push 0x4d11
push 1
push edi
mov eax, 0x5f12c0
call fcn.005350a0
jmp 0x4f3546
test ebx, ebx
je 0x4f3157
push 0
push 0
push 0x4d02
push 0
push edi
mov eax, 0x5fe4cc
call fcn.005350a0
mov eax, 1
mov ecx, edi
call fcn.00535160
mov dword [esp + 0x10], 2
mov esi, dword [esp + 0x10]
push 0
push 0
push 0x4d03
push esi
push edi
mov eax, 0x5fe4dc
call fcn.005350a0
push 0
push 0
push 0x4d04
add esi, 1
push esi
push edi
mov eax, 0x5fe4f8
call fcn.005350a0
add esi, 1
mov eax, esi
mov ecx, edi
call fcn.00535160
add esi, 1
test ebx, ebx
je 0x4f3332
mov dword [esp + 0x1c], 0
call fcn.00555692
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4f31bd
push 0x80004005
call fcn.00401f90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x78], 1
mov ecx, dword [ebx]
cmp dword [ecx - 0xc], 0
je 0x4f320e
mov edx, ecx
push edx
lea eax, [esp + 0x14]
push 0x5f132c
push eax
call fcn.00404650
mov eax, dword [esp + 0x1c]
add esp, 0xc
push 0
push 0
push 0x4d07
push esi
push edi
call fcn.005350a0
add esi, 1
mov dword [esp + 0x1c], 1
mov ecx, dword [ebx + 4]
cmp dword [ecx - 0xc], 0
je 0x4f324b
mov edx, ecx
push edx
lea eax, [esp + 0x14]
push 0x5f1348
push eax
call fcn.00404650
mov eax, dword [esp + 0x1c]
add esp, 0xc
push 0
push 0
push 0x4d08
push esi
push edi
call fcn.005350a0
add esi, 1
mov dword [esp + 0x1c], 1
mov ecx, dword [ebx + 8]
cmp dword [ecx - 0xc], 0
je 0x4f3282
mov edx, ecx
push edx
lea eax, [esp + 0x14]
push 0x5f1364
push eax
call fcn.00404650
mov eax, dword [esp + 0x1c]
add esp, 0xc
push 0
push 0
push 0x4d09
push esi
push edi
call fcn.005350a0
add esi, 1
jmp 0x4f3289
cmp dword [esp + 0x1c], 0
je 0x4f3295
mov eax, esi
mov ecx, edi
call fcn.00535160
add esi, 1
mov byte [esp + 0x78], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f32ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx + 0x14]
cmp dword [ecx - 0xc], 0
jne 0x4f32ed
cmp dword [ebx + 0x58], 0
jle 0x4f32ed
push 0
push 0
push 0x4d16
push esi
push edi
mov eax, 0x5fe510
call fcn.005350a0
add esi, 1
mov eax, esi
mov ecx, edi
call fcn.00535160
add esi, 1
mov ebx, dword [ebx + 0xf8]
test ebx, ebx
je 0x4f3332
mov eax, ebx
call fcn.005387f0
test eax, eax
push 0
push 0
je 0x4f3312
push 0x4d15
mov eax, 0x5f1380
jmp 0x4f331c
push 0x4d14
mov eax, str.b__rY_vN
push esi
push edi
call fcn.005350a0
add esi, 1
mov eax, esi
mov ecx, edi
call fcn.00535160
add esi, 1
push 0
push 0
push 0x4d10
push esi
push edi
mov eax, 0x5f12b4
call fcn.005350a0
push 0
push 0
push 0x4d11
add esi, 1
push esi
push edi
mov eax, 0x5f12c0
call fcn.005350a0
push 0
push 0
push 0x4d13
add esi, 1
push esi
push edi
mov eax, 0x5f12cc
call fcn.005350a0
add esi, 1
mov eax, esi
mov ecx, edi
call fcn.00535160
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
lea ebx, [edi + 0x2d8]
add esi, 1
push 0
mov ecx, ebx
mov dword [esp + 0x18], esi
call fcn.0055d23e
mov edx, dword [edi + 0x140]
push edx
mov edi, 0x63c22c
call fcn.004c2b30
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2e0], 0
jle 0x4f348b
mov ecx, dword [esp + 0x14]
push str._rY6R0R
push 0
push esi
push ecx
call fcn.005352c0
mov edx, dword [ebp + 8]
xor edi, edi
add esi, 1
cmp dword [edx + 0x2e0], edi
mov dword [esp + 0x1c], eax
jle 0x4f3427
cmp edi, 0x14
jge 0x4f3427
test edi, edi
jl 0x4f34d4
cmp edi, dword [ebx + 8]
jge 0x4f34d4
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x1c]
push 0
push 0
lea ecx, [edi + 0x4d30]
push ecx
lea eax, [eax + edi*4]
mov eax, dword [eax]
push edi
push edx
call fcn.005350a0
mov eax, dword [ebp + 8]
add edi, 1
cmp edi, dword [eax + 0x2e0]
jl 0x4f33e5
mov ecx, dword [esp + 0x14]
push 0x5f131c
push 0
push esi
push ecx
call fcn.005352c0
mov edx, dword [ebp + 8]
add esi, 1
xor edi, edi
cmp dword [edx + 0x2e0], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], esi
jle 0x4f348b
cmp edi, 0x14
jge 0x4f348b
test edi, edi
jl 0x4f34d4
cmp edi, dword [ebx + 8]
jge 0x4f34d4
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x1c]
push 0
push 0
lea ecx, [edi + 0x4d44]
push ecx
lea eax, [eax + edi*4]
mov eax, dword [eax]
push edi
push edx
call fcn.005350a0
mov eax, dword [ebp + 8]
add edi, 1
cmp edi, dword [eax + 0x2e0]
jl 0x4f3451
push 0x40
call fcn.0055514b
add esp, 4
test eax, eax
je 0x4f34ef
mov esi, eax
call fcn.00534f00
mov ebx, eax
test ebx, ebx
je 0x4f34eb
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x18], 1
cmp ecx, dword [eax + 0x6c]
jae 0x4f34c6
push ebx
push ecx
add eax, 0x64
call fcn.004df1e0
jmp 0x4f34eb
lea esi, [eax + 0x64]
mov eax, dword [esi + 8]
test eax, eax
mov dword [esp + 0x1c], eax
jge 0x4f34d9
call fcn.00555520
lea edi, [eax + 1]
call fcn.00541660
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x1c]
mov dword [ecx + edx*4], ebx
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
add esi, 1
cmp dword [esp + 0x18], 0
je 0x4f3515
push 0
push 0
push 0x4d06
push esi
push edi
mov eax, 0x5f1398
call fcn.005350a0
add esi, 1
push 0
push 0
push 0x4d0c
push esi
push edi
mov eax, 0x5f13a8
call fcn.005350a0
push 0
push 0
push 0x4d0f
add esi, 1
push esi
push edi
mov eax, 0x5f13b8
call fcn.005350a0
mov edi, dword [esp + 0x14]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4f3553
xor edx, edx
xor esi, esi
jmp 0x4f3558
mov edx, dword [eax + 0x20]
mov esi, edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
push edx
push esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
push 0
lea eax, [esp + 0x2c]
mov ecx, edi
call fcn.005348c0
lea ecx, [esp + 0x30]
mov dword [esp + 0x78], 0xffffffff
call fcn.0055d769
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc