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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x529a34
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
mov eax, dword [0x57f188]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [eax]
xor ebx, ebx
push ebx
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], ebx
call dword [ecx + 0xc]
mov edx, dword [eax]
push 1
push 0x5766a4
push eax
call dword [edx + 0x1c]
push eax
lea ecx, [esp + 0x30]
call fcn.00492a10
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa0], ebx
test ecx, ecx
je 0x4168f8
mov eax, dword [0x57f184]
push 0x575a50
push 2
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x10]
push eax
lea ecx, [esp + 0x34]
call fcn.00492a10
lea esi, [edi + 0x64]
lea eax, [esp + 0x30]
push esi
push esi
push 0x57669c
push eax
mov byte [esp + 0xb0], 1
call fcn.0041c580
mov esi, dword [esi]
mov eax, dword [edi + 0x68]
add esp, 0x10
cmp esi, eax
je 0x41668f
mov ecx, dword [esi]
mov byte [esp + 0xa0], 2
push ecx
push 0x576690
call fcn.004c2ae0
add esp, 8
lea edx, [esp + 0x13]
lea ecx, [esp + 0x48]
mov ebp, eax
push edx
call fcn.0050e020
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0xa0], 3
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, ebp
push ecx
push ebp
lea ecx, [esp + 0x50]
call fcn.004067c0
mov eax, dword [esi + 4]
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov eax, dword [0x57f188]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
mov byte [esp + 0xa8], 5
call dword [ecx + 0xc]
fld dword [esp + 0x18]
sub esp, 8
mov edi, eax
fstp qword [esp]
mov ebx, dword [edi]
push 0x57668c
call fcn.004c2ae0
add esp, 0xc
push eax
push ebp
push edi
call dword [ebx + 0x1c]
lea ecx, [esp + 0x48]
mov byte [esp + 0xa0], 1
call fcn.00418e50
mov edi, dword [esp + 0x14]
add esi, 8
cmp esi, dword [edi + 0x68]
jne 0x4165e0
mov ebx, dword [esp + 0x20]
lea edx, [esp + 0x13]
lea ecx, [esp + 0x34]
push edx
mov byte [esp + 0xa4], 6
call fcn.0050e020
lea eax, [esp + 0x34]
lea ecx, [esp + 0x34]
push eax
push ecx
lea edx, [esp + 0x38]
push 0x576680
push edx
mov byte [esp + 0xb0], 8
call fcn.0041c620
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
add esp, 0x10
cmp eax, ecx
je 0x4167cd
add eax, 0x10
lea ebp, [edi + 0x70]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
mov ecx, dword [eax]
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], ecx
push eax
mov ecx, ebp
call fcn.0050bd40
push ebp
push 0
lea ecx, [esp + 0x48]
call fcn.0043edd0
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x40]
cmp esi, eax
jne 0x41675e
lea ecx, [esp + 0x54]
call fcn.00416930
or ebx, 1
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa8], 9
call fcn.00418550
or ebx, 2
mov dword [esp + 0x20], ebx
push eax
mov ecx, ebp
mov dword [esp + 0xa4], 0xa
call fcn.00418ed0
mov esi, eax
add esi, 4
jmp 0x416761
add esi, 8
test bl, 2
je 0x416772
lea ecx, [esp + 0x78]
and ebx, 0xfffffffd
call fcn.00412ad0
test bl, 1
mov dword [esp + 0xa0], 8
je 0x41678e
lea ecx, [esp + 0x54]
and ebx, 0xfffffffe
call fcn.00412ad0
mov edx, dword [esp + 0x14]
lea ecx, [esi + 4]
add edx, 0xfffffff4
push edx
call fcn.00410bf0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
add eax, 4
mov dword [esi + 0x10], ecx
push eax
lea ecx, [esi + 0x14]
call fcn.00418a40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
add eax, 0x20
mov dword [esp + 0x14], eax
add eax, 0xfffffff0
cmp eax, ecx
jne 0x4166e3
lea edx, [esp + 0x18]
lea ecx, [edi + 0x70]
push edx
call fcn.004184f0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
je 0x4168a2
lea ebp, [edi + 0xa4]
lea edi, [eax + 0xc]
push ebp
push edi
mov ecx, ebp
call fcn.00441000
push eax
lea ecx, [esp + 0x48]
call fcn.0043edd0
push ebp
push 0
lea ecx, [esp + 0x50]
call fcn.0043edd0
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
cmp esi, eax
jne 0x41685b
lea edx, [esp + 0x18]
lea ecx, [esp + 0x54]
push edx
push edi
mov dword [esp + 0x20], 0
call fcn.004187f0
or ebx, 4
mov dword [esp + 0x20], ebx
push eax
mov ecx, ebp
mov byte [esp + 0xa4], 0xb
call fcn.00418f90
mov esi, eax
add esi, 0xc
jmp 0x41685e
add esi, 0x10
test bl, 4
mov dword [esp + 0xa0], 8
je 0x41687a
lea ecx, [esp + 0x54]
and ebx, 0xfffffffb
call fcn.00418e50
mov eax, dword [esp + 0x24]
add eax, 8
mov dword [esi], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
test eax, eax
jne 0x416896
lea ecx, [esp + 0x24]
call fcn.0041c8a0
test eax, eax
mov dword [esp + 0x24], eax
jne 0x4167f8
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
cmp esi, edi
mov byte [esp + 0xa0], 0xc
je 0x4168c6
push 0
mov ecx, esi
call fcn.0041dc30
add esi, 0x20
cmp esi, edi
jne 0x4168b6
lea ecx, [esp + 0x34]
mov byte [esp + 0xa0], 1
call fcn.00418e50
mov eax, dword [esp + 0x30]
mov byte [esp + 0xa0], 0
test eax, eax
je 0x4168f4
mov edx, dword [eax]
push 0x7fffffff
push 1
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
mov dword [esp + 0xa0], 0xffffffff
je 0x416914
mov eax, dword [ecx]
push 0x7fffffff
push 1
push ecx
call dword [eax + 4]
mov ecx, dword [esp + 0x98]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret