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

Disassembly:
push 0xffffffffffffffff
push 0x44d532
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45d2b0]
xor eax, esp
push eax
lea eax, [esp + 0x180]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x198]
mov esi, ecx
xor ebx, ebx
mov edx, 8
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xa8], vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
mov dword [esp + 0x188], ebx
mov edi, vtable.CRecordVector_bool_.0
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], 1
mov dword [esp + 0x6c], edi
mov eax, 4
mov ecx, vtable.CRecordVector_unsigned_int_.0
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], eax
mov dword [esp + 0xc4], vtable.CObjectVector_struct_NArchive::N7z::CFolder_.0
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], edx
mov dword [esp + 0x58], vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 1
mov dword [esp + 0x38], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], ecx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0xc0]
push eax
push ebp
push ebx
lea edi, [esp + 0xe8]
mov byte [esp + 0x1ac], 7
call fcn.0040efe0
lea eax, [esp + 0xf0]
mov dword [esp + 0xbc], ebx
call fcn.00407ba0
mov dword [esp + 0x160], ebx
mov dword [esp + 0x168], ebx
mov dword [esp + 0x16c], ebx
mov dword [esp + 0x170], ebx
mov dword [esp + 0x174], 4
mov dword [esp + method.CObjectVector_class_CMyComPtr_struct_IUnknown__.virtual_0], vtable.CObjectVector_class_CMyComPtr_struct_IUnknown__.0
mov byte [esp + 0x154], 1
mov byte [esp + 0xec], bl
mov eax, dword [ebp]
add eax, dword [esp + 0x190]
mov ebp, dword [ebp + 4]
adc ebp, dword [esp + 0x194]
cmp dword [esp + 0xcc], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x34], ebx
jle 0x40f707
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xdc], vtable.CBuffer_unsigned_char_.0
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0x34]
mov edi, dword [ecx + edx*4]
mov dword [esp + 0x1c], edi
mov ebx, dword [esp + 0x19c]
lea eax, [esp + 0xdc]
push eax
mov byte [esp + 0x18c], 9
call fcn.00411570
push 0
mov byte [esp + 0x18c], 8
call fcn.00438e02
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov ebp, dword [edx + ecx*4 - 4]
add esp, 4
mov dword [esp + 0xc0], ebp
call fcn.004095c0
mov ebx, eax
xor eax, eax
cmp ebx, ebx
jne 0x40f926
cmp eax, edx
jne 0x40f926
cmp ebx, dword [ebp + 4]
je 0x40f5e1
test ebx, ebx
jbe 0x40f5cd
push ebx
call fcn.004376db
mov edi, eax
mov eax, dword [ebp + 4]
add esp, 4
test eax, eax
jbe 0x40f5cf
cmp eax, ebx
jb 0x40f5bd
mov eax, ebx
push eax
mov eax, dword [ebp + 8]
push eax
push edi
call fcn.00438e40
add esp, 0xc
jmp 0x40f5cf
xor edi, edi
mov eax, dword [ebp + 8]
push eax
call fcn.00438e02
add esp, 4
mov dword [ebp + 8], edi
mov dword [ebp + 4], ebx
push 0x14
call fcn.004386a4
mov ebp, eax
xor edi, edi
add esp, 4
cmp ebp, edi
je 0x40f92b
mov dword [ebp + 4], edi
mov dword [ebp], method.CLocalProgress.virtual_0
mov ecx, dword [ebp]
mov edx, dword [ecx + 4]
push ebp
mov dword [esp + 0xec], ebp
call edx
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0x1c]
push 1
push 0
mov byte [esp + 0x190], 0xa
mov eax, dword [eax + 8]
push 0
mov dword [ebp + 8], eax
push ebp
mov dword [ebp + 0x10], edi
mov edi, dword [esp + 0xcc]
mov dword [ebp + 0xc], ebx
mov ecx, dword [esp + 0xc4]
push edx
mov edx, dword [esp + 0x60]
lea eax, [ecx + edi*8]
mov ecx, dword [esi]
push eax
mov eax, dword [esp + 0x68]
push eax
push edx
lea eax, [esp + 0x10c]
push eax
call fcn.00407c90
mov dword [esp + 0xd8], eax
test eax, eax
jne 0x40f940
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 0x54], al
je 0x40f6a3
mov edx, dword [esp + 0xc0]
mov edx, dword [edx + 8]
push 0x561fe0
push ebx
or ecx, 0xffffffff
call dword [0x4608d4]
mov ecx, dword [esp + 0x1c]
not eax
cmp eax, dword [ecx + 0x50]
jne 0x40f926
mov edx, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [edx + 0x30], ebx
jle 0x40f6de
mov edi, edi
mov ecx, dword [esp + 0xb4]
mov eax, dword [ecx + edi*8]
mov ecx, dword [ecx + edi*8 + 4]
inc edi
add dword [esp + 0x4c], eax
adc dword [esp + 0x50], ecx
add dword [esi + 0x50], eax
mov eax, dword [esp + 0x1c]
adc dword [esi + 0x54], ecx
inc ebx
cmp ebx, dword [eax + 0x30]
jl 0x40f6b0
mov dword [esp + 0xbc], edi
mov byte [esp + 0x188], 8
mov ecx, dword [ebp]
mov edx, dword [ecx + 8]
push ebp
call edx
mov eax, dword [esp + 0x34]
inc eax
cmp eax, dword [esp + 0xcc]
mov dword [esp + 0x34], eax
jl 0x40f532
xor ebx, ebx
lea ecx, [esp + 0x164]
push ecx
mov byte [esp + 0x18c], 0xc
call fcn.004092d0
mov byte [esp + 0x188], 0xb
mov eax, dword [esp + 0x160]
cmp eax, ebx
je 0x40f737
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0xf0]
push ecx
mov byte [esp + 0x18c], 7
call fcn.00407c10
mov byte [esp + 0x188], 6
mov edx, dword [esp + 0x28]
push edx
mov esi, vtable.CBaseRecordVector.0
push ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], esi
call dword [0x451d8c]
mov eax, dword [esp + 0x2c]
push eax
call fcn.00438e02
mov byte [esp + 0x18c], 5
mov ecx, dword [esp + 0x44]
add esp, 4
push ecx
push ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], esi
call dword [0x451d8c]
mov edx, dword [esp + 0x44]
push edx
call fcn.00438e02
mov byte [esp + 0x18c], 4
mov eax, dword [esp + 0x64]
add esp, 4
push eax
push ebx
lea ecx, [esp + 0x60]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x60], esi
call dword [0x451d8c]
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00438e02
mov byte [esp + 0x18c], 3
mov edx, dword [esp + 0xa0]
add esp, 4
push edx
push ebx
lea ecx, [esp + 0x9c]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x9c], esi
call dword [0x451d8c]
mov eax, dword [esp + 0xa0]
push eax
call fcn.00438e02
add esp, 4
lea ecx, [esp + 0xc4]
push ecx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x18c], 2
call fcn.0040cb40
mov byte [esp + 0x188], 1
mov edx, dword [esp + 0x88]
push edx
push ebx
lea ecx, [esp + 0x88]
mov dword [esp + 0x88], esi
call dword [0x451d8c]
mov eax, dword [esp + 0x8c]
push eax
call fcn.00438e02
mov byte [esp + 0x18c], bl
add esp, 4
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x6c], esi
mov ecx, dword [esp + 0x74]
push ecx
push ebx
lea ecx, [esp + 0x74]
call dword [0x451d8c]
mov edx, dword [esp + 0x78]
push edx
call fcn.00438e02
mov dword [esp + 0x18c], 0xffffffff
mov eax, dword [esp + 0xb4]
add esp, 4
push eax
push ebx
lea ecx, [esp + 0xb0]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0xb0], esi
call dword [0x451d8c]
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.00438e02
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x178
ret 0x10
call fcn.0040d670
xor al, al
mov byte [esp + 0x1b], al
push 0x458734
lea eax, [esp + 0x1f]
push eax
call fcn.0043b0bb
mov byte [esp + 0x188], 8
mov ecx, dword [ebp]
mov edx, dword [ecx + 8]
push ebp
call edx
lea eax, [esp + 0xec]
push eax
mov byte [esp + 0x18c], 7
call fcn.0040a020
mov byte [esp + 0x188], 6
mov ecx, dword [esp + 0x28]
push ecx
xor edi, edi
mov esi, vtable.CBaseRecordVector.0
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], esi
call dword [0x451d8c]
mov edx, dword [esp + 0x2c]
push edx
call fcn.00438e02
mov byte [esp + 0x18c], 5
mov eax, dword [esp + 0x44]
add esp, 4
push eax
push edi
lea ecx, [esp + 0x40]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x40], esi
call dword [0x451d8c]
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00438e02
mov byte [esp + 0x18c], 4
mov edx, dword [esp + 0x64]
add esp, 4
push edx
push edi
lea ecx, [esp + 0x60]
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x60], esi
call dword [0x451d8c]
mov eax, dword [esp + 0x64]
push eax
call fcn.00438e02
mov byte [esp + 0x18c], 3
mov ecx, dword [esp + 0xa0]
add esp, 4
push ecx
push edi
lea ecx, [esp + 0x9c]
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x9c], esi
call dword [0x451d8c]
mov edx, dword [esp + 0xa0]
push edx
call fcn.00438e02
add esp, 4
lea eax, [esp + 0xc4]
push eax
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], edi
mov byte [esp + 0x18c], 2
call fcn.0040cb40
mov byte [esp + 0x188], 1
mov ecx, dword [esp + 0x88]
push ecx
push edi
lea ecx, [esp + 0x88]
mov dword [esp + 0x88], esi
call dword [0x451d8c]
mov edx, dword [esp + 0x8c]
push edx
call fcn.00438e02
mov byte [esp + 0x18c], 0
mov eax, dword [esp + 0x78]
add esp, 4
push eax
push edi
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x74], esi
call dword [0x451d8c]
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00438e02
mov dword [esp + 0x18c], 0xffffffff
mov edx, dword [esp + 0xb4]
add esp, 4
push edx
push edi
lea ecx, [esp + 0xb0]
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0xb0], esi
call dword [0x451d8c]
mov eax, dword [esp + 0xb4]
push eax
call fcn.00438e02
mov eax, dword [esp + 0xdc]
add esp, 4
jmp 0x40f90a