Function at 0x4f16b8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f19a4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x398]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
cmp dword [ebp - 8], 0
je 0x4f1986
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], 0
je 0x4f18ae
mov eax, dword [ebp - 4]
mov byte [eax + 0x465], 1
xor eax, eax
push ebp
push 0x4f182c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x374]
call fcn.004ac9e0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x370]
call fcn.004ac9e0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x360]
call fcn.004ac9e0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x378]
call fcn.004ac9e0
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x18]
call fcn.0040a340
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.00405630
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x364]
call fcn.004ac9e0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x28]
movsx edx, dl
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x368]
mov ecx, dword [eax]
call dword [ecx + 0xd0]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
call fcn.004ac9e0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x380]
call fcn.004ad0d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38c]
call fcn.004ee778
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 8]
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004f15c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f1833
mov eax, dword [ebp - 4]
mov byte [eax + 0x465], 0
ret
mov eax, dword [ebp - 4]
mov byte [eax + 0x465], 1
xor eax, eax
push ebp
push 0x4f197f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x374]
xor edx, edx
call fcn.004ac9e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x370]
xor edx, edx
call fcn.004ac9e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x360]
xor edx, edx
call fcn.004ac9e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x378]
xor edx, edx
call fcn.004ac9e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x364]
xor edx, edx
call fcn.004ac9e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x368]
or edx, 0xffffffff
mov ecx, dword [eax]
call dword [ecx + 0xd0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
xor edx, edx
call fcn.004ac9e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x380]
xor edx, edx
call fcn.004ad0d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38c]
call fcn.004ee778
mov edx, dword [eax]
call dword [edx + 0x44]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004f15c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f1986
mov eax, dword [ebp - 4]
mov byte [eax + 0x465], 0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f19ab
lea eax, [ebp - 0x10]
call fcn.00404c80
lea eax, [ebp - 0xc]
call fcn.0040544c
ret