Function at 0x4ed2e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5892ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
push edi
xor ebx, ebx
push 0x2a
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
mov dword [esi + 0x80], ebx
mov dword [esp + 0x14], ecx
call fcn.00514090
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0x24], ebx
je 0x4ed340
lea edx, [esi + 0x84]
push edx
mov ecx, eax
call fcn.00507610
jmp 0x4ed342
xor eax, eax
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x7c], eax
mov eax, dword [eax + 0x1e]
mov dword [eax + 0x38], ecx
mov edx, dword [esi + 0x7c]
lea ecx, [esi + 0x14]
push ecx
mov ecx, dword [edx + 0x1e]
add ecx, 8
mov dword [esp + 0x28], 0xffffffff
call fcn.00514cd0
mov edi, dword [esi + 0xa2]
push ebx
mov ecx, esi
call fcn.004ea6b0
cmp dword [esi + 0x9e], 2
jne 0x4ed391
mov eax, dword [esi + 0x84]
push ebx
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.004ea6b0
push ebx
push 0x40000028
mov ecx, esi
call fcn.004eabc0
mov al, byte [esi + 0xf8]
cmp al, bl
je 0x4ed41b
cmp byte [esi + 0x78], bl
jne 0x4ed41b
mov eax, dword [esi + 0x84]
cmp eax, 0x40000029
je 0x4ed41b
cmp dword [esi + 0x9e], 2
jne 0x4ed3f8
mov ecx, dword [esi + 0x7c]
mov eax, dword [ecx + 0x1e]
mov ecx, dword [eax + 0x20]
lea edx, [ecx + 0x20000000]
add ecx, 1
mov dword [eax + 0x20], ecx
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax + 0x1e]
push edx
mov edx, dword [esi + 0x84]
push edx
add ecx, 0x18
call fcn.0052bd10
push ebx
mov ecx, esi
call fcn.004ea6b0
jmp 0x4ed402
push eax
push 0x11
mov ecx, esi
call fcn.004eaa80
cmp dword [esi + 0x84], 0x24
jne 0x4ed41b
push ebx
mov ecx, esi
call fcn.004ea6b0
cmp byte [esi + 0xf8], bl
jne 0x4ed3a8
push ebx
push 0x40000029
mov ecx, esi
call fcn.004eabc0
mov ecx, dword [esi + 0x7c]
add ecx, 0x22
push ecx
mov ecx, esi
call fcn.004ed210
mov edx, dword [esi + 0x7c]
mov dword [edx + 0x26], eax
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax + 0x26]
cmp byte [ecx + 0x1c], bl
jne 0x4ed48d
cmp ecx, ebx
je 0x4ed453
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
push 0x26
call fcn.00514090
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0x24], 1
je 0x4ed47d
lea ecx, [esi + 0x84]
push ecx
mov ecx, eax
call fcn.00507400
jmp 0x4ed47f
xor eax, eax
mov edx, dword [esi + 0x7c]
mov dword [esp + 0x24], 0xffffffff
mov dword [edx + 0x26], eax
mov ecx, dword [esi + 0x7c]
mov ecx, dword [ecx + 0x1e]
mov edx, dword [ecx + 8]
mov ebx, dword [edx]
mov eax, dword [esi + 0xa2]
add ecx, 8
sub ebx, 1
cmp eax, ebx
jge 0x4ed4b3
cmp word [edx + eax*2 + 0xc], 0x7d
jne 0x4ed4b3
sub eax, 1
push 1
push eax
push 0x7d
call fcn.00514d50
cmp eax, edi
jge 0x4ed4cc
mov edx, dword [esi + 0x7c]
mov eax, dword [edx + 0x1e]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov edx, dword [esi + 0x7c]
mov ecx, dword [edx + 0x1e]
mov dword [ecx + 0x10], edi
mov edx, dword [esi + 0x7c]
mov ecx, dword [edx + 0x1e]
sub eax, edi
add eax, 1
mov dword [ecx + 0x14], eax
mov edx, dword [esi + 0x7c]
mov eax, dword [edx + 0x1e]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [eax + 0x30], ecx
mov eax, dword [esi + 0x7c]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x80], ecx
mov ecx, dword [esp + 0x1c]
pop edi
mov dword [esi + 0x7c], edx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret