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

Disassembly:
push 0xffffffffffffffff
push 0x44cdfb
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45d2b0]
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.0040e180
mov eax, dword [esi + 0x18]
push eax
call fcn.0040d7f0
mov edi, eax
mov dword [esp + 0x54], edi
cmp edx, ebx
ja 0x40e4b1
cmp edi, 0x7fffffff
jbe 0x40e4b6
call fcn.0040d670
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.0040d750
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.004175b0
mov edi, dword [esp + 0x54]
cmp edi, ebx
jbe 0x40e5da
mov esi, edi
jmp 0x40e500
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.004112b0
lea ecx, [esp + 0x60]
push ecx
mov byte [esp + 0xc8], bl
call fcn.0040cfa0
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.0040dce0
sub esi, 1
jne 0x40e500
mov dword [esp + 0xc4], 0xffffffff
cmp byte [esp + 0x20], bl
je 0x40e619
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 0x40e619
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.0040e180
mov dword [esp + 0x18], ebx
cmp edi, ebx
jbe 0x40e6e4
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
mov esi, dword [eax + ecx*4]
push esi
call fcn.0040d0d0
mov edi, eax
add esi, 0x3c
call fcn.004175b0
cmp edi, ebx
jbe 0x40e6c6
mov dword [esp + 0x1c], edi
jmp 0x40e660
mov edx, dword [esp + 0xcc]
mov eax, dword [edx + 0x18]
push eax
call fcn.0040d7f0
mov dword [esp + 0x24], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x28], edx
cmp dword [esi + 8], eax
jne 0x40e6a3
cmp eax, 0x40
mov ecx, 1
jl 0x40e691
mov ecx, eax
shr ecx, 2
jmp 0x40e69b
cmp eax, 8
jl 0x40e69b
mov ecx, 8
lea edi, [eax + ecx]
call fcn.004175b0
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 0x40e660
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x54]
jb 0x40e635
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0xcc]
mov eax, dword [esi + 0x18]
push eax
call fcn.0040d7f0
mov ecx, eax
or ecx, edx
je 0x40e859
cmp eax, 0xa
jne 0x40e80d
cmp edx, ebx
jne 0x40e80d
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.0040e1f0
xor eax, eax
cmp edi, ebx
jbe 0x40e796
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 0x40e770
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 [0x451d8c]
mov eax, dword [esp + 0x38]
push eax
call fcn.00438e02
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 [0x451d8c]
mov edx, dword [esp + 0x4c]
push edx
call fcn.00438e02
add esp, 4
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
jmp 0x40e846
mov esi, dword [esi + 0x18]
push esi
call fcn.0040d7f0
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 0x40e4b1
jb 0x40e836
cmp edi, ecx
ja 0x40e4b1
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.0040d7f0
mov ecx, eax
or ecx, edx
jne 0x40e6f7
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