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

Disassembly:
push 0xffffffffffffffff
push 0x4300db
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43c024]
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.0040e9a0
mov eax, dword [esi + 0x18]
push eax
call fcn.0040dff0
mov edi, eax
mov dword [esp + 0x54], edi
cmp edx, ebx
ja 0x40ecd1
cmp edi, 0x7fffffff
jbe 0x40ecd6
call fcn.0040de70
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.0040df50
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 0x40edfa
mov esi, edi
jmp 0x40ed20
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.00411950
lea ecx, [esp + 0x60]
push ecx
mov byte [esp + 0xc8], bl
call fcn.0040d7e0
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.0040e4f0
sub esi, 1
jne 0x40ed20
mov dword [esp + 0xc4], 0xffffffff
cmp byte [esp + 0x20], bl
je 0x40ee39
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 0x40ee39
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.0040e9a0
mov dword [esp + 0x18], ebx
cmp edi, ebx
jbe 0x40ef04
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
mov esi, dword [eax + ecx*4]
push esi
call fcn.0040d8d0
mov edi, eax
add esi, 0x3c
call fcn.004051f0
cmp edi, ebx
jbe 0x40eee6
mov dword [esp + 0x1c], edi
jmp 0x40ee80
mov edx, dword [esp + 0xcc]
mov eax, dword [edx + 0x18]
push eax
call fcn.0040dff0
mov dword [esp + 0x24], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x28], edx
cmp dword [esi + 8], eax
jne 0x40eec3
cmp eax, 0x40
mov ecx, 1
jl 0x40eeb1
mov ecx, eax
shr ecx, 2
jmp 0x40eebb
cmp eax, 8
jl 0x40eebb
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 0x40ee80
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x54]
jb 0x40ee55
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0xcc]
mov eax, dword [esi + 0x18]
push eax
call fcn.0040dff0
mov ecx, eax
or ecx, edx
je 0x40f079
cmp eax, 0xa
jne 0x40f02d
cmp edx, ebx
jne 0x40f02d
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.0040ea10
xor eax, eax
cmp edi, ebx
jbe 0x40efb6
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 0x40ef90
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 [0x433f20]
mov eax, dword [esp + 0x38]
push eax
call fcn.00421bde
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 [0x433f20]
mov edx, dword [esp + 0x4c]
push edx
call fcn.00421bde
add esp, 4
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
jmp 0x40f066
mov esi, dword [esi + 0x18]
push esi
call fcn.0040dff0
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 0x40ecd1
jb 0x40f056
cmp edi, ecx
ja 0x40ecd1
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.0040dff0
mov ecx, eax
or ecx, edx
jne 0x40ef17
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