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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov eax, dword [0x100c90c0]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
mov esi, ecx
push edi
test esi, esi
je 0x100275e2
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push esi
call edi
test eax, eax
jne 0x100275e2
movzx eax, word [esi + 0x678]
mov dword [esp + 0x18], eax
test ax, ax
jle 0x100275e2
mov ecx, 0xd78c98
call fcn.1001cb40
mov esi, eax
test esi, esi
je 0x100275e2
push 4
push esi
call edi
test eax, eax
jne 0x100275e2
mov eax, dword [esp + 0x18]
mov ecx, esi
mov edx, dword [0x100bd690]
push 1
cwde
push eax
call edx
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x100275e2
push 4
push esi
call edi
test eax, eax
jne 0x100275e2
cmp byte [esi + 0xa58], al
movzx ecx, byte [esi + 0xb35]
sete al
movzx eax, al
push eax
call fcn.1001c130
mov edx, eax
mov ecx, esi
call fcn.1001c1a0
add esp, 4
mov ecx, 0xbc7944
call fcn.1001cad0
test al, al
jne 0x10026e2e
cmp dword [esi + 0x3b8], 0
jne 0x10026e2e
cmp dword [esi + 0xb28], 0
je 0x100275e2
cmp byte [esi + 0x6cc], 0
je 0x100275e2
cmp dword [esi + 0x3ac], 0
je 0x100275e2
lea ecx, [esi + 0xe0]
call fcn.1001cc00
lea ecx, [esi + 0xdc]
movss dword [esp + 0xc], xmm0
call fcn.1001cc00
lea ecx, [esi + 0xd8]
movss dword [esp + 0x2c], xmm0
call fcn.1001cc00
mov ecx, 0xc20b78
movss dword [esp + 0x30], xmm0
call fcn.1001cc00
mov ecx, 0xc20b74
movss dword [esp + 0x14], xmm0
call fcn.1001cc00
mov ecx, 0xc20b70
movss dword [esp + 0x4c], xmm0
call fcn.1001cc00
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100cd900]
movss dword [esp + 0x1c], xmm0
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10104148]
cmp eax, dword [ecx + 4]
jle 0x10026eea
push 0x10104148
call fcn.10085da8
add esp, 4
cmp dword [0x10104148], 0xffffffff
jne 0x10026eea
push 0x10104148
call fcn.10085d57
add esp, 4
movaps xmm0, xmmword [esp + 0x30]
mov ecx, 0xade4d8
movss xmm1, dword [esp + 0x2c]
movss xmm2, dword [esp + 0xc]
subss xmm0, dword [esp + 0x1c]
subss xmm1, dword [esp + 0x4c]
subss xmm2, dword [esp + 0x14]
unpcklps xmm0, xmm1
movss dword [0x10104154], xmm2
mov eax, dword [0x10104154]
movq qword [0x1010414c], xmm0
movq qword [esp + 0x54], xmm0
mov dword [esp + 0x5c], eax
call fcn.1001cc00
movss xmm1, dword [esp + 0x58]
movss xmm2, dword [esp + 0x54]
mulss xmm1, xmm1
mulss xmm2, xmm2
movss dword [esp + 0x14], xmm0
addss xmm2, xmm1
movss xmm1, dword [esp + 0x5c]
mulss xmm1, xmm1
addss xmm2, xmm1
xorps xmm1, xmm1
cvtps2pd xmm0, xmm2
ucomisd xmm1, xmm0
ja 0x10026f77
sqrtsd xmm0, xmm0
jmp 0x10026f7c
call fcn.100a8280
movss xmm1, dword [esp + 0x14]
cvtsd2ss xmm0, xmm0
comiss xmm1, xmm0
jbe 0x100275e2
cmp dword [0x100ce4f0], 0
mov eax, dword [esi + 0xb28]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xb2c]
mov dword [esp + 0x1c], eax
je 0x100275e2
cmp dword [esi + 0x728], 0x64
je 0x100275e2
push esi
lea eax, [esp + 0x58]
push eax
call fcn.10024830
cmp byte [0x100ce578], 0
je 0x10026ff5
push 4
push esi
call edi
test eax, eax
jne 0x10026ff5
mov eax, dword [0x100bd684]
mov ecx, esi
mov dword [esp + 0x14], eax
call dword [esp + 0x14]
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
jmp 0x10026ff8
xorps xmm0, xmm0
cmp dword [esi + 0x3e4], 7
movss dword [esp + 0x4c], xmm0
divss xmm0, dword [0x100bec3c]
addss xmm0, dword [esp + 0x58]
movss dword [esp + 0x58], xmm0
jne 0x1002707f
cmp byte [0x100ce578], 0
je 0x1002704f
push 4
push esi
call edi
test eax, eax
jne 0x1002704f
mov eax, dword [0x100bd680]
lea ecx, [esp + 0x60]
push ecx
mov ecx, esi
call eax
movss xmm2, dword [eax]
movss xmm1, dword [eax + 4]
unpcklps xmm2, xmm1
movq qword [esp + 0x20], xmm2
jmp 0x1002705b
movq xmm0, qword [esp + 0x60]
movq qword [esp + 0x20], xmm0
movss xmm1, dword [esp + 0x4c]
mulss xmm1, dword [0x100bec00]
movss xmm0, dword [esp + 0x24]
subss xmm0, xmm1
addss xmm0, dword [esp + 0x58]
movss dword [esp + 0x58], xmm0
mov eax, dword [esi + 0x3ac]
mov ecx, 0xc20bb0
mov edi, dword [0x100bd670]
mov dword [esp + 0xc], eax
call fcn.1001cb40
mov ecx, 0xc20bac
mov esi, eax
call fcn.1001cb40
push esi
push eax
push 0xc20c3c
lea eax, [esp + 0x60]
push 0xc20bbc
push eax
call edi
mov ecx, dword [esp + 0x20]
mov edi, eax
mov eax, edx
add esp, 0x14
sub eax, dword [ecx + 0x4c]
mov ecx, 0xd78d78
sub eax, 5
mov dword [esp + 0x24], eax
call fcn.1001cb40
mov edx, eax
mov dword [esp + 0x2c], edx
test edx, edx
je 0x100275e2
cmp dword [esp + 0x10], 1
jne 0x100270f3
cmp dword [esp + 0x1c], 1
je 0x10027163
cmp byte [0x100ce578], 0
je 0x10027158
push 0
push 4
lea eax, [esp + 0x54]
mov dword [esp + 0x54], 0
push eax
push 0xd78c9c
mov byte [esp + 0x63], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x10027154
add esi, 0x6b8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0
push 1
lea ecx, [esp + 0x5b]
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp byte [esp + 0x53], 0
jne 0x100274de
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x1c], 0
je 0x100274de
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x704], 0
je 0x10027376
mov eax, dword [esp + 0xc]
lea ecx, [edi - 8]
mov dword [esp + 0x4c], ecx
mov eax, dword [eax + 0x48]
shr eax, 1
sub ecx, eax
mov eax, dword [esi + 0x6d8]
sub ecx, 0xa
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x10], ecx
mov ecx, 0xd78d78
mov dword [esp + 0x18], eax
call fcn.1001cb40
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x100271d9
push 4
push eax
call edi
test eax, eax
jne 0x100271d9
push dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push dword [esp + 0x14]
push dword [esp + 0x1c]
push dword [esp + 0x24]
call dword [0x100bd678]
movzx eax, byte [esi + 0xb34]
mov dword [esp + 0x18], eax
dec eax
cmp eax, 0xc7
jbe 0x100272a2
movzx eax, byte [esi + 0xb35]
dec eax
cmp eax, 0xc7
jbe 0x100272a2
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x4c]
mov eax, dword [eax + 0x48]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
sub ecx, 0x1b
mov dword [esp + 0x10], ecx
mov ecx, 0xd78d78
call fcn.1001cb40
mov dword [esp + 0x14], eax
test eax, eax
je 0x1002724c
push 4
push eax
call edi
test eax, eax
jne 0x1002724c
push dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x14]
push 3
push eax
call dword [0x100bd678]
mov al, byte [esi + 0x6ac]
dec al
cmp al, 0x1c
ja 0x100275e2
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x48]
cdq
sub eax, edx
sar eax, 1
sub esi, eax
sub esi, 0x2d
mov ecx, 0xd78d78
call fcn.1001cb40
mov dword [esp + 0x10], eax
test eax, eax
je 0x100275be
push 4
push eax
call edi
test eax, eax
jne 0x100275be
push dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
push esi
jmp 0x100275af
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x4c]
mov eax, dword [eax + 0x48]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
movzx eax, byte [esi + 0xb35]
sub ecx, 0x1b
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov ecx, 0xd78d78
call fcn.1001cb40
mov dword [esp + 0x1c], eax
test eax, eax
je 0x100272fb
push 4
push eax
call edi
test eax, eax
jne 0x100272fb
push dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push dword [esp + 0x14]
push dword [esp + 0x1c]
push dword [esp + 0x24]
call dword [0x100bd67c]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x4c]
add ecx, 0xfffffff8
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 0x48]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
sub ecx, 0x25
mov dword [esp + 0x10], ecx
mov ecx, 0xd78d78
call fcn.1001cb40
mov dword [esp + 0x14], eax
test eax, eax
je 0x1002734b
push 4
push eax
call edi
test eax, eax
jne 0x1002734b
push dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x14]
push 3
push eax
call dword [0x100bd678]
mov cl, byte [esi + 0x6ac]
dec cl
cmp cl, 0x1c
ja 0x100275e2
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
mov eax, dword [eax + 0x48]
cdq
sub eax, edx
sar eax, 1
sub esi, eax
sub esi, 0x37
jmp 0x10027271
movzx eax, byte [esi + 0xb34]
mov dword [esp + 0x18], eax
dec eax
cmp eax, 0xc7
jbe 0x1002741a
movzx eax, byte [esi + 0xb35]
dec eax
cmp eax, 0xc7
jbe 0x1002741a
mov eax, dword [esp + 0xc]
add edi, 0xfffffff8
mov ecx, edi
mov dword [esp + 0x18], edi
mov eax, dword [eax + 0x48]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
sub ecx, 0xa
mov dword [esp + 0x10], ecx
mov ecx, 0xd78d78
call fcn.1001cb40
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [esp + 0x14], eax
test eax, eax
je 0x100273f0
push 4
push eax
call edi
test eax, eax
jne 0x100273f0
push dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x14]
push 3
push eax
call dword [0x100bd678]
mov al, byte [esi + 0x6ac]
dec al
cmp al, 0x1c
ja 0x100275e2
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
mov eax, dword [eax + 0x48]
cdq
sub eax, edx
sar eax, 1
sub esi, eax
sub esi, 0x1b
jmp 0x10027271
mov eax, dword [esp + 0xc]
lea ecx, [edi - 8]
mov dword [esp + 0x1c], ecx
mov eax, dword [eax + 0x48]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
movzx eax, byte [esi + 0xb35]
sub ecx, 0xa
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov ecx, 0xd78d78
call fcn.1001cb40
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1002747c
push 4
push eax
call edi
test eax, eax
jne 0x1002747c
push dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
push dword [esp + 0x14]
push dword [esp + 0x1c]
push dword [esp + 0x24]
call dword [0x100bd67c]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 0x48]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
sub ecx, 0x1b
mov dword [esp + 0x10], ecx
mov ecx, 0xd78d78
call fcn.1001cb40
mov dword [esp + 0x14], eax
test eax, eax
je 0x100274c5
push 4
push eax
call edi
test eax, eax
jne 0x100274c5
push dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x14]
push 3
push eax
call dword [0x100bd678]
mov al, byte [esi + 0x6ac]
dec al
cmp al, 0x1c
ja 0x100275e2
mov esi, dword [esp + 0x1c]
jmp 0x10027260
mov esi, dword [esp + 0x18]
movzx eax, byte [esi + 0xb34]
dec eax
cmp dword [esi + 0x704], 0
je 0x1002752c
cmp eax, 0xc7
jbe 0x10027509
movzx eax, byte [esi + 0xb35]
dec eax
cmp eax, 0xc7
ja 0x10027565
mov al, byte [esi + 0x6ac]
dec al
cmp al, 0x1c
ja 0x100275e2
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x48]
cdq
sub eax, edx
sar eax, 1
sub edi, eax
sub edi, 0x2d
jmp 0x10027582
cmp eax, 0xc7
jbe 0x10027565
movzx eax, byte [esi + 0xb35]
dec eax
cmp eax, 0xc7
jbe 0x10027565
mov al, byte [esi + 0x6ac]
dec al
cmp al, 0x1c
ja 0x100275e2
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x48]
cdq
sub eax, edx
sar eax, 1
sub edi, eax
sub edi, 0x12
jmp 0x10027582
mov al, byte [esi + 0x6ac]
dec al
cmp al, 0x1c
ja 0x100275e2
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x48]
cdq
sub eax, edx
sar eax, 1
sub edi, eax
sub edi, 0x1b
mov ecx, 0xd78d78
mov dword [esp + 0xc], edi
call fcn.1001cb40
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov esi, eax
test esi, esi
je 0x100275be
push 4
push esi
call edi
test eax, eax
jne 0x100275be
push dword [esp + 0x24]
mov ecx, esi
push dword [esp + 0x10]
mov eax, dword [0x100bd678]
push 4
push 0
call eax
test al, al
jne 0x100275e2
mov ecx, 0xd78d78
call fcn.1001cb40
mov esi, eax
test esi, esi
je 0x100275e2
push 4
push esi
call edi
test eax, eax
jne 0x100275e2
push 4
push eax
mov ecx, esi
call dword [0x100bd674]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
xor ecx, esp
call fcn.10085995
mov esp, ebp
pop ebp
ret