Function at 0x42acd0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x475118
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x489320]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x489320]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, 1
mov edi, ecx
xor esi, esi
mov dword [esp + 0x18], edi
test byte [0x48eea0], al
jne 0x42ad47
or dword [0x48eea0], eax
push 0x4757d0
mov dword [0x48ee78], esi
mov dword [0x48ee7c], esi
mov dword [0x48ee80], esi
mov dword [0x48ee84], esi
call fcn.00454158
add esp, 4
lea ebx, [esp + 0x1c]
call fcn.004178c0
push eax
lea eax, [esp + 0x14]
push eax
mov ebx, 0x47bd24
mov dword [esp + 0x58], esi
call fcn.004061e0
add esp, 8
mov byte [esp + 0x50], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ad8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x10]
call fcn.00416f30
test eax, eax
jne 0x42adc3
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x42adbc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x42aee8
mov ecx, dword [edi + 0x30]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
mov edx, dword [edi + 0x30]
mov ecx, dword [esp + 0x10]
push eax
push edx
lea eax, [edi + 0x4c]
push eax
call fcn.00414420
test eax, eax
je 0x42ad9b
mov dword [esp + 0x20], 0x5252
mov dword [esp + 0x24], 0xebc4
xor ebx, ebx
mov eax, dword [edi + 0x54]
test eax, eax
je 0x42aea7
movzx ecx, word [esp + ebx*4 + 0x20]
push 1
push ecx
lea esi, [esp + 0x1c]
call fcn.00416d70
mov byte [esp + 0x50], 3
mov esi, dword [esp + 0x14]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x28], esi
test esi, esi
je 0x42ae4c
lea edx, [esp + 0x3c]
push edx
push edi
mov eax, esi
call fcn.0040d560
test eax, eax
jl 0x42ae4c
lea eax, [esp + 0x28]
push eax
add edi, 0x64
call fcn.0040cc70
mov edi, dword [esp + 0x18]
mov byte [esp + 0x50], 2
test esi, esi
je 0x42ae5d
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
inc ebx
cmp ebx, 2
jb 0x42adf5
mov esi, dword [edi + 0x30]
call fcn.00417480
test eax, eax
je 0x42ae9a
push str.CreateShadowEdgeInstance
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42ae9a
call eax
mov dword [edi + 0x80], eax
test eax, eax
je 0x42ae9a
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push 0
push 0
push 0
push esi
push eax
call edx
cmp dword [edi + 0x50], 0
je 0x42aebb
mov edi, dword [edi + 0x50]
test edi, edi
jne 0x42aeb1
push 0x80004003
call fcn.00452d50
mov eax, dword [edi]
mov ecx, dword [eax + 0x68]
push 2
push edi
call ecx
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42aee3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0045300b
mov esp, ebp
pop ebp
ret