Function at 0x411af0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d90c3
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x51093c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [esi], vtable.Common::Client.0
mov dword [ebp - 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0xf
mov byte [esi + 0x1c], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
lea eax, [esi + 0x64]
push 2
push eax
call fcn.0049eb91
add esp, 8
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 4
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], eax
test ecx, ecx
je 0x411b8c
lock inc dword [ecx + 4]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
or ebx, 0xffffffff
mov dword [esi + 8], eax
mov edi, dword [esi + 0xc]
mov dword [esi + 0xc], ecx
test edi, edi
je 0x411bbe
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x411bbe
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x411bbe
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x98], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x9c], eax
mov eax, dword [ebp + 0x1c]
push 0x800000
mov dword [esi + 4], eax
mov dword [esi + 0x48], 0
call fcn.004a2169
push 8
mov dword [esi + 0x44], eax
mov dword [esi + 0x4c], 0
mov byte [esi + 0x10], 0
mov byte [esi + 0x50], 1
call fcn.004a20f7
add esp, 8
mov dword [ebp + 0x1c], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x411d5e
push 8
call fcn.004a20f7
mov edi, eax
add esp, 4
test edi, edi
je 0x411c2d
mov dword [edi], esi
mov dword [edi + 4], 0x412540
jmp 0x411c2f
xor edi, edi
mov dword [ebp + 8], edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
call fcn.0049f709
add esp, 4
test eax, eax
je 0x411c4f
push eax
call fcn.0049ecab
add esp, 4
mov eax, dword [ebp - 0x28]
mov byte [ebp + 0x14], 1
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 7
push 1
push eax
call fcn.0049eb5f
add esp, 8
test eax, eax
je 0x411c78
push eax
call fcn.0049ecab
add esp, 4
mov eax, dword [ebp - 0x24]
mov byte [ebp - 0x14], 1
mov dword [ebp - 0x10], eax
push eax
mov byte [ebp - 4], 8
mov byte [ebp - 0x20], 0
call fcn.0049ebb2
add esp, 4
test eax, eax
je 0x411ca0
push eax
call fcn.0049ecab
add esp, 4
mov dword [ebp - 0x2c], 0x4e4ab0
mov dword [ebp + 8], 0
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp + 0x1c]
lea eax, [ebp - 0x2c]
push eax
push 0x404f90
push edi
mov byte [ebp - 4], 9
call fcn.0049eef1
add esp, 0xc
mov ecx, 1
cmp eax, 4
cmovne ecx, eax
test ecx, ecx
je 0x411ce2
push ecx
call fcn.0049ecab
add esp, 4
cmp byte [ebp - 0x20], 0
jne 0x411d11
nop dword [eax + eax]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.0049f75b
add esp, 8
test eax, eax
je 0x411d0b
push eax
call fcn.0049ecab
add esp, 4
cmp byte [ebp - 0x20], 0
je 0x411cf0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x411d23
push 8
push eax
call fcn.004a2127
add esp, 8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
push eax
mov byte [ebp - 4], 0xa
mov dword [ebp + 0x18], eax
call fcn.0049ebd7
add esp, 4
test eax, eax
je 0x411d49
push eax
call fcn.0049ecab
add esp, 4
push dword [ebp + 0x18]
call fcn.0049eb1b
push dword [ebp - 0x10]
call fcn.0049f6d2
add esp, 8
jmp 0x411d60
xor edi, edi
mov dword [esi + 0x60], edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x411d88
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x411d88
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x411d88
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18