Function at 0x584b10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x73b0a0
push eax
mov dword fs:[0], esp
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebx], 0x7989c8
push 0x24
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
call fcn.00512870
add esp, 4
lea ecx, [ebx + 0x10]
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebx + 8], eax
push eax
push 0x10
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
call fcn.00491eb0
mov ecx, dword [ebx + 8]
mov eax, dword [edi + 8]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [edi + 8], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [edi + 0xc], ecx
mov ecx, dword [ebx + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [edi + 0x10], ecx
mov ecx, dword [ebx + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [edi + 0x14], ecx
mov ecx, dword [ebx + 0x18]
mov dword [ebx + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], 7
mov dword [ebx + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [edi + 0x20], 8
mov dword [ebx + 0x20], eax
push 0x2c
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
call fcn.00512870
push 0x30
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebx + 0x24], eax
mov ecx, dword [edi + 0x24]
mov dword [ebx + 0x24], ecx
mov dword [edi + 0x24], eax
mov ecx, dword [ebx + 0x28]
mov eax, dword [edi + 0x28]
mov dword [ebx + 0x28], eax
mov dword [edi + 0x28], ecx
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
call fcn.00512870
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebx + 0x2c], eax
mov ecx, dword [edi + 0x2c]
mov dword [ebx + 0x2c], ecx
mov dword [edi + 0x2c], eax
mov ecx, dword [ebx + 0x30]
mov eax, dword [edi + 0x30]
mov dword [ebx + 0x30], eax
mov dword [edi + 0x30], ecx
push 0x30
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
call fcn.00512870
push 0x30
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebx + 0x34], eax
mov ecx, dword [edi + 0x34]
mov dword [ebx + 0x34], ecx
mov dword [edi + 0x34], eax
mov ecx, dword [ebx + 0x38]
mov eax, dword [edi + 0x38]
mov dword [ebx + 0x38], eax
mov dword [edi + 0x38], ecx
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
call fcn.00512870
push 0x40
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebx + 0x3c], eax
mov ecx, dword [edi + 0x3c]
mov dword [ebx + 0x3c], ecx
mov dword [edi + 0x3c], eax
mov ecx, dword [ebx + 0x40]
mov eax, dword [edi + 0x40]
mov dword [ebx + 0x40], eax
mov dword [edi + 0x40], ecx
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
call fcn.00512870
add esp, 0x14
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebx + 0x44], eax
mov ecx, dword [edi + 0x44]
mov dword [ebx + 0x44], ecx
mov dword [edi + 0x44], eax
mov ecx, dword [ebx + 0x48]
mov eax, dword [edi + 0x48]
mov dword [ebx + 0x48], eax
mov dword [edi + 0x48], ecx
mov eax, dword [edi + 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x4c], eax
mov eax, ebx
mov dword [edi + 0x4c], 0
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4