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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x460d8c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4617ef
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov byte [eax + 0x170], 0
mov eax, dword [ebp - 8]
cmp dword [eax + 0x30], 0
je 0x4617bf
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 8]
call fcn.0045a4f4
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00408160
cmp dword [ebp - 0x28], 0
jne 0x460df0
mov eax, dword [ebp - 8]
cmp dword [eax + 0x100], 0
je 0x4617bf
mov eax, dword [ebp - 8]
mov byte [eax + 0xcc], 1
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0xfc], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xe8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov al, byte [eax + 0x2c]
mov byte [ebp - 0x15], al
mov eax, dword [ebp - 8]
mov al, byte [eax + 0x3d]
mov byte [ebp - 0x16], al
mov eax, dword [ebp - 8]
mov byte [eax + 0x3d], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xe4]
mov edx, dword [ebp - 8]
mov dword [edx + 0xe8], eax
mov eax, dword [ebp - 8]
mov byte [eax + 0x2c], 7
mov eax, dword [ebp - 8]
cmp byte [eax + 0x1a5], 0
je 0x460e62
mov dl, 1
mov eax, dword [0x40d4d4]
call fcn.00402e38
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
cmp byte [eax + 0x258], 0
jne 0x460e9c
mov eax, dword [ebp - 8]
cmp byte [eax + 0x178], 0
jne 0x460e9c
mov eax, dword [ebp - 8]
cmp byte [eax + 0x179], 0
jne 0x460e9c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x460e9c
push ebp
call fcn.0046054c
pop ecx
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0x1b0]
cmp byte [ebx + 0x11], 0
je 0x460efc
cmp byte [ebx + 0x10], 0
je 0x460efc
mov eax, dword [ebp - 8]
cmp byte [eax + 0x1a6], 0
je 0x460ec4
mov esi, 0x19
jmp 0x460ec6
xor esi, esi
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
add esi, 0x3a
imul esi
add eax, dword [ebx + 0xc]
add eax, 0x16
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x154]
movzx edx, word [edx + 0x18]
add eax, edx
add eax, 0x800
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x1b0]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1b0]
mov al, byte [ecx + 0x11]
cmp al, 1
jne 0x460f3d
mov eax, dword [ebp - 8]
call fcn.00461a30
push edx
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1b0]
mov eax, dword [eax + 0xc]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x218], eax
mov dword [ecx + 0x21c], edx
jmp 0x460f54
cmp al, 2
jne 0x460f54
mov eax, dword [ecx + 8]
cdq
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x218], eax
mov dword [ecx + 0x21c], edx
xor ecx, ecx
push ebp
push 0x4617b5
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 8]
cmp byte [eax + 0xdc], 0
je 0x460f7a
mov eax, dword [ebp - 8]
call fcn.0045bea0
test eax, eax
jg 0x460fa0
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 8]
call fcn.0045a4f4
mov eax, dword [ebp - 0x30]
call fcn.00452840
test al, al
je 0x460ffc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1b0]
cmp byte [eax + 0x11], 0
jne 0x460ffc
push ebp
call fcn.00460c30
pop ecx
mov eax, dword [ebp - 8]
mov byte [eax + 0x220], 1
mov eax, dword [ebp - 8]
cmp byte [eax + 0xdc], 0
jne 0x460fe3
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 8]
call fcn.0046344c
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.00452ce0
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
add eax, 0x250
call fcn.00403bb8
mov eax, dword [ebp - 8]
call fcn.00461830
mov eax, dword [ebp - 8]
call fcn.0045ae38
push ebp
call fcn.0045ff10
pop ecx
jmp 0x46103c
push ebp
call fcn.00460c30
pop ecx
mov eax, dword [ebp - 8]
cmp byte [eax + 0xdc], 0
jne 0x46102a
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 8]
call fcn.0045a4f4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 8]
add eax, 0x250
call fcn.00403bb8
mov eax, dword [ebp - 8]
mov byte [eax + 0x220], 0
mov eax, dword [ebp - 8]
call fcn.00461830
mov eax, dword [ebp - 8]
cmp byte [eax + 0x258], 0
jne 0x4610ce
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4610ce
mov byte [ebp - 0x1d], 0
mov eax, dword [ebp - 8]
cmp word [eax + 0x1d2], 0
je 0x4610a7
mov eax, dword [ebp - 8]
push dword [eax + 0x194]
push dword [eax + 0x190]
mov eax, dword [ebp - 8]
add eax, 0x248
push eax
lea eax, [ebp - 0x1d]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ecx, eax
mov ebx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x1d4]
call dword [ebx + 0x1d0]
cmp byte [ebp - 0x1d], 0
je 0x4610ce
lea edx, [ebp - 0x40]
mov eax, 0xbb
call fcn.004082e8
mov ecx, dword [ebp - 0x40]
mov dl, 1
mov eax, dword [0x454920]
call fcn.0040a010
call fcn.004035c0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1b0]
cmp byte [eax + 0x11], 0
je 0x4610f6
mov eax, dword [ebp - 8]
fild qword [eax + 0x190]
fmul dword [0x461800]
mov eax, dword [ebp - 8]
fistp qword [eax + 0x190]
wait
mov eax, dword [ebp - 8]
cmp byte [eax + 0x258], 0
jne 0x4611d2
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4611d2
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4611d2
inc esi
xor ebx, ebx
mov dl, 1
mov eax, dword [0x453140]
call fcn.004533c4
mov edx, dword [ebp - 8]
mov dword [edx + 0x24c], eax
xor eax, eax
push ebp
push 0x4611a2
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 8]
call fcn.00462258
test al, al
je 0x46117f
push ebp
mov eax, ebx
call fcn.0045fb08
pop ecx
jmp 0x461198
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24c]
call fcn.00402e68
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x24c], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4611ca
inc ebx
dec esi
jne 0x461132
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x22c]
call fcn.004101e0
mov edx, dword [ebp - 8]
mov ebx, dword [edx + 0x248]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0xfc]
mov word [ebx + 0xa], ax
xor eax, eax
mov dword [ebp - 0x24], eax
mov edi, dword [ebx + 0x14]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x244]
mov esi, dword [eax + 0xc]
dec esi
test esi, esi
jl 0x4612d5
inc esi
xor ebx, ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x244]
mov edx, ebx
call fcn.00451460
mov edx, dword [0x453140]
call fcn.00402ff8
mov edx, dword [ebp - 8]
mov dword [edx + 0x24c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1b0]
cmp byte [eax + 0x11], 0
je 0x4612b6
mov eax, dword [ebp - 8]
call fcn.00461ab8
push edx
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24c]
call fcn.00453e9c
cdq
cmp edx, dword [esp + 4]
jne 0x461275
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x4612b6
jmp 0x461279
pop edx
pop eax
jle 0x4612b6
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x22c]
call fcn.004101e0
sub eax, edi
add dword [ebp - 0x24], eax
xor edi, edi
mov eax, dword [ebp - 8]
call fcn.00461c30
test ebx, ebx
jne 0x4612b6
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x248]
xor edx, edx
mov dword [eax + 0x14], edx
mov edx, dword [ebp - 8]
mov dx, word [edx + 0xfc]
mov word [eax + 0xa], dx
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x22c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24c]
call fcn.004538cc
inc ebx
dec esi
jne 0x46121a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x22c]
call fcn.004101e0
sub eax, edi
add dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x248]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1b0]
cmp byte [eax + 0x11], 0
je 0x46133a
mov eax, dword [ebp - 8]
call fcn.00461ab8
push edx
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x248]
call fcn.004543c4
cdq
cmp edx, dword [esp + 4]
jne 0x46132e
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x46133a
jmp 0x461332
pop edx
pop eax
jle 0x46133a
mov eax, dword [ebp - 8]
call fcn.00461c30
mov edx, dword [ebp - 8]
mov dx, word [edx + 0xfc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x248]
mov word [eax + 8], dx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x22c]
call fcn.004541bc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1b0]
cmp byte [eax + 0x11], 1
jne 0x461376
mov eax, dword [ebp - 8]
call fcn.00461af4
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4617bf
push ebp
call fcn.00460ccc
pop ecx
mov eax, dword [ebp - 8]
cmp byte [eax + 0xdc], 0
jne 0x4613b3
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x22c]
call fcn.00402e68
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x22c], edx
cmp byte [ebp - 0xd], 0
je 0x46170f
mov eax, dword [ebp - 8]
cmp byte [eax + 0xdc], 0
jne 0x4613e0
mov eax, dword [ebp - 8]
cmp byte [eax + 0x221], 0
jne 0x4613e0
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.0045a4f4
mov eax, dword [ebp - 8]
cmp byte [eax + 0x221], 0
jne 0x46140c
mov eax, dword [ebp - 8]
cmp byte [eax + 0xdc], 0
jne 0x46140c
mov eax, dword [ebp - 8]
cmp byte [eax + 0x220], 0
je 0x46140c
mov eax, dword [ebp - 8]
call fcn.0045b1b4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1b0]
cmp byte [eax + 0x11], 2
jne 0x4614e5
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0xfc]
test ebx, ebx
jle 0x461475
lea eax, [ebp - 0x50]
push eax
inc ebx
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x54], 0
lea edx, [ebp - 0x58]
xor ecx, ecx
mov eax, 0x46180c
call fcn.004092a4
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
mov edx, 0x46181c
call fcn.00403e30
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x1c]
call fcn.004086f4
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x30]
jmp 0x461508
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xfc]
inc eax
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0
lea edx, [ebp - 0x58]
xor ecx, ecx
mov eax, 0x46180c
call fcn.004092a4
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
mov edx, 0x46181c
call fcn.00403e30
mov edx, dword [ebp - 0x60]
lea ecx, [ebp - 0x5c]
mov eax, dword [ebp - 0x1c]
call fcn.004086f4
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x1c]
call fcn.00403bfc
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 8]
call fcn.0045a4f4
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x1c]
call fcn.00408650
jmp 0x461508
mov eax, dword [ebp - 8]
cmp byte [eax + 0xdc], 0
jne 0x461508
mov eax, dword [ebp - 8]
cmp byte [eax + 0x221], 0
jne 0x461508
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 8]
cmp byte [eax + 0x220], 0
je 0x46151e
mov eax, dword [ebp - 8]
call fcn.00462ed8
jmp 0x461535
mov eax, dword [ebp - 8]
cmp byte [eax + 0xdc], 0
je 0x461535
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x22c], edx
mov eax, dword [ebp - 8]
cmp byte [eax + 0x1a5], 0
je 0x461548
push ebp
call fcn.0045fbb8
pop ecx
mov eax, dword [ebp - 8]
cmp byte [eax + 0x221], 0
jne 0x46158f
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x248]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x154]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x244]
mov edx, dword [ebp - 8]
mov dword [edx + 0xe4], eax
mov edx, dword [ebp - 8]
mov dword [edx + 0xe8], eax
mov eax, dword [ebp - 8]
mov byte [eax + 0x2c], 7
jmp 0x4615b4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x244]
call fcn.00402e68
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x244], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0xe8], edx
mov eax, dword [ebp - 8]
cmp byte [eax + 0xdc], 0
jne 0x4615e9
mov eax, dword [ebp - 8]
cmp byte [eax + 0x221], 0
jne 0x4615e9
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 8]
call fcn.0045a4f4
mov eax, dword [ebp - 0x6c]
call fcn.0045276c
mov eax, dword [ebp - 8]
fstp qword [eax + 0xf0]
wait
cmp byte [ebp - 0x15], 0
je 0x461608
mov eax, dword [ebp - 8]
cmp byte [eax + 0x221], 0
jne 0x461608
mov dl, byte [ebp - 0x15]
mov eax, dword [ebp - 8]
call fcn.0045be08
jmp 0x461631
mov eax, dword [ebp - 8]
cmp byte [eax + 0x221], 0
jne 0x461631
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x240]
mov edx, dword [ebp - 8]
mov dword [edx + 0xe8], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x240], edx
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0xfc]
inc edx
mov eax, dword [ebp - 8]
call fcn.0045ad04
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1b0]
cmp byte [eax + 0x11], 0
je 0x461676
mov eax, dword [ebp - 8]
cmp word [eax + 0xb2], 0
je 0x461676
mov ebx, dword [ebp - 8]
mov ecx, 0x64
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0xb4]
call dword [ebx + 0xb0]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1b0]
mov dl, byte [eax + 0x11]
test dl, dl
je 0x461736
cmp byte [eax + 0x10], 0
je 0x461736
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x154]
cmp word [eax + 8], 0
jbe 0x461736
cmp dl, 1
jne 0x4616ca
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.0045aedc
mov eax, dword [0x465be8]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.00444214
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 8]
call fcn.0045a4f4
mov eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x70]
mov edx, 0x461828
call fcn.004086f4
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 8]
call fcn.00463030
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1b0]
cmp byte [eax + 0x11], 1
jne 0x461736
mov eax, dword [0x465be8]
mov eax, dword [eax]
xor edx, edx
call fcn.00444214
jmp 0x461736
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x244]
call fcn.00402e68
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x244], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x250]
call fcn.00408638
mov eax, dword [ebp - 8]
mov dl, byte [ebp - 0x15]
mov byte [eax + 0x2c], dl
mov eax, dword [ebp - 8]
mov dl, byte [ebp - 0x16]
mov byte [eax + 0x3d], dl
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x240]
call fcn.00402e68
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x240], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x248]
call fcn.00402e68
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x248], edx
mov eax, dword [ebp - 8]
call fcn.0045aebc
mov eax, dword [ebp - 8]
cmp byte [eax + 0xdc], 0
je 0x46179f
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x100]
mov eax, dword [ebp - 8]
call fcn.0045b620
mov eax, dword [ebp - 8]
mov byte [eax + 0xcc], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x40]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4617f6
lea eax, [ebp - 0x74]
mov edx, 7
call fcn.00403b88
lea eax, [ebp - 0x50]
mov edx, 0xb
call fcn.00403b88
lea eax, [ebp - 0x1c]
call fcn.00403b64
ret