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

Disassembly:
push 0xffffffffffffffff
push 0x476288
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
push edi
mov eax, dword [0x49eef8]
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.0040e480
mov esi, dword [esp + 0x38]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push esi
mov byte [esp + 0x38], 2
call fcn.004062a0
lea eax, [esp + 0x3c]
push eax
call fcn.00416010
add esp, 8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 3
call fcn.004043f0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x30], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41aab0
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.004062a0
lea ecx, [esp + 0x3c]
push ecx
call fcn.00416140
add esp, 8
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 4
call fcn.004043f0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x30], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41aafe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x41ab06
xor eax, eax
jmp 0x41ab1f
mov eax, esi
lea edx, [eax + 2]
jmp 0x41ab10
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41ab10
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.00402840
mov edi, dword [esp + 0x3c]
mov esi, dword [sym.imp.MSVCR90.dll_wcsstr]
mov dword [esp + 0x24], 0xf
cmp edi, 0x8000
jne 0x41ab9c
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x41abe4
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
jl 0x41abe4
push ecx
push eax
call esi
add esp, 8
test eax, eax
je 0x41abe4
sub eax, dword [esp + 0x18]
sar eax, 1
cmp eax, 0xffffffff
je 0x41abe4
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x41abe4
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
jl 0x41abe4
push ecx
push eax
call esi
add esp, 8
test eax, eax
je 0x41abe4
sub eax, dword [esp + 0x1c]
sar eax, 1
cmp eax, 0xffffffff
je 0x41abe4
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
jl 0x41abe4
push str.04E8
push eax
call esi
add esp, 8
test eax, eax
je 0x41abe4
mov ecx, dword [esp + 0x18]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x41abe4
mov edx, dword [esp + 0x1c]
push edx
push ecx
push str.vid___s__pid___s
call fcn.00403100
add esp, 0xc
push 0x64
push edi
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
call fcn.0041a330
lea ecx, [esp + 0x14]
call fcn.0040e4e0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ac12
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
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ac3a
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 edi
pop esi
pop ebp
add esp, 0x24
ret 0x10