Function at 0x48a468
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x2a
push 0
push 0
dec ecx
jne 0x48a471
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
call fcn.00404ff0
xor eax, eax
push ebp
push 0x48a7ac
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x48a558
push dword fs:[eax]
mov dword fs:[eax], esp
test byte [0x4d3c6c], 4
je 0x48a4d1
lea edx, [ebp - 0x14]
mov eax, dword [0x4886e8]
call fcn.004888d0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.00406194
jmp 0x48a538
test byte [0x4d3c6c], 2
je 0x48a4f7
lea edx, [ebp - 0x18]
mov eax, dword [0x48868c]
call fcn.0048886c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.00406194
jmp 0x48a538
test byte [0x4d3c6c], 1
je 0x48a51d
lea edx, [ebp - 0x1c]
mov eax, dword [0x488630]
call fcn.00488808
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.00406194
jmp 0x48a538
lea edx, [ebp - 0x20]
mov eax, dword [0x4d2410]
call fcn.0040665c
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x20]
or ecx, 0xffffffff
call fcn.004946a0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xfc]
call fcn.0040628c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48a5c8
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00404ed8
je 0x48a613
lea eax, [ebp - 0x138]
call fcn.0040617c
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xbc]
call fcn.0040628c
mov eax, dword [ebp - 0x138]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xb8]
call fcn.0040628c
cmp byte [ebp - 9], 0
jne 0x48a642
lea eax, [ebp - 0x10]
call fcn.0040617c
push eax
push 0x48a7c0
push 0x48a804
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xd0]
call fcn.0040628c
jmp 0x48a669
lea eax, [ebp - 0x10]
call fcn.0040617c
push eax
push 0x48a810
push 0x48a804
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xd0]
call fcn.0040628c
lea eax, [ebp - 0x13c]
call fcn.0040617c
push eax
lea eax, [ebp - 0x150]
call fcn.0040617c
push eax
push 0
lea eax, [ebp - 0x154]
call fcn.0040617c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.0040628c
mov eax, dword [ebp - 0x154]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.0040628c
mov edx, dword [ebp - 0x150]
lea eax, [ebp - 0x14c]
call fcn.00414888
push dword [ebp - 0x140]
push dword [ebp - 0x144]
push dword [ebp - 0x148]
push dword [ebp - 0x14c]
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x48]
call fcn.0040628c
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x120]
call fcn.0040628c
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x118]
call fcn.0040628c
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x110]
call fcn.0040628c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a7b3
lea eax, [ebp - 0x154]
call fcn.0040617c
lea eax, [ebp - 0x150]
call fcn.0040617c
lea eax, [ebp - 0x14c]
call fcn.00410158
lea eax, [ebp - 0x13c]
call fcn.0040617c
lea eax, [ebp - 0x138]
call fcn.0040617c
lea eax, [ebp - 0x134]
call fcn.00404654
lea eax, [ebp - 0x20]
call fcn.00404654
lea eax, [ebp - 0x1c]
mov edx, dword [0x4885f0]
mov ecx, 3
call fcn.0040512c
lea eax, [ebp - 0x10]
call fcn.0040617c
lea eax, [ebp - 8]
call fcn.00404d60
ret