Function at 0x4d2250
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x84], ebx
mov byte [ebp - 1], cl
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4d25ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x24]
call fcn.004d8bc0
mov eax, dword [0x524d5c]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.00492650
cmp byte [ebp - 1], 0
jne 0x4d22a9
lea edx, [ebp - 0x20]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, esi
mov dl, 1
mov eax, dword [0x4bef20]
call fcn.004bf25c
mov dword [ebp - 0x34], eax
xor eax, eax
push ebp
push 0x4d2586
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov ecx, 4
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0x20]
mov ecx, 4
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0x24]
mov ecx, 4
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebx + 0x18]
call fcn.004c8694
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.004c870c
mov edx, dword [ebp - 0x20]
call fcn.004c8300
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.004c870c
mov edx, dword [ebp - 0x24]
call fcn.004c82e8
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x14], eax
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x10], eax
lea edx, [ebp - 0x7c]
mov ecx, 0x10
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edi, [ebx + 0x2c]
lea esi, [ebp - 0x7c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x28]
mov ecx, 4
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0x2c]
mov ecx, 4
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.004c870c
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0x30], edx
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.004c870c
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x34], edx
lea edx, [ebp - 0x15]
mov ecx, 1
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
call dword [esi + 0xc]
cmp byte [ebp - 0x15], 1
jne 0x4d23d0
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.004c870c
mov byte [eax + 0x64], 1
jmp 0x4d23e4
cmp byte [ebp - 0x15], 0
jne 0x4d23e4
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.004c870c
mov byte [eax + 0x64], 0
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.004c870c
mov dword [eax + 0x2c], 0x808080
lea edx, [ebp - 0x14]
mov ecx, 4
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.004c870c
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x38], edx
lea edx, [ebp - 0x44]
mov ecx, 0xc
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x1c]
dec eax
test eax, eax
jl 0x4d246b
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x4c76c4]
call fcn.004c7b94
mov esi, eax
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.004c7d10
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.004c870c
call fcn.004c8024
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x18]
dec dword [ebp - 0x38]
jne 0x4d2431
lea edx, [ebp - 0x10]
mov ecx, 4
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
call dword [esi + 0xc]
mov dl, 1
mov eax, dword [0x4ce920]
call fcn.00404100
mov dword [ebp - 0x30], eax
xor eax, eax
push ebp
push 0x4d255b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
dec eax
test eax, eax
jl 0x4d2545
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 8], 0
push 0x4d25c4
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 8]
inc eax
call fcn.0040c36c
push dword [ebp - 0x84]
push 0x4d25d0
lea eax, [ebp - 0x80]
mov edx, 3
call fcn.004053c0
mov edx, dword [ebp - 0x80]
mov eax, dword [ebx + 0x24]
call fcn.004d8e20
lea edx, [ebp - 0x14]
mov ecx, 4
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
call dword [esi + 0xc]
mov esi, dword [ebp - 0x14]
dec esi
test esi, esi
jl 0x4d2539
inc esi
mov dword [ebp - 0xc], 0
lea edx, [ebp - 0x6c]
mov ecx, 0x28
mov eax, dword [ebp - 0x34]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebx + 0x20]
push eax
mov eax, dword [ebx + 0x24]
call fcn.004d8bf4
push eax
push 0
lea edx, [ebp - 0x6c]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
call fcn.004d1464
inc dword [ebp - 0xc]
dec esi
jne 0x4d2506
inc dword [ebp - 8]
dec dword [ebp - 0x38]
jne 0x4d24af
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2562
mov eax, dword [ebp - 0x30]
call fcn.00404130
ret