Function at 0x6ae10a9e
Capabilities:
Check if file exists
Get disk information via ioctl
Read file on windows

Disassembly:
push ebp
push edi
push esi
mov esi, str.A:System_Volume_InformationWimOverlay.dat
push ebx
mov ebx, eax
sub esp, 0x38c
cmp word [eax], 0
mov dword [esp + 0x54], ecx
lea edi, [esp + 0xa8]
mov ecx, 0x16
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x30], edx
mov esi, str.A:System_Volume_InformationWimOverlay.backup
mov ecx, 0x5e
lea edi, [esp + 0x100]
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x1c4]
mov esi, str.A:System_Volume_InformationWimOverlay.wimlib_backup
mov ecx, 0x1b
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x15e]
mov esi, str.A:System_Volume_InformationWimOverlay.wimlib_new
mov ecx, 0x66
rep movsb byte es:[edi], byte [esi]
je 0x6ae10b12
cmp word [eax + 2], 0x3a
jne 0x6ae10b12
cmp word [eax + 4], 0
je 0x6ae10b2f
mov dword [esp + 8], 0x31f
mov dword [esp + 4], str.src_wimboot.c
mov dword [esp], str.drive_0____L0__drive_1___L:__drive_2___L0
call dword [0x6ae132b8]
mov ax, word [ebx]
mov ebp, 2
lea ebx, [esp + 0xa8]
mov word [esp + 0xa8], ax
mov word [esp + 0x100], ax
mov word [esp + 0x1c4], ax
mov word [esp + 0x15e], ax
mov edx, 0x80000000
mov eax, ebx
call fcn.6adb7570
mov esi, eax
cmp eax, 0xffffffff
jne 0x6ae10c2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x6ae11156
cmp eax, 3
jne 0x6ae10c08
cmp dword [0x6ae6b050], 0
je 0x6ae10c08
lea edi, [esp + 0x2c0]
mov esi, str.__X:_
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x2c0]
mov dword [esp + 4], 0x58
mov dword [esp], esi
call sub.msvcrt.dll_wcschr
mov edx, dword [esp + 0xa8]
mov word [eax], dx
lea eax, [esp + 0x230]
mov dword [esp + 0x234], esi
mov dword [esp + 0x230], 0x10000e
mov dword [esp], eax
call dword [0x6ae6b050]
push ecx
mov dword [esp], eax
call sub.ntdll.dll_RtlNtStatusToDosError
push esi
test eax, eax
jne 0x6ae10c08
dec ebp
je 0x6ae10c03
mov ebp, 1
jmp 0x6ae10b5e
mov eax, 3
lea edx, [esp + 0xa8]
mov dword [esp + 4], str.__ls_:_Cant_open_for_reading
mov dword [esp + 8], edx
mov dword [esp], eax
call fcn.6ae11dc3
mov edx, 0x2f
jmp 0x6ae11ab9
lea eax, [esp + 0x2c0]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
push edx
push edx
jne 0x6ae10c77
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.__ls_:_Cant_query_metadata
mov dword [esp], eax
call fcn.6ae11dc3
mov dword [esp], esi
call edi
mov edx, 0x3f
push eax
jmp 0x6ae11ab9
mov ebp, dword [esp + 0x2e0]
test ebp, ebp
je 0x6ae10ca2
mov dword [esp + 4], ebx
mov dword [esp], str.__ls_:_File_is_too_large_to_fit_into_memory
call fcn.6ae0f1f5
mov dword [esp], esi
call edi
mov edx, 0x27
push eax
jmp 0x6ae11ab9
mov eax, dword [esp + 0x2e4]
mov dword [esp], eax
call fcn.6adab620
mov dword [esp + 0x24], eax
test eax, eax
je 0x6ae10c82
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push eax
lea eax, [esp + 0x230]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2e4]
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
sub esp, 0x14
test eax, eax
je 0x6ae10d0d
mov eax, dword [esp + 0x230]
cmp dword [esp + 0x2e4], eax
je 0x6ae10d42
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0xa8]
mov dword [esp + 4], str.__ls_:_Cant_read_data
mov dword [esp + 8], edx
mov dword [esp], eax
call fcn.6ae11dc3
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x32
push edi
jmp 0x6ae1113d
mov dword [esp], esi
call edi
push esi
mov eax, dword [esp + 0x2e4]
mov dword [esp + 0x28], eax
cmp eax, 0x17
ja 0x6ae10d76
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], str.__ls_:_File_is_unexpectedly_small__only__u_bytes_
call fcn.6ae0f1f5
mov edx, 0x44
jmp 0x6ae1113d
mov eax, dword [esp + 0x24]
cmp dword [eax], 0x66436f57
jne 0x6ae10d8e
cmp dword [eax + 4], 1
jne 0x6ae10d8e
cmp dword [eax + 8], 0x28
je 0x6ae10dcc
lea eax, [esp + 0xa8]
mov dword [esp], str.__ls_:_Header_contains_unexpected_data:
mov dword [esp + 4], eax
call fcn.6ae0f1f5
cmp byte [0x6ae6b044], 0
je 0x6ae11138
mov eax, dword [0x6ae6b040]
mov dword [esp + 4], 0x18
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
jmp 0x6ae10e9e
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
xor ebx, ebx
mov eax, dword [eax + 0xc]
lea esi, [ecx - 0x18]
mov ecx, ebx
mov dword [esp + 0x50], eax
mov eax, 0x28
mul dword [esp + 0x50]
cmp esi, eax
sbb ecx, edx
jb 0x6ae10e11
mov eax, dword [esp + 0x24]
mov dword [esp + 0x4c], 0
add eax, 0x18
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48], eax
jmp 0x6ae10fb3
mov eax, dword [esp + 0x50]
mov dword [esp], str.__ls_:_File_is_unexpectedly_small__only__u_bytes__but_has__u_entries_
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
lea eax, [esp + 0xa8]
mov dword [esp + 4], eax
call fcn.6ae0f1f5
mov edx, 0x44
jmp 0x6ae1113d
lea eax, [ecx - 0x68]
mov ebx, dword [esp + 0x38]
add ebx, dword [esp + 0x24]
mov dword [esp + 0x38], eax
mov eax, ecx
and eax, 1
je 0x6ae10ec5
xchg esi, edi
lea eax, [esp + 0xa8]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 4], eax
mov dword [esp], str.__ls_:_entry__u__2___data_source_ID_0x_016llx__has_invalid_WIM_file_name
call fcn.6ae0f1f5
cmp byte [0x6ae6b044], 0
je 0x6ae11138
mov eax, dword [0x6ae6b040]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
lea eax, [ebx + 0x68]
mov dword [esp], eax
call fcn.6ad8d610
mov eax, dword [0x6ae6b040]
mov dword [esp], 0xa
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
mov edx, 0x44
jmp 0x6ae1113d
cmp dword [esp + 0x38], 3
jbe 0x6ae10e58
lea edx, [ecx - 0x68]
shr edx, 1
cmp word [ebx + eax*2 + 0x68], 0
je 0x6ae10ede
inc eax
cmp edx, eax
jne 0x6ae10ed1
dec edx
cmp edx, eax
jne 0x6ae10e58
cmp dword [ebx], 0
jne 0x6ae110ea
cmp dword [ebx + 4], 0
jne 0x6ae110ea
cmp dword [ebx + 0xc], 0
jne 0x6ae110ea
cmp ecx, dword [ebx + 8]
jne 0x6ae110ea
cmp dword [ebx + 0x10], 5
jne 0x6ae110ea
cmp dword [ebx + 0x14], 1
jne 0x6ae110ea
sub ecx, 0x14
cmp dword [ebx + 0x18], ecx
jne 0x6ae110ea
cmp dword [ebx + 0x1c], 5
jne 0x6ae110ea
cmp dword [ebx + 0x20], 6
jne 0x6ae110ea
cmp dword [ebx + 0x24], 0
jne 0x6ae110ea
cmp dword [ebx + 0x28], 0x48
jne 0x6ae110ea
cmp dword [ebx + 0x2c], 0
jne 0x6ae110ea
cmp dword [ebx + 0x40], 0
jne 0x6ae110ea
cmp dword [ebx + 0x44], 1
ja 0x6ae110ea
mov eax, dword [ebx + 0x3c]
jne 0x6ae110e1
or eax, dword [ebx + 0x38]
jne 0x6ae110ea
cmp dword [ebx + 0x58], 0
jne 0x6ae110ea
cmp dword [ebx + 0x5c], 0
jne 0x6ae110ea
cmp dword [ebx + 0x60], 0
jne 0x6ae110ea
add dword [esp + 0x34], 0x28
cmp dword [ebx + 0x64], 0
jne 0x6ae110ea
inc ebp
cmp dword [esp + 0x50], ebp
je 0x6ae1115e
mov eax, dword [esp + 0x34]
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov eax, dword [esp + 0x24]
mov ecx, esi
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
cmp edi, edx
sbb ecx, eax
jb 0x6ae1100f
mov dword [esp + 0xc], eax
xchg esi, edi
lea eax, [esp + 0xa8]
mov dword [esp + 8], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], ebp
mov dword [esp + 4], eax
mov dword [esp], str.__ls_:_value_of_next_data_source_id__0x_016llx__is_unexpected__since_entry__u_has_data_source_ID_0x_016llx
call fcn.6ae0f1f5
mov edx, 0x44
jmp 0x6ae1113d
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x4c]
xor edx, edx
mov dword [esp + 0x44], 0
mov eax, dword [eax + 8]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x40], ecx
add eax, dword [esp + 0x40]
adc edx, dword [esp + 0x44]
cmp dword [esp + 0x28], eax
sbb ebx, edx
jae 0x6ae11076
xchg esi, edi
lea eax, [esp + 0xa8]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 4], eax
mov dword [esp], str.__ls_:_entry__u__2___data_source_ID_0x_016llx__overflows_file
call fcn.6ae0f1f5
mov edx, 0x44
jmp 0x6ae1113d
cmp ecx, 0x67
ja 0x6ae110aa
xchg esi, edi
lea eax, [esp + 0xa8]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 4], eax
mov dword [esp], str.__ls_:_entry__u__2___data_source_ID_0x_016llx__is_too_short
call fcn.6ae0f1f5
mov edx, 0x44
jmp 0x6ae1113d
test byte [esp + 0x38], 1
je 0x6ae10e42
xchg esi, edi
lea eax, [esp + 0xa8]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 4], eax
mov dword [esp], str.__ls_:_entry__u__2___data_source_ID_0x_016llx__is_misaligned
call fcn.6ae0f1f5
mov edx, 0x44
jmp 0x6ae1113d
or eax, dword [ebx + 0x38]
jne 0x6ae10f85
xchg esi, edi
lea eax, [esp + 0xa8]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 4], eax
mov dword [esp], str.__ls_:_entry__u__2___data_source_ID_0x_016llx__contains_unexpected_data_
call fcn.6ae0f1f5
cmp byte [0x6ae6b044], 0
je 0x6ae11138
mov eax, dword [0x6ae6b040]
imul ebp, ebp, 0x28
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + ebp + 0x24]
mov dword [esp], ebx
mov dword [esp + 4], eax
jmp 0x6ae10ea1
mov edx, 0x44
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], edx
mov dword [esp], eax
call fcn.6adab650
mov edx, dword [esp + 0x28]
jmp 0x6ae11a98
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x30]
lea edi, [esp + 0x62]
mov esi, str..X:
mov ecx, 0xe
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x70]
mov esi, str._PhysicalDriveXXXXXXXXXX
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
cmp word [eax], 0
lea edi, [esp + 0x62]
je 0x6ae11197
mov eax, dword [esp + 0x30]
cmp word [eax + 2], 0x3a
je 0x6ae111b4
mov dword [esp + 8], 0x5c
mov dword [esp + 4], str.src_wimboot.c
mov dword [esp], str.path_0____L0__path_1___L:
call dword [0x6ae132b8]
mov dword [esp + 4], 0x58
mov dword [esp], edi
call sub.msvcrt.dll_wcschr
mov ecx, dword [esp + 0x30]
mov dx, word [ecx]
mov word [eax], dx
mov edx, 0x80000000
mov eax, edi
call fcn.6adb7570
mov ebp, eax
cmp eax, 0xffffffff
jne 0x6ae1120f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 8], edi
xor ebx, ebx
mov dword [esp + 4], str.__ls_:_Cant_open_volume_device
mov dword [esp], eax
call fcn.6ae11dc3
mov dword [esp + 0x28], 0
mov edx, 0x2f
jmp 0x6ae1154a
mov edx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea ebx, [esp + 0x2c0]
lea eax, [esp + 0x230]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], ebx
mov esi, 0x20
mov dword [esp + 0x14], 0x90
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x70048
mov dword [esp], ebp
mov dword [esp + 0x28], edx
call edx
sub esp, 0x20
test eax, eax
je 0x6ae11270
mov edx, dword [esp + 0x28]
mov edi, edx
jmp 0x6ae112aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 8], edi
xor ebx, ebx
mov dword [esp + 4], str.__ls_:_Cant_get_partition_info
mov dword [esp], eax
call fcn.6ae11dc3
mov dword [esp + 0x28], 0
mov edx, 0x32
jmp 0x6ae1154a
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.6adab650
add esi, 0x60
mov dword [esp], esi
call fcn.6adab620
mov dword [esp + 0x28], eax
test eax, eax
je 0x6ae1153c
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x560000
mov dword [esp], ebp
call edi
sub esp, 0x20
test eax, eax
jne 0x6ae11336
mov edx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x34], edx
call edx
mov edx, dword [esp + 0x34]
cmp eax, 0xea
je 0x6ae1129e
call edx
lea edx, [esp + 0x62]
mov dword [esp + 4], str.__ls_:_Cant_get_volume_extent_info
xor ebx, ebx
mov dword [esp + 8], edx
mov dword [esp], eax
call fcn.6ae11dc3
mov edx, 0x32
jmp 0x6ae1154a
mov dword [esp], ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
cmp eax, 1
je 0x6ae11372
mov dword [esp + 8], eax
lea eax, [esp + 0x62]
xor ebx, ebx
or ebp, 0xffffffff
mov dword [esp + 4], eax
mov dword [esp], str.__ls_:_This_volume_has__u_disk_extents__but_this_code_is_untested_for_more_than_1
call fcn.6ae0f1f5
mov edx, 0x44
jmp 0x6ae1154a
mov eax, dword [esp + 0x28]
lea ebx, [esp + 0x70]
mov esi, dword [eax + 8]
mov dword [esp + 4], 0x58
mov dword [esp], ebx
call sub.msvcrt.dll_wcschr
mov dword [esp + 8], esi
mov esi, 0xc0
mov dword [esp + 4], 0x6ae2371c
mov dword [esp], eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, 0x80000000
mov eax, ebx
call fcn.6adb7570
mov ebp, eax
cmp eax, 0xffffffff
jne 0x6ae113e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 8], ebx
xor ebx, ebx
mov dword [esp + 4], str.__ls_:_Cant_open_disk_device
mov dword [esp], eax
call fcn.6ae11dc3
mov edx, 0x2f
jmp 0x6ae1154a
mov dword [esp], ebx
call fcn.6adab650
add esi, 0x240
mov dword [esp], esi
call fcn.6adab620
mov ebx, eax
test eax, eax
je 0x6ae11545
lea eax, [esp + 0x2c0]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x70050
mov dword [esp], ebp
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
sub esp, 0x20
test eax, eax
jne 0x6ae11474
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x7a
je 0x6ae113e0
call edi
lea edx, [esp + 0x70]
mov dword [esp + 4], str.__ls_:_Cant_get_disk_info
mov dword [esp + 8], edx
mov dword [esp], eax
call fcn.6ae11dc3
mov edx, 0x32
jmp 0x6ae1154a
lea edi, [esp + 0x2c0]
mov ecx, 0x30
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov dword [esp], ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
mov eax, dword [esp + 0x230]
cmp dword [ebx], eax
je 0x6ae114c2
lea eax, [esp + 0x70]
mov dword [esp], str.__ls_____ls_:_Inconsistent_partition_table_type_
or ebp, 0xffffffff
mov dword [esp + 8], eax
lea eax, [esp + 0x62]
mov dword [esp + 4], eax
call fcn.6ae0f1f5
mov edx, 0x44
jmp 0x6ae1154a
cmp eax, 1
jne 0x6ae11511
lea eax, [ebx + 8]
mov dword [esp + 8], 0x10
or ebp, 0xffffffff
mov dword [esp + 4], eax
lea eax, [esp + 0x260]
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
xor edx, edx
test eax, eax
jne 0x6ae1154a
lea eax, [esp + 0x70]
mov dword [esp], str.__ls_____ls_:_Partition_GUID_is_the_same_as_the_disk_GUID___
mov dword [esp + 8], eax
lea eax, [esp + 0x62]
mov dword [esp + 4], eax
call fcn.6ae0f1f5
mov edx, 0x44
jmp 0x6ae1154a
mov edx, 0
mov ebp, 0xffffffff
jbe 0x6ae1154a
mov dword [esp + 8], eax
lea eax, [esp + 0x62]
mov dword [esp + 4], eax
mov dword [esp], str.__ls_:_Unknown_partition_style_0x_08x
call fcn.6ae0f1f5
mov edx, 0x44
jmp 0x6ae1154a
xor ebx, ebx
mov edx, 0x27
jmp 0x6ae1154a
mov edx, 0x27
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], edx
mov dword [esp], eax
call fcn.6adab650
mov dword [esp], ebx
call fcn.6adab650
cmp ebp, 0xffffffff
mov edx, dword [esp + 0x34]
je 0x6ae1157d
mov dword [esp + 0x28], edx
mov dword [esp], ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
mov edx, dword [esp + 0x28]
test edx, edx
jne 0x6ae11965
cmp dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
je 0x6ae115ae
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x10]
mov ebx, dword [eax + 0x14]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], edx
xor ebp, ebp
mov edi, 0x18
mov dword [esp], eax
call sub.msvcrt.dll_wcslen
cmp dword [esp + 0x24], 0
mov edx, dword [esp + 0x34]
lea ecx, [eax + 0x33]
lea eax, [ecx + ecx]
mov dword [esp + 0x50], eax
je 0x6ae11601
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 0xc]
xor eax, eax
cmp eax, esi
je 0x6ae11601
imul ecx, eax, 0x28
mov ebx, dword [esp + 0x24]
mov ecx, dword [ebx + ecx + 0x24]
xor ebx, ebx
add ecx, 0x28
adc ebx, 0
add edi, ecx
adc ebp, ebx
inc eax
jmp 0x6ae115e3
mov ecx, dword [esp + 0x50]
xor ebx, ebx
add ecx, 0x28
adc ebx, 0
add ecx, edi
adc ebx, ebp
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ebx
cmp dword [esp + 0x3c], 0
jne 0x6ae11981
mov eax, dword [esp + 0x38]
mov dword [esp + 0x40], edx
mov dword [esp], eax
mov dword [esp + 0x34], eax
call fcn.6adab620
mov ebp, eax
test eax, eax
je 0x6ae119a2
cmp dword [esp + 0x24], 0
mov dword [eax], 0x66436f57
mov dword [eax + 4], 1
mov edx, dword [esp + 0x40]
mov dword [eax + 8], 0x28
mov eax, 1
je 0x6ae11672
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x40], eax
inc eax
xor ebx, ebx
cmp dword [esp + 0x24], 0
mov dword [ebp + 0xc], eax
mov ecx, 1
je 0x6ae1169b
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x40], ecx
add ecx, 1
mov dword [esp + 0x44], ebx
adc ebx, 0
imul eax, eax, 0x28
mov dword [ebp + 0x14], ebx
lea ebx, [ebp + 0x18]
mov dword [ebp + 0x10], ecx
add eax, 0x18
cmp dword [esp + 0x24], 0
je 0x6ae116f2
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x40], 0
add ecx, 0x18
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x40]
cmp edi, dword [ecx + 0xc]
jae 0x6ae116f2
mov esi, dword [esp + 0x48]
mov edi, ebx
mov ecx, 0xa
inc dword [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
add dword [esp + 0x48], 0x28
add ebx, 0x28
mov dword [ebx - 0x20], eax
add eax, dword [ebx - 0x1c]
jmp 0x6ae116c4
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov dword [ebx + 8], eax
mov ecx, 4
mov eax, dword [esp + 0x50]
mov dword [ebx + 0x10], 1
mov dword [ebx], esi
mov esi, dword [esp + 0x54]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x3a0]
mov dword [ebx + 4], edi
mov dword [ebx + 0x14], eax
lea eax, [ebx + 0x18]
add ebx, 0x28
cmp dword [esp + 0x24], 0
mov edi, eax
rep movsd dword es:[edi], dword [esi]
je 0x6ae117f7
mov ecx, dword [0x6ae132b8]
mov eax, 0x24
mov dword [esp + 0x40], 0
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x48], ecx
mov ecx, eax
mov eax, ebp
mov ebp, ecx
mov ecx, dword [esp + 0x40]
cmp ecx, dword [edx + 0xc]
jae 0x6ae117f1
mov ecx, ebx
sub ecx, eax
cmp dword [eax + ebp - 4], ecx
je 0x6ae117a1
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], edx
mov dword [esp + 8], 0x17d
mov dword [esp + 4], str.src_wimboot.c
mov dword [esp], str.new_hdr__entry_1s_i_.entry_2_offset__p___buf
call dword [0x6ae132b8]
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov ecx, dword [eax + ebp]
cmp dword [edx + ebp], ecx
je 0x6ae117d6
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x58], edx
mov dword [esp + 8], 0x17e
mov dword [esp + 4], str.src_wimboot.c
mov dword [esp], str.old_hdr__entry_1s_i_.entry_2_length__new_hdr__entry_1s_i_.entry_2_length
call eax
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov esi, dword [edx + ebp - 4]
mov ecx, dword [edx + ebp]
mov edi, ebx
add ebp, 0x28
inc dword [esp + 0x40]
add esi, edx
rep movsb byte es:[edi], byte [esi]
mov ebx, edi
jmp 0x6ae1175d
mov edx, dword [esp + 0x54]
mov ebp, eax
mov eax, dword [esp + 0x50]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], eax
sub eax, 0x14
cmp dword [esp + 0x230], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 5
mov dword [ebx + 0x14], 1
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], 5
mov dword [ebx + 0x20], 6
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0x48
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x40], 0
jne 0x6ae118a4
mov esi, dword [esp + 0x238]
mov edi, dword [esp + 0x23c]
mov dword [ebx + 0x38], 0
mov eax, dword [esp + 0x2c8]
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x44], 1
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
jmp 0x6ae118d1
lea eax, [ebx + 0x30]
lea esi, [esp + 0x260]
mov ecx, 4
mov edi, eax
lea eax, [ebx + 0x48]
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x44], 0
mov ecx, 4
mov edi, eax
lea esi, [esp + 0x2c8]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
cmp word [eax + 4], 0x5c
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
je 0x6ae1191d
mov dword [esp + 0x40], edx
mov dword [esp + 8], 0x1b5
mov dword [esp + 4], str.src_wimboot.c
mov dword [esp], str.wim_path_2___L
call dword [0x6ae132b8]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x30]
add ebx, 0x68
mov edi, ebx
sub ecx, 0x68
add esi, 4
rep movsb byte es:[edi], byte [esi]
sub edi, ebp
cmp edi, dword [esp + 0x38]
je 0x6ae119bf
mov dword [esp + 0x30], edx
mov dword [esp + 8], 0x1fa
mov dword [esp + 4], str.src_wimboot.c
mov dword [esp], str.end___buf__new_contents_size
call dword [0x6ae132b8]
mov edx, dword [esp + 0x30]
jmp 0x6ae119bf
mov dword [esp + 0x28], 0xffffffff
xor ebp, ebp
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x34], 0
jmp 0x6ae119bf
mov dword [esp + 0x28], 0xffffffff
xor ebp, ebp
mov edx, 0x44
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x34], 0
jmp 0x6ae119bf
mov dword [esp + 0x28], 0xffffffff
mov edx, 0x27
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], edx
mov dword [esp], eax
call fcn.6adab650
mov edx, dword [esp + 0x30]
test edx, edx
jne 0x6ae11a98
mov ecx, dword [esp + 0x34]
mov edx, ebp
lea eax, [esp + 0x15e]
call fcn.6ae1098c
mov edx, eax
test eax, eax
jne 0x6ae11a69
mov ecx, dword [esp + 0x34]
mov edx, ebp
lea eax, [esp + 0x100]
call fcn.6ae1098c
mov edx, eax
test eax, eax
jne 0x6ae11a69
cmp dword [esp + 0x24], 0
je 0x6ae11a30
lea esi, [esp + 0x1c4]
lea ebx, [esp + 0xa8]
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.6adc0570
test eax, eax
jne 0x6ae11a50
lea esi, [esp + 0xa8]
lea ebx, [esp + 0x15e]
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.6adc0570
mov edx, eax
test eax, eax
je 0x6ae11a69
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], str.Cant_rename___ls______ls_
call fcn.6ae0f21f
mov edx, 0x34
mov dword [esp], ebp
mov dword [esp + 0x24], edx
call fcn.6adab650
mov edx, dword [esp + 0x24]
cmp edx, 0x44
je 0x6ae11a9d
test edx, edx
jne 0x6ae11ab9
mov eax, dword [esp + 0x3a4]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov dword [eax], ecx
mov dword [eax + 4], ebx
jmp 0x6ae11ab9
cmp edx, 0x44
jne 0x6ae11ab9
lea eax, [esp + 0xa8]
mov dword [esp], str.Please_report_to_developer__https:__wimlib.net_forums__._n________If_possible_send_the_file___ls_._n_n
mov dword [esp + 4], eax
call fcn.6ae0f1f5
mov edx, 0x44
add esp, 0x38c
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret