Function at 0x4c4ef4
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
test dl, dl
je 0x4c4f14
add esp, 0xfffffff0
call fcn.00404aac
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
lea eax, [ebp - 4]
call fcn.00406478
lea eax, [ebp + 0x10]
call fcn.00406478
lea eax, [ebp + 0xc]
call fcn.00406478
lea eax, [ebp + 8]
call fcn.00406478
xor eax, eax
push ebp
push 0x4c516e
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, edi
call fcn.00404718
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.004061e8
jne 0x4c4f74
mov ecx, 0x4c51a0
mov dl, 1
mov eax, dword [0x4b50d8]
call fcn.004106cc
call fcn.00404ffc
mov eax, dword [ebp + 0x10]
xor edx, edx
call fcn.004061e8
jne 0x4c4f96
mov ecx, 0x4c51c4
mov dl, 1
mov eax, dword [0x4b50d8]
call fcn.004106cc
call fcn.00404ffc
mov eax, dword [ebp + 0xc]
xor edx, edx
call fcn.004061e8
jne 0x4c4fb8
mov ecx, 0x4c51f0
mov dl, 1
mov eax, dword [0x4b50d8]
call fcn.004106cc
call fcn.00404ffc
lea eax, [edi + 8]
mov edx, dword [ebp - 4]
call fcn.00405ef8
mov byte [edi + 0x84], 0
mov eax, dword [ebp + 8]
push eax
push 1
mov ecx, dword [0x4c32fc]
mov dl, 1
mov eax, dword [0x492304]
call fcn.00492bb0
mov esi, eax
mov dword [edi + 0x6c], esi
cmp dword [esi + 8], 0
setne al
mov byte [edi + 0x68], al
mov dword [edi + 0x70], 0xffffffff
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4c3260]
call fcn.004c7ef0
mov dword [edi + 0x7c], eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0040bcac
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 4]
call fcn.00405f20
lea edx, [ebp - 0x18]
mov eax, dword [ebp + 0x10]
call fcn.0040bcac
mov edx, dword [ebp - 0x18]
lea eax, [ebp + 0x10]
call fcn.00405f20
lea edx, [ebp - 0x1c]
mov eax, dword [ebp + 0xc]
call fcn.0040bcac
mov edx, dword [ebp - 0x1c]
lea eax, [ebp + 0xc]
call fcn.00405f20
call fcn.0040e830
fstp qword [ebp - 0x10]
wait
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x58], eax
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x60], eax
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x64], eax
mov dword [edi + 4], 2
lea eax, [edi + 0x38]
mov edx, dword [ebp + 0x10]
call fcn.00405ef8
lea eax, [edi + 0x3c]
call fcn.00405ebc
lea eax, [edi + 0x40]
mov edx, dword [ebp + 0xc]
call fcn.00405ef8
mov dword [edi + 0xc], 0xffffffff
lea eax, [edi + 0x44]
call fcn.00405ebc
lea eax, [edi + 0x48]
call fcn.00405ebc
call fcn.0040e830
fstp qword [edi + 0x50]
wait
xor eax, eax
mov dword [edi + 0x10], eax
xor eax, eax
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [edi + 0x18], eax
mov byte [edi + 0x1c], 0
mov byte [edi + 0x1d], 0
xor eax, eax
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
call fcn.00405ebc
lea eax, [edi + 0x28]
call fcn.00405ebc
xor eax, eax
mov dword [edi + 0x2c], eax
xor eax, eax
mov dword [edi + 0x30], eax
xor eax, eax
mov dword [edi + 0x34], eax
mov byte [edi + 0x85], 1
mov dl, 1
mov eax, dword [0x49236c]
call fcn.0047dc88
mov esi, eax
mov dword [edi + 0x88], esi
mov eax, esi
mov dl, 1
call fcn.0047eb30
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4c91a4]
call fcn.004c9210
mov dword [edi + 0x80], eax
mov dl, 1
mov eax, dword [0x4924c4]
call fcn.00492fa8
mov dword [edi + 0x8c], eax
xor eax, eax
mov dword [edi + 0x98], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c5175
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00405ed4
lea eax, [ebp - 4]
call fcn.00405ebc
lea eax, [ebp + 8]
mov edx, 3
call fcn.00405ed4
ret