Function at 0x4cc1e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x50c05b
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53c1a4]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xd4]
mov esi, dword [esp + 0xcc]
xor ebx, ebx
push ebx
push 0xb
push esi
call fcn.004cbf10
mov eax, dword [esi + 0x18]
push eax
call fcn.004cb570
mov edi, eax
mov dword [esp + 0x54], edi
cmp edx, ebx
ja 0x4cc241
cmp edi, 0x7fffffff
jbe 0x4cc246
call fcn.004cb3f0
mov byte [esp + 0x20], bl
mov eax, dword [esp + 0xd0]
push eax
push esi
lea eax, [esp + 0x24]
mov dword [esp + 0xcc], ebx
call fcn.004cb4d0
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
mov edx, dword [edx + 4]
push eax
push ebx
mov ecx, ebp
call edx
mov esi, ebp
call fcn.004bdd40
mov edi, dword [esp + 0x54]
cmp edi, ebx
jbe 0x4cc36a
mov esi, edi
jmp 0x4cc290
mov eax, 4
mov ecx, 8
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x60], vtable.CObjectVector_struct_NArchive::N7z::CCoderInfo_.0
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x74], vtable.CRecordVector_struct_NArchive::N7z::CBindPair_.0
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], eax
mov dword [esp + 0x88], vtable.CRecordVector_unsigned_int_.0
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ecx
mov dword [esp + 0x9c], vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
mov byte [esp + 0xb4], bl
lea eax, [esp + 0x60]
push eax
mov ecx, ebp
mov byte [esp + 0xc8], 1
call fcn.004ceed0
lea ecx, [esp + 0x60]
push ecx
mov byte [esp + 0xc8], bl
call fcn.004c95b0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4 - 4]
mov edx, dword [esp + 0xcc]
push edx
call fcn.004cba70
sub esi, 1
jne 0x4cc290
mov dword [esp + 0xc4], 0xffffffff
cmp byte [esp + 0x20], bl
je 0x4cc3a9
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 4]
mov edx, dword [eax + 4]
add esi, 4
dec ecx
push 1
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0xc], ebx
je 0x4cc3a9
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov ecx, dword [edx + ecx*4 - 4]
mov dword [eax + 0x18], ecx
mov esi, dword [esp + 0xcc]
push ebx
push 0xc
push esi
call fcn.004cbf10
mov dword [esp + 0x18], ebx
cmp edi, ebx
jbe 0x4cc474
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
mov esi, dword [eax + ecx*4]
push esi
call fcn.004cae10
mov edi, eax
add esi, 0x3c
call fcn.004bdd40
cmp edi, ebx
jbe 0x4cc456
mov dword [esp + 0x1c], edi
jmp 0x4cc3f0
mov edx, dword [esp + 0xcc]
mov eax, dword [edx + 0x18]
push eax
call fcn.004cb570
mov dword [esp + 0x24], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x28], edx
cmp dword [esi + 8], eax
jne 0x4cc433
cmp eax, 0x40
mov ecx, 1
jl 0x4cc421
mov ecx, eax
shr ecx, 2
jmp 0x4cc42b
cmp eax, 8
jl 0x4cc42b
mov ecx, 8
lea edi, [eax + ecx]
call fcn.004bdd40
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*8], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*8 + 4], edx
mov eax, 1
add dword [esi + 8], eax
sub dword [esp + 0x1c], eax
jne 0x4cc3f0
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x54]
jb 0x4cc3c5
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0xcc]
mov eax, dword [esi + 0x18]
push eax
call fcn.004cb570
mov ecx, eax
or ecx, edx
je 0x4cc5e9
cmp eax, 0xa
jne 0x4cc59d
cmp edx, ebx
jne 0x4cc59d
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], 1
mov dword [esp + 0x40], vtable.CRecordVector_bool_.0
mov dword [esp + 0xc4], 2
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 4
mov dword [esp + 0x2c], vtable.CRecordVector_unsigned_int_.0
lea edx, [esp + 0x40]
push edx
push edi
push esi
lea eax, [esp + 0x38]
mov byte [esp + 0xd0], 3
call fcn.004cbf80
xor eax, eax
cmp edi, ebx
jbe 0x4cc526
lea esp, [esp]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx + eax*4]
mov edx, dword [esp + 0x4c]
mov cl, byte [edx + eax]
mov byte [esi + 0x54], cl
mov edx, dword [esp + 0x38]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [esi + 0x50], ecx
cmp eax, edi
jb 0x4cc500
mov esi, dword [esp + 0xcc]
mov byte [esp + 0xc4], 2
mov edx, dword [esp + 0x34]
push edx
push ebx
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], vtable.CBaseRecordVector.0
call dword [0x52267c]
mov eax, dword [esp + 0x38]
push eax
call fcn.004eacff
mov dword [esp + 0xc8], 0xffffffff
mov ecx, dword [esp + 0x4c]
add esp, 4
push ecx
push ebx
lea ecx, [esp + 0x48]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], vtable.CBaseRecordVector.0
call dword [0x52267c]
mov edx, dword [esp + 0x4c]
push edx
call fcn.004eacff
add esp, 4
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
jmp 0x4cc5d6
mov esi, dword [esi + 0x18]
push esi
call fcn.004cb570
mov ecx, dword [esi + 4]
mov edi, eax
mov eax, dword [esi + 8]
sub ecx, eax
mov dword [esp + 0x28], edx
cmp edx, ebx
ja 0x4cc241
jb 0x4cc5c6
cmp edi, ecx
ja 0x4cc241
add eax, edi
mov edi, dword [esp + 0x54]
mov dword [esi + 8], eax
mov esi, dword [esp + 0xcc]
mov eax, dword [esi + 0x18]
push eax
call fcn.004cb570
mov ecx, eax
or ecx, edx
jne 0x4cc487
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret 0xc