Function at 0x490090
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor esi, esi
push ebp
push 0x4906f3
push dword fs:[esi]
mov dword fs:[esi], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
call fcn.004155b0
mov ebx, eax
xor esi, esi
push ebp
push 0x4906e2
push dword fs:[esi]
mov dword fs:[esi], esp
mov eax, dword [ebp - 0xc]
inc dword [eax + 0x30]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0xc]
add dword [ecx + 0x38], eax
adc dword [ecx + 0x3c], edx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx]
mov edx, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x54]
xor ecx, ecx
call fcn.0048baa8
mov eax, dword [ebp - 8]
call fcn.0048ad30
test al, al
jne 0x490116
mov ecx, 0x49073c
mov dl, 1
mov eax, dword [0x48d824]
call fcn.0040c230
call fcn.00403c24
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x22], 0
jne 0x490141
mov eax, dword [ebp - 8]
call fcn.0048ad7c
test al, al
je 0x490141
mov ecx, 0x490754
mov dl, 1
mov eax, dword [0x48d824]
call fcn.0040c230
call fcn.00403c24
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x22], 1
jne 0x49016c
mov eax, dword [ebp - 8]
call fcn.0048ad94
test al, al
je 0x49016c
mov ecx, 0x490770
mov dl, 1
mov eax, dword [0x48d824]
call fcn.0040c230
call fcn.00403c24
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x22], 1
jne 0x4901b6
mov eax, dword [ebp - 8]
call fcn.0048adb0
test eax, eax
jne 0x4901b6
mov eax, dword [ebp - 8]
call fcn.0048ae80
test eax, eax
jne 0x4901b6
mov eax, dword [ebp - 8]
call fcn.0048ad18
test al, al
je 0x4901b6
mov eax, dword [ebp - 8]
call fcn.0048adac
cmp word [eax + 2], 3
jne 0x4901b6
push ebp
xor eax, eax
call fcn.0049002c
pop ecx
jmp 0x4906c9
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x22], 0
jne 0x490200
mov eax, dword [ebp - 8]
call fcn.0048ad18
test al, al
je 0x490200
mov eax, dword [ebp - 8]
call fcn.0048adac
cmp word [eax + 2], 4
jne 0x490200
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x49], 0
je 0x4901ee
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov dword [eax + 0x4c], edx
jmp 0x4901f6
mov eax, dword [ebp - 8]
call fcn.00403498
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4906c9
mov eax, dword [ebp - 8]
call fcn.0048adb0
mov edx, eax
mov ecx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0048f2b0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x49023c
mov eax, dword [ebp - 8]
call fcn.00403498
xor eax, eax
mov dword [ebp - 8], eax
call fcn.00403cd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49072d
mov eax, dword [ebp - 8]
call fcn.0048ae80
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0xc]
je 0x490262
mov ecx, 0x49078c
mov dl, 1
mov eax, dword [0x48d824]
call fcn.0040c230
call fcn.00403c24
mov eax, dword [ebp - 4]
cmp byte [eax + 0x16], 5
jne 0x490281
mov ecx, 0x4907b4
mov dl, 1
mov eax, dword [0x48d824]
call fcn.0040c230
call fcn.00403c24
mov eax, dword [ebp - 8]
mov cx, word [eax + 0x18]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 4]
call fcn.0048ee58
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [ebp - 8]
call fcn.0048ace8
test al, al
je 0x490303
mov eax, dword [ebp - 8]
call fcn.0048aaf4
movzx eax, word [eax + 2]
push eax
mov eax, dword [ebp - 8]
call fcn.0048aaf4
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
pop ecx
call fcn.0048eb3c
test al, al
je 0x4902f1
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x64]
call fcn.0048e0dc
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
call fcn.0048b95c
mov eax, dword [ebp - 8]
call fcn.00403498
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4906c9
mov eax, dword [ebp - 8]
call fcn.0048ad00
test al, al
je 0x490427
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx]
push eax
mov eax, dword [ebp - 0xc]
add eax, 0x18
push eax
mov eax, dword [ebp - 0xc]
add eax, 0x64
push eax
mov eax, dword [ebp - 8]
call fcn.0048acb4
movzx eax, word [eax + 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.0048acb4
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
pop ecx
call fcn.0048ec90
test al, al
je 0x490415
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x16]
sub al, 2
jb 0x490372
mov ecx, 0x4907d4
mov dl, 1
mov eax, dword [0x48d824]
call fcn.0040c230
call fcn.00403c24
mov eax, dword [ebp - 8]
call fcn.0048acb4
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x38]
cmp eax, edx
jb 0x4903aa
mov ecx, edx
add ecx, 0x10
cmp eax, ecx
jae 0x4903aa
sub eax, edx
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x84]
and eax, 0xf
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [edx + eax*4 + 0x44], ecx
jmp 0x4903fc
mov eax, dword [ebp - 8]
call fcn.00403498
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4903fc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx + eax*4 + 0x44], ecx
mov eax, dword [ebp - 4]
inc dword [eax + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
inc eax
and eax, 0x8000000f
jns 0x4903ea
dec eax
or eax, 0xfffffff0
inc eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
push ebp
mov al, 1
call fcn.0049002c
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov eax, dword [edx + eax*4 + 0x44]
test eax, eax
jne 0x4903b9
jmp 0x4906c9
mov eax, dword [ebp - 8]
call fcn.00403498
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4906c9
mov eax, dword [ebp - 8]
call fcn.0048ad7c
test al, al
je 0x4904ec
mov eax, dword [ebp - 4]
cmp byte [eax + 0x16], 0
jne 0x490456
mov ecx, 0x4907f8
mov dl, 1
mov eax, dword [0x48d824]
call fcn.0040c230
call fcn.00403c24
mov eax, dword [ebp - 8]
call fcn.0048af7c
movzx eax, word [eax + 0xc]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jae 0x490485
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0xfc17
jbe 0x4904de
mov eax, dword [ebp - 8]
call fcn.0048af7c
cmp word [eax + 0xc], 0x10
jae 0x4904de
mov eax, dword [ebp - 8]
call fcn.0048af7c
movzx ecx, word [eax + 0xc]
mov eax, dword [ebp - 4]
sub ecx, dword [eax + 0x3c]
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x2710
jge 0x4904b7
mov eax, ecx
cdq
mov ecx, dword [ebp - 4]
add dword [ecx + 0x188], eax
adc dword [ecx + 0x18c], edx
mov eax, dword [ebp - 8]
call fcn.0048af7c
movzx ebx, word [eax + 0xc]
inc ebx
mov eax, dword [ebp - 4]
mov dword [eax + 0x3c], ebx
cmp ebx, 0xffff
jbe 0x4904de
and ebx, 0xffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x3c], ebx
push ebp
mov al, 1
call fcn.0049002c
pop ecx
jmp 0x4906c9
mov eax, dword [ebp - 8]
call fcn.0048ad94
test al, al
je 0x4905b1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x16], 0
jne 0x49051b
mov ecx, 0x4907f8
mov dl, 1
mov eax, dword [0x48d824]
call fcn.0040c230
call fcn.00403c24
mov eax, dword [ebp - 8]
call fcn.0048af80
movzx eax, word [eax + 0xc]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jae 0x49054a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0xfc17
jbe 0x4905a3
mov eax, dword [ebp - 8]
call fcn.0048af80
cmp word [eax + 0xc], 0x10
jae 0x4905a3
mov eax, dword [ebp - 8]
call fcn.0048af80
movzx ecx, word [eax + 0xc]
mov eax, dword [ebp - 4]
sub ecx, dword [eax + 0x3c]
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x2710
jge 0x49057c
mov eax, ecx
cdq
mov ecx, dword [ebp - 4]
add dword [ecx + 0x188], eax
adc dword [ecx + 0x18c], edx
mov eax, dword [ebp - 8]
call fcn.0048af80
movzx ebx, word [eax + 0xc]
inc ebx
mov eax, dword [ebp - 4]
mov dword [eax + 0x3c], ebx
cmp ebx, 0xffff
jbe 0x4905a3
and ebx, 0xffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x3c], ebx
push ebp
mov al, 1
call fcn.0049002c
pop ecx
jmp 0x4906c9
mov eax, dword [ebp - 8]
call fcn.0048adac
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x40]
jb 0x4905f8
mov eax, dword [ebp - 8]
call fcn.0048adac
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x40]
xor edx, edx
mov ecx, dword [ebp - 4]
add dword [ecx + 0x188], eax
adc dword [ecx + 0x18c], edx
mov eax, dword [ebp - 8]
call fcn.0048adac
mov eax, dword [eax + 0xc]
inc eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 8]
call fcn.0048adac
cmp word [eax + 2], 1
jne 0x490660
mov eax, dword [ebp - 4]
cmp byte [eax + 0x16], 1
jne 0x490660
mov word [ebp - 0x24], 0xbef4
mov word [ebp - 0x22], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
call fcn.0048adac
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
call fcn.0048b048
lea edx, [ebp - 0x24]
mov ecx, 0x18
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0048f3d0
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4906c9
mov eax, dword [ebp - 8]
call fcn.0048adac
cmp word [eax + 2], 2
jne 0x4906bc
mov eax, dword [ebp - 4]
cmp byte [eax + 0x16], 1
jne 0x4906bc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x34]
jne 0x4906ad
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x154]
xor ecx, ecx
mov edx, 0x3f2
mov ebx, dword [eax]
call dword [ebx + 4]
cmp eax, 0xffffffff
jle 0x4906ad
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.0048e134
mov eax, dword [ebp - 8]
call fcn.00403498
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4906c9
mov eax, dword [ebp - 8]
call fcn.00403498
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4906e9
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
call fcn.00415614
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret