Function at 0x4132c0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509570
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x54f040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x170]
lea esi, [ebx + 0x170]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00404880
push 0x18
push dword [esi]
call fcn.00443e34
mov eax, dword [ebx + 0x168]
lea esi, [ebx + 0x168]
add esp, 8
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00404880
push 0x18
push dword [esi]
call fcn.00443e34
mov eax, dword [ebx + 0x160]
lea esi, [ebx + 0x160]
add esp, 8
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00404880
push 0x18
push dword [esi]
call fcn.00443e34
lea edi, [ebx + 0x150]
add esp, 8
mov eax, dword [edi + 8]
lea esi, [edi + 8]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00415020
push 0x18
push dword [esi]
call fcn.00443e34
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push dword [eax + 4]
push edi
call fcn.00410800
push 0x18
push dword [edi]
call fcn.00443e34
lea edi, [ebx + 0x140]
add esp, 8
mov eax, dword [edi + 8]
lea esi, [edi + 8]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00415020
push 0x18
push dword [esi]
call fcn.00443e34
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push dword [eax + 4]
push edi
call fcn.00410800
push 0x18
push dword [edi]
call fcn.00443e34
lea edi, [ebx + 0x130]
add esp, 8
mov eax, dword [edi + 8]
lea esi, [edi + 8]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00415020
push 0x18
push dword [esi]
call fcn.00443e34
add esp, 8
mov eax, dword [edi]
mov ecx, edi
push dword [eax + 4]
push edi
call fcn.00410800
push 0x18
push dword [edi]
call fcn.00443e34
lea edi, [ebx + 0x120]
add esp, 8
mov eax, dword [edi + 8]
lea esi, [edi + 8]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00415020
push 0x18
push dword [esi]
call fcn.00443e34
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push dword [eax + 4]
push edi
call fcn.00410800
push 0x18
push dword [edi]
call fcn.00443e34
lea edi, [ebx + 0x110]
add esp, 8
mov eax, dword [edi + 8]
lea esi, [edi + 8]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00415020
push 0x18
push dword [esi]
call fcn.00443e34
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push dword [eax + 4]
push edi
call fcn.00410800
push 0x18
push dword [edi]
call fcn.00443e34
lea edi, [ebx + 0x100]
add esp, 8
mov eax, dword [edi + 8]
lea esi, [edi + 8]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00415020
push 0x18
push dword [esi]
call fcn.00443e34
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push dword [eax + 4]
push edi
call fcn.00410800
push 0x18
push dword [edi]
call fcn.00443e34
lea edi, [ebx + 0xf0]
add esp, 8
mov eax, dword [edi + 8]
lea esi, [edi + 8]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00415020
push 0x18
push dword [esi]
call fcn.00443e34
mov eax, dword [edi]
add esp, 8
push dword [eax + 4]
mov ecx, edi
push edi
call fcn.00410800
push 0x18
push dword [edi]
call fcn.00443e34
lea edi, [ebx + 0xe0]
add esp, 8
mov eax, dword [edi + 8]
lea esi, [edi + 8]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00415020
push 0x18
push dword [esi]
call fcn.00443e34
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push dword [eax + 4]
push edi
call fcn.00410800
push 0x18
push dword [edi]
call fcn.00443e34
lea edi, [ebx + 0xd0]
add esp, 8
mov eax, dword [edi + 8]
lea esi, [edi + 8]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00415020
push 0x18
push dword [esi]
call fcn.00443e34
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push dword [eax + 4]
push edi
call fcn.00410800
push 0x18
push dword [edi]
call fcn.00443e34
lea edi, [ebx + 0xc0]
add esp, 8
mov eax, dword [edi + 8]
lea esi, [edi + 8]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00415020
push 0x18
push dword [esi]
call fcn.00443e34
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push dword [eax + 4]
push edi
call fcn.00410800
push 0x18
push dword [edi]
call fcn.00443e34
lea edi, [ebx + 0xb0]
add esp, 8
mov eax, dword [edi + 8]
lea esi, [edi + 8]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00415020
push 0x18
push dword [esi]
call fcn.00443e34
mov eax, dword [edi]
add esp, 8
push dword [eax + 4]
push edi
mov ecx, edi
call fcn.00410800
push 0x18
push dword [edi]
call fcn.00443e34
lea edi, [ebx + 0xa0]
add esp, 8
mov eax, dword [edi + 8]
lea esi, [edi + 8]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00415020
push 0x18
push dword [esi]
call fcn.00443e34
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push dword [eax + 4]
push edi
call fcn.00410800
push 0x18
push dword [edi]
call fcn.00443e34
lea edi, [ebx + 0x90]
add esp, 8
mov eax, dword [edi + 8]
lea esi, [edi + 8]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00415020
push 0x18
push dword [esi]
call fcn.00443e34
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push dword [eax + 4]
push edi
call fcn.00410800
push 0x18
push dword [edi]
call fcn.00443e34
lea edi, [ebx + 0x80]
add esp, 8
mov eax, dword [edi + 8]
lea esi, [edi + 8]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00415020
push 0x18
push dword [esi]
call fcn.00443e34
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push dword [eax + 4]
push edi
call fcn.00410800
push 0x18
push dword [edi]
call fcn.00443e34
lea edi, [ebx + 0x70]
add esp, 8
mov eax, dword [edi + 8]
lea esi, [edi + 8]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00415020
push 0x18
push dword [esi]
call fcn.00443e34
mov eax, dword [edi]
add esp, 8
push dword [eax + 4]
push edi
mov ecx, edi
call fcn.00410800
push 0x18
push dword [edi]
call fcn.00443e34
add esp, 8
lea ecx, [ebx + 0x60]
call fcn.00412f40
lea ecx, [ebx + 0x50]
call fcn.00412f40
lea ecx, [ebx + 0x40]
call fcn.00412f40
lea ecx, [ebx + 0x30]
call fcn.00412f40
lea ecx, [ebx + 0x20]
call fcn.00412f40
lea ecx, [ebx + 0x10]
call fcn.00412f40
mov edx, dword [ebx + 0xc]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41371c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, ebx
call fcn.00401c00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret