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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d0a69
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x50f880]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x70], esi
fldz
lea eax, [esp + 0x30]
fstp qword [esp + 0x1c]
push eax
mov ecx, 0x4f497c
mov dword [esp + 0x18], vtable.OperationStatus.0
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.0041b050
mov byte [esp + 0x70], 1
mov edx, dword [0x50f008]
mov eax, dword [edx + 0xc]
mov ecx, 0x50f008
call eax
add eax, 0x10
mov ebx, 5
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], esi
mov edi, dword [ebp + 8]
lea ecx, [esp + 0x14]
push ecx
add edi, 0xc
push edi
mov dword [esp + 0x78], 2
call fcn.0041e710
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4c732d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c734d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004c6850
mov dword [esp + 0x10], eax
cmp eax, 0x80004004
jne 0x4c7416
mov dword [esp + 0x70], 3
fldz
lea edx, [esp + 0x30]
fstp qword [esp + 0x1c]
push edx
mov ecx, 0x4f497c
mov dword [esp + 0x18], vtable.OperationStatus.0
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.0041b050
mov byte [esp + 0x70], 4
mov eax, dword [0x50f008]
mov edx, dword [eax + 0xc]
mov ecx, 0x50f008
call edx
add eax, 0x10
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], esi
lea eax, [esp + 0x14]
push eax
push edi
mov dword [esp + 0x78], ebx
call fcn.0041e710
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c73f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c7440
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4c7440
push esi
cmp eax, esi
jl 0x4c7459
push 6
push ebx
lea ecx, [esp + 0x20]
push ecx
call fcn.0041e570
push eax
push edi
mov dword [esp + 0x78], 6
call fcn.0041e710
lea esi, [esp + 0x14]
call fcn.0041e6c0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 8
push ebx
lea edx, [esp + 0x48]
push edx
call fcn.0041e570
push eax
push edi
mov dword [esp + 0x78], 7
call fcn.0041e710
lea esi, [esp + 0x3c]
mov dword [esp + 0x70], 0xffffffff
call fcn.0041e6c0
mov eax, dword [esp + 0x10]
push eax
call fcn.0041b5f0
int3