Function at 0x4f9f54
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov ebx, eax
call fcn.0049a194
mov eax, ebx
call fcn.004f9f08
test al, al
jne 0x4f9f77
mov byte [ebp - 1], 0
jmp 0x4fa1b6
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax + 0x28]
cmp dword [ecx + 8], 0
jne 0x4f9f8c
mov eax, dword [eax + 0xc]
cmp dword [eax + 4], 0xb
je 0x4f9fa9
mov edx, dword [ebx + 0x30]
mov eax, dword [edx + 0x28]
cmp dword [eax + 8], 0xb
jne 0x4fa068
mov eax, dword [edx + 0xc]
cmp dword [eax + 4], 0xb
jne 0x4fa068
mov ecx, dword [ebx + 0x48]
mov dl, 1
mov eax, dword [0x4ed67c]
call fcn.004f1d98
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4fa061
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x14]
mov eax, dword [ebx + 0x118]
call fcn.004f082c
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov eax, dword [ebx + 0x118]
call fcn.004f088c
mov edx, dword [ebx + 0x118]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0xc]
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.004efb18
mov dl, 2
mov eax, dword [ebp - 8]
call fcn.004f1f50
mov esi, dword [ebx + 0x50]
test esi, esi
je 0x4fa01f
sub esi, 4
mov esi, dword [esi]
mov eax, dword [ebx + 0x50]
call fcn.00405878
push eax
push esi
mov eax, dword [ebx + 0x9c]
mov edx, dword [ebx + 0x90]
add edx, eax
mov ecx, dword [ebx + 0x98]
mov eax, dword [ebp - 8]
call fcn.004ef950
test al, al
sete byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fa1b6
lea eax, [ebp - 8]
call fcn.00499db4
ret
mov edx, dword [ebx + 0x30]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x4fa081
cmp dword [eax + 4], 0xc
jne 0x4fa081
mov byte [ebp - 1], 0
jmp 0x4fa1b6
mov eax, dword [edx + 0x28]
mov eax, dword [eax + 8]
test eax, eax
jne 0x4fa11c
mov ecx, dword [ebx + 0x48]
mov dl, 1
mov eax, dword [0x4ed67c]
call fcn.004f1d98
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4fa115
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebx + 0x118]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0xc]
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.004efb18
mov esi, dword [ebx + 0x50]
test esi, esi
je 0x4fa0d3
sub esi, 4
mov esi, dword [esi]
mov eax, dword [ebx + 0x50]
call fcn.00405878
push eax
push esi
mov eax, dword [ebx + 0x9c]
mov edx, dword [ebx + 0x90]
add edx, eax
mov ecx, dword [ebx + 0x98]
mov eax, dword [ebp - 8]
call fcn.004ef950
test al, al
sete byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fa1b6
lea eax, [ebp - 8]
call fcn.00499db4
ret
cmp eax, 4
jne 0x4fa1b2
mov ecx, dword [ebx + 0x48]
mov dl, 1
mov eax, dword [0x4ed83c]
call fcn.004f47dc
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4fa1ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebx + 0x118]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0xc]
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.004efb18
mov esi, dword [ebx + 0x50]
test esi, esi
je 0x4fa169
sub esi, 4
mov esi, dword [esi]
mov eax, dword [ebx + 0x50]
call fcn.00405878
push eax
push esi
mov eax, dword [ebx + 0x9c]
mov edx, dword [ebx + 0x90]
add edx, eax
mov ecx, dword [ebx + 0x98]
mov eax, dword [ebp - 0xc]
call fcn.004ef950
test al, al
sete byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fa1b6
lea eax, [ebp - 0xc]
call fcn.00499db4
ret
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret