Function at 0x507cd1
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4cdc40
call 0x555c54
sub esp, 0x1c
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
call fcn.00504599
xor edx, edx
lea edi, [ebx + 0x4fc]
lea esi, [ebp - 0x28]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
push 0xffffffffffffff9d
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x2ec]
mov ecx, 0x80
pop eax
mov dword [ebx + 0x4f0], edx
mov dword [ebx + 0x4f4], edx
mov dword [ebx + 0x4f8], edx
mov dword [ebx + 0x2e8], edx
mov dword [ebx + 4], 0x91
rep stosd dword es:[edi], eax
push 0x40
mov dword [ebx + 0x4ec], edx
call 0x56c164
pop ecx
mov dword [ebp - 0x18], eax
xor edi, edi
cmp eax, edi
mov dword [ebp - 4], edi
je 0x507d58
mov ecx, eax
call fcn.004f6233
mov edi, eax
or dword [ebp - 4], 0xffffffff
push ecx
mov esi, esp
mov dword [ebp - 0x14], esp
push ecx
mov dword [edi + 8], 0xcb
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x5005cc
call 0x56c491
lea ecx, [ebx + 0x1a8]
push esi
call 0x52e4ed
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.004fd8e8
xor esi, esi
push eax
inc esi
lea ecx, [edi + 0x30]
mov dword [ebp - 4], esi
call 0x56c55c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call 0x56c423
and dword [edi + 0x2c], 0
add ebx, 0x14
push edi
mov ecx, ebx
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
call 0x56b166
push 0x40
call 0x56c164
pop ecx
mov dword [ebp - 0x18], eax
push 2
pop edi
test eax, eax
mov dword [ebp - 4], edi
je 0x507de1
mov ecx, eax
call fcn.004f5630
jmp 0x507de3
xor eax, eax
or dword [ebp - 4], 0xffffffff
push eax
mov ecx, ebx
mov dword [eax + 8], 0x3e8
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edi
call 0x56b166
push 0x40
call 0x56c164
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
mov dword [ebp - 4], 3
je 0x507e20
mov ecx, eax
call fcn.004f6233
mov edi, eax
jmp 0x507e22
xor edi, edi
or dword [ebp - 4], 0xffffffff
push ecx
mov ebx, esp
mov dword [ebp - 0x14], esp
push ecx
mov dword [edi + 8], 0xc8
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x5011e4
call 0x56c491
push ebx
mov ebx, dword [ebp - 0x10]
lea ecx, [ebx + 0x1a8]
call 0x52e4ed
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.004fd8e8
push eax
lea ecx, [edi + 0x30]
mov dword [ebp - 4], 4
call 0x56c55c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call 0x56c423
and dword [edi + 0xc], 0
and dword [edi + 0x2c], 0
lea ecx, [ebx + 0x14]
push edi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], 3
mov dword [ebp - 0x14], ecx
call 0x56b166
push 0x40
call 0x56c164
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
mov dword [ebp - 4], 5
je 0x507eb8
mov ecx, eax
call fcn.004f6233
mov edi, eax
jmp 0x507eba
xor edi, edi
or dword [ebp - 4], 0xffffffff
push ecx
mov ebx, esp
mov dword [ebp - 0x18], esp
push ecx
mov dword [edi + 8], 0xd0
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x5009ec
call 0x56c491
push ebx
mov ebx, dword [ebp - 0x10]
lea ecx, [ebx + 0x1a8]
call 0x52e4ed
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.004fd8e8
push eax
lea ecx, [edi + 0x30]
mov dword [ebp - 4], 6
call 0x56c55c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call 0x56c423
mov ecx, dword [ebp - 0x14]
and dword [edi + 0xc], 0
and dword [edi + 0x2c], 0
push edi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], 4
call 0x56b166
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret