Function at 0x407d59
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x63e7c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call fcn.0046a130
xor ebx, ebx
mov dword [esi], 0x64fa38
mov byte [esi + 0x1a4], 2
mov byte [esi + 0x1a5], bl
mov byte [esi + 0x1a6], bl
mov byte [esi + 0x1a7], bl
mov word [esi + 0x1a8], bx
mov dword [esp + 0x34], ebx
mov dword [esi + 0x1aa], ebx
mov dword [esp + 0xc], ebx
call fcn.0042d3e0
mov edi, dword [eax + 0x10]
call fcn.0042d3e0
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [0x6a09fc]
push edi
push eax
call fcn.004d67c0
mov ecx, dword [esp + 0xc]
push 0x80000000
call fcn.0041ef50
push 0x60
call fcn.00614bf2
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x34], 1
je 0x407dec
mov ecx, eax
call fcn.0049ec40
jmp 0x407dee
xor eax, eax
mov edx, dword [esp + 0xc]
push edx
mov ecx, eax
mov byte [esp + 0x38], bl
mov dword [esi + 0x148], eax
call fcn.0049f010
mov ecx, dword [esp + 0xc]
cmp ecx, ebx
je 0x407e16
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0xc], ebx
mov edi, dword [sym.imp.user32.dll_SetRect]
lea ecx, [esi + 0x14c]
push ebp
mov ebp, 0xffffffa0
mov dword [esp + 0x14], ecx
lea esp, [esp]
mov ecx, dword [0x6a09fc]
lea edx, [esp + 0x10]
push edx
push 0x29
push 0x20
call fcn.004d67c0
mov ecx, dword [esp + 0x10]
push ebx
call fcn.0041ef50
cmp ebp, 0xa0
jge 0x407e72
push 0xbb
lea eax, [ebp + 0x80]
push eax
push 0x92
lea ecx, [ebp + 0x60]
push ecx
lea edx, [esp + 0x30]
push edx
jmp 0x407e83
push 0x85
push ebp
push 0x5c
lea eax, [ebp - 0x20]
push eax
lea ecx, [esp + 0x30]
push ecx
call edi
mov ecx, dword [0x6a09fc]
push ebx
push 0x3c
call fcn.004d6b60
mov ecx, dword [esp + 0x14]
push eax
push ebx
push ebx
lea edx, [esp + 0x30]
push edx
call fcn.0041f9b0
push 0x60
call fcn.00614bf2
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov byte [esp + 0x38], 2
je 0x407ec4
mov ecx, eax
call fcn.0049ec40
jmp 0x407ec6
xor eax, eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [ecx], eax
push edx
mov ecx, eax
mov byte [esp + 0x3c], bl
call fcn.0049f010
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x407eee
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x14]
add edx, 4
add ebp, 0x20
cmp ebp, 0xe0
mov dword [esp + 0x14], edx
jl 0x407e30
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [0x6a09fc]
push 0xfa
mov ebp, 0x1ce
push ebp
call fcn.004d67c0
mov ecx, dword [esp + 0x10]
push ebx
call fcn.0041ef50
push 0x19
push 0xed
push 2
push 0x3d
lea edx, [esp + 0x30]
push edx
call edi
mov ecx, dword [0x6a09fc]
push ebx
push 0x3d
call fcn.004d6b60
mov ecx, dword [esp + 0x14]
push eax
push 0xd
push 0x3c
lea eax, [esp + 0x30]
push eax
call fcn.0041f9b0
push 0x31
push 0xed
push 0x1b
push 1
lea ecx, [esp + 0x30]
push ecx
call edi
mov ecx, dword [0x6a09fc]
push ebx
push 0x3d
call fcn.004d6b60
mov ecx, dword [esp + 0x14]
push eax
push 0x3f
push ebx
lea edx, [esp + 0x30]
push edx
call fcn.0041f9b0
push 0x49
push 0xed
push 0x33
push 0x89
lea eax, [esp + 0x30]
push eax
call edi
mov ecx, dword [0x6a09fc]
push ebx
push 0x3d
call fcn.004d6b60
push eax
push 0x71
push 0x88
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.0041f9b0
push 0x52
push 0x3a
push 0x35
push 0x31
lea edx, [esp + 0x30]
push edx
call edi
mov ecx, dword [0x6a09fc]
push ebx
push 0x3d
call fcn.004d6b60
mov ecx, dword [esp + 0x14]
push eax
push 8
push 0x167
lea eax, [esp + 0x30]
push eax
call fcn.0041f9b0
push 0x45
push 0x2e
push 0x35
push 2
lea ecx, [esp + 0x30]
push ecx
call edi
mov ecx, dword [0x6a09fc]
push ebx
push 0x3d
call fcn.004d6b60
mov ecx, dword [esp + 0x14]
push eax
push 0x48
push 0x167
lea edx, [esp + 0x30]
push edx
call fcn.0041f9b0
push 0x61
push 0xf5
push 0x4b
push 0x45
lea eax, [esp + 0x30]
push eax
call edi
mov ecx, dword [0x6a09fc]
push ebx
push 0x3d
call fcn.004d6b60
push eax
push 0xa3
push 0x3b
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.0041f9b0
push 0x79
push 0xf5
push 0x63
push 0xc5
lea edx, [esp + 0x30]
push edx
call edi
mov ecx, dword [0x6a09fc]
push ebx
push 0x3d
call fcn.004d6b60
mov ecx, dword [esp + 0x14]
push eax
push 0xd5
push 0xbb
lea eax, [esp + 0x30]
push eax
call fcn.0041f9b0
push 0x60
call fcn.00614bf2
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov byte [esp + 0x38], 3
je 0x4080c5
mov ecx, eax
call fcn.0049ec40
mov edi, eax
jmp 0x4080c7
xor edi, edi
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, edi
mov byte [esp + 0x3c], bl
call fcn.0049f010
mov ecx, dword [0x6a07e4]
push edi
call fcn.004a0440
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x4080f5
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esp + 0x10], ebx
push edi
mov ecx, esi
call fcn.0046a740
call fcn.0042d3e0
mov eax, dword [eax + 0xc]
sub eax, dword [esi + 0x48]
cdq
sub eax, edx
sar eax, 1
sub eax, 0xe7
mov dword [esi + 0x2c], eax
call fcn.0042d3e0
mov eax, dword [eax + 0x10]
sub eax, dword [esi + 0x4c]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x64
mov dword [esi + 0x30], eax
cmp dword [esi + 0x48], ebp
je 0x40813e
mov eax, dword [esi]
push esi
mov ecx, esi
mov dword [esi + 0x48], ebp
call dword [eax + 0xc0]
mov ecx, dword [esi + 0x4c]
mov eax, 0x8c
cmp ecx, eax
pop ebp
je 0x408159
mov edx, dword [esi]
push esi
mov ecx, esi
mov dword [esi + 0x4c], eax
call dword [edx + 0xc0]
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x30]
lea ecx, [edx + 0x105]
add edx, 0x173
mov dword [esi + 0x17c], edx
lea edx, [eax + 0x32]
mov dword [esi + 0x188], edx
lea edx, [eax + 0x64]
mov dword [esi + 0x190], edx
lea edx, [eax + 0x9a]
mov dword [esi + 0x178], eax
mov dword [esi + 0x180], eax
mov dword [esi + 0x174], ecx
mov dword [esi + 0x184], ecx
mov dword [esi + 0x18c], ecx
mov dword [esi + 0x194], ecx
mov dword [esi + 0x19c], ecx
add eax, 0xcf
push ebx
mov ecx, esi
mov dword [esi + 0x198], edx
mov dword [esi + 0x1a0], eax
call fcn.0046a700
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0xc4], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret