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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x2a0
mov esi, esp
mov dword [esi + 0x288], ebp
lea eax, [esi + 0x290]
mov dword [eax - 4], esp
xor edx, edx
dec edx
mov dword [eax + 8], edx
mov dword [eax + 4], 0x10022dd0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea edi, [esi + 0x90]
mov dword [edi + 0x60], edx
pcmpeqd xmm0, xmm0
movdqa xmmword [edi + 0x50], xmm0
movdqa xmmword [edi + 0x40], xmm0
movdqa xmmword [edi + 0x30], xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
mov dword [esi + 0x14], edi
lea eax, [esi + 0x1c0]
push 0xc8
push 0xff
mov dword [esi + 0x24], eax
push eax
call fcn.10027f80
sub esp, 8
movsd xmm0, qword [ebp + 0x1c]
movsd qword [esp + 0xc], xmm0
mov dword [esp], edi
mov dword [esp + 8], str._.0Lf
mov dword [esp + 4], 0x64
call fcn.10024506
add esp, 0x14
cmp eax, 0x64
jb 0x1001d479
mov dword [esi], esp
push eax
sub esp, 0x18
mov eax, esp
mov dword [esi + 4], eax
lea ecx, [eax + 4]
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x298], eax
call fcn.10024570
lea eax, [esi + 0x14]
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov dword [ecx + 0x10], str._.0Lf
movsd xmm0, qword [ebp + 0x1c]
movsd qword [ecx + 0x14], xmm0
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
call fcn.100241e0
add esp, 0x1c
mov esp, dword [esi]
cmp eax, 0xffffffff
je 0x1001d744
mov edi, dword [esi + 0x14]
mov dword [esi + 4], eax
add eax, eax
push eax
call fcn.100361f6
add esp, 4
test eax, eax
je 0x1001d751
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x24], eax
jmp 0x1001d48a
mov dword [esi + 4], eax
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x1c]
lea ecx, [esi + 0x64]
mov dword [ecx], eax
lock inc dword [eax + 4]
mov dword [esi + 0x58], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x298], 1
push 0x1005eda4
call fcn.1001f00e
mov ecx, dword [esi + 4]
mov ebx, dword [esi + 0x14]
mov dword [esi + 4], ecx
mov ecx, dword [esi + 4]
lea edx, [ebx + ecx]
mov ecx, dword [eax]
mov edi, dword [ecx + 0x28]
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x2c], ecx
mov ecx, eax
push dword [esi + 0x24]
push edx
push ebx
mov dword [esi + 0x84], eax
call edi
mov eax, dword [esi + 4]
xor ecx, ecx
test eax, eax
jle 0x1001d4f2
mov edx, dword [esi + 0x14]
cmp byte [edx], 0x2d
sete al
mov dword [esi], eax
jmp 0x1001d4f8
mov dword [esi], 0
lea eax, [esi + 0x68]
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax + 8], ecx
lea ebx, [esi + 0x40]
mov dword [ebx + 4], ecx
mov dword [ebx], ecx
mov dword [ebx + 8], ecx
lea edi, [esi + 0x30]
mov dword [edi + 4], ecx
mov dword [edi], ecx
mov dword [edi + 8], ecx
lea edx, [esi + 0x60]
xor ecx, ecx
dec ecx
mov dword [edx], ecx
lea eax, [esi + 0x12]
mov word [eax], cx
lea eax, [esi + 0x10]
mov word [eax], cx
lea eax, [esi + 0x8c]
mov dword [eax], ecx
mov dword [esi + 0x298], 2
movzx ecx, byte [ebp + 0x10]
movzx edx, byte [esi]
mov dword [esi + 0x80], edx
push eax
push edi
push ebx
lea eax, [esi + 0x68]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 0x12]
push eax
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x64]
push eax
call fcn.1001d850
add esp, 0x20
lea eax, [esi + 0xf8]
push 0xc8
push 0xff
push eax
call fcn.10027f80
add esp, 0xc
mov ecx, dword [esi + 0x8c]
mov edi, dword [esi + 4]
mov eax, edi
mov dword [esi + 0x20], ecx
sub eax, ecx
jle 0x1001d5c3
movzx edx, byte [esi + 0x3b]
mov ecx, edx
mov dword [esi + 0x54], edx
test dl, dl
jns 0x1001d5a6
mov ecx, dword [esi + 0x34]
movzx ebx, byte [esi + 0x4b]
mov edx, ebx
mov dword [esi + 0x50], ebx
test bl, bl
jns 0x1001d5b6
mov edx, dword [esi + 0x44]
mov ebx, dword [esi + 0x20]
lea eax, [ebx + eax*2]
add eax, ecx
add eax, edx
inc eax
jmp 0x1001d5eb
movzx ecx, byte [esi + 0x3b]
mov eax, ecx
mov dword [esi + 0x54], ecx
test cl, cl
jns 0x1001d5d3
mov eax, dword [esi + 0x34]
movzx edx, byte [esi + 0x4b]
mov ecx, edx
mov dword [esi + 0x50], edx
test dl, dl
jns 0x1001d5e3
mov ecx, dword [esi + 0x44]
add eax, dword [esi + 0x20]
add eax, ecx
add eax, 2
mov dword [esi], 0
cmp eax, 0x65
lea ecx, [esi + 0xf8]
jb 0x1001d613
add eax, eax
push eax
call fcn.100361f6
add esp, 4
mov ecx, eax
mov dword [esi], eax
test eax, eax
je 0x1001d75c
lea edx, [esi + 0x88]
xor eax, eax
dec eax
mov dword [edx], eax
lea ebx, [esi + 0x5c]
mov dword [ebx], eax
mov ebx, dword [esi + 0x24]
lea eax, [ebx + edi*2]
mov dword [esi + 0x7c], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
mov eax, dword [esi]
mov dword [esi + 0x28], eax
mov dword [esi + 0x298], 3
movzx eax, word [esi + 0x10]
movzx edi, word [esi + 0x12]
mov dword [esi + 0x78], edi
mov dword [esi + 0x74], ecx
push dword [esi + 0x20]
lea edi, [esi + 0x30]
push edi
lea edi, [esi + 0x40]
push edi
lea edi, [esi + 0x68]
push edi
push eax
push dword [esi + 0x78]
lea eax, [esi + 0x60]
push eax
push dword [esi + 0x80]
push dword [esi + 0x84]
push dword [esi + 0x7c]
push ebx
push dword [esi + 4]
lea eax, [esi + 0x5c]
push eax
call fcn.1001d958
add esp, 0x34
movzx eax, word [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x5c]
mov edi, dword [esi]
mov dword [esi + 0x28], edi
mov edi, dword [esi + 0x88]
movzx eax, ax
push eax
push dword [ebp + 0x14]
push edx
push edi
push dword [esi + 0x74]
push ecx
push dword [ebp + 8]
call fcn.10005fed
add esp, 0x1c
cmp dword [esi], 0
je 0x1001d6c4
push dword [esi]
call fcn.10035530
add esp, 4
cmp byte [esi + 0x54], 0
mov edi, dword [esi + 0x1c]
jns 0x1001d6d8
push dword [esi + 0x30]
call fcn.10024829
add esp, 4
cmp byte [esi + 0x50], 0
jns 0x1001d6e9
push dword [esi + 0x40]
call fcn.10024829
add esp, 4
cmp byte [esi + 0x73], 0
jns 0x1001d6fa
push dword [esi + 0x68]
call fcn.10024829
add esp, 4
xor eax, eax
dec eax
mov ecx, dword [esi + 0x58]
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x1001d70e
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1001d71e
push eax
call fcn.10035530
add esp, 4
test edi, edi
je 0x1001d72b
push edi
call fcn.10035530
add esp, 4
mov eax, dword [esi + 0x290]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
call fcn.10049b81
mov dword [esi + 8], eax
mov dword [esi + 0xc], edi
call fcn.10049b81
mov eax, dword [esi]
mov dword [esi + 0x28], eax
mov dword [esi + 0x298], 3
call fcn.10049b81
push ebp
sub esp, 0x34
lea esi, [ebp - 0x29c]
mov ebp, dword [esi + 0x288]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1001d790
push eax
call fcn.10035530
add esp, 4
add esp, 0x34
pop ebp
ret