Function at 0x4cec20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52ece0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x569c90]
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], 0
call fcn.004c97c0
test eax, eax
jne 0x4ceca8
push str.compress.dll
lea ecx, [esp + 0x10]
push 0x1567
push ecx
call fcn.005054ef
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
add esp, 0xc
push 1
push 2
push edx
call fcn.004d2190
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00507d3a
or eax, 0xffffffff
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret 8
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.004c8b00
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x1c], 1
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4ced35
push str._empty_
lea ecx, [esp + 0x14]
call fcn.00507ec3
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push edx
push 0x1437
push eax
call fcn.005054ef
mov ecx, dword [esp + 0x18]
add esp, 0xc
push 1
push 2
push ecx
mov ecx, edi
call fcn.004d2190
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 0
call fcn.00507d3a
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00507d3a
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret 8
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00507aaf
call fcn.004657f0
mov ebp, eax
add esp, 4
test ebp, ebp
jge 0x4cedc1
push str._unsupported_
lea ecx, [esp + 0x14]
call fcn.00508116
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
push 0x1437
push ecx
call fcn.005054ef
mov edx, dword [esp + 0x18]
add esp, 0xc
mov ecx, edi
push 1
push 2
push edx
call fcn.004d2190
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 0
call fcn.00507d3a
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00507d3a
mov eax, 0xfffffffd
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret 8
push ebp
lea ecx, [esi + 0x328]
call fcn.004655c0
test eax, eax
jne 0x4cee3e
push 0x566690
lea ecx, [esp + 0x14]
call fcn.00508116
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
push 0x1437
push ecx
call fcn.005054ef
mov edx, dword [esp + 0x18]
add esp, 0xc
mov ecx, edi
push 1
push 2
push edx
call fcn.004d2190
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 0
call fcn.00507d3a
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00507d3a
mov eax, 0xfffffffc
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret 8
cmp ebp, 2
jne 0x4cee78
lea esi, [edi + 0xc]
mov dword [esp + 0x24], esi
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [edi + 0x30]
mov byte [esp + 0x1c], 2
call fcn.00405370
mov edx, dword [esi]
mov ecx, esi
mov edi, eax
mov byte [esp + 0x1c], 1
call dword [edx + 0x14]
test edi, edi
jne 0x4cee78
mov ebp, 3
mov esi, dword [esp + 0x28]
test esi, esi
je 0x4ceea9
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.004658c0
add esp, 8
push eax
mov ecx, esi
mov byte [esp + 0x20], 3
call fcn.00507e73
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 1
call fcn.00507d3a
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 0
call fcn.00507d3a
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00507d3a
mov ecx, dword [esp + 0x14]
pop edi
mov eax, ebp
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x14
ret 8