Function at 0x6ae0cc0a
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 0x6ae0cc7e
cmp word [eax + 2], 0x3a
jne 0x6ae0cc7e
cmp word [eax + 4], 0
je 0x6ae0cc9b
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 [0x6ae0f298]
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.6adb72b0
mov esi, eax
cmp eax, 0xffffffff
jne 0x6ae0cd99
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x6ae0d2c2
cmp eax, 3
jne 0x6ae0cd74
cmp dword [0x6ae67050], 0
je 0x6ae0cd74
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 [0x6ae67050]
push ecx
mov dword [esp], eax
call sub.ntdll.dll_RtlNtStatusToDosError
push esi
test eax, eax
jne 0x6ae0cd74
dec ebp
je 0x6ae0cd6f
mov ebp, 1
jmp 0x6ae0ccca
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.6ae0df2f
mov edx, 0x2f
jmp 0x6ae0dc25
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 0x6ae0cde3
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.6ae0df2f
mov dword [esp], esi
call edi
mov edx, 0x3f
push eax
jmp 0x6ae0dc25
mov ebp, dword [esp + 0x2e0]
test ebp, ebp
je 0x6ae0ce0e
mov dword [esp + 4], ebx
mov dword [esp], str.__ls_:_File_is_too_large_to_fit_into_memory
call fcn.6ae0b475
mov dword [esp], esi
call edi
mov edx, 0x27
push eax
jmp 0x6ae0dc25
mov eax, dword [esp + 0x2e4]
mov dword [esp], eax
call fcn.6adab3e0
mov dword [esp + 0x24], eax
test eax, eax
je 0x6ae0cdee
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 0x6ae0ce79
mov eax, dword [esp + 0x230]
cmp dword [esp + 0x2e4], eax
je 0x6ae0ceae
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.6ae0df2f
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x32
push edi
jmp 0x6ae0d2a9
mov dword [esp], esi
call edi
push esi
mov eax, dword [esp + 0x2e4]
mov dword [esp + 0x28], eax
cmp eax, 0x17
ja 0x6ae0cee2
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], str.__ls_:_File_is_unexpectedly_small__only__u_bytes_
call fcn.6ae0b475
mov edx, 0x44
jmp 0x6ae0d2a9
mov eax, dword [esp + 0x24]
cmp dword [eax], 0x66436f57
jne 0x6ae0cefa
cmp dword [eax + 4], 1
jne 0x6ae0cefa
cmp dword [eax + 8], 0x28
je 0x6ae0cf38
lea eax, [esp + 0xa8]
mov dword [esp], str.__ls_:_Header_contains_unexpected_data:
mov dword [esp + 4], eax
call fcn.6ae0b475
cmp byte [0x6ae67044], 0
je 0x6ae0d2a4
mov eax, dword [0x6ae67040]
mov dword [esp + 4], 0x18
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
jmp 0x6ae0d00a
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 0x6ae0cf7d
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 0x6ae0d11f
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.6ae0b475
mov edx, 0x44
jmp 0x6ae0d2a9
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 0x6ae0d031
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.6ae0b475
cmp byte [0x6ae67044], 0
je 0x6ae0d2a4
mov eax, dword [0x6ae67040]
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.6ad8d620
mov eax, dword [0x6ae67040]
mov dword [esp], 0xa
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
mov edx, 0x44
jmp 0x6ae0d2a9
cmp dword [esp + 0x38], 3
jbe 0x6ae0cfc4
lea edx, [ecx - 0x68]
shr edx, 1
cmp word [ebx + eax*2 + 0x68], 0
je 0x6ae0d04a
inc eax
cmp edx, eax
jne 0x6ae0d03d
dec edx
cmp edx, eax
jne 0x6ae0cfc4
cmp dword [ebx], 0
jne 0x6ae0d256
cmp dword [ebx + 4], 0
jne 0x6ae0d256
cmp dword [ebx + 0xc], 0
jne 0x6ae0d256
cmp ecx, dword [ebx + 8]
jne 0x6ae0d256
cmp dword [ebx + 0x10], 5
jne 0x6ae0d256
cmp dword [ebx + 0x14], 1
jne 0x6ae0d256
sub ecx, 0x14
cmp dword [ebx + 0x18], ecx
jne 0x6ae0d256
cmp dword [ebx + 0x1c], 5
jne 0x6ae0d256
cmp dword [ebx + 0x20], 6
jne 0x6ae0d256
cmp dword [ebx + 0x24], 0
jne 0x6ae0d256
cmp dword [ebx + 0x28], 0x48
jne 0x6ae0d256
cmp dword [ebx + 0x2c], 0
jne 0x6ae0d256
cmp dword [ebx + 0x40], 0
jne 0x6ae0d256
cmp dword [ebx + 0x44], 1
ja 0x6ae0d256
mov eax, dword [ebx + 0x3c]
jne 0x6ae0d24d
or eax, dword [ebx + 0x38]
jne 0x6ae0d256
cmp dword [ebx + 0x58], 0
jne 0x6ae0d256
cmp dword [ebx + 0x5c], 0
jne 0x6ae0d256
cmp dword [ebx + 0x60], 0
jne 0x6ae0d256
add dword [esp + 0x34], 0x28
cmp dword [ebx + 0x64], 0
jne 0x6ae0d256
inc ebp
cmp dword [esp + 0x50], ebp
je 0x6ae0d2ca
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 0x6ae0d17b
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.6ae0b475
mov edx, 0x44
jmp 0x6ae0d2a9
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 0x6ae0d1e2
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.6ae0b475
mov edx, 0x44
jmp 0x6ae0d2a9
cmp ecx, 0x67
ja 0x6ae0d216
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.6ae0b475
mov edx, 0x44
jmp 0x6ae0d2a9
test byte [esp + 0x38], 1
je 0x6ae0cfae
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.6ae0b475
mov edx, 0x44
jmp 0x6ae0d2a9
or eax, dword [ebx + 0x38]
jne 0x6ae0d0f1
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.6ae0b475
cmp byte [0x6ae67044], 0
je 0x6ae0d2a4
mov eax, dword [0x6ae67040]
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 0x6ae0d00d
mov edx, 0x44
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], edx
mov dword [esp], eax
call fcn.6adab410
mov edx, dword [esp + 0x28]
jmp 0x6ae0dc04
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 0x6ae0d303
mov eax, dword [esp + 0x30]
cmp word [eax + 2], 0x3a
je 0x6ae0d320
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 [0x6ae0f298]
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.6adb72b0
mov ebp, eax
cmp eax, 0xffffffff
jne 0x6ae0d37b
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.6ae0df2f
mov dword [esp + 0x28], 0
mov edx, 0x2f
jmp 0x6ae0d6b6
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 0x6ae0d3dc
mov edx, dword [esp + 0x28]
mov edi, edx
jmp 0x6ae0d416
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.6ae0df2f
mov dword [esp + 0x28], 0
mov edx, 0x32
jmp 0x6ae0d6b6
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.6adab410
add esi, 0x60
mov dword [esp], esi
call fcn.6adab3e0
mov dword [esp + 0x28], eax
test eax, eax
je 0x6ae0d6a8
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 0x6ae0d4a2
mov edx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x34], edx
call edx
mov edx, dword [esp + 0x34]
cmp eax, 0xea
je 0x6ae0d40a
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.6ae0df2f
mov edx, 0x32
jmp 0x6ae0d6b6
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 0x6ae0d4de
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.6ae0b475
mov edx, 0x44
jmp 0x6ae0d6b6
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], 0x6ae1f5bc
mov dword [esp], eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, 0x80000000
mov eax, ebx
call fcn.6adb72b0
mov ebp, eax
cmp eax, 0xffffffff
jne 0x6ae0d554
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.6ae0df2f
mov edx, 0x2f
jmp 0x6ae0d6b6
mov dword [esp], ebx
call fcn.6adab410
add esi, 0x240
mov dword [esp], esi
call fcn.6adab3e0
mov ebx, eax
test eax, eax
je 0x6ae0d6b1
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 0x6ae0d5e0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x7a
je 0x6ae0d54c
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.6ae0df2f
mov edx, 0x32
jmp 0x6ae0d6b6
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 0x6ae0d62e
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.6ae0b475
mov edx, 0x44
jmp 0x6ae0d6b6
cmp eax, 1
jne 0x6ae0d67d
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 0x6ae0d6b6
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.6ae0b475
mov edx, 0x44
jmp 0x6ae0d6b6
mov edx, 0
mov ebp, 0xffffffff
jbe 0x6ae0d6b6
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.6ae0b475
mov edx, 0x44
jmp 0x6ae0d6b6
xor ebx, ebx
mov edx, 0x27
jmp 0x6ae0d6b6
mov edx, 0x27
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], edx
mov dword [esp], eax
call fcn.6adab410
mov dword [esp], ebx
call fcn.6adab410
cmp ebp, 0xffffffff
mov edx, dword [esp + 0x34]
je 0x6ae0d6e9
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 0x6ae0dad1
cmp dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
je 0x6ae0d71a
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 0x6ae0d76d
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 0xc]
xor eax, eax
cmp eax, esi
je 0x6ae0d76d
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 0x6ae0d74f
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 0x6ae0daed
mov eax, dword [esp + 0x38]
mov dword [esp + 0x40], edx
mov dword [esp], eax
mov dword [esp + 0x34], eax
call fcn.6adab3e0
mov ebp, eax
test eax, eax
je 0x6ae0db0e
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 0x6ae0d7de
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 0x6ae0d807
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 0x6ae0d85e
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 0x6ae0d85e
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 0x6ae0d830
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 0x6ae0d963
mov ecx, dword [0x6ae0f298]
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 0x6ae0d95d
mov ecx, ebx
sub ecx, eax
cmp dword [eax + ebp - 4], ecx
je 0x6ae0d90d
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 [0x6ae0f298]
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov ecx, dword [eax + ebp]
cmp dword [edx + ebp], ecx
je 0x6ae0d942
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 0x6ae0d8c9
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 0x6ae0da10
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 0x6ae0da3d
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 0x6ae0da89
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 [0x6ae0f298]
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 0x6ae0db2b
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 [0x6ae0f298]
mov edx, dword [esp + 0x30]
jmp 0x6ae0db2b
mov dword [esp + 0x28], 0xffffffff
xor ebp, ebp
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x34], 0
jmp 0x6ae0db2b
mov dword [esp + 0x28], 0xffffffff
xor ebp, ebp
mov edx, 0x44
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x34], 0
jmp 0x6ae0db2b
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.6adab410
mov edx, dword [esp + 0x30]
test edx, edx
jne 0x6ae0dc04
mov ecx, dword [esp + 0x34]
mov edx, ebp
lea eax, [esp + 0x15e]
call fcn.6ae0caf8
mov edx, eax
test eax, eax
jne 0x6ae0dbd5
mov ecx, dword [esp + 0x34]
mov edx, ebp
lea eax, [esp + 0x100]
call fcn.6ae0caf8
mov edx, eax
test eax, eax
jne 0x6ae0dbd5
cmp dword [esp + 0x24], 0
je 0x6ae0db9c
lea esi, [esp + 0x1c4]
lea ebx, [esp + 0xa8]
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.6adc01e0
test eax, eax
jne 0x6ae0dbbc
lea esi, [esp + 0xa8]
lea ebx, [esp + 0x15e]
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.6adc01e0
mov edx, eax
test eax, eax
je 0x6ae0dbd5
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], str.Cant_rename___ls______ls_
call fcn.6ae0b49f
mov edx, 0x34
mov dword [esp], ebp
mov dword [esp + 0x24], edx
call fcn.6adab410
mov edx, dword [esp + 0x24]
cmp edx, 0x44
je 0x6ae0dc09
test edx, edx
jne 0x6ae0dc25
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 0x6ae0dc25
cmp edx, 0x44
jne 0x6ae0dc25
lea eax, [esp + 0xa8]
mov dword [esp], str.Please_report_to_developer__ebiggers3_gmail.com_._n________If_possible_send_the_file___ls_._n_n
mov dword [esp + 4], eax
call fcn.6ae0b475
mov edx, 0x44
add esp, 0x38c
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret