Function at 0x4e24a4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4e26df
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4e2667
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
cmp word [eax + 0x3f2], 0
je 0x4e265b
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4e2654
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
push ebx
mov eax, dword [ebx]
call dword [eax + 0xc]
call fcn.004bf538
lea eax, [ebp - 0x1c]
push eax
push ebx
mov eax, dword [ebx]
call dword [eax + 0x10]
call fcn.004bf538
lea eax, [ebp - 0x20]
push eax
push ebx
mov eax, dword [ebx]
call dword [eax + 0x14]
call fcn.004bf538
lea eax, [ebp - 0x2c]
push eax
push ebx
mov eax, dword [ebx]
call dword [eax + 0x1c]
call fcn.004bf538
lea eax, [ebp - 8]
call fcn.00409554
push eax
push ebx
mov eax, dword [ebx]
call dword [eax + 0x18]
call fcn.004bf538
lea eax, [ebp - 0x28]
push eax
push ebx
mov eax, dword [ebx]
call dword [eax + 0x24]
call fcn.004bf538
mov eax, dword [ebp - 0x2c]
call fcn.004d23d8
mov byte [ebp - 0x2d], al
lea eax, [ebp - 0xc]
mov edx, ebx
mov ecx, 0x4e26f0
call fcn.00409598
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
call fcn.004bf538
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x18]
call fcn.00406a70
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.004bf538
mov eax, dword [ebp - 0x1c]
call fcn.004d23d8
push eax
mov eax, dword [ebp - 0x20]
call fcn.004d23d8
push eax
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 8]
call fcn.004d33d8
mov eax, dword [ebp - 0x38]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea eax, [ebp - 0x2d]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x34]
call fcn.004d313c
push eax
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x14]
call fcn.00406a70
mov ecx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x3f4]
call dword [esi + 0x3f0]
movzx eax, byte [ebp - 0x2d]
call fcn.004d23e0
push eax
push ebx
mov eax, dword [ebx]
call dword [eax + 0x20]
call fcn.004bf538
mov eax, dword [ebp - 4]
call fcn.00406950
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
call fcn.004bf538
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e265b
mov eax, dword [ebp - 0x18]
push eax
call sub.ole32.dll_CoTaskMemFree
mov eax, dword [ebp - 0x14]
push eax
call sub.ole32.dll_CoTaskMemFree
ret
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e26a3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e26e6
lea eax, [ebp - 0x3c]
call fcn.004068b4
lea eax, [ebp - 0x38]
mov edx, dword [0x4c01dc]
call fcn.004081c8
lea eax, [ebp - 0xc]
call fcn.00409554
lea eax, [ebp - 8]
call fcn.00409554
lea eax, [ebp - 4]
call fcn.004068b4
ret