Function at 0x532388
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
test dl, dl
je 0x5323a0
add esp, 0xfffffff0
call fcn.00404174
mov ebx, ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5325e6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov byte [ebp - 0xd], 0
test ebx, ebx
je 0x5323da
mov eax, ebx
mov edx, dword [0x525450]
call fcn.00403f9c
test al, al
je 0x5323da
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x5323f7
mov eax, ebx
call fcn.0053748c
test eax, eax
jne 0x5323f7
mov eax, dword [ebp - 0xc]
call fcn.0053a7a4
mov byte [ebp - 0xd], 1
xor eax, eax
push ebp
push 0x5325c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, ebx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0042104c
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], 7
mov eax, dword [ebp - 4]
mov byte [eax + 0x12], 0
mov dl, 1
mov eax, dword [0x42f5b4]
call fcn.00430e08
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x44], ebx
mov eax, dword [ebp - 4]
call fcn.00532bd8
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x532dcc
mov eax, dword [ebp - 4]
mov byte [eax + 0x5c], 3
lea edx, [ebp - 0x14]
mov eax, dword [0x5a8820]
mov eax, dword [eax]
call fcn.0047a100
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, 0x60
call fcn.00404e84
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebp - 4]
mov dword [edx + 0x48], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x28]
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x132], 1
mov eax, dword [ebp - 4]
call fcn.00533100
mov edx, dword [ebp - 4]
mov dword [edx + 0x144], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0xd8], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x84], 0xffffffff
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], 0x80000000
mov word [eax + 0x70], 0x3fff
mov eax, dword [ebp - 4]
mov byte [eax + 0xb9], 1
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x34], ebx
mov eax, dword [ebp - 4]
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x18], 0x536130
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4e2678]
call fcn.004e7bec
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], ebx
mov eax, dword [ebp - 4]
mov dword [ebx + 0x1c], eax
mov eax, dword [eax]
mov eax, dword [eax + 0x64]
mov dword [ebx + 0x18], eax
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x5274d4]
call fcn.00560f54
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4e2e84]
call fcn.004e9800
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp - 4]
mov dword [edx + 0xe0], eax
mov dl, 1
mov eax, dword [0x46c538]
call fcn.00403de0
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x58], ebx
mov eax, dword [ebp - 4]
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], 0x533e14
mov eax, dword [ebp - 4]
mov byte [eax + 0xba], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5325d0
cmp dword [ebp - 0xc], 0
setne al
and al, byte [ebp - 0xd]
je 0x5325c8
mov eax, dword [ebp - 0xc]
call fcn.0053a810
ret