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

Disassembly:
mov eax, 0x6da01a
call fcn.006899cc
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x18], edi
mov dword [edi + 4], ebx
mov dword [ebp - 4], ebx
mov dword [edi + 8], 0x7070d0
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 1
mov dword [edi], 0x713d3c
mov dword [edi + 8], 0x713d58
call fcn.004df6ce
push 7
pop ecx
xor eax, eax
mov dword [edi + 0x84], ebx
mov dword [edi + 0x94], ebx
mov dword [edi + 0x98], ecx
mov word [edi + 0x84], ax
mov dword [edi + 0x9c], ebx
mov dword [edi + 0xac], ebx
mov dword [edi + 0xb0], ecx
mov word [edi + 0x9c], ax
mov dword [edi + 0xdc], ebx
mov dword [edi + 0xe0], ebx
mov dword [edi + 0xe4], ebx
lea esi, [edi + 0xf8]
mov byte [ebp - 4], 4
mov dword [ebp - 0x14], esi
push esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.004a5ebb
mov dword [esi], eax
push 0xf
pop eax
mov dword [edi + 0x144], ebx
mov dword [edi + 0x154], ebx
mov dword [edi + 0x158], eax
mov byte [edi + 0x144], bl
mov dword [edi + 0x168], ebx
mov dword [edi + 0x178], ebx
mov dword [edi + 0x17c], eax
mov byte [edi + 0x168], bl
mov dword [edi + 0x188], ebx
mov dword [edi + 0x198], ebx
mov dword [edi + 0x19c], eax
mov byte [edi + 0x188], bl
fldz
or esi, 0xffffffff
fst dword [edi + 0x10]
fld dword [0x70998c]
fstp dword [edi + 0x78]
mov byte [ebp - 4], 8
mov dword [edi + 0x180], ebx
mov byte [edi + 0x1a0], bl
mov dword [edi + 0x28], ebx
mov dword [edi + 0x6c], ebx
mov dword [edi + 0x38], ebx
mov byte [edi + 0x70], bl
mov dword [edi + 0x34], ebx
mov dword [edi + 0x68], ebx
mov dword [edi + 0x2c], esi
mov dword [edi + 0x30], esi
mov dword [edi + 0x74], esi
mov byte [edi + 0x3c], bl
mov dword [edi + 0x7c], ebx
mov dword [edi + 0x80], ebx
mov dword [edi + 0x40], esi
mov dword [edi + 0x44], ebx
and byte [edi + 0xec], 0x18
and byte [edi + 0x185], 0xfe
fst dword [edi + 0x60]
fstp dword [edi + 0x64]
mov dword [edi + 0x48], ebx
mov dword [edi + 0x4c], ebx
mov dword [edi + 0x50], ebx
mov dword [edi + 0x58], ebx
mov dword [edi + 0x5c], ebx
mov dword [edi + 0xc0], ebx
mov dword [edi + 0xc8], ebx
mov dword [edi + 0xcc], ebx
mov dword [edi + 0xd0], ebx
mov dword [edi + 0xb8], ebx
mov dword [edi + 0xbc], ebx
mov dword [edi + 0xd4], ebx
mov dword [edi + 0xe8], ebx
mov byte [edi + 0xed], bl
mov dword [edi + 0x100], ebx
mov dword [edi + 0x104], ebx
mov dword [edi + 0x108], ebx
mov dword [edi + 0x138], ebx
mov dword [edi + 0x13c], ebx
call fcn.00473a26
mov dword [edi + 0x128], eax
mov dword [edi + 0x12c], edx
mov dword [edi + 0x130], eax
mov dword [edi + 0x134], edx
mov dword [edi + 0x110], esi
mov dword [edi + 0x114], esi
mov dword [edi + 0x118], esi
mov dword [edi + 0x11c], esi
mov dword [edi + 0x120], esi
mov dword [edi + 0x124], esi
mov dword [edi + 0xf0], ebx
mov dword [edi + 0xf4], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x140], ebx
mov dword [edi + 0x160], ebx
mov dword [edi + 0x164], ebx
mov byte [ebp - 0xd], 1
call fcn.00489fdc
and byte [edi + 0xec], 0xef
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x7f2068
mov byte [ebp - 4], 9
mov dword [edi + 0xd8], 8
mov byte [edi + 0x184], bl
mov dword [ebp - 0x14], edi
call fcn.0045e5d7
mov byte [ebp - 4], 0xa
call fcn.0048a01d
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret