Function at 0x4d5ae0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510b78
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x551644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov byte [esi + 4], bl
mov dword [esi], vtable.CEffectUniversal.0
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], ebx
or eax, 0xffffffff
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 8]
mov edi, 0xff
mov dword [esi + 0x30], edi
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], ebx
mov dword [esi + 0x24], 1
mov ecx, dword [eax]
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
cmp ecx, ebx
jne 0x4d5b83
xor eax, eax
jmp 0x4d5b99
mov edx, dword [eax + 8]
cmp edx, ebx
je 0x4d5b8f
mov edx, dword [edx + 0xc]
jmp 0x4d5b91
xor edx, edx
mov eax, dword [eax + 4]
imul eax, edx
add eax, ecx
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
cmp ecx, ebx
jne 0x4d5ba9
xor eax, eax
jmp 0x4d5bbf
mov edx, dword [eax + 8]
cmp edx, ebx
je 0x4d5bb5
mov edx, dword [edx + 0xc]
jmp 0x4d5bb7
xor edx, edx
mov eax, dword [eax + 4]
imul eax, edx
add eax, ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
cmp ecx, ebx
jne 0x4d5bd2
xor eax, eax
jmp 0x4d5be8
mov edx, dword [eax + 8]
cmp edx, ebx
je 0x4d5bde
mov edx, dword [edx + 0xc]
jmp 0x4d5be0
xor edx, edx
mov eax, dword [eax + 4]
imul eax, edx
add eax, ecx
mov eax, dword [eax + 4]
mov ecx, 0x553818
mov dword [esi + 0x14], eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x34], 0x80
mov dword [esi + 0x30], 0xffffff80
call fcn.004175a0
mov edi, dword [0x552af4]
mov ecx, dword [edi + 0x30]
sub ecx, dword [edi + 0x2c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x4d5c61
mov eax, dword [edi + 0x2c]
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
jne 0x4d5c3b
xor eax, eax
mov dword [ebp + 8], eax
jmp 0x4d5c64
mov edx, dword [eax + 0x14]
cmp edx, ebx
je 0x4d5c52
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
mov dword [ebp + 8], eax
jmp 0x4d5c64
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
mov dword [ebp + 8], eax
jmp 0x4d5c64
mov dword [ebp + 8], ebx
mov ecx, 0x553818
call fcn.004175a0
mov edi, dword [0x552af4]
mov ecx, dword [edi + 0x30]
sub ecx, dword [edi + 0x2c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x4d5ca9
mov eax, dword [edi + 0x2c]
mov ecx, dword [eax]
cmp ecx, ebx
je 0x4d5ca9
mov edx, dword [eax + 8]
cmp edx, ebx
je 0x4d5c9f
mov ebx, dword [edx + 0xc]
mov eax, dword [eax + 4]
imul eax, ebx
add eax, ecx
jmp 0x4d5cab
xor eax, eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x60]
push ecx
mov ecx, eax
call fcn.00497600
mov dword [esi + 0x38], eax
mov byte [esi + 4], 1
jmp 0x4d5ccb
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc