Function at 0x527dca
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4de44d
call 0x575ad8
sub esp, 0xc
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
call fcn.00523840
push 0x513194
lea ecx, [ebx + 0x2e8]
mov dword [ebx + 4], 0x73
call 0x58d31f
xor edi, edi
push 0x44
mov dword [ebx + 0x2ec], edi
call 0x58c41a
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, edi
mov dword [ebp - 4], edi
je 0x527e1e
mov ecx, eax
call fcn.00513473
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 fcn.005155c8
call 0x58d204
lea ecx, [ebx + 0x1a8]
push esi
call 0x54d20a
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.0051c398
push 1
lea ecx, [edi + 0x30]
pop esi
push eax
mov dword [ebp - 4], esi
call 0x58d2cf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call 0x58d196
and dword [edi + 0x2c], 0
and dword [edi + 0x34], 0
lea ecx, [ebx + 0x14]
push edi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
call 0x58bba8
push 0x44
call 0x58c41a
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
mov dword [ebp - 4], 2
je 0x527eac
mov ecx, eax
call fcn.00513473
mov edi, eax
jmp 0x527eae
xor edi, edi
or dword [ebp - 4], 0xffffffff
push ecx
mov ebx, esp
mov dword [ebp - 0x14], esp
push ecx
mov dword [edi + 8], 0xd3
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x515ac0
call 0x58d204
push ebx
mov ebx, dword [ebp - 0x10]
lea ecx, [ebx + 0x1a8]
call 0x54d20a
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.0051c398
push eax
lea ecx, [edi + 0x30]
mov dword [ebp - 4], 3
call 0x58d2cf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call 0x58d196
and dword [edi + 0x2c], 0
lea ecx, [ebx + 0x14]
push edi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], 2
mov dword [ebp - 0x14], ecx
call 0x58bba8
push 0x8c
call 0x58c41a
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
mov dword [ebp - 4], 4
je 0x527f46
mov ecx, eax
call fcn.0050c7af
mov edi, eax
jmp 0x527f48
xor edi, edi
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
mov dword [edi + 8], 0x1f5
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x2c], esi
call fcn.0051c5b2
mov ecx, dword [ebp - 0x14]
push edi
mov dword [edi + 0x30], eax
mov dword [edi + 0x14], 3
call 0x58bba8
push 0x58
call 0x58c41a
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
mov dword [ebp - 4], 5
je 0x527f97
mov ecx, eax
call fcn.005106f3
mov edi, eax
jmp 0x527f99
xor edi, edi
or dword [ebp - 4], 0xffffffff
push ecx
mov ebx, esp
mov dword [ebp - 0x14], esp
push ecx
mov dword [edi + 8], 0x258
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x51647c
call 0x58d204
push ebx
mov ebx, dword [ebp - 0x10]
lea ecx, [ebx + 0x1a8]
call 0x54d20a
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.0051c398
push eax
lea ecx, [edi + 0x38]
mov dword [ebp - 4], 6
call 0x58d2cf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call 0x58d196
lea ecx, [ebx + 0x14]
push edi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x2c], esi
mov dword [edi + 0x14], 0x23
mov dword [edi + 0x30], 0x258
mov dword [edi + 0x34], 0x259
mov dword [ebp - 0x14], ecx
call 0x58bba8
push 0x58
call 0x58c41a
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
mov dword [ebp - 4], 7
je 0x52803b
mov ecx, eax
call fcn.005106f3
mov edi, eax
jmp 0x52803d
xor edi, edi
or dword [ebp - 4], 0xffffffff
push ecx
mov ebx, esp
mov dword [ebp - 0x18], esp
push ecx
mov dword [edi + 8], 0x259
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x516460
call 0x58d204
push ebx
mov ebx, dword [ebp - 0x10]
lea ecx, [ebx + 0x1a8]
call 0x54d20a
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.0051c398
push eax
lea ecx, [edi + 0x38]
mov dword [ebp - 4], 8
call 0x58d2cf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call 0x58d196
mov ecx, dword [ebp - 0x14]
and dword [edi + 0x2c], 0
push edi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], 0x28
mov dword [edi + 0x30], 0x258
mov dword [edi + 0x34], 0x259
call 0x58bba8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret