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

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
test dl, dl
je 0x51ac03
add esp, 0xfffffff0
call fcn.00406534
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x51aed2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, dword [0x443e5c]
call fcn.004099f0
push 4
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x443e5c]
call fcn.004099e4
add esp, 4
mov eax, dword [ebp - 4]
mov edx, 0x51af04
call fcn.00407f54
mov eax, dword [ebp - 4]
add eax, 4
mov edx, 0x51af24
call fcn.00407f54
mov eax, dword [ebp - 4]
add eax, 8
mov edx, 0x51af44
call fcn.00407f54
mov eax, dword [ebp - 4]
add eax, 0xc
mov edx, 0x51af94
call fcn.00407f54
mov edx, dword [ebp - 4]
lea eax, [esi + 4]
mov ecx, dword [0x443e5c]
call fcn.00409a2c
lea eax, [ebp - 8]
mov edx, dword [0x443e5c]
call fcn.004099f0
push 0x1a
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x443e5c]
call fcn.004099e4
add esp, 4
mov eax, dword [ebp - 8]
mov edx, 0x51afc8
call fcn.00407f54
mov eax, dword [ebp - 8]
add eax, 4
mov edx, 0x51aff0
call fcn.00407f54
mov eax, dword [ebp - 8]
add eax, 8
mov edx, 0x51b01c
call fcn.00407f54
mov eax, dword [ebp - 8]
add eax, 0xc
mov edx, 0x51b048
call fcn.00407f54
mov eax, dword [ebp - 8]
add eax, 0x10
mov edx, 0x51b074
call fcn.00407f54
mov eax, dword [ebp - 8]
add eax, 0x14
mov edx, 0x51b0a0
call fcn.00407f54
mov eax, dword [ebp - 8]
add eax, 0x18
mov edx, 0x51b0cc
call fcn.00407f54
mov eax, dword [ebp - 8]
add eax, 0x1c
mov edx, 0x51b0f8
call fcn.00407f54
mov eax, dword [ebp - 8]
add eax, 0x20
mov edx, 0x51b124
call fcn.00407f54
mov eax, dword [ebp - 8]
add eax, 0x24
mov edx, 0x51b14c
call fcn.00407f54
mov eax, dword [ebp - 8]
add eax, 0x28
mov edx, 0x51b174
call fcn.00407f54
mov eax, dword [ebp - 8]
add eax, 0x2c
mov edx, 0x51b1ac
call fcn.00407f54
mov eax, dword [ebp - 8]
add eax, 0x30
mov edx, 0x51b1e4
call fcn.00407f54
mov eax, dword [ebp - 8]
add eax, 0x34
mov edx, 0x51b208
call fcn.00407f54
mov eax, dword [ebp - 8]
add eax, 0x38
mov edx, 0x51b238
call fcn.00407f54
mov eax, dword [ebp - 8]
add eax, 0x3c
mov edx, 0x51b26c
call fcn.00407f54
mov eax, dword [ebp - 8]
add eax, 0x40
mov edx, 0x51b2ac
call fcn.00407f54
mov eax, dword [ebp - 8]
add eax, 0x44
mov edx, 0x51b2e0
call fcn.00407f54
mov eax, dword [ebp - 8]
add eax, 0x48
mov edx, 0x51b318
call fcn.00407f54
mov eax, dword [ebp - 8]
add eax, 0x4c
mov edx, 0x51b34c
call fcn.00407f54
mov eax, dword [ebp - 8]
add eax, 0x50
mov edx, 0x51b380
call fcn.00407f54
mov eax, dword [ebp - 8]
add eax, 0x54
mov edx, 0x51b3b4
call fcn.00407f54
mov eax, dword [ebp - 8]
add eax, 0x58
mov edx, 0x51b3f8
call fcn.00407f54
mov eax, dword [ebp - 8]
add eax, 0x5c
mov edx, 0x51b43c
call fcn.00407f54
mov eax, dword [ebp - 8]
add eax, 0x60
mov edx, 0x51b48c
call fcn.00407f54
mov eax, dword [ebp - 8]
add eax, 0x64
mov edx, 0x51b4e4
call fcn.00407f54
mov edx, dword [ebp - 8]
lea eax, [esi + 8]
mov ecx, dword [0x443e5c]
call fcn.00409a2c
lea eax, [ebp - 0xc]
mov edx, dword [0x443e5c]
call fcn.004099f0
push 2
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x443e5c]
call fcn.004099e4
add esp, 4
mov eax, dword [ebp - 0xc]
mov edx, 0x51b530
call fcn.00407f54
mov eax, dword [ebp - 0xc]
add eax, 4
mov edx, 0x51b558
call fcn.00407f54
mov edx, dword [ebp - 0xc]
lea eax, [esi + 0xc]
mov ecx, dword [0x443e5c]
call fcn.00409a2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51aed9
lea eax, [ebp - 0xc]
mov edx, dword [0x443e5c]
mov ecx, 3
call fcn.00408f38
ret