Function at 0x439020
Capabilities:
Get number of processors

Disassembly:
push ebp
lea ebp, [esp - 0x30]
sub esp, 0x30
push 0xffffffffffffffff
push 0x4508ea
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x46b070]
xor eax, ebp
mov dword [ebp + 0x2c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, edx
mov dword [ebp - 0x64], ebx
mov esi, dword [ebp + 0x38]
mov dword [ebp + 0xc], esi
mov edi, dword [ebp + 0x3c]
mov dword [ebp + 0x10], edi
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x68], ecx
xor eax, eax
mov dword [ebp - 0x6c], eax
mov dword [ebp + 0x14], eax
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx + 0x3c]
call eax
mov dword [ebx + 0x134], eax
mov byte [ebp + 0x24], 7
mov byte [ebp + 0x25], 1
mov byte [ebp + 0x26], 8
mov byte [ebp + 0x27], 0
mov byte [ebp + 0x28], 0
mov dword [ebp], 0
lea ecx, [ebp - 0x60]
push ecx
call fcn.004131c0
mov dword [ebp - 4], 0
mov edx, dword [ebx + 0x134]
cmp dword [edx + 4], 0
jne 0x439120
test byte [ebx + 0xc8], 2
je 0x439120
mov eax, 1
mov dword [ebp - 0x6c], eax
mov dword [ebp + 0x14], eax
mov dword [ebp], 0x11000001
mov eax, dword [esi]
lea ecx, [ebp + 0x24]
push ecx
push edi
push 0x91000001
mov ecx, esi
mov edx, dword [eax + 0x2c]
call edx
lea edi, [ebp - 0x60]
call fcn.00413830
mov eax, 0x17
mov ecx, edi
call fcn.004135d0
mov eax, 0xa
mov ecx, edi
call fcn.004135d0
mov eax, dword [ebx + 0x134]
cmp dword [eax + 0x68], 0
jne 0x439176
mov ecx, dword [eax + 0x34]
xor ecx, dword [eax + 0x10]
mov dword [eax + 0x58], ecx
jmp 0x439176
cmp dword [ebx + 0xb8], 0
je 0x439176
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 0x2c], 0
je 0x439176
mov dword [ebp], 0x11000001
mov edx, dword [esi]
lea eax, [ebp + 0x24]
push eax
push edi
push 0x91000001
mov ecx, esi
mov edx, dword [edx + 0x2c]
call edx
mov dword [ebp + 0x14], 1
lea edi, [ebp - 0x60]
call fcn.00413830
mov eax, 0x17
mov ecx, edi
call fcn.004135d0
mov eax, 0xa
mov ecx, edi
call fcn.004135d0
mov eax, ebx
xor eax, dword [0x5a1b90]
mov dword [ebp + 0x1c], eax
mov eax, 0x20
lea ecx, [ebp - 0x60]
call fcn.004135d0
push 4
lea ecx, [ebp + 0x1c]
push ecx
lea esi, [ebp - 0x60]
call fcn.00413510
mov edi, dword [ebx + 0xb0]
mov dword [ebp + 0x18], edi
mov eax, 0x73
mov ecx, esi
call fcn.004135d0
push edi
mov eax, esi
call fcn.00413590
mov edx, dword [ebx + 0xa8]
mov eax, dword [edx + 0x10]
mov ecx, eax
and ecx, 0xf
shr eax, 4
mov esi, dword [ecx*4 + 0x455998]
or esi, eax
mov eax, pe_nt_image_headers32
lea ecx, [ebp - 0x60]
call fcn.004135d0
push esi
lea eax, [ebp - 0x60]
call fcn.00413590
mov dword [ebp + 0x1c], 0x431a50
mov eax, 0x20
lea ecx, [ebp - 0x60]
call fcn.004135d0
push 4
lea eax, [ebp + 0x1c]
push eax
lea esi, [ebp - 0x60]
call fcn.00413510
mov ecx, dword [ebx + 0xa8]
mov eax, dword [ecx + 0x18]
mov ecx, eax
and ecx, 0xf
shr eax, 4
mov esi, dword [ecx*4 + 0x455998]
or esi, eax
mov eax, pe_nt_image_headers32
lea ecx, [ebp - 0x60]
call fcn.004135d0
push esi
lea eax, [ebp - 0x60]
call fcn.00413590
cmp dword [ebx + 0xb8], 0
je 0x43948d
mov edx, dword [ebx + 0xa8]
cmp dword [edx + 0x2c], 0
je 0x43948d
mov dword [ebp + 0x1c], 0x431bd0
mov eax, dword [ebp + 0x10]
mov edi, dword [eax + 4]
mov ecx, dword [0x5a1a94]
cmp dword [ecx + 0x10], 0
je 0x43935b
push edi
call fcn.00431ae0
add esp, 4
mov edi, eax
mov edx, dword [edi + 0xc]
mov dword [ebp + 0x1c], edx
mov eax, 0x20
lea ecx, [ebp - 0x60]
call fcn.004135d0
push 4
lea eax, [ebp + 0x1c]
push eax
lea esi, [ebp - 0x60]
call fcn.00413510
mov eax, 0x73
mov ecx, esi
call fcn.004135d0
mov ecx, dword [ebp + 0x18]
push ecx
mov eax, esi
call fcn.00413590
mov edx, dword [edi + 4]
mov dword [ebp + 0x1c], edx
mov eax, 0x20
mov ecx, esi
call fcn.004135d0
push 4
lea eax, [ebp + 0x1c]
push eax
call fcn.00413510
mov eax, 0x73
mov ecx, esi
call fcn.004135d0
mov ecx, dword [ebp + 0x18]
push ecx
mov eax, esi
call fcn.00413590
mov edx, dword [edi + 8]
mov dword [ebp + 0x1c], edx
mov eax, 0x20
mov ecx, esi
call fcn.004135d0
push 4
lea eax, [ebp + 0x1c]
push eax
call fcn.00413510
mov eax, 0x73
mov ecx, esi
call fcn.004135d0
mov ecx, dword [ebp + 0x18]
push ecx
mov eax, esi
call fcn.00413590
mov esi, dword [edi + 0x18]
mov eax, 0x20
lea ecx, [ebp - 0x60]
call fcn.004135d0
push esi
lea eax, [ebp - 0x60]
call fcn.00413590
mov esi, dword [ebx + 0x390]
mov eax, 0x28
lea ecx, [ebp - 0x60]
call fcn.004135d0
push esi
lea eax, [ebp - 0x60]
call fcn.00413590
mov edx, dword [edi + 0x10]
mov dword [ebp + 0x1c], edx
mov eax, dword [ebx + 0xac]
mov eax, dword [eax + 0x38]
mov ecx, eax
and ecx, 0xf
shr eax, 4
mov esi, dword [ecx*4 + 0x455998]
or esi, eax
mov eax, 0x28
lea ecx, [ebp - 0x60]
call fcn.004135d0
push esi
lea eax, [ebp - 0x60]
call fcn.00413590
mov eax, 0x25
lea ecx, [ebp - 0x60]
call fcn.004135d0
mov ecx, dword [ebx + 0xac]
mov eax, dword [ecx + 0x3c]
mov ecx, eax
and ecx, 0xf
shr eax, 4
mov esi, dword [ecx*4 + 0x455998]
or esi, eax
mov eax, 0x6f
lea ecx, [ebp - 0x60]
call fcn.004135d0
push esi
lea eax, [ebp - 0x60]
call fcn.00413590
mov dword [ebp + 4], edi
mov eax, 0x20
lea ecx, [ebp - 0x60]
call fcn.004135d0
push 4
lea edx, [ebp + 4]
push edx
lea esi, [ebp - 0x60]
call fcn.00413510
mov eax, 0x73
mov ecx, esi
call fcn.004135d0
mov eax, dword [ebp + 0x18]
push eax
mov eax, esi
call fcn.00413590
mov ecx, dword [ebp + 0x1c]
mov dword [ebp + 4], ecx
mov eax, 0x20
mov ecx, esi
call fcn.004135d0
push 4
lea edx, [ebp + 4]
push edx
call fcn.00413510
mov eax, dword [ebx + 0xac]
mov eax, dword [eax + 0x14]
mov ecx, eax
and ecx, 0xf
shr eax, 4
mov esi, dword [ecx*4 + 0x455998]
or esi, eax
mov eax, 0x29
lea ecx, [ebp - 0x60]
call fcn.004135d0
push esi
lea eax, [ebp - 0x60]
call fcn.00413590
mov ecx, dword [ebx + 0xac]
mov eax, dword [ecx + 0x30]
mov ecx, eax
and ecx, 0xf
shr eax, 4
mov esi, dword [ecx*4 + 0x455998]
or esi, eax
mov edx, esi
and edx, 0xff000000
cmp edx, 0x6000000
jne 0x43948a
mov eax, 0x28
lea ecx, [ebp - 0x60]
call fcn.004135d0
push esi
lea eax, [ebp - 0x60]
call fcn.00413590
mov edi, dword [ebp + 0x18]
mov eax, 0x17
lea ecx, [ebp - 0x60]
call fcn.004135d0
cmp dword [ebp + 0x14], 0
je 0x439534
mov eax, 0xa
lea ecx, [ebp - 0x60]
call fcn.004135d0
mov eax, 0xde
lea ecx, [ebp - 0x60]
call fcn.004135d0
mov byte [ebp + 0x20], 3
lea ebx, [ebp + 0x20]
lea esi, [ebp - 0x60]
call fcn.00411800
mov eax, esi
push eax
call fcn.004138d0
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0xa8]
mov eax, dword [edx]
mov ecx, eax
and ecx, 0xf
shr eax, 4
mov ecx, dword [ecx*4 + 0x455998]
or ecx, eax
push ecx
mov ebx, esi
call fcn.00413990
mov eax, 0x26
mov ecx, esi
call fcn.004135d0
mov eax, 0xde
mov ecx, esi
call fcn.004135d0
mov byte [ebp + 0x20], 0
lea ebx, [ebp + 0x20]
call fcn.00411800
mov edx, esi
push edx
call fcn.00413a20
mov eax, 6
mov ecx, esi
call fcn.004135d0
mov ebx, dword [ebp - 0x64]
mov eax, 0x2a
lea ecx, [ebp - 0x60]
call fcn.004135d0
mov eax, dword [ebp]
push eax
lea eax, [ebp - 0x60]
call fcn.00413ae0
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp + 0x10]
mov dword [esi + 0xc], ecx
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x439569
mov ecx, dword [ebp - 0x58]
mov edx, ecx
sub edx, eax
cmp edx, 0xc
ja 0x439574
call fcn.0043b20b
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x5c]
lea edx, [eax + 0xc]
mov dword [esi + 8], edx
mov esi, dword [ebp + 0xc]
cmp dword [ebp - 0x6c], 0
jne 0x439589
cmp dword [ebp + 0x14], 0
je 0x4395b7
mov edx, dword [ebp - 0x14]
test edx, edx
mov dword [esi + 0x14], edi
mov dword [esi + 0xc], 1
jne 0x43959e
xor eax, eax
jmp 0x4395b4
test eax, eax
mov edi, edx
je 0x4395aa
sub ecx, eax
cmp edx, ecx
jb 0x4395b2
call fcn.0043b20b
mov eax, dword [ebp - 0x5c]
add eax, edi
mov dword [esi + 4], eax
mov dword [ebp + 8], SysReAllocStringLen
mov byte [ebp - 4], 1
cmp dword [ebp + 0x14], 0
je 0x4395f8
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, esi
mov edx, ebx
call fcn.00432e90
mov esi, eax
mov dword [ebp + 8], esi
mov eax, dword [ebx + 0x134]
mov ecx, 1
mov dword [eax + 0x68], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 4], ecx
jmp 0x439612
mov eax, dword [esi]
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x70]
push edx
mov ecx, dword [ebp + 0x10]
push ecx
push ebx
push esi
mov edx, dword [eax + 4]
call edx
mov esi, eax
mov dword [ebp + 8], esi
test esi, esi
jne 0x439638
mov eax, dword [0x5a1a94]
cmp dword [eax + 0x10], esi
je 0x439638
cmp dword [ebx + 0xb8], esi
je 0x439638
mov ecx, dword [ebx + 0xa8]
cmp dword [ecx + 0x2c], esi
je 0x439638
call fcn.00431940
mov dword [ebp - 4], 0
jmp 0x439651
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x60]
push edx
call fcn.00413250
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2c]
xor ecx, ebp
call fcn.0043ab16
add ebp, 0x30
mov esp, ebp
pop ebp
ret 0xc