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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d21f0
mov eax, dword fs:[0]
push eax
sub esp, 0x308
push ebx
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
cmp dword [eax + 0x64], ecx
lea edx, [eax + 0x68]
mov dword [ebp - 0x14], 4
cmove edx, ecx
mov dword [ebp - 0x24], vtable.CObjectVector_struct_NArchive::N7z::CUpdateItem_.0
mov dword [ebp - 0x70], edx
mov byte [ebp - 4], 1
xor esi, esi
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x74], esi
cmp esi, dword [ebp + 0x10]
jae 0x40c443
test ebx, ebx
jne 0x40bd38
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], vtable.CObjectVector_struct_NArchive::N7z::CUpdateItem_.0
push ebx
call fcn.0040cd70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], vtable.CBaseRecordVector.0
push ebx
call fcn.00427ea0
push dword [ebp - 0x18]
call fcn.004a5802
add esp, 4
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebx]
lea ecx, [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0xc4]
push ecx
lea ecx, [ebp - 0xc8]
push ecx
push esi
push ebx
call dword [eax + 0x14]
mov edi, eax
test edi, edi
je 0x40bdab
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], vtable.CObjectVector_struct_NArchive::N7z::CUpdateItem_.0
push 0
call fcn.0040cd70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], vtable.CBaseRecordVector.0
push 0
call fcn.00427ea0
push dword [ebp - 0x18]
call fcn.004a5802
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 3
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
call fcn.004037f0
mov dword [ebp - 0x29], 0
mov byte [ebp - 0x25], 0
mov byte [ebp - 4], 6
xorps xmm0, xmm0
cmp dword [ebp - 0xc4], 0
mov ecx, dword [ebp - 0xcc]
setne al
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0xc8], 0
mov byte [ebp - 0x2b], al
setne byte [ebp - 0x2c]
mov dword [ebp - 0x60], esi
mov byte [ebp - 0x2a], 0
movlpd qword [ebp - 0x44], xmm0
cmp ecx, 0xffffffff
je 0x40bea8
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x40bf0a
cmp ecx, dword [eax + 0x6c]
jge 0x40bf0a
mov eax, dword [eax + 0x70]
mov edi, dword [eax + ecx*4]
lea ecx, [ebp - 0x3c]
lea eax, [edi + 0x10]
push eax
call fcn.004064f0
mov al, byte [edi + 0x1d]
mov ecx, dword [ebp - 0x64]
mov byte [ebp - 0x29], al
mov eax, dword [edi]
mov dword [ebp - 0x44], eax
mov eax, dword [edi + 4]
mov edi, dword [ebp - 0x70]
mov dword [ebp - 0x40], eax
cmp ecx, dword [edi + 0x120]
jge 0x40be67
mov eax, dword [edi + 0x124]
mov byte [ebp - 0x2a], 1
cmp byte [ecx + eax], 0
jne 0x40be6b
mov byte [ebp - 0x2a], 0
lea eax, [ebp - 0x5c]
push eax
push ecx
lea ecx, [edi + 0x78]
call fcn.00408b60
mov byte [ebp - 0x27], al
lea ecx, [edi + 0xa0]
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x64]
call fcn.00408b60
mov byte [ebp - 0x26], al
lea ecx, [edi + 0xc8]
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x64]
call fcn.00408b60
mov byte [ebp - 0x25], al
mov al, byte [ebp - 0x2b]
test al, al
je 0x40c35b
xor eax, eax
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 9
mov eax, dword [ebx]
push ecx
push 9
push esi
push ebx
call dword [eax + 0x18]
mov edi, eax
test edi, edi
je 0x40bf69
lea ecx, [ebp - 0xdc]
call fcn.00428290
push dword [ebp - 0x3c]
call fcn.004a5802
add esp, 4
lea ecx, [ebp - 0x24]
call fcn.0040ce20
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push dword [ebp - 0x3c]
call fcn.004a5802
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], vtable.CObjectVector_struct_NArchive::N7z::CUpdateItem_.0
push 0
call fcn.0040cd70
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x24]
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], vtable.CBaseRecordVector.0
push 0
call fcn.00427ea0
push dword [ebp - 0x18]
call fcn.004a5802
add esp, 4
mov eax, 0x80070057
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ax, word [ebp - 0xdc]
test ax, ax
jne 0x40bf79
xor al, al
jmp 0x40bfc1
cmp ax, 0x13
je 0x40bfb6
lea ecx, [ebp - 0xdc]
call fcn.00428290
push dword [ebp - 0x3c]
call fcn.004a5802
add esp, 4
lea ecx, [ebp - 0x24]
call fcn.0040ce20
mov eax, 0x80070057
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x30], eax
mov al, 1
lea ecx, [ebp - 0xdc]
mov byte [ebp - 0x28], al
call fcn.00428290
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x5c], xmm0
mov byte [ebp - 0x27], 0
mov al, byte [ecx + 0x3d]
test al, al
je 0x40c042
xor eax, eax
mov dword [ebp - 0xa0], eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xa
mov eax, dword [ebx]
push ecx
push 0xa
push esi
push ebx
call dword [eax + 0x18]
mov edi, eax
test edi, edi
je 0x40c012
lea ecx, [ebp - 0xa0]
jmp 0x40bedc
mov ax, word [ebp - 0xa0]
cmp ax, 0x40
jne 0x40c085
mov ecx, dword [ebp - 0x94]
xor eax, eax
or eax, dword [ebp - 0x98]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], ecx
mov byte [ebp - 0x27], 1
lea ecx, [ebp - 0xa0]
call fcn.00428290
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x54], xmm0
mov byte [ebp - 0x26], 0
mov al, byte [eax + 0x3e]
test al, al
je 0x40c0cf
xor eax, eax
mov dword [ebp - 0xb0], eax
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0xb
mov eax, dword [ebx]
push ecx
push 0xb
push esi
push ebx
call dword [eax + 0x18]
mov edi, eax
test edi, edi
je 0x40c09f
lea ecx, [ebp - 0xb0]
jmp 0x40bedc
test ax, ax
je 0x40c037
lea ecx, [ebp - 0xa0]
call fcn.00428290
mov edi, 0x80070057
jmp 0x40bee1
mov ax, word [ebp - 0xb0]
cmp ax, 0x40
jne 0x40c108
mov ecx, dword [ebp - 0xa4]
xor eax, eax
or eax, dword [ebp - 0xa8]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], ecx
mov byte [ebp - 0x26], 1
lea ecx, [ebp - 0xb0]
call fcn.00428290
xorps xmm0, xmm0
mov byte [ebp - 0x25], 0
xor eax, eax
movlpd qword [ebp - 0x4c], xmm0
mov dword [ebp - 0xc0], eax
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xc
mov eax, dword [ebx]
push ecx
push 0xc
push esi
push ebx
call dword [eax + 0x18]
mov edi, eax
test edi, edi
je 0x40c122
lea ecx, [ebp - 0xc0]
jmp 0x40bedc
test ax, ax
je 0x40c0c4
lea ecx, [ebp - 0xb0]
call fcn.00428290
mov edi, 0x80070057
jmp 0x40bee1
mov ax, word [ebp - 0xc0]
cmp ax, 0x40
jne 0x40c17f
mov ecx, dword [ebp - 0xb4]
xor eax, eax
or eax, dword [ebp - 0xb8]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ecx
mov byte [ebp - 0x25], 1
lea ecx, [ebp - 0xc0]
call fcn.00428290
xor eax, eax
mov dword [ebp - 0xec], eax
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0xd
mov eax, dword [ebx]
push ecx
push 3
push esi
push ebx
call dword [eax + 0x18]
mov edi, eax
test edi, edi
je 0x40c199
lea ecx, [ebp - 0xec]
jmp 0x40bedc
test ax, ax
je 0x40c147
lea ecx, [ebp - 0xc0]
call fcn.00428290
mov edi, 0x80070057
jmp 0x40bee1
mov ax, word [ebp - 0xec]
test ax, ax
je 0x40c24b
cmp ax, 8
je 0x40c1ba
lea ecx, [ebp - 0xec]
jmp 0x40bf85
mov esi, dword [ebp - 0xe4]
xor edi, edi
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
cmp word [esi], di
je 0x40c1e8
nop dword [eax]
inc edi
cmp word [esi + edi*2], 0
jne 0x40c1e0
push edi
lea ecx, [ebp - 0x80]
call fcn.004037f0
mov ecx, dword [ebp - 0x80]
sub ecx, esi
nop word [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [esi + ecx - 2], ax
test ax, ax
jne 0x40c200
mov dword [ebp - 0x7c], edi
lea edx, [ebp - 0x80]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x154]
call fcn.0041b690
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xf
call fcn.004064f0
push dword [ebp - 0x154]
call fcn.004a5802
push dword [ebp - 0x80]
call fcn.004a5802
mov esi, dword [ebp - 0x74]
add esp, 8
lea ecx, [ebp - 0xec]
call fcn.00428290
xor eax, eax
mov dword [ebp - 0xfc], eax
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0x10
mov eax, dword [ebx]
push ecx
push 6
push esi
push ebx
call dword [eax + 0x18]
mov edi, eax
test edi, edi
je 0x40c283
lea ecx, [ebp - 0xfc]
jmp 0x40bedc
mov ax, word [ebp - 0xfc]
test ax, ax
jne 0x40c294
mov byte [ebp + 0x17], al
jmp 0x40c2b5
cmp ax, 0xb
je 0x40c2a5
lea ecx, [ebp - 0xfc]
jmp 0x40bf85
cmp word [ebp - 0xf4], 0
mov byte [ebp + 0x17], 1
setne byte [ebp - 0x29]
lea ecx, [ebp - 0xfc]
call fcn.00428290
xor eax, eax
mov dword [ebp - 0x10c], eax
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0x11
mov eax, dword [ebx]
push ecx
push 0x15
push esi
push ebx
call dword [eax + 0x18]
mov edi, eax
test edi, edi
je 0x40c2ed
lea ecx, [ebp - 0x10c]
jmp 0x40bedc
mov ax, word [ebp - 0x10c]
test ax, ax
jne 0x40c2fe
mov byte [ebp - 0x2a], al
jmp 0x40c31b
cmp ax, 0xb
je 0x40c30f
lea ecx, [ebp - 0x10c]
jmp 0x40bf85
cmp word [ebp - 0x104], 0
setne byte [ebp - 0x2a]
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 6
call fcn.00428290
cmp byte [ebp - 0x2a], 0
je 0x40c343
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
xor al, al
movlpd qword [ebp - 0x44], xmm0
jmp 0x40c346
mov al, byte [ebp - 0x28]
cmp byte [ebp + 0x17], 0
jne 0x40c35b
test al, al
je 0x40c35b
mov eax, dword [ebp - 0x30]
shr eax, 4
and al, 1
mov byte [ebp - 0x29], al
cmp byte [ebp - 0x2c], 0
je 0x40c3ce
xor eax, eax
mov dword [ebp - 0x90], eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x12
mov eax, dword [ebx]
push ecx
push 7
push esi
push ebx
call dword [eax + 0x18]
mov edi, eax
test edi, edi
je 0x40c38e
lea ecx, [ebp - 0x90]
jmp 0x40bedc
cmp word [ebp - 0x90], 0x15
je 0x40c3a3
lea ecx, [ebp - 0x90]
jmp 0x40bf85
mov ecx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x44], ecx
or ecx, eax
mov dword [ebp - 0x40], eax
je 0x40c3bf
cmp byte [ebp - 0x2a], 0
jne 0x40c398
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 6
call fcn.00428290
push 0x40
call fcn.004a57cf
add esp, 4
mov dword [ebp + 0x14], eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x13
push ecx
mov ecx, eax
call fcn.0040cfd0
mov byte [ebp - 4], 6
mov edi, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
cmp ecx, edx
jne 0x40c425
mov ecx, 1
cmp edx, 0x40
jl 0x40c40b
mov ecx, edx
shr ecx, 2
jmp 0x40c416
cmp edx, 8
mov eax, 8
cmovge ecx, eax
lea eax, [edx + ecx]
push eax
lea ecx, [ebp - 0x24]
call fcn.00427d70
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [eax + ecx*4], edi
inc dword [ebp - 0x1c]
mov byte [ebp - 4], 1
push dword [ebp - 0x3c]
call fcn.004a5802
add esp, 4
inc esi
jmp 0x40bcd6
lea ecx, [ebp - 0x148]
call fcn.00403ad0
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0x14
call fcn.00403ad0
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x190]
mov edi, dword [ebp + 8]
push eax
lea eax, [ebp - 0x148]
push eax
lea ecx, [edi - 8]
call fcn.0040b770
mov esi, eax
test esi, esi
je 0x40c4e7
lea ecx, [ebp - 0x190]
call fcn.00405140
lea ecx, [ebp - 0x148]
call fcn.00405140
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x24]
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], vtable.CObjectVector_struct_NArchive::N7z::CUpdateItem_.0
push 0
call fcn.0040cd70
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x24]
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], vtable.CBaseRecordVector.0
push 0
call fcn.00427ea0
push dword [ebp - 0x18]
call fcn.004a5802
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [edi + 8]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x168], 1
mov dword [ebp - 0x68], 0
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x18
mov eax, dword [ebx]
push ecx
push 0x4ed300
push ebx
call dword [eax]
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x40c5f6
mov dword [ebp + 8], 0
lea edx, [ebp + 8]
mov byte [ebp - 4], 0x19
mov ecx, dword [eax]
push edx
lea edx, [ebp + 0x14]
push edx
push eax
call dword [ecx + 0xc]
mov esi, eax
test esi, esi
je 0x40c5c2
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x40c55b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x190]
call fcn.00405140
lea ecx, [ebp - 0x148]
call fcn.00405140
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x24]
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], vtable.CObjectVector_struct_NArchive::N7z::CUpdateItem_.0
push 0
call fcn.0040cd70
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x24]
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], vtable.CBaseRecordVector.0
push 0
call fcn.00427ea0
push dword [ebp - 0x18]
call fcn.004a5802
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0x14], 0
setne al
mov byte [ebp - 0x11c], al
test al, al
je 0x40c5e1
push dword [ebp + 8]
lea ecx, [ebp - 0x118]
call fcn.0040cf80
mov byte [ebp - 4], 0x18
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov al, byte [ebp - 0x11c]
jmp 0x40c5fe
xor al, al
mov byte [ebp - 0x11c], al
mov cl, byte [edi + 0x3a]
mov byte [ebp + 0x17], cl
xor cl, cl
test al, al
je 0x40c640
cmp byte [edi + 0x3b], cl
je 0x40c614
mov cl, byte [edi + 0x3c]
jmp 0x40c61a
mov cl, byte [edi + 0x238]
mov byte [ebp + 0xb], cl
mov byte [ebp + 0x17], 1
test cl, cl
je 0x40c640
mov byte [ebp - 0x164], al
lea ecx, [ebp - 0x160]
lea eax, [ebp - 0x118]
push eax
call fcn.004064f0
mov cl, byte [ebp + 0xb]
movzx eax, byte [ebp + 0x17]
xor edx, edx
cmp dword [ebp + 0x10], 2
cmovae edx, eax
cmp byte [edi + 0x3a], 0
lea eax, [ebp - 0x148]
mov dword [ebp - 0x4c], eax
jne 0x40c664
test cl, cl
jne 0x40c664
xor esi, esi
jmp 0x40c66a
lea esi, [ebp - 0x190]
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x48], esi
test eax, eax
je 0x40c67e
cmp byte [edi + 0x40], 0
mov byte [ebp - 0x44], 1
jne 0x40c682
mov byte [ebp - 0x44], 0
cmp eax, 8
mov byte [ebp - 0x42], dl
mov al, byte [edi + 0x3d]
lea ecx, [ebp - 0x1e8]
mov byte [ebp - 0x41], al
setae byte [ebp - 0x43]
mov al, byte [edi + 0x3e]
mov byte [ebp - 0x40], al
mov al, byte [edi + 0x3f]
mov byte [ebp - 0x3f], al
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x30], eax
mov al, byte [edi + 0x39]
mov byte [ebp - 0x2c], al
mov al, byte [edi + 0x24]
mov byte [ebp - 0x2b], al
mov al, byte [edi + 0x48]
mov byte [ebp - 0x2a], al
call fcn.0040b680
lea ecx, [ebp - 0x314]
call fcn.00409680
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x1f
mov eax, dword [ebx]
push ecx
push 0x4ed2b0
push ebx
call dword [eax]
push dword [ebp - 0x6c]
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x4c]
mov ecx, dword [edi + 0x64]
push eax
push ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x1e8]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004158b0
mov edi, eax
add esp, 0x1c
test edi, edi
je 0x40c7ba
mov byte [ebp - 4], 0x20
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x40c73d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x314]
call fcn.004091a0
lea ecx, [ebp - 0x1e8]
call fcn.0040c8d0
mov byte [ebp - 4], 0x21
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x40c764
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x190]
call fcn.00405140
lea ecx, [ebp - 0x148]
call fcn.00405140
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x24]
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], vtable.CObjectVector_struct_NArchive::N7z::CUpdateItem_.0
push 0
call fcn.0040cd70
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x24]
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], vtable.CBaseRecordVector.0
push 0
call fcn.00427ea0
push dword [ebp - 0x18]
call fcn.004a5802
add esp, 4
jmp 0x40bef4
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
push 0
call dword [eax + 4]
push dword [ebp - 0x18]
call fcn.004a5802
add esp, 4
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x42]
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1e8]
mov dword [ebp - 0x18], 0
push eax
push esi
lea eax, [ebp - 0x314]
push eax
call fcn.00413770
mov esi, eax
mov byte [ebp - 4], 0x24
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
je 0x40c812
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
lea ecx, [ebp - 0x314]
call fcn.004091a0
lea ecx, [ebp - 0x1e8]
call fcn.0040c8d0
mov byte [ebp - 4], 0x25
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x40c839
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x190]
call fcn.00405140
lea ecx, [ebp - 0x148]
call fcn.00405140
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x24]
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], vtable.CObjectVector_struct_NArchive::N7z::CUpdateItem_.0
push 0
call fcn.0040cd70
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x24]
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], vtable.CBaseRecordVector.0
push 0
call fcn.00427ea0
push dword [ebp - 0x18]
call fcn.004a5802
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10