Function at 0x41d6e0
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4779b8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
mov eax, dword [0x4a4eb0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x14]
call fcn.0040f600
mov esi, dword [esp + 0x38]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
mov ebx, 2
push esi
mov byte [esp + 0x38], bl
call fcn.004062c0
lea eax, [esp + 0x3c]
push eax
call fcn.004172c0
add esp, 8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 3
call fcn.00404410
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x30], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d773
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push esi
call fcn.004062c0
lea ecx, [esp + 0x3c]
push ecx
call fcn.004173f0
add esp, 8
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 4
call fcn.00404410
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x30], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d7c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x41d7c8
xor eax, eax
jmp 0x41d7de
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x41d7d0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.00402880
mov ebx, dword [esp + 0x3c]
mov esi, dword [0x47f37c]
mov dword [esp + 0x24], 0
cmp ebx, 0x8000
jne 0x41d873
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x41d90e
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
jl 0x41d90e
push ecx
push eax
call esi
add esp, 8
test eax, eax
je 0x41d90e
sub eax, dword [esp + 0x18]
sar eax, 1
cmp eax, 0xffffffff
je 0x41d90e
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x41d90e
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
jl 0x41d90e
push ecx
push eax
call esi
add esp, 8
test eax, eax
je 0x41d90e
sub eax, dword [esp + 0x1c]
sar eax, 1
cmp eax, 0xffffffff
je 0x41d90e
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
jl 0x41d8bb
push str.04E8
push eax
call esi
add esp, 8
test eax, eax
je 0x41d8bb
sub eax, dword [esp + 0x18]
sar eax, 1
cmp eax, 0xffffffff
jle 0x41d8bb
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
jl 0x41d8bb
push str.6721
push eax
call esi
add esp, 8
test eax, eax
je 0x41d8bb
sub eax, dword [esp + 0x1c]
sar eax, 1
cmp eax, 0xffffffff
jg 0x41d90e
lea ecx, [esp + 0x14]
call fcn.00408060
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jl 0x41d8e8
push str.VID_04E8PID_6777MI_03
push eax
call esi
add esp, 8
test eax, eax
je 0x41d8e8
sub eax, dword [esp + 0x14]
sar eax, 1
cmp eax, 0xffffffff
jg 0x41d90e
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
push str.vid___s__pid___s
call fcn.00403140
add esp, 0xc
push 0x64
push ebx
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
call fcn.0041cdc0
lea ecx, [esp + 0x14]
call fcn.0040f660
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x30], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d93c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x30], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d960
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10