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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1ac
movsd xmm1, qword [ebp + 0x1c]
lea eax, [ebp - 0x18]
mov dword [eax - 4], esp
xor edx, edx
dec edx
mov dword [eax + 8], edx
mov dword [eax + 4], 0x1000c340
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea eax, [ebp - 0x1b8]
mov dword [eax + 0x60], edx
pcmpeqd xmm0, xmm0
movdqu xmmword [eax + 0x50], xmm0
movdqu xmmword [eax + 0x40], xmm0
movdqu xmmword [eax + 0x30], xmm0
movdqu xmmword [eax + 0x20], xmm0
movdqu xmmword [eax + 0x10], xmm0
movdqu xmmword [eax], xmm0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0xf4], edx
movdqu xmmword [ebp - 0x104], xmm0
movdqu xmmword [ebp - 0x114], xmm0
movdqu xmmword [ebp - 0x124], xmm0
movdqu xmmword [ebp - 0x134], xmm0
movdqu xmmword [ebp - 0x144], xmm0
movdqu xmmword [ebp - 0x154], xmm0
sub esp, 0x14
movsd qword [esp + 0xc], xmm1
mov dword [esp], eax
mov dword [esp + 8], str._.0Lf
mov dword [esp + 4], 0x64
call fcn.10001000
add esp, 0x14
cmp eax, 0x64
jb 0x10040256
mov dword [ebp - 0x24], esp
push eax
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x28], eax
add eax, 4
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x10], ecx
push eax
call fcn.1000cd30
add esp, 4
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov dword [ecx + 0x10], str._.0Lf
movq xmm0, qword [ebp + 0x1c]
movq qword [ecx + 0x14], xmm0
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
call fcn.10045ae0
add esp, 0x1c
mov dword [ebp - 0x28], eax
mov esp, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10040597
mov esi, dword [ebp - 0x38]
push eax
call fcn.10010759
add esp, 4
test eax, eax
je 0x10040586
mov dword [ebp - 0x40], eax
jmp 0x10040266
mov dword [ebp - 0x24], 0
jmp 0x100402ec
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x154]
mov dword [ebp - 0x40], eax
xor eax, eax
xor esi, esi
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 0x34]
mov dword [edx], 0xffffffff
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x10], 0
push edx
call fcn.1000d690
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x34]
push 0x100594d4
call fcn.1000d6d0
mov edx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x38]
lea ebx, [edi + edx]
mov ecx, dword [eax]
mov dword [ebp - 0x70], eax
mov esi, dword [ecx + 0x18]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, esi
mov dword [ebp - 0x28], edx
call dword [section..00cfg]
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp - 0x70]
push dword [ebp - 0x40]
push ebx
push edi
call esi
mov eax, dword [ebp - 0x28]
xor ecx, ecx
test eax, eax
jle 0x1004024a
mov edx, dword [ebp - 0x38]
cmp byte [edx], 0x2d
sete al
mov dword [ebp - 0x24], eax
mov al, 0xff
lea ebx, [ebp - 0x8c]
mov dword [ebx + 4], ecx
mov dword [ebx], ecx
mov dword [ebx + 8], ecx
lea esi, [ebp - 0x5c]
mov dword [esi + 4], ecx
mov dword [esi], ecx
mov dword [esi + 8], ecx
lea edx, [ebp - 0x50]
mov dword [edx + 4], ecx
mov dword [edx], ecx
mov dword [edx + 8], ecx
lea ecx, [ebp - 0x1e]
mov byte [ecx], al
lea ecx, [ebp - 0x1d]
mov byte [ecx], al
lea ecx, [ebp - 0x7c]
xor eax, eax
dec eax
mov dword [ecx], eax
lea edi, [ebp - 0x44]
mov dword [edi], eax
mov dword [ebp - 0x10], 2
movzx eax, byte [ebp - 0x24]
movzx ecx, byte [ebp + 0x10]
push edi
push edx
push esi
push ebx
lea edx, [ebp - 0x1d]
push edx
lea edx, [ebp - 0x1e]
push edx
lea edx, [ebp - 0x7c]
push edx
lea edx, [ebp - 0x34]
push edx
mov dword [ebp - 0x80], eax
push eax
push ecx
call fcn.10040690
add esp, 0x28
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0xa0], xmm0
movdqu xmmword [ebp - 0xb0], xmm0
movdqu xmmword [ebp - 0xc0], xmm0
movdqu xmmword [ebp - 0xd0], xmm0
movdqu xmmword [ebp - 0xe0], xmm0
movdqu xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0x90], 0xffffffff
mov ebx, dword [ebp - 0x28]
sub ebx, dword [ebp - 0x44]
jg 0x100403e0
cmp byte [ebp - 0x45], 0
js 0x100403cc
lea ecx, [ebp - 0x50]
call fcn.1000d910
mov esi, eax
cmp byte [ebp - 0x51], 0
js 0x100403d1
lea ecx, [ebp - 0x5c]
call fcn.1000d910
mov ecx, dword [ebp - 0x44]
add esi, eax
mov dword [ebp - 0x64], ecx
add esi, ecx
add esi, 2
jmp 0x1004040f
mov esi, dword [ebp - 0x4c]
jmp 0x100403af
mov eax, dword [ebp - 0x58]
jmp 0x100403bd
mov eax, dword [ebp - 0x58]
jmp 0x10040400
mov esi, dword [ebp - 0x4c]
jmp 0x100403f0
cmp byte [ebp - 0x45], 0
js 0x100403db
lea ecx, [ebp - 0x50]
call fcn.1000d910
mov esi, eax
add ebx, ebx
cmp byte [ebp - 0x51], 0
js 0x100403d6
lea ecx, [ebp - 0x5c]
call fcn.1000d910
add esi, eax
mov eax, dword [ebp - 0x44]
or ebx, 1
mov dword [ebp - 0x64], eax
add esi, eax
add esi, ebx
cmp esi, 0x65
jb 0x1004042c
push esi
call fcn.10010759
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x1004043c
jmp 0x10040571
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x78]
xor edx, edx
dec edx
mov dword [eax], edx
lea eax, [ebp - 0x74]
mov dword [eax], edx
movsx esi, byte [ebp - 0x1d]
movsx ebx, byte [ebp - 0x1e]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x40]
add eax, ecx
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 4]
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x10], 3
push dword [ebp - 0x64]
lea edi, [ebp - 0x50]
push edi
lea edi, [ebp - 0x5c]
push edi
lea edi, [ebp - 0x8c]
push edi
push esi
push ebx
lea esi, [ebp - 0x7c]
push esi
push dword [ebp - 0x80]
push dword [ebp - 0x70]
push eax
push ecx
push edx
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x3c]
call fcn.100407f0
add esp, 0x3c
mov al, byte [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x74]
mov esi, dword [ebp - 0x78]
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x60], edi
movsx eax, al
push eax
push dword [ebp + 0x14]
push edx
push esi
push dword [ebp - 0x3c]
push ecx
push dword [ebp + 8]
call fcn.1000ce30
add esp, 0x1c
cmp dword [ebp - 0x24], 0
je 0x100404db
push dword [ebp - 0x24]
call fcn.1000f3b0
add esp, 4
cmp byte [ebp - 0x45], 0
jns 0x100404ec
push dword [ebp - 0x50]
call fcn.1000f3cb
add esp, 4
cmp byte [ebp - 0x51], 0
jns 0x100404fd
push dword [ebp - 0x5c]
call fcn.1000f3cb
add esp, 4
cmp byte [ebp - 0x81], 0
jns 0x10040514
push dword [ebp - 0x8c]
call fcn.1000f3cb
add esp, 4
mov esi, dword [ebp - 0x34]
xor eax, eax
dec eax
lock xadd dword [esi + 4], eax
test eax, eax
jne 0x1004053b
mov eax, dword [esi]
mov edi, dword [eax + 4]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x1004054b
push eax
call fcn.1000f3b0
add esp, 4
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x1004055b
push eax
call fcn.1000f3b0
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x10], 3
call fcn.10045130
jmp 0x100405a4
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], esi
call fcn.10045130
jmp 0x100405a4
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
call fcn.10045130
nop word cs:[eax + eax]
push ebp
sub esp, 0x3c
add ebp, 0xc
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x100405c7
push eax
call fcn.1000f3b0
add esp, 4
add esp, 0x3c
pop ebp
ret