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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456418
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x478584]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x5c], esi
call fcn.00432610
xor ebx, ebx
mov dword [ebp - 4], ebx
push str.glconf.ini
lea eax, [esi + 0x30]
push eax
lea ecx, [ebp - 0x60]
push ecx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], ebx
call fcn.004022d0
add esp, 0xc
mov byte [ebp - 4], 1
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x78]
call fcn.00432770
test al, al
sete byte [ebp - 0x55]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40dbbf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0x55], bl
jne 0x40e005
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], 3
push str.GENERAL
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x78]
call fcn.00430ff0
mov ecx, dword [eax]
mov dword [ebp - 0x54], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x50], edx
cmp ecx, ebx
je 0x40dcba
lea eax, [ebp - 0x48]
push eax
push 0x45f0dc
lea ecx, [ebp - 0x54]
call fcn.00430da0
test al, al
je 0x40dc5c
cmp dword [ebp - 0x34], 0x10
jb 0x40dc23
mov edi, dword [ebp - 0x48]
cmp edi, ebx
jne 0x40dc26
xor eax, eax
jmp 0x40dc53
lea edi, [ebp - 0x48]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x40dc3c
xor eax, eax
jmp 0x40dc50
lea eax, [esi + esi]
call fcn.0043eb80
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00404540
mov esi, dword [ebp - 0x5c]
push eax
lea ecx, [esi + 0x28]
call fcn.00402400
lea ecx, [ebp - 0x4c]
push ecx
push 0x45f0d4
lea ecx, [ebp - 0x54]
call fcn.00430e50
test al, al
je 0x40dc7c
mov eax, dword [ebp - 0x4c]
cmp eax, 0x64
jl 0x40dc7c
mov dword [esi + 0x44], eax
lea edx, [ebp - 0x4c]
push edx
push 0x45f0cc
lea ecx, [ebp - 0x54]
call fcn.00430e50
test al, al
je 0x40dc9c
mov eax, dword [ebp - 0x4c]
cmp eax, 0x64
jl 0x40dc9c
mov dword [esi + 0x48], eax
lea eax, [ebp - 0x4c]
push eax
push 0x45f0c4
lea ecx, [ebp - 0x54]
call fcn.00430e50
test al, al
je 0x40dcba
cmp dword [ebp - 0x4c], ebx
setne cl
mov byte [esi + 0x40], cl
push 0x45f0b8
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x78]
call fcn.00430ff0
mov ecx, dword [eax]
mov dword [ebp - 0x54], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x50], eax
cmp ecx, ebx
je 0x40dfdf
lea ecx, [ebp - 0x4c]
push ecx
push 0x45f0b4
lea ecx, [ebp - 0x54]
call fcn.00430e50
test al, al
je 0x40dcfc
mov edx, dword [ebp - 0x4c]
mov dword [esi + 0xbc], edx
lea eax, [ebp - 0x4c]
push eax
push 0x45f0b0
lea ecx, [ebp - 0x54]
call fcn.00430e50
test al, al
je 0x40dd1a
mov ecx, dword [ebp - 0x4c]
mov dword [esi + 0xc0], ecx
lea edx, [ebp - 0x4c]
push edx
push 0x45f0ac
lea ecx, [ebp - 0x54]
call fcn.00430e50
test al, al
je 0x40dd38
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0xc4], eax
lea ecx, [ebp - 0x4c]
push ecx
push 0x45f0a8
lea ecx, [ebp - 0x54]
call fcn.00430e50
test al, al
je 0x40dd56
mov edx, dword [ebp - 0x4c]
mov dword [esi + 0xc8], edx
lea eax, [ebp - 0x4c]
push eax
push 0x45f0a4
lea ecx, [ebp - 0x54]
call fcn.00430e50
test al, al
je 0x40dd74
mov ecx, dword [ebp - 0x4c]
mov dword [esi + 0xcc], ecx
lea edx, [ebp - 0x48]
push edx
push 0x45f0a0
lea ecx, [ebp - 0x54]
call fcn.00430da0
test al, al
je 0x40ddf4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x48]
mov edi, 0x10
cmp dword [ebp - 0x34], edi
jae 0x40ddaa
lea eax, [ebp - 0x48]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004358f0
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], edi
jae 0x40ddc4
lea eax, [ebp - 0x2c]
push eax
lea ecx, [esi + 0xd0]
call fcn.00402400
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], edi
jb 0x40dde5
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0043d995
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
jmp 0x40ddf9
mov edi, 0x10
lea edx, [ebp - 0x48]
push edx
push 0x45f09c
lea ecx, [ebp - 0x54]
call fcn.00430da0
test al, al
je 0x40de72
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x40de2a
lea eax, [ebp - 0x48]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004358f0
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], edi
jae 0x40de44
lea eax, [ebp - 0x2c]
push eax
lea ecx, [esi + 0xd4]
call fcn.00402400
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], edi
jb 0x40de65
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0043d995
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [ebp - 0x48]
push edx
push 0x45f098
lea ecx, [ebp - 0x54]
call fcn.00430da0
test al, al
je 0x40deeb
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x40dea3
lea eax, [ebp - 0x48]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004358f0
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], edi
jae 0x40debd
lea eax, [ebp - 0x2c]
push eax
lea ecx, [esi + 0xd8]
call fcn.00402400
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], edi
jb 0x40dede
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0043d995
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [ebp - 0x48]
push edx
push 0x45f094
lea ecx, [ebp - 0x54]
call fcn.00430da0
test al, al
je 0x40df64
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x40df1c
lea eax, [ebp - 0x48]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004358f0
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], edi
jae 0x40df36
lea eax, [ebp - 0x2c]
push eax
lea ecx, [esi + 0xdc]
call fcn.00402400
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], edi
jb 0x40df57
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0043d995
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [ebp - 0x48]
push edx
push 0x45f090
lea ecx, [ebp - 0x54]
call fcn.00430da0
test al, al
je 0x40dfe4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x40df95
lea eax, [ebp - 0x48]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004358f0
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], edi
jae 0x40dfaf
lea eax, [ebp - 0x2c]
push eax
lea ecx, [esi + 0xe0]
call fcn.00402400
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], edi
jb 0x40dfd0
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0043d995
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
jmp 0x40dfe4
mov edi, 0x10
mov byte [ebp - 4], bl
cmp dword [ebp - 0x34], edi
jb 0x40dff8
mov edx, dword [ebp - 0x48]
push edx
call fcn.0043d995
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.00432d40
lea esp, [ebp - 0x88]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043dfbe
mov esp, ebp
pop ebp
ret