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

Disassembly:
push 0xffffffffffffffff
push 0x50c8c2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x28]
push edi
push eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x1c], esi
call fcn.005629fc
mov eax, dword [esp + 0x24]
xor ebx, ebx
lea edi, [esi + 0x90]
mov dword [esp + 0x1c], ebx
mov ecx, edi
mov dword [esi + 0x88], eax
mov dword [esp + 0x30], edi
call fcn.006069b4
mov byte [esp + 0x1c], 1
mov dword [edi + 0x14], ebx
lea ecx, [esi + 0xa8]
mov byte [esp + 0x1c], 2
call fcn.00550d6c
lea edi, [esi + 0x154]
mov byte [esp + 0x1c], 3
mov ecx, edi
mov dword [esp + 0x30], edi
call fcn.006069b4
mov byte [esp + 0x1c], 4
mov dword [edi + 0x14], ebx
lea ecx, [esi + 0x16c]
mov byte [esp + 0x1c], 5
call fcn.0055015c
lea edi, [esi + 0x21c]
mov byte [esp + 0x1c], 6
mov dword [esp + 0x30], edi
lea ebp, [edi + 8]
mov ecx, ebp
mov dword [esp + 0x2c], ebp
call fcn.00606d0c
mov byte [esp + 0x1c], 7
mov ecx, ebp
mov dword [ebp], 0x51d684
call fcn.00556b1c
or ebp, 0xffffffff
mov byte [esp + 0x1c], 8
mov dword [edi], ebp
mov byte [edi + 4], bl
push ebx
lea ecx, [esi + 0x698]
mov byte [esp + 0x20], 9
call fcn.00551adc
lea edi, [esi + 0xd8c]
mov byte [esp + 0x1c], 0xa
xor ecx, ecx
mov dword [esp + 0x30], edi
lea edx, [edi + 0xc]
mov dword [edi], 0x51ed6c
mov dword [edi + 4], ebx
mov dword [edi + 8], 0xc000
mov dword [edx], ecx
xor eax, eax
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
lea ecx, [edi + 0x1c]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
lea eax, [edi + 0x2c]
mov byte [esp + 0x1c], 0xb
mov dword [esp + 0x2c], eax
mov byte [esp + 0x1c], 0xc
mov dword [eax], 0x51ed60
mov dword [eax + 4], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 8], ebx
lea ecx, [edi + 0xc8]
mov byte [esp + 0x1c], 0xd
call fcn.005528fc
mov byte [esp + 0x1c], 0xe
mov ecx, edi
mov dword [edi], 0x51ed30
mov dword [edi + 0xc0], ebx
mov dword [edi + 0xc4], ebp
call fcn.005998ac
lea edi, [esi + 0x12c8]
mov byte [esp + 0x1c], 0xf
xor edx, edx
xor ecx, ecx
lea eax, [edi + 0xc]
mov dword [edi], 0x51ed6c
mov dword [edi + 4], ebx
mov dword [edi + 8], 0xc000
mov dword [eax], edx
mov dword [esp + 0x30], edi
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
lea edx, [edi + 0x1c]
mov dword [edi + 0x1c], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
lea ecx, [edi + 0x2c]
mov byte [esp + 0x1c], 0x10
call fcn.005740ac
lea ecx, [edi + 0xc8]
mov byte [esp + 0x1c], 0x11
call fcn.005528fc
mov byte [esp + 0x1c], 0x12
mov ecx, edi
mov dword [edi], 0x51ed30
mov dword [edi + 0xc0], ebx
mov dword [edi + 0xc4], ebp
call fcn.005998ac
lea edi, [esi + 0x1804]
mov byte [esp + 0x1c], 0x13
xor eax, eax
xor edx, edx
lea ecx, [edi + 0xc]
mov dword [edi], 0x51ed6c
mov dword [edi + 4], ebx
mov dword [edi + 8], 0xc000
mov dword [ecx], eax
mov dword [esp + 0x30], edi
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
lea eax, [edi + 0x1c]
mov dword [edi + 0x1c], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov byte [esp + 0x1c], 0x14
lea ecx, [edi + 0x2c]
call fcn.005740ac
lea ecx, [edi + 0xc8]
mov byte [esp + 0x1c], 0x15
call fcn.005528fc
mov byte [esp + 0x1c], 0x16
mov ecx, edi
mov dword [edi], 0x51ed30
mov dword [edi + 0xc0], ebx
mov dword [edi + 0xc4], ebp
call fcn.005998ac
lea ecx, [esi + 0x1d40]
mov byte [esp + 0x1c], 0x17
call fcn.0057444c
mov byte [esp + 0x1c], 0x18
mov ecx, esi
mov dword [esi], 0x524550
call fcn.0056fc4c
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
mov dword [esp + 0x18], ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10