Function at 0x4d7814
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0xc], ecx
test dl, dl
je 0x4d7837
add esp, 0xfffffff0
call fcn.0040402c
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d7c7b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x20]
mov eax, dword [0x4f0668]
call fcn.00411220
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.0040c150
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea edx, [ebp - 0x18]
xor ecx, ecx
mov eax, 0x4d7cac
call fcn.0040c9bc
push 0
call sub.ole32.dll_CoInitialize
push 5
mov eax, dword [ebp - 0xc]
push eax
mov ecx, 1
mov dl, 1
mov eax, dword [0x4d6714]
call fcn.004d678c
mov edx, dword [0x4eea88]
mov dword [edx], eax
mov eax, dword [0x4eea88]
mov eax, dword [eax]
xor edx, edx
call fcn.004d6a0c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4d7c0d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4d7bfc
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4c9090]
call fcn.004d5f04
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
mov eax, ebx
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x26c]
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4c9480]
call fcn.004d60a0
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 8], ebx
mov eax, ebx
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x26c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, 0x4d7cc4
call fcn.004d3e10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004d43cc
call fcn.004cbbc0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4c9480]
call fcn.004d60a0
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], ebx
mov eax, ebx
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x26c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, 0x4d7cf4
call fcn.004d3e10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.004d43cc
call fcn.004cbbc0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4c9480]
call fcn.004d60a0
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], ebx
mov eax, ebx
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x26c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, 0x4d7d20
call fcn.004d3e10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
call fcn.004d43cc
call fcn.004cbbc0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4c9480]
call fcn.004d60a0
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], ebx
mov eax, ebx
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x26c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov edx, 0x4d7d48
call fcn.004d3e10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.004d43cc
call fcn.004cbbc0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4c9480]
call fcn.004d60a0
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], ebx
mov eax, ebx
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x26c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, 0x4d7d80
call fcn.004d3e10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004d43cc
call fcn.004cbbc0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4c9480]
call fcn.004d60a0
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], ebx
mov eax, ebx
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x26c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, 0x4d7db8
call fcn.004d3e10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004d43cc
call fcn.004cbbc0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4c9480]
call fcn.004d60a0
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], ebx
mov eax, ebx
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x26c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, 0x4d7df4
call fcn.004d3e10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.004d43cc
call fcn.004cbbc0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4c9480]
call fcn.004d60a0
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x2c], ebx
mov eax, ebx
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x26c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov edx, 0x4d7e38
call fcn.004d3e10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.004d43cc
call fcn.004cbbc0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4c9480]
call fcn.004d60a0
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], ebx
mov eax, ebx
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x26c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, 0x4d7e7c
call fcn.004d3e10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004d43cc
call fcn.004cbbc0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4c9480]
call fcn.004d60a0
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x34], ebx
mov eax, ebx
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x26c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, 0x4d7ec4
call fcn.004d3e10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004d43cc
call fcn.004cbbc0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4c9480]
call fcn.004d60a0
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], ebx
mov eax, ebx
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x26c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, 0x4d7f10
call fcn.004d3e10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.004d43cc
call fcn.004cbbc0
mov eax, dword [ebp - 4]
call fcn.004d9180
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d7c03
mov eax, dword [0x4eea88]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
call fcn.004d6c28
ret