Function at 0x411e30
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465230
push 0x439b40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x74], esi
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], edi
mov al, byte [esi + 0x30]
test al, al
je 0x411fa1
xor eax, eax
mov ax, word [esi + 0x1e]
lea ecx, [eax*4 + 0x28]
push ecx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x20], eax
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
mov dword [ebp - 0x28], ebx
test ebx, ebx
jne 0x411eb4
push 0x48dc20
lea ecx, [ebp - 0x3c]
call fcn.00410bb0
push 0x4814b8
lea edx, [ebp - 0x3c]
push edx
call fcn.0043948f
mov ecx, 0xb
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov dword [ebx], 0x28
mov eax, dword [esi + 0x14]
mov dword [ebx + 4], eax
mov ecx, dword [esi + 0x10]
mov dword [ebx + 8], ecx
mov word [ebx + 0xc], 1
movzx dx, byte [esi + 0x1d]
mov word [ebx + 0xe], dx
mov eax, dword [esi + 4]
imul eax, dword [esi + 0x10]
mov dword [ebx + 0x14], eax
xor ecx, ecx
mov dword [ebx + 0x10], ecx
xor edx, edx
mov dx, word [esi + 0x1e]
mov dword [ebx + 0x20], edx
xor eax, eax
mov ax, word [esi + 0x1e]
mov dword [ebx + 0x24], eax
mov dword [ebp - 0x2c], ecx
cmp cx, word [esi + 0x1e]
jae 0x411f3c
mov eax, ecx
and eax, 0xffff
lea edi, [eax + eax*2]
mov edx, dword [esi + 0x20]
mov dl, byte [edi + edx]
mov byte [ebx + eax*4 + 0x2a], dl
mov edx, dword [esi + 0x20]
mov dl, byte [edi + edx + 1]
mov byte [ebx + eax*4 + 0x29], dl
mov edx, dword [esi + 0x20]
mov dl, byte [edi + edx + 2]
mov byte [ebx + eax*4 + 0x28], dl
mov byte [ebx + eax*4 + 0x2b], 0
inc ecx
jmp 0x411f01
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
jne 0x411f6d
push str.Failed_to_create_the_device_context
lea ecx, [ebp - 0x4c]
call fcn.00410bb0
push 0x4814b8
lea eax, [ebp - 0x4c]
push eax
call fcn.0043948f
push 0
push 0
mov ecx, dword [esi + 0x24]
push ecx
push 0
push ebx
push edi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [esi + 0x2c], eax
test eax, eax
jne 0x411fdc
push str.Failed_to_create_the_bitmap_handle
lea ecx, [ebp - 0x5c]
call fcn.00410bb0
push 0x4814b8
lea edx, [ebp - 0x5c]
push edx
call fcn.0043948f
mov eax, dword [esi + 0x10]
imul eax, dword [esi + 4]
push eax
call fcn.004481d8
add esp, 4
mov dword [ebp - 0x60], eax
mov ecx, dword [esi + 0x24]
mov dword [ecx], eax
mov edx, dword [esi + 0x24]
cmp dword [edx], 0
jne 0x411fdf
push str.Memory_Allocation_Error
lea ecx, [ebp - 0x70]
call fcn.00410bb0
push 0x4814b8
lea eax, [ebp - 0x70]
push eax
call fcn.0043948f
mov ebx, dword [ebp - 0x20]
mov ecx, 1
mov dword [ebp - 0x24], ecx
cmp ecx, dword [esi + 0x10]
jae 0x411ffd
mov edx, dword [esi + 0x24]
lea eax, [edx + ecx*4]
mov edx, dword [eax - 4]
add edx, dword [esi + 4]
mov dword [eax], edx
inc ecx
jmp 0x411fe4
mov dword [ebp - 4], 0xffffffff
call fcn.00412023
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret