Function at 0x4c5900
Capabilities:
Access peb ldr_data
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54094c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x58d984]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov word [ebx + 0xe], ax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x28], 0x100
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 2
lea esi, [ebx + 0x48]
mov dword [ebp - 0x10], esi
mov dword [esi + 0x24], 0
mov ecx, dword [ebp + 0x48]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x4c59d5
lea eax, [ebp + 0x24]
cmp ecx, eax
jne 0x4c59cb
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov ecx, dword [ebp + 0x48]
mov dword [esi + 0x24], eax
test ecx, ecx
je 0x4c59d5
mov edx, dword [ecx]
lea eax, [ebp + 0x24]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x4c59ce
mov dword [esi + 0x24], ecx
mov dword [ebp + 0x48], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x8c], 0
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x94], 0
mov dword [ebx + 0x98], 0
mov dword [ebx + 0x9c], 0
mov byte [ebx + 0xa0], 0
add ebx, 0xa4
mov byte [ebp - 4], 5
mov dword [ebp - 0x1c], ebx
lea edi, [ebx + 4]
fldz
mov ecx, edi
push 0
fstp dword [ebx]
mov dword [ebp - 0x10], edi
push 0
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.004c79e0
mov dword [edi], eax
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
fld1
lea ecx, [ebx + 0xc]
push 0x10
fstp dword [ebx]
mov byte [ebp - 4], 7
call fcn.004b03e0
mov eax, dword [edi]
lea ecx, [ebx + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0x10
call fcn.004b0670
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x48]
mov dword [ebx + 0x18], 7
mov dword [ebx + 0x1c], 8
mov dword [edi + 0xc4], 0
mov dword [edi + 0xc8], 0
mov dword [edi + 0xcc], 0
mov dword [edi + 0xd0], 0
mov dword [edi + 0xd4], 0
mov dword [edi + 0xd8], 0
mov dword [edi + 0xdc], 0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xe0], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0xe4], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0xe8], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0xec], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0xf0], eax
mov eax, dword [ebp + 0x20]
mov dword [edi + 0xf4], eax
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0xf
mov byte [ebp + 0xc], 0
test ecx, ecx
je 0x4c5b7e
mov esi, dword [ecx]
lea eax, [ebp + 0x24]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x44