Function at 0x406410
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51d7c8
mov eax, dword fs:[0]
push eax
sub esp, 0x114
push ebx
push esi
push edi
mov eax, dword [0x595cb8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
cmp dword [ebp + 0x14], 0
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 0x10]
setne byte [ebp + 0x17]
mov esi, dword [ebp + 0x18]
mov edi, ebx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x64], esi
test esi, esi
je 0x406465
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x50], xmm0
cmp ebx, 0xffffffff
jne 0x40647b
mov ebx, dword [ecx + 0x7c]
mov dword [ebp + 0x10], ebx
test ebx, ebx
jne 0x4064a3
mov byte [ebp - 4], 2
test esi, esi
je 0x40648d
mov eax, dword [esi]
push esi
call dword [eax + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x24], vtable.CObjectVector_struct_NArchive::N7z::CExtractFolderInfo_.0
mov edx, dword [ebp - 0x4c]
xor eax, eax
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x50]
mov byte [ebp - 4], 3
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], eax
cmp eax, ebx
jae 0x4066ad
cmp edi, 0xffffffff
jne 0x4064ef
mov edx, eax
mov dword [ebp - 0x2c], eax
jmp 0x4064f8
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + eax*4]
mov dword [ebp - 0x2c], edx
mov eax, dword [ecx + 0x1c8]
mov edi, dword [eax + edx*4]
cmp edi, 0xffffffff
jne 0x40655c
push edi
push edx
lea ecx, [ebp - 0x90]
call fcn.00406340
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00407140
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
push dword [ebp - 0x80]
mov dword [ebp - 0x88], vtable.CBaseRecordVector.0
push 0
call fcn.0041b1b0
push dword [ebp - 0x7c]
call fcn.004f4577
mov eax, dword [ebp - 0x34]
add esp, 4
mov ecx, dword [ebp + 8]
inc eax
mov edi, dword [ebp - 0x44]
mov byte [ebp - 4], 3
jmp 0x4064d8
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x406573
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + ecx*4 - 4]
cmp edi, dword [eax + 4]
je 0x40661d
mov dword [ebp - 0x90], 0xffffffff
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 1
mov dword [ebp - 0x88], vtable.CRecordVector_bool_.0
xorps xmm0, xmm0
movlpd qword [ebp - 0x70], xmm0
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x24]
call fcn.00407140
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88]
push dword [ebp - 0x80]
mov dword [ebp - 0x88], vtable.CBaseRecordVector.0
push 0
call fcn.0041b1b0
push dword [ebp - 0x7c]
call fcn.004f4577
mov ecx, dword [ebp + 8]
add esp, 4
mov byte [ebp - 4], 3
mov eax, dword [ecx + 0x58]
mov ecx, dword [eax + edi*4]
call fcn.00406160
mov ecx, dword [ebp - 0x18]
mov ebx, eax
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x30], ebx
adc dword [ebp - 0x28], edx
mov eax, dword [ecx + eax*4 - 4]
mov dword [eax + 0x24], edx
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0x20], ebx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + eax*4 - 4]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], ecx
mov eax, dword [eax + 0x1b4]
mov edi, dword [eax + edi*4]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x48], edi
mov ebx, edx
mov dword [ebp + 0x18], eax
sub ebx, edi
cmp eax, ebx
ja 0x40669b
lea edi, [ecx + 8]
mov ecx, dword [edi + 4]
cmp dword [edi + 8], ecx
jne 0x40667b
mov eax, 1
cmp ecx, 0x40
jl 0x406663
mov eax, ecx
shr eax, 2
jmp 0x40666e
cmp ecx, 8
mov edx, 8
cmovge eax, edx
add eax, ecx
mov ecx, edi
push eax
call fcn.0041b0f0
mov eax, dword [ebp + 0x18]
mov ecx, dword [edi + 0xc]
cmp eax, ebx
mov eax, dword [edi + 8]
sete dl
mov byte [ecx + eax], dl
inc dword [edi + 8]
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 0x2c]
inc eax
mov ecx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x48]
jmp 0x40663c
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp + 0x10]
inc eax
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 0x44]
jmp 0x4064d8
mov edx, dword [ebp - 0x28]
mov eax, dword [esi]
push edx
mov edx, dword [ebp - 0x30]
push edx
push esi
call dword [eax + 0xc]
mov edi, eax
test edi, edi
je 0x406731
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x24]
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], vtable.CObjectVector_struct_NArchive::N7z::CExtractFolderInfo_.0
push 0
call fcn.00407030
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x24]
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], vtable.CBaseRecordVector.0
push 0
call fcn.0041b1b0
push dword [ebp - 0x18]
call fcn.004f4577
add esp, 4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 0xb
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
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 0x14
push ecx
lea ecx, [ebp - 0x120]
call fcn.00404660
xorps xmm0, xmm0
mov byte [ebp - 4], 0xc
push 0x38
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x58], xmm0
call fcn.004f457c
mov ebx, eax
add esp, 4
mov edi, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x2c], edi
mov dword [ebx + 4], 0
mov dword [ebx], vtable.CLocalProgress.0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov word [ebx + 0x30], 0x101
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x4067ce
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx + 0xc], 0
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x4067e1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, esi
mov dword [ebx + 8], esi
lea edx, [ebx + 0xc]
push edx
push 0x56a6b8
mov ecx, dword [eax]
push eax
call dword [ecx]
mov eax, dword [ebp - 0x5c]
mov byte [ebx + 0x10], 0
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x58]
push 0
mov dword [ebx + 0x28], ecx
mov ecx, dword [ebp - 0x54]
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
push 0
mov dword [ebx + 0x2c], ecx
mov ecx, dword [ebp - 0x60]
push ebx
mov dword [ebx + 0x20], ecx
call dword [eax + 0xc]
mov ebx, eax
test ebx, ebx
je 0x4068b8
mov byte [ebp - 4], 0xe
test edi, edi
je 0x406839
mov eax, dword [edi]
push edi
call dword [eax + 8]
lea ecx, [ebp - 0x120]
call fcn.00406f40
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x24]
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], vtable.CObjectVector_struct_NArchive::N7z::CExtractFolderInfo_.0
push 0
call fcn.00407030
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x24]
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], vtable.CBaseRecordVector.0
push 0
call fcn.0041b1b0
push dword [ebp - 0x18]
call fcn.004f4577
add esp, 4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 0x11
test esi, esi
je 0x4068a2
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x1c]
jl 0x406932
mov byte [ebp - 4], 0x3d
test edi, edi
je 0x4068ce
mov eax, dword [edi]
push edi
call dword [eax + 8]
lea ecx, [ebp - 0x120]
call fcn.00406f40
mov byte [ebp - 4], 0x3e
lea ecx, [ebp - 0x24]
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], vtable.CObjectVector_struct_NArchive::N7z::CExtractFolderInfo_.0
push 0
call fcn.00407030
mov byte [ebp - 4], 0x3f
lea ecx, [ebp - 0x24]
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], vtable.CBaseRecordVector.0
push 0
call fcn.0041b1b0
push dword [ebp - 0x18]
call fcn.004f4577
add esp, 4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 0x40
jmp 0x406483
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
push 0x38
movlpd qword [ebp - 0x50], xmm0
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x38], eax
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
call fcn.004f457c
mov ebx, eax
add esp, 4
mov dword [ebp + 0xc], ebx
mov dword [ebx + 4], vtable.ICompressGetSubStreamSize.0
mov dword [ebx + 8], 0
mov dword [ebx], vtable.NArchive::N7z::CFolderOutStream.0
mov dword [ebx + 4], vtable.NArchive::N7z::CFolderOutStream.1.0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x1c], 0
push 0x20
mov byte [ebp - 4], 0x14
call fcn.004f457c
mov ecx, eax
add esp, 4
mov dword [ebp + 0x10], ecx
mov dword [ecx + 4], 0
mov dword [ecx], vtable.COutStreamWithCRC.0
mov dword [ecx + 8], 0
mov dword [ebx + 0xc], ecx
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x4069c4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 0xd
mov dword [ebx + 0x10], eax
mov eax, dword [ebx]
push ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x94], ebx
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x38]
add eax, 0x10
mov byte [ebp - 4], 0x15
mov dword [ebp + 0xc], eax
mov eax, dword [edx]
cmp eax, 0xffffffff
jne 0x406a03
mov eax, dword [ebp + 0xc]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x1a4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1e8], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x24], eax
setne byte [ebp + 0x13]
mov dword [ebx + 0x14], ecx
lea eax, [edx + 8]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], eax
test esi, esi
je 0x406a31
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x406a3e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov al, byte [ebp + 0x17]
mov ecx, ebx
mov dword [ebx + 0x1c], esi
mov byte [ebx + 0x2c], al
mov al, byte [ebp + 0x13]
mov byte [ebx + 0x2d], al
mov dword [ebx + 0x28], 0
mov byte [ebx + 0x2e], 0
call fcn.004076e0
mov dword [ebp + 0x10], eax
test eax, eax
je 0x406b02
mov byte [ebp - 4], 0x16
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov byte [ebp - 4], 0x17
test edi, edi
je 0x406a82
mov eax, dword [edi]
push edi
call dword [eax + 8]
lea ecx, [ebp - 0x120]
call fcn.00406f40
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x24]
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], vtable.CObjectVector_struct_NArchive::N7z::CExtractFolderInfo_.0
push 0
call fcn.00407030
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x24]
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], vtable.CBaseRecordVector.0
push 0
call fcn.0041b1b0
push dword [ebp - 0x18]
call fcn.004f4577
add esp, 4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 0x1a
test esi, esi
je 0x406aeb
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 0x38]
cmp dword [ecx], 0xffffffff
je 0x406b20
mov byte [ebp - 4], 0x1b
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov ebx, dword [ebp - 0x28]
mov byte [ebp - 4], 0xd
jmp 0x406e7f
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + 0xc]
push ecx
lea edx, [ecx*4]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 0x48]
mov dword [ebp + 0x10], edx
mov eax, dword [edx + eax]
mov dword [ebp - 0x44], eax
call fcn.004061d0
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x4c], edx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
mov eax, dword [edx + 0x190]
mov ecx, dword [ecx + eax]
mov eax, dword [edx + 0x17c]
shl ecx, 3
mov dword [ebp + 0x10], ecx
mov edi, dword [eax + ecx]
add edi, dword [edx + 0x148]
mov eax, dword [eax + ecx + 4]
adc eax, dword [edx + 0x14c]
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x38], edi
mov dword [ebp + 0x18], eax
mov byte [ebp - 4], 0x1c
test esi, esi
je 0x406b9d
mov eax, dword [esi]
lea ecx, [ebp + 0x18]
push ecx
push 0x56a644
push esi
call dword [eax]
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
mov byte [ebp - 4], 0x1d
lea edi, [ebp + 0x13]
mov ecx, dword [edx + 0xc]
mov edx, dword [ebp + 8]
add ecx, dword [ebp + 0x10]
push dword [edx + 0x1e4]
push 1
push edi
mov edi, dword [ebp - 0x2c]
push eax
push edi
push ebx
push dword [ebp - 0x44]
push ecx
push dword [ebp - 0x48]
lea ecx, [ebp - 0x120]
push dword [ebp - 0x38]
push dword [edx + 0xc]
call fcn.004047e0
mov dword [ebp + 0x10], eax
cmp eax, 1
jne 0x406c58
push 2
mov ecx, ebx
call fcn.00407930
mov dword [ebp + 0x10], eax
test eax, eax
je 0x406c31
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x406bfd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x1f
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov byte [ebp - 4], 0x20
test edi, edi
je 0x406c15
mov eax, dword [edi]
push edi
call dword [eax + 8]
lea ecx, [ebp - 0x120]
call fcn.00406f40
lea ecx, [ebp - 0x24]
call fcn.00407240
mov byte [ebp - 4], 0x21
jmp 0x406ae1
mov byte [ebp - 4], 0x22
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x406c42
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x23
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov ebx, dword [ebp - 0x28]
mov byte [ebp - 4], 0xd
jmp 0x406e7f
cmp eax, 0x80004001
jne 0x406cdb
push 1
mov ecx, ebx
call fcn.00407930
mov dword [ebp + 0x10], eax
test eax, eax
je 0x406cb4
mov byte [ebp - 4], 0x24
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x406c80
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x25
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov byte [ebp - 4], 0x26
test edi, edi
je 0x406c98
mov eax, dword [edi]
push edi
call dword [eax + 8]
lea ecx, [ebp - 0x120]
call fcn.00406f40
lea ecx, [ebp - 0x24]
call fcn.00407240
mov byte [ebp - 4], 0x27
jmp 0x406ae1
mov byte [ebp - 4], 0x28
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x406cc5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x29
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov ebx, dword [ebp - 0x28]
mov byte [ebp - 4], 0xd
jmp 0x406e7f
test eax, eax
je 0x406d24
mov byte [ebp - 4], 0x2a
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x406cf0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x2b
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov byte [ebp - 4], 0x2c
test edi, edi
je 0x406d08
mov eax, dword [edi]
push edi
call dword [eax + 8]
lea ecx, [ebp - 0x120]
call fcn.00406f40
lea ecx, [ebp - 0x24]
call fcn.00407240
mov byte [ebp - 4], 0x2d
jmp 0x406ae1
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 8]
cmp dword [ebx + 0x28], eax
je 0x406dab
push 2
mov ecx, ebx
call fcn.00407930
mov dword [ebp + 0x10], eax
test eax, eax
je 0x406d84
mov byte [ebp - 4], 0x2e
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x406d50
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x2f
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov byte [ebp - 4], 0x30
test edi, edi
je 0x406d68
mov eax, dword [edi]
push edi
call dword [eax + 8]
lea ecx, [ebp - 0x120]
call fcn.00406f40
lea ecx, [ebp - 0x24]
call fcn.00407240
mov byte [ebp - 4], 0x31
jmp 0x406ae1
mov byte [ebp - 4], 0x32
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x406d95
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x33
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov ebx, dword [ebp - 0x28]
mov byte [ebp - 4], 0xd
jmp 0x406e7f
mov dword [ebp - 4], 0x3b
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x406dbf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x3c
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov ebx, dword [ebp - 0x28]
mov byte [ebp - 4], 0xd
jmp 0x406e7f
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x40]
add dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x3c]
adc dword [ebp - 0x54], ecx
add eax, dword [ebp - 0x50]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
adc eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
jmp 0x406802