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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x7c]
lea edi, [esp + 0x42]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.6adb7bb0
mov ebx, eax
test eax, eax
je 0x6adb7320
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x70]
mov dword [esp + 4], 0x2f
mov dword [esp], eax
call sub.msvcrt.dll_wcschr
test eax, eax
je 0x6adb7355
mov dword [esp + 8], 0x388
mov dword [esp + 4], str.src_wimboot.c
mov dword [esp], str._wcschr_wim_path__L__
call dword [0x6ae0f298]
mov eax, dword [esp + 0x70]
cmp word [eax], 0
je 0x6adb7366
cmp word [eax + 2], 0x3a
je 0x6adb7383
mov dword [esp + 8], 0x389
mov dword [esp + 4], str.src_wimboot.c
mov dword [esp], str.wim_path_0____L0__wim_path_1___L:
call dword [0x6ae0f298]
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call sub.msvcrt.dll_wcslen
lea esi, [eax + eax + 8]
lea eax, [esi + 0x18]
mov dword [esp], eax
mov dword [esp + 0x2c], eax
call fcn.6adab3e0
mov ebp, eax
test eax, eax
je 0x6adb758a
mov dword [eax], 1
mov edx, dword [esp + 0x70]
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov eax, dword [esp + 0x78]
mov dword [ebp + 0x14], esi
sub esi, 8
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0x20]
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp + 0x10], 0x10
mov dword [ebp + 0x18], 0x3f005c
mov dword [ebp + 0x1c], 0x5c003f
call sub.msvcrt.dll_memcpy
mov dword [esp + 0x28], 2
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x2000000
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 7
mov dword [esp + 4], 0x40000000
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
sub esp, 0x1c
mov esi, eax
cmp eax, 0xffffffff
je 0x6adb7594
lea eax, [esp + 0x34]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], 8
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebp
mov dword [esp + 4], 0x98330
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
sub esp, 0x20
test eax, eax
jne 0x6adb7548
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 1
jne 0x6ae0dc32
cmp dword [esp + 0x28], 1
jne 0x6adb7508
lea eax, [esp + 0x4a]
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x28], eax
mov dword [esp], esi
call ecx
push eax
mov dword [esp], ebp
call fcn.6adab410
mov dword [esp], str.WOF_driver_is_not_available__updating_WimOverlay.dat_directly.
call fcn.6ae0b4c9
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
call fcn.6ae0cc0a
mov ebx, eax
mov eax, dword [esp + 0x84]
mov byte [eax], 0
jmp 0x6adb7311
mov dword [esp], esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
sub esp, 4
lea eax, [esp + 0x4a]
mov dword [esp], eax
mov dword [esp + 0x28], eax
call fcn.6adb7c20
test al, al
jne 0x6adb7538
mov ecx, esi
mov esi, 0xffffffff
jmp 0x6adb74b4
mov dword [esp + 0x28], 1
jmp 0x6adb7401
cmp dword [esp + 0x34], 8
jne 0x6ae0dc6e
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x3c]
mov byte [eax], 1
mov eax, dword [esp + 0x38]
mov dword [ecx + 4], edx
mov dword [ecx], eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov dword [esp], ebp
call fcn.6adab410
jmp 0x6adb7311
mov ebx, 0x27
jmp 0x6adb7311
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x4a]
mov ebx, 0x2f
mov dword [esp + 4], str.Failed_to_open___ls_
mov dword [esp + 8], ecx
mov dword [esp], eax
call fcn.6ae0df2f
mov dword [esp], ebp
call fcn.6adab410
jmp 0x6adb7311
lea ecx, [esp + 0x4a]
mov dword [esp + 4], str.Failed_to_add_overlay_source___ls__to_volume___ls_
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 8], ecx
call fcn.6ae0df2f
mov dword [esp], esi
mov ebx, 0x4b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
mov dword [esp], ebp
call fcn.6adab410
jmp 0x6adb7311
lea eax, [esp + 0x4a]
mov dword [esp], str.Unexpected_result_size_when_adding_overlay_source___ls__to_volume___ls_
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
call fcn.6ae0b475
jmp 0x6ae0dc52