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

Disassembly:
push 0xffffffffffffffff
push 0x4eca39
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
push 0x64
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], 0
call fcn.004494b0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], 1
call fcn.00449480
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 2
call fcn.00449480
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 3
call fcn.00449480
mov edi, dword [esp + 0x44]
test edi, edi
mov byte [esp + 0x28], 4
mov ecx, edi
mov edx, edi
mov esi, edi
jge 0x4a4587
mov ecx, 0xf
mov edx, ecx
mov esi, ecx
mov al, byte [esp + 0x4c]
fld qword [esp + 0x34]
cmp al, 0x66
je 0x4a45f5
cmp al, 0x65
je 0x4a460a
cmp al, 0x67
jne 0x4a45b0
mov edx, dword [esp + 0xc]
sub esp, 8
fstp qword [esp]
push esi
push str._.lG
push 0x63
push edx
jmp 0x4a461d
fld qword [0x4f7808]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4a45db
fcom qword [0x4fbdd0]
fnstsw ax
test ah, 5
jp 0x4a45db
fcom qword [0x4fbdc8]
fnstsw ax
test ah, 0x41
je 0x4a460a
fcom qword [0x4fbdc0]
fnstsw ax
test ah, 1
je 0x4a460a
fcom qword [0x4fbdb8]
fnstsw ax
test ah, 0x41
jnp 0x4a460a
mov eax, dword [esp + 0xc]
sub esp, 8
fstp qword [esp]
push edx
push str._.lf
push 0x63
push eax
jmp 0x4a461d
sub esp, 8
fstp qword [esp]
push ecx
mov ecx, dword [esp + 0x18]
push 0x4fbda0
push 0x63
push ecx
call fcn.004c60df
mov edx, dword [esp + 0x24]
mov esi, dword [sym.imp.SHLWAPI.dll_StrChrW]
add esp, 0x18
push 0x45
push edx
call esi
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x4c], ebx
je 0x4a4657
push ebx
lea ecx, [esp + 0x14]
call fcn.00456630
mov word [ebx], 0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
mov ebx, eax
push ebp
mov ebp, dword [esp + 0x10]
push 0x2e
push ebp
call esi
mov esi, eax
test esi, esi
je 0x4a4748
mov ebx, esi
sub ebx, ebp
push esi
sar ebx, 1
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test edi, edi
jl 0x4a468f
mov ecx, edi
jle 0x4a4683
lea ecx, [edi + 1]
cmp eax, ecx
jle 0x4a468f
mov eax, ecx
mov word [esi + ecx*2], 0
mov cl, byte [esp + 0x4c]
test cl, cl
lea eax, [esi + eax*2 - 2]
jne 0x4a46b2
cmp eax, esi
jbe 0x4a46b2
nop
cmp word [eax], 0x30
jne 0x4a46b2
mov word [eax], 0
sub eax, 2
cmp eax, esi
ja 0x4a46a0
cmp word [eax], 0x2e
mov dl, 1
jne 0x4a46c4
mov word [eax], 0
sub eax, 2
xor dl, dl
sub eax, ebp
add eax, 2
sar eax, 1
test edi, edi
mov ecx, ebp
jge 0x4a4725
test dl, dl
je 0x4a4725
cmp eax, 0x11
jle 0x4a46ee
cmp ebx, 0x11
jge 0x4a46e7
mov word [ebp + 0x22], 0
jmp 0x4a46ee
mov word [ebp + ebx*2], 0
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp + eax*2 - 2]
mov al, byte [esp + 0x4c]
test al, al
jne 0x4a4717
cmp ecx, esi
jbe 0x4a4717
cmp word [ecx], 0x30
jne 0x4a4717
mov word [ecx], 0
sub ecx, 2
cmp ecx, esi
ja 0x4a4705
cmp word [ecx], 0x2e
jne 0x4a4725
mov word [ecx], 0
sub ecx, 2
cmp word [ecx], 0x2d
jne 0x4a4744
cmp word [ecx + 2], 0x30
jne 0x4a4744
cmp word [ecx + 4], 0
jne 0x4a4744
mov word [ecx], 0x30
mov word [ecx + 2], 0
mov ebx, dword [esp + 0x50]
test ebx, ebx
pop ebp
je 0x4a47cf
cmp word [ebx + 2], 0x2d
lea eax, [ebx + 2]
jne 0x4a475e
add eax, 2
xor ecx, ecx
cmp word [eax + 2], cx
setne cl
test cx, cx
mov word [eax], cx
je 0x4a4780
nop
mov cx, word [eax + 2]
mov word [eax], cx
add eax, 2
cmp word [eax], 0
jne 0x4a4770
mov edx, dword [esp + 0xc]
mov dword [esp + 0x4c], edx
mov dword [esp + 0xc], 0
push ebx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x30], 5
call fcn.004675e0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 6
call fcn.00456690
lea ecx, [esp + 0x44]
mov byte [esp + 0x28], 5
call fcn.00443880
lea ecx, [esp + 0x4c]
mov byte [esp + 0x28], 4
call fcn.00443880
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.004565f0
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 1
mov byte [esp + 0x28], 3
call fcn.00443880
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 2
call fcn.00443880
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 1
call fcn.00443880
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.00443880
mov ecx, dword [esp + 0x20]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret