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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x10], ecx
sub eax, ecx
sete cl
test cl, 1
lea ecx, [eax + eax]
mov ebx, 2
cmove ebx, ecx
xor edi, edi
dec edi
cmp eax, 0x7fffffff
cmovb edi, ebx
cmp dword [esi + 4], 0x42a7c0
mov dword [ebp - 0x14], edx
mov ebx, dword [edx]
je 0x4464f9
push edi
push dword [ebp - 0x10]
call fcn.004605c0
add esp, 8
jmp 0x446502
push edi
call fcn.00460530
add esp, 4
test eax, eax
je 0x44652b
sub ebx, dword [ebp - 0x10]
mov dword [esi], eax
add ebx, eax
mov dword [esi + 4], fcn.00460590
mov eax, dword [ebp - 0x14]
mov dword [eax], ebx
and edi, 0xfffffffe
add edi, dword [esi]
mov eax, dword [ebp + 8]
mov dword [eax], edi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.0044d47c
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1b4
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], 0x44d300
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea eax, [ebp - 0x1c0]
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 - 0x2c], eax
mov dword [ebp - 0xfc], edx
movdqu xmmword [ebp - 0x10c], xmm0
movdqu xmmword [ebp - 0x11c], xmm0
movdqu xmmword [ebp - 0x12c], xmm0
movdqu xmmword [ebp - 0x13c], xmm0
movdqu xmmword [ebp - 0x14c], xmm0
movdqu xmmword [ebp - 0x15c], 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.0042ed60
add esp, 0x14
cmp eax, 0x64
jb 0x446659
mov dword [ebp - 0x24], esp
push eax
sub esp, 0x18
mov esi, esp
lea ecx, [esi + 4]
call fcn.004396af
lea eax, [ebp - 0x2c]
mov dword [esi], eax
mov dword [esi + 0x10], str._.0Lf
movq xmm0, qword [ebp + 0x1c]
movq qword [esi + 0x14], xmm0
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], eax
call fcn.0044f3a0
add esp, 0x1c
mov edi, eax
mov esp, dword [ebp - 0x24]
cmp eax, 0xffffffff
je 0x446975
mov esi, dword [ebp - 0x2c]
push edi
call fcn.00460530
add esp, 4
test eax, eax
je 0x446982
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x48], eax
jmp 0x446673
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x1c]
lea ecx, [ebp - 0x94]
mov dword [ecx], eax
mov dword [ebp - 0x40], eax
lock inc dword [eax + 4]
mov dword [ebp - 0x10], 1
push 0x59c288
call fcn.00448c28
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x2c]
lea ebx, [edi + edx]
mov ecx, dword [eax]
mov dword [ebp - 0x68], eax
mov esi, dword [ecx + 0x18]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, esi
mov dword [ebp - 0x24], edx
call dword [section..00cfg]
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp - 0x68]
push dword [ebp - 0x48]
push ebx
push edi
call esi
mov eax, dword [ebp - 0x24]
xor ecx, ecx
test eax, eax
jle 0x4466e4
mov edx, dword [ebp - 0x2c]
cmp byte [edx], 0x2d
sete al
mov dword [ebp - 0x28], eax
jmp 0x4466eb
mov dword [ebp - 0x28], 0
mov bl, 0xff
lea edi, [ebp - 0x90]
mov dword [edi + 4], ecx
mov dword [edi], ecx
mov dword [edi + 8], ecx
lea esi, [ebp - 0x64]
mov dword [esi + 4], ecx
mov dword [esi], ecx
mov dword [esi + 8], ecx
lea eax, [ebp - 0x58]
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x1e]
mov byte [ecx], bl
lea ecx, [ebp - 0x1d]
mov byte [ecx], bl
lea edx, [ebp - 0x74]
xor ecx, ecx
dec ecx
mov dword [edx], ecx
lea edx, [ebp - 0x70]
mov dword [edx], ecx
mov dword [ebp - 0x10], 2
movzx ecx, byte [ebp + 0x10]
movzx edx, byte [ebp - 0x28]
mov dword [ebp - 0x80], edx
lea ebx, [ebp - 0x70]
push ebx
push eax
push esi
push edi
lea eax, [ebp - 0x1d]
push eax
lea eax, [ebp - 0x1e]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00446a72
add esp, 0x20
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0xa8], xmm0
movdqu xmmword [ebp - 0xb8], xmm0
movdqu xmmword [ebp - 0xc8], xmm0
movdqu xmmword [ebp - 0xd8], xmm0
movdqu xmmword [ebp - 0xe8], xmm0
movdqu xmmword [ebp - 0xf8], xmm0
mov dword [ebp - 0x98], 0xffffffff
mov edi, dword [ebp - 0x70]
mov esi, dword [ebp - 0x24]
mov eax, esi
sub eax, edi
jle 0x4467c4
movzx ecx, byte [ebp - 0x4d]
test cl, cl
jns 0x4467b1
mov ecx, dword [ebp - 0x54]
movzx edx, byte [ebp - 0x59]
test dl, dl
jns 0x4467bc
mov edx, dword [ebp - 0x60]
lea eax, [ecx + eax*2]
add eax, edx
inc eax
jmp 0x4467df
movzx eax, byte [ebp - 0x4d]
test al, al
jns 0x4467cf
mov eax, dword [ebp - 0x54]
movzx ecx, byte [ebp - 0x59]
test cl, cl
jns 0x4467da
mov ecx, dword [ebp - 0x60]
add eax, ecx
add eax, 2
add eax, edi
cmp eax, 0x65
mov dword [ebp - 0x7c], edi
jb 0x446812
push eax
call fcn.00460530
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x28], eax
test eax, eax
mov ecx, dword [ebp + 0x14]
jne 0x446825
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x10], 3
call fcn.0044d47c
lea eax, [ebp - 0xf8]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 0x84]
xor eax, eax
dec eax
mov dword [edx], eax
lea edi, [ebp - 0x6c]
mov dword [edi], eax
movsx ebx, byte [ebp - 0x1d]
movsx edi, byte [ebp - 0x1e]
mov eax, dword [ebp - 0x48]
add esi, eax
mov dword [ebp - 0x24], esi
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x78], ecx
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x10], 3
mov ecx, dword [ebp - 0x44]
push dword [ebp - 0x7c]
lea esi, [ebp - 0x58]
push esi
lea esi, [ebp - 0x64]
push esi
lea esi, [ebp - 0x90]
push esi
push ebx
push edi
lea esi, [ebp - 0x74]
push esi
push dword [ebp - 0x80]
push dword [ebp - 0x68]
push dword [ebp - 0x24]
push eax
push dword [ebp - 0x78]
lea eax, [ebp - 0x6c]
push eax
call fcn.00446bc2
add esp, 0x34
mov al, byte [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x84]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x4c], edi
movsx eax, al
push eax
push dword [ebp + 0x14]
push edx
push esi
push dword [ebp - 0x44]
push ecx
push dword [ebp + 8]
call fcn.0042d7d4
add esp, 0x1c
cmp dword [ebp - 0x28], 0
je 0x4468d1
push 0
push dword [ebp - 0x28]
push 0x587578
call fcn.00497f20
add esp, 0xc
cmp byte [ebp - 0x4d], 0
mov edi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x40]
jns 0x4468e8
push dword [ebp - 0x58]
call fcn.00528424
add esp, 4
cmp byte [ebp - 0x59], 0
jns 0x4468f9
push dword [ebp - 0x64]
call fcn.00528424
add esp, 4
cmp byte [ebp - 0x85], 0
jns 0x446910
push dword [ebp - 0x90]
call fcn.00528424
add esp, 4
xor eax, eax
dec eax
lock xadd dword [ebx + 4], eax
test eax, eax
jne 0x446934
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x44694b
push 0
push eax
push 0x587578
call fcn.00497f20
add esp, 0xc
test edi, edi
je 0x44695f
push 0
push edi
push 0x587578
call fcn.00497f20
add esp, 0xc
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
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
call fcn.0044d47c
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], esi
call fcn.0044d47c
nop
push ebp
sub esp, 0x34
add ebp, 0xc
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x4469b0
push 0
push eax
push 0x587578
call fcn.00497f20
add esp, 0xc
add esp, 0x34
pop ebp
ret