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

Disassembly:
push 0xffffffffffffffff
push 0x42cfc2
mov eax, dword fs:[0]
push eax
sub esp, 0x168
push ebx
push ebp
push esi
push edi
mov eax, dword [0x437024]
xor eax, esp
push eax
lea eax, [esp + 0x17c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x18c]
xor ebx, ebx
mov edx, 8
mov edi, vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], edx
mov dword [esp + 0xa4], edi
mov dword [esp + 0x184], ebx
mov esi, vtable.CRecordVector_bool_.0
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], 1
mov dword [esp + 0x68], esi
mov ecx, 4
mov eax, vtable.CRecordVector_unsigned_int_.0
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xc0], vtable.CObjectVector_struct_NArchive::N7z::CFolder_.0
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x90], eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], edx
mov dword [esp + 0x54], edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], 1
mov dword [esp + 0x34], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x8c]
push ecx
mov ecx, dword [esp + 0x1ac]
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0xbc]
push eax
push ecx
push ebx
lea edi, [esp + 0xe4]
mov esi, ebp
mov byte [esp + 0x1a8], 7
call fcn.0040f720
lea eax, [esp + 0xec]
mov dword [esp + 0xb8], ebx
call fcn.00408cf0
mov dword [esp + 0x15c], ebx
mov dword [esp + 0x164], ebx
mov dword [esp + 0x168], ebx
mov dword [esp + 0x16c], ebx
mov dword [esp + 0x170], 4
mov dword [esp + method.CObjectVector_class_CMyComPtr_struct_IUnknown__.virtual_0], vtable.CObjectVector_class_CMyComPtr_struct_IUnknown__.0
mov byte [esp + 0x150], 1
mov byte [esp + 0xe8], bl
mov ecx, dword [esp + 0x198]
mov eax, dword [ecx]
add eax, dword [esp + 0x190]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 4]
adc eax, dword [esp + 0x194]
cmp dword [esp + 0xc8], ebx
mov dword [esp + 0x4c], eax
jle 0x40fe66
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xd8], vtable.CBuffer_unsigned_char_.0
mov edx, dword [esp + 0xcc]
mov eax, dword [esp + 0x30]
mov edi, dword [edx + eax*4]
mov dword [esp + 0x18], edi
mov ebx, dword [esp + 0x19c]
lea ecx, [esp + 0xd8]
push ecx
mov byte [esp + 0x188], 9
call fcn.00411b30
push 0
mov byte [esp + 0x188], 8
call fcn.00420d1e
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov esi, dword [eax + edx*4 - 4]
add esp, 4
mov dword [esp + 0xbc], esi
call fcn.0040acd0
mov ebx, eax
xor eax, eax
cmp ebx, ebx
jne 0x410082
cmp eax, edx
jne 0x410082
cmp ebx, dword [esi + 4]
je 0x40fd2d
test ebx, ebx
jbe 0x40fd19
push ebx
call fcn.00420dfb
add esp, 4
test eax, eax
je 0x410087
mov ecx, dword [esi + 4]
mov edi, eax
test ecx, ecx
jbe 0x40fd1b
cmp ecx, ebx
jb 0x40fd09
mov ecx, ebx
push ecx
mov ecx, dword [esi + 8]
push ecx
push eax
call fcn.004210d0
add esp, 0xc
jmp 0x40fd1b
xor edi, edi
mov eax, dword [esi + 8]
push eax
call fcn.00420d1e
add esp, 4
mov dword [esi + 8], edi
mov dword [esi + 4], ebx
push 0x14
call fcn.00420dfb
mov esi, eax
xor edi, edi
add esp, 4
cmp esi, edi
je 0x41009c
mov dword [esi + 4], edi
mov dword [esi], vtable.CBufPtrSeqOutStream.0
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
mov dword [esp + 0xe8], esi
call eax
mov ecx, dword [esp + 0xbc]
mov byte [esp + 0x184], 0xa
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
mov dword [esi + 0x10], edi
mov edi, dword [esp + 0xb8]
mov dword [esi + 0xc], ebx
mov edx, dword [esp + 0xb0]
mov ecx, dword [ebp]
lea eax, [edx + edi*8]
mov edx, dword [esp + 0x1a4]
push edx
mov edx, dword [esp + 0x1a4]
push edx
mov edx, dword [esp + 0x20]
push 0
push esi
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x64]
push eax
push edx
lea eax, [esp + 0x108]
push eax
call fcn.00408de0
mov dword [esp + 0xd4], eax
test eax, eax
jne 0x4100b1
mov ecx, dword [esp + 0x18]
cmp byte [ecx + 0x54], al
je 0x40fdfa
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 8]
push 0x43d300
push ebx
or ecx, 0xffffffff
call dword [0x439d40]
mov ecx, dword [esp + 0x18]
not eax
cmp eax, dword [ecx + 0x50]
jne 0x410082
mov edx, dword [esp + 0x18]
xor ebx, ebx
cmp dword [edx + 0x30], ebx
jle 0x40fe3e
jmp 0x40fe10
mov ecx, dword [esp + 0xb0]
mov eax, dword [ecx + edi*8]
mov ecx, dword [ecx + edi*8 + 4]
inc edi
add dword [esp + 0x48], eax
adc dword [esp + 0x4c], ecx
add dword [ebp + 0x48], eax
mov eax, dword [esp + 0x18]
adc dword [ebp + 0x4c], ecx
inc ebx
cmp ebx, dword [eax + 0x30]
jl 0x40fe10
mov dword [esp + 0xb8], edi
mov byte [esp + 0x184], 8
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov eax, dword [esp + 0x30]
inc eax
cmp eax, dword [esp + 0xc8]
mov dword [esp + 0x30], eax
jl 0x40fc76
xor ebx, ebx
lea edx, [esp + 0x160]
push edx
mov byte [esp + 0x188], 0xc
call fcn.0040a6d0
mov byte [esp + 0x184], 0xb
mov eax, dword [esp + 0x15c]
cmp eax, ebx
je 0x40fe96
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0xec]
push eax
mov byte [esp + 0x188], 7
call fcn.00408d60
mov byte [esp + 0x184], 6
mov ecx, dword [esp + 0x24]
push ecx
mov esi, vtable.CBaseRecordVector.0
push ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], esi
call dword [0x42ff00]
mov edx, dword [esp + 0x28]
push edx
call fcn.00420d1e
mov byte [esp + 0x188], 5
mov eax, dword [esp + 0x40]
add esp, 4
push eax
push ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], esi
call dword [0x42ff00]
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00420d1e
mov byte [esp + 0x188], 4
mov edx, dword [esp + 0x60]
add esp, 4
push edx
push ebx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x5c], esi
call dword [0x42ff00]
mov eax, dword [esp + 0x60]
push eax
call fcn.00420d1e
mov byte [esp + 0x188], 3
mov ecx, dword [esp + 0x9c]
add esp, 4
push ecx
push ebx
lea ecx, [esp + 0x98]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x98], esi
call dword [0x42ff00]
mov edx, dword [esp + 0x9c]
push edx
call fcn.00420d1e
add esp, 4
lea eax, [esp + 0xc0]
push eax
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x188], 2
call fcn.0040d2e0
mov byte [esp + 0x184], 1
mov ecx, dword [esp + 0x84]
push ecx
push ebx
lea ecx, [esp + 0x84]
mov dword [esp + 0x84], esi
call dword [0x42ff00]
mov edx, dword [esp + 0x88]
push edx
call fcn.00420d1e
mov byte [esp + 0x188], bl
add esp, 4
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x68], esi
mov eax, dword [esp + 0x70]
push eax
push ebx
lea ecx, [esp + 0x70]
call dword [0x42ff00]
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00420d1e
mov dword [esp + 0x188], 0xffffffff
mov edx, dword [esp + 0xb0]
add esp, 4
push edx
push ebx
lea ecx, [esp + 0xac]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0xac], esi
call dword [0x42ff00]
mov eax, dword [esp + 0xb0]
push eax
call fcn.00420d1e
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x17c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x174
ret 0x1c
call fcn.0040dd90
xor al, al
mov byte [esp + 0x17], al
push 0x433bc0
lea eax, [esp + 0x1b]
push eax
call fcn.0042a275
push 0x433bc0
lea ecx, [esp + 0x1b]
xor al, al
push ecx
mov byte [esp + 0x1f], al
call fcn.0042a275
mov byte [esp + 0x184], 8
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
lea ecx, [esp + 0xe8]
push ecx
mov byte [esp + 0x188], 7
call fcn.0040b7d0
mov byte [esp + 0x184], 6
mov edx, dword [esp + 0x24]
push edx
xor edi, edi
mov esi, vtable.CBaseRecordVector.0
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], esi
call dword [0x42ff00]
mov eax, dword [esp + 0x28]
push eax
call fcn.00420d1e
mov byte [esp + 0x188], 5
mov ecx, dword [esp + 0x40]
add esp, 4
push ecx
push edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x3c], esi
call dword [0x42ff00]
mov edx, dword [esp + 0x40]
push edx
call fcn.00420d1e
mov byte [esp + 0x188], 4
mov eax, dword [esp + 0x60]
add esp, 4
push eax
push edi
lea ecx, [esp + 0x5c]
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x5c], esi
call dword [0x42ff00]
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00420d1e
mov byte [esp + 0x188], 3
mov edx, dword [esp + 0x9c]
add esp, 4
push edx
push edi
lea ecx, [esp + 0x98]
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x98], esi
call dword [0x42ff00]
mov eax, dword [esp + 0x9c]
push eax
call fcn.00420d1e
add esp, 4
lea ecx, [esp + 0xc0]
push ecx
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
mov byte [esp + 0x188], 2
call fcn.0040d2e0
mov byte [esp + 0x184], 1
mov edx, dword [esp + 0x84]
push edx
push edi
lea ecx, [esp + 0x84]
mov dword [esp + 0x84], esi
call dword [0x42ff00]
mov eax, dword [esp + 0x88]
push eax
call fcn.00420d1e
mov byte [esp + 0x188], 0
mov ecx, dword [esp + 0x74]
add esp, 4
push ecx
push edi
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x70], esi
call dword [0x42ff00]
mov edx, dword [esp + 0x74]
push edx
call fcn.00420d1e
mov dword [esp + 0x188], 0xffffffff
mov eax, dword [esp + 0xb0]
add esp, 4
push eax
push edi
lea ecx, [esp + 0xac]
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0xac], esi
call dword [0x42ff00]
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.00420d1e
mov eax, dword [esp + 0xd8]
add esp, 4
jmp 0x410066