Function at 0x432770
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x477578
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4eec64]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
mov dword [esi], 0x64
mov eax, dword [ebx + 0x2c]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 0x30]
mov dword [esi + 8], ecx
movsx edx, byte [ebx + 0x34]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 0x38]
mov dword [esi + 0x10], eax
fld dword [ebx + 0x3c]
fstp dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x14], ecx
mov edx, dword [ebx + 0x5c]
shr edx, 1
mov dword [esi + 0x18], edx
mov eax, dword [ebx + 0x64]
shr eax, 1
mov dword [esi + 0x1c], eax
mov ecx, dword [ebx + 0x6c]
shr ecx, 1
mov dword [esi + 0x20], ecx
mov eax, dword [ebx + 0x48]
mov dword [esi + 0x24], eax
mov eax, dword [ebx + 0x40]
xor edx, edx
cmp eax, edx
je 0x4327fc
mov eax, dword [eax]
shr eax, 8
jmp 0x4327fe
xor eax, eax
dec eax
mov dword [esi + 0x28], eax
lea edi, [esi + 0x2c]
xor ecx, ecx
mov eax, dword [ebx + 0x40]
cmp eax, edx
je 0x432815
mov eax, dword [eax]
shr eax, 8
jmp 0x432817
xor eax, eax
dec eax
cmp ecx, eax
jae 0x432835
mov eax, dword [ebx + 0x40]
cmp eax, edx
je 0x43282d
mov al, byte [eax + ecx + 4]
mov byte [edi], al
inc edi
inc ecx
jmp 0x432807
xor al, al
mov byte [edi], al
inc edi
inc ecx
jmp 0x432807
mov dword [esp + 0x10], edi
cmp dword [ebx + 0x48], edx
je 0x4328e2
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
lea edi, [ebx + 0x44]
lea esi, [esp + 0x14]
mov dword [esp + 0x28], edx
call fcn.00436060
mov esi, eax
test esi, esi
je 0x432890
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x432879
push eax
call fcn.0045c158
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [esp + 0x18]
xor eax, eax
shr esi, 1
je 0x4328b7
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov edx, dword [edx + eax*4]
mov edi, dword [edx]
mov dword [ecx], edi
mov edx, dword [edx + 4]
mov dword [ecx + 4], edx
inc eax
add ecx, 8
cmp eax, esi
jb 0x43289e
mov eax, dword [esp + 0x10]
lea ecx, [eax + esi*8]
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
test eax, eax
je 0x4328db
push eax
call fcn.0045c158
add esp, 4
mov edi, dword [esp + 0x10]
mov esi, dword [ebp + 8]
mov eax, dword [ebx + 0x5c]
shr eax, 1
je 0x4328fe
mov edx, dword [ebx + 0x58]
push eax
push edx
push edi
call fcn.0045c800
mov eax, dword [ebx + 0x5c]
shr eax, 1
add esp, 0xc
add edi, eax
mov eax, dword [ebx + 0x64]
shr eax, 1
add eax, eax
add eax, eax
mov dword [esp + 0x10], eax
je 0x43291f
mov ecx, dword [ebx + 0x60]
push eax
push ecx
push edi
call fcn.0045c800
add esp, 0xc
add edi, dword [esp + 0x10]
mov eax, dword [ebx + 0x6c]
shr eax, 1
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
mov dword [esp + 0x10], eax
je 0x432943
mov edx, dword [ebx + 0x68]
push eax
push edx
push edi
call fcn.0045c800
add esp, 0xc
add edi, dword [esp + 0x10]
mov ebx, edi
xor edx, edx
sub ebx, esi
xor ecx, ecx
cmp ebx, 2
mov eax, esi
mov dword [esp + 0x10], edx
jl 0x432972
lea esi, [edi - 1]
lea esp, [esp]
movsx ebx, byte [eax]
add ecx, ebx
movsx ebx, byte [eax + 1]
add eax, 2
add edx, ebx
cmp eax, esi
jl 0x432960
cmp eax, edi
jae 0x43297b
movsx eax, byte [eax]
jmp 0x43297f
mov eax, dword [esp + 0x10]
add ecx, edx
add ecx, eax
mov dword [edi], ecx
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4