Function at 0x6ad82c20
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xcc
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x7c], 0
mov esi, dword [eax + 0x40]
mov edi, dword [eax + 0x44]
lea eax, [esp + 0x7c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 4], eax
add eax, 0x30
mov dword [esp], eax
call fcn.6ada4f90
mov dword [esp + 0x60], eax
test eax, eax
je 0x6ad82c80
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.6adab650
mov eax, dword [esp + 0x60]
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], edi
mov dword [esp + 8], 0x32
mov dword [esp + 0xc], 0
mov dword [esp], esi
call fcn.6adfb3e0
mov dword [esp], eax
mov edi, eax
mov dword [esp + 0x50], eax
call fcn.6ad82200
mov dword [esp + 0x5c], eax
test eax, eax
je 0x6ae0eed1
test edi, edi
je 0x6ad83497
mov dword [esp + 0x48], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
lea esi, [esi]
lea esi, [esi]
lea eax, [esp + 0x90]
mov ebx, dword [esp + 0x48]
add ebx, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov edi, ebx
mov dword [esp], ebx
call fcn.6ada5830
mov eax, dword [esp + 0xe0]
cmp dword [eax + 8], 0x10d00
jne 0x6ad82d35
and byte [esp + 0x97], 0xef
mov dword [esp + 4], 0x88
mov dword [esp], 1
call fcn.6adab680
mov ebp, eax
test eax, eax
je 0x6ae0ed9d
movzx eax, word [ebx + 0x18]
lea edx, [ebp + 0x10]
mov dword [esp + 0x44], edx
mov word [esp + 0x4e], ax
mov eax, dword [ebx + 0x1a]
mov dword [ebp + 0x24], eax
mov ecx, dword [ebx + 0x1e]
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebx + 0x22]
mov dword [ebp + 0x14], ecx
mov ecx, dword [ebx + 0x26]
mov dword [ebp + 0x18], ecx
mov ecx, dword [ebx + 0x2a]
mov dword [ebp + 0x1c], ecx
mov eax, dword [ebx + 0x2e]
mov dword [ebp + 0x20], eax
movzx eax, byte [esp + 0x97]
test al, 0x10
je 0x6ad83010
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x6ad831d8
mov eax, dword [esp + 0xa4]
xor eax, 1
or eax, dword [esp + 0xa0]
je 0x6ad82eb2
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x94]
and eax, 0xffffff
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], edx
test ecx, ecx
je 0x6ad83516
xor ecx, ecx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x28], esi
mov ebp, ecx
mov dword [esp + 0x2c], edi
jmp 0x6ad82e25
sub dword [esp + 0x28], eax
sbb dword [esp + 0x2c], edx
add ebp, 1
cmp ebp, dword [esp + 0x40]
je 0x6ad8351b
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
add ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x34]
mov eax, dword [eax + ebp*4]
adc ebx, dword [esp + 0x2c]
mov edx, dword [eax + 0x1c]
mov edi, eax
mov eax, dword [eax + 0x18]
mov esi, edx
cmp eax, ecx
sbb esi, ebx
jb 0x6ad82e10
mov ebp, dword [esp + 0x54]
mov ebx, edi
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
movzx eax, byte [ebp + 0x2c]
mov dword [ebp + 0x30], ebx
lea edx, [ebp + 0x40]
add ebx, 0x20
and eax, 0xfffffff0
or eax, 1
mov byte [ebp + 0x2c], al
mov eax, dword [ebx + 4]
mov dword [ebx + 4], edx
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x44], eax
mov dword [eax], edx
mov dword [ebp + 0x38], esi
mov dword [ebp + 0x3c], edi
cmp dword [esp + 0x44], 0x6ae1dd40
je 0x6ad82eb2
mov eax, dword [esp + 0x44]
mov dword [esp + 8], 0x14
mov dword [esp + 4], 0x6ae1dd40
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x6ad830ac
movzx eax, byte [ebp + 0x2c]
and eax, 0xf
cmp al, 1
jne 0x6ad82ecc
mov edx, dword [ebp + 0x44]
mov eax, dword [ebp + 0x40]
mov dword [edx], eax
mov dword [eax + 4], edx
and byte [ebp + 0x2c], 0xf0
mov dword [esp], ebp
call fcn.6ad82360
mov dword [esp], ebp
call fcn.6adab650
add dword [esp + 0x48], 0x32
sub dword [esp + 0x50], 1
jne 0x6ad82d00
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x6ad82fbe
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
call fcn.6ad82910
test eax, eax
je 0x6ad82fbe
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x5c]
xor edi, edi
mov eax, dword [eax]
mov ebp, dword [eax + edi*4]
test ebp, ebp
jne 0x6ad82f60
jmp 0x6ad82f95
cmp al, 1
ja 0x6ad83470
jne 0x6ad82f50
mov esi, dword [ebx + 0x30]
mov eax, dword [ebx + 0x40]
mov edx, dword [ebx + 0x44]
mov dword [edx], eax
mov dword [eax + 4], edx
lea eax, [esi + 0x20]
cmp dword [esi + 0x20], eax
je 0x6ad83480
lea esi, [esi]
and byte [ebx + 0x2c], 0xf0
mov dword [esp], ebx
call fcn.6adab650
test ebp, ebp
je 0x6ad82f8f
mov ebx, ebp
mov ebp, dword [ebp]
movzx eax, byte [ebx + 0x2c]
and eax, 0xf
cmp al, 3
jbe 0x6ad82f28
cmp al, 4
jne 0x6ad82f50
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call fcn.6adbeec0
and byte [ebx + 0x2c], 0xf0
mov dword [esp], ebx
call fcn.6adab650
test ebp, ebp
jne 0x6ad82f60
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
mov esi, dword [esp + 0x5c]
add edi, 1
cmp edi, dword [esi + 8]
jbe 0x6ad82f19
mov dword [esp], eax
call fcn.6adab650
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.6adab650
jmp 0x6ad82c65
mov eax, dword [esp + 0xe0]
cmp word [eax + 0x24], 1
je 0x6ad83455
mov ebx, dword [esp + 0x64]
test ebx, ebx
jne 0x6ae0edc1
mov ecx, dword [esp + 0x68]
test ecx, ecx
jne 0x6ae0ee0f
mov edx, dword [esp + 0x6c]
test edx, edx
jne 0x6ae0eeea
mov eax, dword [esp + 0xe0]
mov edi, dword [esp + 0x5c]
mov dword [eax + 0x138], edi
jmp 0x6ad82c65
mov edx, dword [esp + 0x3c]
test edx, edx
jne 0x6ad833ea
test al, 4
je 0x6ad8340f
mov dword [esp], 0x30
call fcn.6adab620
test eax, eax
je 0x6ae0ecf0
mov dword [esp + 8], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
lea eax, [esp + 0x90]
mov dword [esp], eax
call fcn.6ada5730
mov eax, dword [esp + 0xe0]
add dword [eax + 0x13c], 1
cmp dword [esp + 0x44], 0x6ae1dd40
je 0x6ad83100
mov eax, dword [esp + 0x44]
mov dword [esp + 8], 0x14
mov dword [esp + 4], 0x6ae1dd40
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x6ad83100
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov eax, edx
mov edx, ecx
or edx, eax
je 0x6ad833d0
mov eax, dword [esp + 0xe0]
movzx edi, word [esp + 0x4e]
cmp word [eax + 0x24], di
jne 0x6ad833e0
movzx eax, byte [esp + 0x97]
test al, 2
je 0x6ad83110
mov edx, dword [ebp + 0x24]
test edx, edx
jne 0x6ad83160
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x6ad82eb2
jmp 0x6ad82ecc
mov dword [esp + 0x3c], 0
jmp 0x6ad82ecc
mov edi, dword [esp + 0x5c]
mov eax, dword [ebp + 0x10]
mov edx, dword [edi]
and eax, dword [edi + 8]
mov ebx, dword [edx + eax*4]
test ebx, ebx
je 0x6ad83440
mov esi, dword [esp + 0x44]
jmp 0x6ad8313a
mov ebx, dword [ebx]
test ebx, ebx
je 0x6ad83440
lea eax, [ebx + 0x10]
mov dword [esp + 8], 0x14
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x6ad83130
add dword [esp + 0x64], 1
jmp 0x6ad830e9
cmp edx, 1
jne 0x6ae0ee8a
test al, 0x10
jne 0x6ae0ed09
cmp word [esp + 0x4e], 1
jne 0x6ae0ed5e
mov eax, dword [esp + 0xe0]
mov edi, dword [esp + 0x58]
cmp dword [eax + 0x28], edi
je 0x6ae0edda
mov eax, dword [esp + 0xe0]
mov esi, dword [esp + 0x58]
mov eax, dword [eax + 0x130]
mov dword [esp], ebp
lea ebx, [eax + esi*4]
call fcn.6adac1b0
mov dword [ebx], eax
mov eax, dword [esp + 0xe0]
mov eax, dword [eax + 0x130]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x6ae0edeb
add esi, 1
mov dword [esp + 0x58], esi
jmp 0x6ad82edc
mov eax, dword [esp + 0x50]
xor ecx, ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], ebx
mov esi, ecx
mov edi, eax
jmp 0x6ad8320c
mov eax, dword [esp + 0xbc]
xor eax, 1
or eax, dword [esp + 0xb8]
cmp eax, 1
adc esi, 0
sub edi, 1
je 0x6ad8322e
mov eax, ebx
lea ecx, [esp + 0xa8]
add ebx, 0x32
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.6ada5830
test byte [esp + 0xaf], 0x10
jne 0x6ad831f0
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
mov dword [esp + 4], 4
mov dword [esp], esi
mov dword [esp + 0x40], esi
call fcn.6adab680
mov dword [esp + 0x3c], eax
mov ecx, eax
test eax, eax
je 0x6ad8350b
mov eax, esi
test esi, esi
je 0x6ad833b0
xor esi, esi
mov dword [esp + 0x28], edi
mov edi, ecx
mov dword [esp + 0x30], ebx
mov ebx, esi
mov esi, eax
lea esi, [esi]
mov dword [esp], 0x30
call fcn.6adab620
mov dword [edi + ebx*4], eax
test eax, eax
je 0x6ad834c0
add ebx, 1
cmp ebx, esi
jne 0x6ad83278
mov eax, dword [esp + 0xe0]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
add eax, 0x148
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
lea eax, [eax + esi*4 - 4]
mov dword [esp + 0x30], eax
lea esi, [esi]
lea eax, [esp + 0xa8]
mov dword [esp], edi
mov esi, ebx
add ebx, 0x32
mov dword [esp + 4], eax
mov edi, ebx
call fcn.6ada5830
mov eax, dword [esp + 0xbc]
xor eax, 1
or eax, dword [esp + 0xb8]
jne 0x6ad832c8
mov eax, dword [esp + 0x28]
mov edi, dword [eax]
mov eax, dword [esp + 0xe0]
mov dword [esp + 4], eax
lea eax, [esp + 0xa8]
mov dword [esp], eax
mov dword [esp + 8], edi
call fcn.6ada5680
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
mov dword [esp + 8], 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 0x80]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], edx
mov dword [esp], eax
call fcn.6ad908c0
test eax, eax
jne 0x6ae0ee57
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0x28]
mov dword [edi + 0x1c], edx
mov edx, dword [esp + 0x8c]
and eax, 0x3ff
shl edx, 0xa
or eax, edx
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x88]
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
cmp eax, edi
je 0x6ad833b0
add eax, 4
lea edi, [esi + 0x32]
mov dword [esp + 0x28], eax
jmp 0x6ad832c8
mov eax, dword [esp + 0xe0]
mov edi, dword [esp + 0x40]
add dword [eax + 0x13c], edi
jmp 0x6ad82da3
add dword [esp + 0x68], 1
jmp 0x6ad830e9
add dword [esp + 0x6c], 1
jmp 0x6ad830e9
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
call fcn.6ad82910
test eax, eax
jne 0x6ad83510
movzx eax, byte [esp + 0x97]
test al, 4
jne 0x6ad83024
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
xor edx, dword [esp + 0xa0]
and eax, 0xffffff
xor eax, dword [esp + 0xa4]
or eax, edx
je 0x6ad83024
jmp 0x6ae0eeb8
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], ebp
mov dword [esp], eax
call fcn.6ad82500
jmp 0x6ad82edc
mov eax, dword [esp + 0xe0]
mov edi, dword [esp + 0x58]
cmp dword [eax + 0x28], edi
je 0x6ad82fd0
jmp 0x6ae0ee28
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call fcn.6adab650
jmp 0x6ad82f50
mov eax, dword [esi]
mov dword [esp], eax
call fcn.6adacc10
mov dword [esp], esi
call fcn.6adab650
jmp 0x6ad82f50
mov eax, dword [esp + 0xe0]
cmp word [eax + 0x24], 1
jne 0x6ad82ff4
mov eax, dword [esp + 0xe0]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x6ad82ff4
jmp 0x6ae0ee9b
mov dword [esp + 0x60], 0x27
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
xor ebx, ebx
lea esi, [esi]
mov eax, dword [esi + ebx*4]
add ebx, 1
mov dword [esp], eax
call fcn.6adab650
cmp ebx, edi
jb 0x6ad834d8
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.6adab650
mov dword [esp], ebp
call fcn.6ad82360
mov dword [esp], ebp
call fcn.6adab650
jmp 0x6ad82f11
mov eax, 0x27
mov dword [esp + 0x60], eax
jmp 0x6ad834f6
jmp 0x6ae0ed7c
mov eax, dword [esp + 0x54]
mov ebp, eax
jmp 0x6ae0ed7c
mov dword [esp], str.Not_enough_memory_to_read_blob_table_
call fcn.6ae0f1f5
mov dword [esp + 0x60], 0x27
jmp 0x6ad834f6
mov dword [esp], str.Image_metadata_in_solid_resources_is_unsupported.
call fcn.6ae0f1f5
cmp dword [esp + 0x3c], 0
je 0x6ae0ed6f
mov dword [esp + 0x60], 0x14
xor ebx, ebx
cmp dword [esp + 0x40], 0
je 0x6ae0ed45
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + ebx*4]
lea edx, [eax + 0x20]
cmp dword [eax + 0x20], edx
je 0x6ae0ed8a
add ebx, 1
cmp dword [esp + 0x40], ebx
jne 0x6ae0ed2d
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.6adab650
test ebp, ebp
jne 0x6ad834f6
jmp 0x6ad82f11
mov dword [esp], str.Ignoring_metadata_resource_found_in_a_non_first_part_of_the_split_WIM
call fcn.6ae0f249
jmp 0x6ad830e9
mov dword [esp + 0x60], 0x14
jmp 0x6ad834f6
mov dword [esp], str.blob_could_not_be_assigned_to_a_solid_resource
call fcn.6ae0f1f5
jmp 0x6ae0ed1c
mov edx, dword [eax]
sub dword [edx + 0x13c], 1
mov dword [esp], eax
call fcn.6adab650
jmp 0x6ae0ed3c
mov dword [esp], str.Not_enough_memory_to_read_blob_table_
call fcn.6ae0f1f5
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x60], 0x27
jne 0x6ae0ed24
jmp 0x6ad82f11
mov eax, dword [esp + 0x64]
mov dword [esp], str.Ignoring__zu_duplicate_blobs
mov dword [esp + 4], eax
call fcn.6ae0f249
jmp 0x6ad82fdc
mov dword [esp], str.Found_more_metadata_resources_than_images
call fcn.6ae0f249
jmp 0x6ad830e9
mov dword [esp], str.Not_enough_memory_to_read_blob_table_
call fcn.6ae0f1f5
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x60], 0x27
jne 0x6ae0ed24
jmp 0x6ad834f6
mov eax, dword [esp + 0x68]
mov dword [esp], str.Ignoring__zu_empty_blobs
mov dword [esp + 4], eax
call fcn.6ae0f249
jmp 0x6ad82fe8
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x50], eax
mov dword [esp], str.Could_not_find_metadata_resources_for_all_images
call fcn.6ae0f249
mov eax, dword [esp + 0xe0]
mov edi, dword [esp + 0x58]
mov dword [eax + 0x28], edi
mov eax, dword [esp + 0x50]
mov dword [esp + 0x6c], eax
jmp 0x6ad82fd0
mov ecx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
mov dword [esp], str.Failed_to_read_header_of_solid_resource__offset_in_wim_llu_
mov dword [esp + 0x28], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.6ae0f1f5
mov eax, dword [esp + 0x28]
mov dword [esp + 0x60], eax
jmp 0x6ad834c8
mov dword [esp], str.Found_metadata_resource_with_refcnt___1
call fcn.6ae0f1f5
jmp 0x6ae0ed15
mov dword [esp + 0x64], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x68], 0
jmp 0x6ae0ee30
mov dword [esp], str.Uncompressed_resource_has_size_in_wim___uncompressed_size
call fcn.6ae0f1f5
mov dword [esp + 0x60], 0x14
jmp 0x6ad834f6
mov dword [esp], str.Not_enough_memory_to_read_blob_table_
call fcn.6ae0f1f5
mov dword [esp + 0x60], 0x27
jmp 0x6ad82c65
mov eax, dword [esp + 0x6c]
mov dword [esp], str.Ignoring__zu_blobs_with_wrong_part_number
mov dword [esp + 4], eax
call fcn.6ae0f249
jmp 0x6ad82ff4