Function at 0x6adb75b0
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.6adb7e70
mov ebx, eax
test eax, eax
je 0x6adb75e0
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 0x6adb7615
mov dword [esp + 8], 0x388
mov dword [esp + 4], str.src_wimboot.c
mov dword [esp], str._wcschr_wim_path__L__
call dword [0x6ae132b8]
mov eax, dword [esp + 0x70]
cmp word [eax], 0
je 0x6adb7626
cmp word [eax + 2], 0x3a
je 0x6adb7643
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 [0x6ae132b8]
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.6adab620
mov ebp, eax
test eax, eax
je 0x6adb784a
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 0x6adb7854
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 0x6adb7808
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 1
jne 0x6ae11ac6
cmp dword [esp + 0x28], 1
jne 0x6adb77c8
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.6adab650
mov dword [esp], str.WOF_driver_is_not_available__updating_WimOverlay.dat_directly.
call fcn.6ae0f249
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.6ae10a9e
mov ebx, eax
mov eax, dword [esp + 0x84]
mov byte [eax], 0
jmp 0x6adb75d1
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.6adb7ee0
test al, al
jne 0x6adb77f8
mov ecx, esi
mov esi, 0xffffffff
jmp 0x6adb7774
mov dword [esp + 0x28], 1
jmp 0x6adb76c1
cmp dword [esp + 0x34], 8
jne 0x6ae11b02
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.6adab650
jmp 0x6adb75d1
mov ebx, 0x27
jmp 0x6adb75d1
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.6ae11dc3
mov dword [esp], ebp
call fcn.6adab650
jmp 0x6adb75d1
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.6ae11dc3
mov dword [esp], esi
mov ebx, 0x4b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
mov dword [esp], ebp
call fcn.6adab650
jmp 0x6adb75d1
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.6ae0f1f5
jmp 0x6ae11ae6