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

Disassembly:
push 0xffffffffffffffff
push 0x42cefb
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x437024]
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.0040e930
mov eax, dword [esi + 0x18]
push eax
call fcn.0040df80
mov edi, eax
mov dword [esp + 0x54], edi
cmp edx, ebx
ja 0x40ec61
cmp edi, 0x7fffffff
jbe 0x40ec66
call fcn.0040de00
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.0040dee0
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.004051f0
mov edi, dword [esp + 0x54]
cmp edi, ebx
jbe 0x40ed8a
mov esi, edi
jmp 0x40ecb0
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.004118e0
lea ecx, [esp + 0x60]
push ecx
mov byte [esp + 0xc8], bl
call fcn.0040d770
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.0040e480
sub esi, 1
jne 0x40ecb0
mov dword [esp + 0xc4], 0xffffffff
cmp byte [esp + 0x20], bl
je 0x40edc9
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 0x40edc9
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.0040e930
mov dword [esp + 0x18], ebx
cmp edi, ebx
jbe 0x40ee94
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
mov esi, dword [eax + ecx*4]
push esi
call fcn.0040d860
mov edi, eax
add esi, 0x3c
call fcn.004051f0
cmp edi, ebx
jbe 0x40ee76
mov dword [esp + 0x1c], edi
jmp 0x40ee10
mov edx, dword [esp + 0xcc]
mov eax, dword [edx + 0x18]
push eax
call fcn.0040df80
mov dword [esp + 0x24], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x28], edx
cmp dword [esi + 8], eax
jne 0x40ee53
cmp eax, 0x40
mov ecx, 1
jl 0x40ee41
mov ecx, eax
shr ecx, 2
jmp 0x40ee4b
cmp eax, 8
jl 0x40ee4b
mov ecx, 8
lea edi, [eax + ecx]
call fcn.004051f0
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 0x40ee10
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x54]
jb 0x40ede5
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0xcc]
mov eax, dword [esi + 0x18]
push eax
call fcn.0040df80
mov ecx, eax
or ecx, edx
je 0x40f009
cmp eax, 0xa
jne 0x40efbd
cmp edx, ebx
jne 0x40efbd
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.0040e9a0
xor eax, eax
cmp edi, ebx
jbe 0x40ef46
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 0x40ef20
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 [0x42ff08]
mov eax, dword [esp + 0x38]
push eax
call fcn.004210fe
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 [0x42ff08]
mov edx, dword [esp + 0x4c]
push edx
call fcn.004210fe
add esp, 4
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
jmp 0x40eff6
mov esi, dword [esi + 0x18]
push esi
call fcn.0040df80
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 0x40ec61
jb 0x40efe6
cmp edi, ecx
ja 0x40ec61
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.0040df80
mov ecx, eax
or ecx, edx
jne 0x40eea7
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