Function at 0x4d81a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5142f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ebp, [edi + 0x18]
push ebp
lea eax, [esp + 0x24]
push edi
push eax
mov dword [esp + 0x1c], 0
call fcn.004d7720
mov ecx, dword [esp + 0x64]
push edi
push ecx
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x64], 1
call fcn.004d7810
push ebp
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x70], 2
call fcn.004d7a70
add esp, 0x24
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], 0x52edb0
mov ecx, dword [eax + 0xc]
test ecx, ecx
mov byte [esp + 0x4c], 4
je 0x4d821f
dec ecx
mov dword [eax + 0xc], ecx
jmp 0x4d824e
mov ecx, dword [eax + 8]
test ecx, ecx
mov esi, eax
je 0x4d823c
add eax, 4
jmp 0x4d8230
mov edx, dword [eax]
dec ecx
mov dword [edx + ecx*4], 0
jne 0x4d8230
mov eax, dword [esi + 4]
push eax
call fcn.004ee082
push esi
call fcn.004ee082
add esp, 8
mov ebx, dword [esp + 0x5c]
mov ecx, dword [ebx + 4]
call fcn.004d6b20
mov dword [esp + 0x58], eax
xor esi, esi
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov eax, esi
shr eax, 5
cmp eax, edx
jb 0x4d8272
xor eax, eax
jmp 0x4d8278
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + eax*4]
mov ecx, esi
and ecx, 0x1f
mov edx, 1
shl edx, cl
test eax, edx
je 0x4d8299
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.004d8110
mov eax, dword [esp + 0x58]
inc esi
cmp esi, eax
je 0x4d82b3
lea edx, [esp + 0x14]
push edx
mov eax, edx
push eax
mov ecx, edi
call fcn.004d8110
jmp 0x4d8260
add edi, 0xc
push edi
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.004d7810
mov ebx, dword [esp + 0x60]
push ebp
push eax
push ebx
mov byte [esp + 0x64], 5
call fcn.004d7a70
add esp, 0x18
mov eax, dword [esp + 0x3c]
mov edi, 0x52edb0
mov dword [esp + 0x38], edi
mov ecx, dword [eax + 0xc]
test ecx, ecx
mov dword [esp + 0x10], 1
mov byte [esp + 0x4c], 4
je 0x4d8301
dec ecx
mov dword [eax + 0xc], ecx
jmp 0x4d832e
mov ecx, dword [eax + 8]
test ecx, ecx
mov esi, eax
je 0x4d831c
add eax, 4
lea ecx, [ecx]
mov edx, dword [eax]
dec ecx
mov dword [edx + ecx*4], 0
jne 0x4d8310
mov eax, dword [esi + 4]
push eax
call fcn.004ee082
push esi
call fcn.004ee082
add esp, 8
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], edi
mov eax, dword [ecx + 0xc]
test eax, eax
mov byte [esp + 0x4c], 1
je 0x4d8348
dec eax
mov dword [ecx + 0xc], eax
jmp 0x4d8372
mov eax, dword [ecx + 8]
test eax, eax
mov esi, ecx
je 0x4d8360
add ecx, 4
mov edx, dword [ecx]
dec eax
mov dword [edx + eax*4], 0
jne 0x4d8354
mov eax, dword [esi + 4]
push eax
call fcn.004ee082
push esi
call fcn.004ee082
add esp, 8
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], edi
mov eax, dword [ecx + 0xc]
test eax, eax
mov byte [esp + 0x4c], 0
je 0x4d838c
dec eax
mov dword [ecx + 0xc], eax
jmp 0x4d83be
mov eax, dword [ecx + 8]
test eax, eax
mov esi, ecx
je 0x4d83ac
add ecx, 4
jmp 0x4d83a0
mov edx, dword [ecx]
dec eax
mov dword [edx + eax*4], 0
jne 0x4d83a0
mov eax, dword [esi + 4]
push eax
call fcn.004ee082
push esi
call fcn.004ee082
add esp, 8
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 0xc