Function at 0x4cfe80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, eax
call fcn.0045b384
xor ecx, ecx
push ebp
push 0x4d0114
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, ebx
call fcn.004cfe34
test al, al
jne 0x4cfeba
mov byte [ebp - 1], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d0122
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax + 0x28]
cmp dword [ecx + 8], 0
jne 0x4cfecf
mov eax, dword [eax + 0xc]
cmp dword [eax + 4], 0xb
je 0x4cfeec
mov edx, dword [ebx + 0x30]
mov eax, dword [edx + 0x28]
cmp dword [eax + 8], 0xb
jne 0x4cffa7
mov eax, dword [edx + 0xc]
cmp dword [eax + 4], 0xb
jne 0x4cffa7
mov ecx, dword [ebx + 0x44]
mov dl, 1
mov eax, dword [0x49bbcc]
call fcn.004a15b0
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4cffa0
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 + 0x114]
call fcn.0049faa0
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov eax, dword [ebx + 0x114]
call fcn.0049fb00
mov edx, dword [ebx + 0x114]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0xc]
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0049e01c
mov dl, 2
mov eax, dword [ebp - 8]
call fcn.004a177c
mov eax, dword [ebx + 0x4c]
call fcn.004047c4
push eax
mov eax, dword [ebx + 0x4c]
call fcn.004045c4
push eax
mov eax, dword [ebx + 0x98]
mov edx, dword [ebx + 0x8c]
add edx, eax
mov ecx, dword [ebx + 0x94]
mov eax, dword [ebp - 8]
call fcn.0049de54
test al, al
sete byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d010a
lea eax, [ebp - 8]
call fcn.0045ab08
ret
mov edx, dword [ebx + 0x30]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x4cffc8
cmp dword [eax + 4], 0xc
jne 0x4cffc8
mov byte [ebp - 1], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d0122
mov eax, dword [edx + 0x28]
mov eax, dword [eax + 8]
test eax, eax
jne 0x4d0074
mov ecx, dword [ebx + 0x44]
mov dl, 1
mov eax, dword [0x49bbcc]
call fcn.004a15b0
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4d006d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebx + 0x114]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0xc]
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0049e01c
mov eax, dword [ebx + 0x9c]
call fcn.00458ec8
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.0049e1b8
mov eax, dword [ebx + 0x4c]
call fcn.004047c4
push eax
mov eax, dword [ebx + 0x4c]
call fcn.004045c4
push eax
mov eax, dword [ebx + 0x98]
mov edx, dword [ebx + 0x8c]
add edx, eax
mov ecx, dword [ebx + 0x94]
mov eax, dword [ebp - 8]
call fcn.0049de54
test al, al
sete byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d010a
lea eax, [ebp - 8]
call fcn.0045ab08
ret
cmp eax, 4
jne 0x4d0106
mov ecx, dword [ebx + 0x44]
mov dl, 1
mov eax, dword [0x49bd9c]
call fcn.004a48d0
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4d00ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebx + 0x114]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0xc]
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.0049e01c
mov eax, dword [ebx + 0x4c]
call fcn.004047c4
push eax
mov eax, dword [ebx + 0x4c]
call fcn.004045c4
push eax
mov eax, dword [ebx + 0x98]
mov edx, dword [ebx + 0x8c]
add edx, eax
mov ecx, dword [ebx + 0x94]
mov eax, dword [ebp - 0xc]
call fcn.0049de54
test al, al
sete byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d010a
lea eax, [ebp - 0xc]
call fcn.0045ab08
ret
mov byte [ebp - 1], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d0122
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret