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

Disassembly:
push 0xffffffffffffffff
push 0x52d229
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x59c6b8]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x59c6b8]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa8]
mov ebp, dword [esp + 0xa4]
mov esi, ecx
mov edi, dword [esi + 0xc]
mov ecx, dword [esi]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 8]
add eax, dword [ebp]
push 0
adc edi, dword [ebp + 4]
mov dword [esp + 0x1c], 0xd
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
push edi
push eax
call edx
mov ecx, dword [esi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
push 0x64
lea edx, [esp + 0x30]
push edx
call eax
mov ebx, eax
xor edi, edi
test ebx, ebx
jle 0x4794fc
movsx ecx, byte [esp + edi + 0x2c]
push ecx
call fcn.0044a660
add esp, 4
test eax, eax
je 0x4794fc
inc edi
cmp edi, ebx
jl 0x4794e5
lea edx, [edi + 4]
cmp edx, ebx
jge 0x479549
cmp byte [esp + edi + 0x2c], 0x78
jne 0x479549
cmp byte [esp + edi + 0x2d], 0x72
jne 0x479549
cmp byte [esp + edi + 0x2e], 0x65
jne 0x479549
cmp byte [esp + edi + 0x2f], 0x66
jne 0x479549
movsx eax, byte [esp + edi + 0x30]
push eax
call fcn.0044a660
add esp, 4
test eax, eax
je 0x479549
mov ecx, dword [esp + 0x14]
push ecx
add edi, 5
push edi
push ebp
mov ecx, esi
call fcn.00479730
mov esi, eax
jmp 0x4796ca
cmp edi, ebx
jge 0x4796c1
mov al, byte [esp + edi + 0x2c]
cmp al, 0x30
jl 0x4796c1
cmp al, 0x39
jg 0x4796c1
push 0x38
mov dword [esp + 0x1c], 5
call fcn.00511699
mov ebx, eax
add esp, 4
mov dword [esp + 0x14], ebx
xor edi, edi
mov dword [esp + 0x9c], edi
cmp ebx, edi
je 0x4795f3
push 0xa0
call fcn.00511699
mov edi, eax
add esp, 4
mov dword [esp + 0x28], edi
mov byte [esp + 0x9c], 1
test edi, edi
je 0x4795db
mov ebx, dword [esi + 0xc]
mov ecx, dword [esi]
mov edx, dword [ecx]
mov edx, dword [edx + 0x50]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 8]
add eax, dword [ebp]
push 0
adc ebx, dword [ebp + 4]
push 0
push 0
push ebx
push eax
call edx
push eax
push 0
mov ecx, edi
call fcn.0044a3f0
mov ebx, dword [esp + 0x14]
jmp 0x4795dd
xor eax, eax
push 1
push eax
push 0
mov ecx, ebx
mov byte [esp + 0xa8], 0
call fcn.00450010
mov edi, eax
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea eax, [esp + 0x34]
push eax
mov ecx, edi
mov dword [esp + 0xbc], 0xffffffff
call fcn.00450380
cmp dword [eax], 1
jne 0x4796a4
lea ecx, [esp + 0x18]
call fcn.0044ea50
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
call fcn.00450380
cmp dword [eax], 1
jne 0x4796a4
lea ecx, [esp + 0x18]
call fcn.0044ea50
push 0x54652c
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea edx, [esp + 0x38]
push edx
mov ecx, edi
call fcn.00450380
mov ecx, eax
call fcn.00415b20
test eax, eax
je 0x4796a4
lea ecx, [esp + 0x18]
call fcn.0044ea50
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x34]
push eax
mov ecx, edi
call fcn.00450380
cmp dword [eax], 8
je 0x4796f1
lea ecx, [esp + 0x18]
call fcn.0044ea50
test edi, edi
je 0x4796c1
mov ecx, edi
call fcn.00450110
push edi
call fcn.0051163f
add esp, 4
mov dword [esi + 0x24], 0
xor eax, eax
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.00511afd
add esp, 0x8c
ret 8
mov ecx, dword [esp + 0x20]
push ebp
push ecx
mov ecx, esi
call fcn.004790a0
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.0044ea50
test edi, edi
je 0x47971d
mov ecx, edi
call fcn.00450110
push edi
call fcn.0051163f
add esp, 4
mov eax, esi
jmp 0x4796ca