Function at 0x29a8bee0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x29b26d60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, edx
mov ebp, dword [edi + 0xd4]
xor ebx, ebx
cmp ebp, ebx
mov esi, ecx
je 0x29a8c167
cmp dword [ebp + 0x14], ebx
je 0x29a8c167
cmp dword [edi + 0xc], ebx
je 0x29a8c167
mov eax, dword [edi + 0x28]
sub eax, dword [edi + 0x20]
je 0x29a8c167
mov ecx, dword [edi + 0x2c]
sub ecx, dword [edi + 0x24]
je 0x29a8c167
mov eax, dword [edi + 0xd8]
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x29a8bf69
push esi
call dword [sym.imp.GDI32.dll_GetObjectType]
cmp eax, 0xc
je 0x29a8bf63
cmp eax, 0xd
je 0x29a8bf63
cmp eax, 4
je 0x29a8bf63
cmp eax, 9
jne 0x29a8bf69
mov dword [edi + 0xd8], ebx
mov ecx, esi
lea esi, [esp + 0x18]
call fcn.29a7ea70
mov dword [esp + 0x38], ebx
mov edx, dword [edi + 0xc]
test dword [edx + 4], 0x200000
je 0x29a8bf98
mov eax, dword [esp + 0x18]
push 7
push eax
call sub.gdiplus.dll_GdipSetInterpolationMode
cmp eax, ebx
je 0x29a8bf98
mov dword [esp + 0x1c], eax
cmp dword [edi + 0x144], ebx
je 0x29a8bfe7
mov ecx, dword [esp + 0x18]
push 3
push ecx
call sub.gdiplus.dll_GdipSetPageUnit
cmp eax, ebx
je 0x29a8bfb4
mov dword [esp + 0x1c], eax
lea esi, [esp + 0x18]
call fcn.29a8bb20
fstp st(0)
call fcn.29a8bb40
fld dword [0x29b597b8]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x29a8bfe7
call fcn.29a8bb40
fdivr qword [0x29b599c8]
push ecx
fstp dword [esp]
call fcn.29a8bb00
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], ebx
call sub.gdiplus.dll_GdipCreateImageAttributes
mov dword [esp + 0x2c], eax
mov eax, 0xff000000
mov ebx, 1
mov byte [esp + 0x38], bl
mov esi, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call fcn.29a7f250
cmp eax, ebx
je 0x29a8c08c
call fcn.29a7f250
sub eax, 2
je 0x29a8c052
dec eax
je 0x29a8c03f
dec eax
jne 0x29a8c061
lea esi, [esp + 0x14]
call fcn.29a7f280
call fcn.29a93270
lea ecx, [esp + 0x20]
push ecx
jmp 0x29a8c05c
mov esi, dword [ebp + 0x14]
lea edx, [esp + 0x20]
push edx
xor ecx, ecx
xor edx, edx
call fcn.29a8bc00
jmp 0x29a8c061
lea eax, [esp + 0x20]
push eax
mov eax, 0xff00ff
call fcn.29a8bac0
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebx
push ebx
push edx
mov dword [esp + 0x38], 0xffffff
call sub.gdiplus.dll_GdipSetImageAttributesRemapTable
test eax, eax
je 0x29a8c083
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
mov dword [ebp + 0x18], eax
jmp 0x29a8c093
mov dword [ebp + 0x18], 0
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
call dword [edx + 0x14]
cmp eax, 0x64
je 0x29a8c0ac
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
jne 0x29a8c0bb
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
push ebx
call dword [edx + 0x10]
mov dword [edi + 0x100], ebx
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 4]
and eax, 0xffff
dec eax
cmp eax, 9
ja case.default.0x29a8c0cc
jmp dword [eax*4 + 0x29a8c17c]
mov edx, dword [edi]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call dword [edx + 0xf4]
jmp case.default.0x29a8c0cc
mov edx, dword [edi]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call dword [edx + 0xf8]
jmp case.default.0x29a8c0cc
mov edx, dword [edi]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call dword [edx + 0xfc]
jmp case.default.0x29a8c0cc
mov edx, dword [edi]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call dword [edx + 0x100]
jmp case.default.0x29a8c0cc
push 0
push 0
push 0
jmp 0x29a8c13a
push 0
jmp 0x29a8c137
push 0
push ebx
push 0
jmp 0x29a8c13a
push 0
push ebx
jmp 0x29a8c139
push ebx
push 0
push 0
jmp 0x29a8c13a
push ebx
push 0
push ebx
mov edx, dword [edi]
lea eax, [esp + 0x24]
mov ecx, edi
push eax
call dword [edx + 0x104]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push edx
mov dword [edi + 0xd8], ecx
call sub.gdiplus.dll_GdipDisposeImageAttributes
mov eax, dword [esp + 0x18]
push eax
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret