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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x585c70
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov eax, dword [ebp]
test eax, eax
jne 0x4bfaad
mov byte [esp + 0x2c], al
jmp 0x4bfac7
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4bfab9
dec ecx
test ecx, ecx
ja 0x4bfac0
mov byte [esp + 0x2c], 0
jmp 0x4bfac7
mov cl, byte [eax + 0xc]
mov byte [esp + 0x2c], cl
mov edx, dword [esp + 0x2c]
and edx, 0xff
cmp byte [edx + 0x5c9918], 0x64
sete byte [esp + 0x2c]
test eax, eax
jne 0x4bfae5
xor cl, cl
jmp 0x4bfaf9
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4bfaf2
dec ecx
cmp ecx, 1
ja 0x4bfaf6
xor cl, cl
jmp 0x4bfaf9
mov cl, byte [eax + 0xd]
cmp cl, 0x65
sete byte [esp + 0x10]
test eax, eax
jne 0x4bfb09
xor cl, cl
jmp 0x4bfb1d
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4bfb16
dec ecx
cmp ecx, 1
ja 0x4bfb1a
xor cl, cl
jmp 0x4bfb1d
mov cl, byte [eax + 0xd]
cmp cl, 0x69
sete byte [esp + 0x11]
test eax, eax
jne 0x4bfb2d
xor al, al
jmp 0x4bfb41
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4bfb3a
dec ecx
cmp ecx, 1
ja 0x4bfb3e
xor al, al
jmp 0x4bfb41
mov al, byte [eax + 0xd]
cmp al, 0x61
push str.jenig
lea ecx, [esp + 0x18]
sete byte [esp + 0x16]
call fcn.00411a30
or edi, 0xffffffff
push 1
push edi
push 0
lea eax, [esp + 0x24]
push 0
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x3c], 0
call fcn.00412a60
mov esi, dword [esp + 0x18]
mov bl, al
mov eax, dword [esp + 0x14]
and esi, 0xffff
test eax, eax
mov dword [esp + 0x24], edi
je 0x4bfb9b
push eax
lea ecx, [esp + 0x18]
call fcn.00411610
test bl, bl
jne 0x4bfbf1
push str.selb
lea ecx, [esp + 0x18]
call fcn.00411a30
push 1
push edi
push 0
lea edx, [esp + 0x24]
push 0
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, ebp
mov dword [esp + 0x3c], 1
call fcn.00412a60
mov esi, dword [esp + 0x18]
mov dword [esp + 0x24], edi
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x14]
and esi, 0xffff
test eax, eax
je 0x4bfbf1
push eax
lea ecx, [esp + 0x18]
call fcn.00411610
mov al, byte [esp + 0x2c]
test al, al
je 0x4bfceb
mov al, byte [esp + 0x10]
test al, al
jne 0x4bfc19
mov al, byte [esp + 0x11]
test al, al
jne 0x4bfc19
mov al, byte [esp + 0x12]
test al, al
je 0x4bfceb
test bl, bl
je 0x4bfc22
cmp esi, 3
je 0x4bfc37
mov al, byte [esp + 0x13]
test al, al
je 0x4bfceb
cmp esi, 3
jne 0x4bfceb
push 3
lea ecx, [esp + 0x30]
push 0
push ecx
mov ecx, ebp
call fcn.00413050
mov edi, eax
mov esi, dword [esp + 0x30]
mov dword [esp + 0x24], 2
cmp esi, edi
je 0x4bfc71
mov eax, dword [esi]
test eax, eax
je 0x4bfc67
push eax
mov ecx, esi
call fcn.00411610
mov eax, dword [edi]
test eax, eax
mov dword [esi], eax
je 0x4bfc71
inc dword [eax]
mov eax, dword [esp + 0x2c]
or ebx, 0xffffffff
test eax, eax
mov dword [esp + 0x24], ebx
je 0x4bfc8a
push eax
lea ecx, [esp + 0x30]
call fcn.00411610
push 0xffff
lea edx, [esp + 0x34]
push 3
push edx
mov ecx, ebp
call fcn.00413050
mov edi, eax
mov esi, dword [esp + 0x34]
mov dword [esp + 0x24], 3
cmp esi, edi
je 0x4bfcc7
mov eax, dword [esi]
test eax, eax
je 0x4bfcbd
push eax
mov ecx, esi
call fcn.00411610
mov eax, dword [edi]
test eax, eax
mov dword [esi], eax
je 0x4bfcc7
inc dword [eax]
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], ebx
call fcn.0042bdc0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc