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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1021d0cd
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x104fb780]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
xorps xmm0, xmm0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
movups xmmword [esi + 0xc], xmm0
push 2
movq qword [esi + 0x1c], xmm0
mov dword [esi + 0x24], 0
push esi
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.1010aeb2
add esp, 8
mov edx, dword [ebp + 0xc]
mov eax, edx
mov ecx, dword [ebp + 8]
shr eax, 4
and al, 1
mov dword [ebp - 4], 0
mov byte [esi + 0x34], al
mov eax, edx
shr eax, 5
shr edx, 3
and al, 1
and dl, 1
mov dword [esi + 0x30], ecx
mov byte [esi + 0x35], al
mov byte [esi + 0x36], dl
call fcn.10028560
mov ecx, eax
call fcn.10052910
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov edi, dword [eax + 4]
sub ecx, edx
mov esi, dword [eax + 0xc]
inc ecx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x38], edx
mov edx, eax
mov eax, esi
sub eax, edi
inc eax
mov dword [edx + 0x3c], ecx
mov ecx, dword [edx + 0x30]
mov dword [edx + 0x40], eax
mov dword [edx + 0x44], 0
call fcn.10028560
mov ecx, eax
call fcn.10053110
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
test ecx, ecx
mov eax, edx
mov dword [edx + 0x48], ecx
cmovne eax, edx
cmovne edi, esi
mov dword [eax + 0x4c], edi
mov edi, dword [ebp - 0x10]
mov ecx, dword [edi + 0x30]
call fcn.10028560
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.1004e630
mov ecx, dword [eax]
mov dword [edi + 0x50], ecx
mov ecx, dword [eax + 4]
mov dword [edi + 0x54], ecx
mov eax, dword [eax + 8]
mov dword [edi + 0x58], eax
mov esi, dword [edi + 0x3c]
lea eax, [esi*8]
push eax
call fcn.1004d9d0
shr eax, 3
mov dword [ebp + 8], eax
lea ecx, [esi + eax]
imul eax, ecx, 0x1b
mov dword [ebp + 0xc], eax
xor ecx, ecx
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1011fe7c
mov dword [ebp + 0xc], eax
lea esi, [edi + 0x64]
add esp, 0x10
mov dword [edi + 0x5c], eax
xor eax, eax
mov dword [ebp + 0xc], eax
lea edx, [eax + 0x10]
mov ecx, dword [edi + 0x3c]
lea esi, [esi + 0xc]
add ecx, dword [ebp + 8]
imul ecx, eax
mov eax, dword [edi + 0x5c]
lea eax, [eax + ecx*8]
mov dword [esi - 0x10], eax
lea eax, [edx - 8]
mov ecx, dword [edi + 0x3c]
add ecx, dword [ebp + 8]
imul ecx, eax
add ecx, dword [edi + 0x5c]
mov dword [esi - 0xc], ecx
mov eax, dword [edi + 0x3c]
add eax, dword [ebp + 8]
imul eax, edx
add edx, 0x18
add eax, dword [edi + 0x5c]
mov dword [esi - 8], eax
mov eax, dword [ebp + 0xc]
add eax, 3
mov dword [ebp + 0xc], eax
cmp edx, 0xe8
jl 0x1004d523
mov eax, dword [edi + 0x3c]
xor ecx, ecx
add eax, 0x1a
mov edx, 8
mov dword [ebp + 8], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1011fe7c
mov dword [ebp + 8], eax
add esp, 4
mov dword [edi + 0xcc], eax
mov eax, edi
mov dword [edi + 0xd0], 0
mov dword [edi + 0xd4], 0
mov dword [edi + 0xd8], 0
mov dword [edi + 0xdc], 7
mov dword [edi + 0xe0], 5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8