Function at 0x503cff
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4cd4c3
call 0x555c54
sub esp, 0x14
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
call fcn.00504599
xor edi, edi
push 0x40
mov dword [ebx + 4], 0xa0
mov dword [ebx + 0x2e0], edi
call 0x56c164
pop ecx
mov dword [ebp - 0x20], eax
cmp eax, edi
mov dword [ebp - 4], edi
je 0x503d43
mov ecx, eax
call fcn.004f6233
mov edi, eax
or dword [ebp - 4], 0xffffffff
push ecx
mov esi, esp
mov dword [ebp - 0x20], esp
push ecx
mov dword [edi + 8], 0xcb
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x5005cc
call 0x56c491
lea ecx, [ebx + 0x1a8]
push esi
call 0x52e4ed
lea eax, [ebp - 0x18]
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 - 0x18]
call 0x56c423
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], esi
mov dword [ebp - 0x18], ecx
call 0x56b166
push 0x40
call 0x56c164
pop ecx
mov dword [ebp - 0x20], eax
test eax, eax
mov dword [ebp - 4], 2
je 0x503dd0
mov ecx, eax
call fcn.004f6233
mov edi, eax
jmp 0x503dd2
xor edi, edi
or dword [ebp - 4], 0xffffffff
push ecx
mov ebx, esp
mov dword [ebp - 0x20], esp
push ecx
mov dword [edi + 8], 0xcc
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x5005a4
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 3
lea ecx, [edi + 0x30]
pop ebx
push eax
mov dword [ebp - 4], ebx
call 0x56c55c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call 0x56c423
mov ecx, dword [ebp - 0x18]
and dword [edi + 0x2c], 0
push edi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], ebx
call 0x56b166
push 0x84
call 0x56c164
pop ecx
mov dword [ebp - 0x20], eax
test eax, eax
mov dword [ebp - 4], 4
je 0x503e60
mov ecx, eax
call fcn.004f14e3
jmp 0x503e62
xor eax, eax
or dword [ebp - 4], 0xffffffff
push ecx
mov ebx, esp
mov dword [ebp - 0x20], esp
push ecx
mov edi, 0x500d24
mov ecx, esp
mov dword [ebp - 0x20], esp
push edi
mov dword [ebp - 0x14], eax
mov dword [eax + 8], 0x578
call 0x56c491
push ebx
mov ebx, dword [ebp - 0x10]
lea ecx, [ebx + 0x1a8]
call 0x52e4ed
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.004fd8e8
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 5
lea ecx, [eax + 0x2c]
call 0x56c55c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call 0x56c423
push ecx
mov ebx, esp
mov dword [ebp - 0x20], esp
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push edi
mov dword [ebp - 0x20], eax
call 0x56c491
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [edi + 0x1a8]
call 0x52e4ed
push ebx
mov ecx, edi
call fcn.004fd8e8
mov edi, dword [ebp - 0x14]
mov ecx, edi
call fcn.004f1d9f
mov ecx, dword [ebp - 0x18]
and dword [edi + 0x30], 0
push edi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], 2
call 0x56b166
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret