Function at 0x6adbc260
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.6adbcb10
mov ebx, eax
test eax, eax
je 0x6adbc290
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 0x6adbc2c5
mov dword [esp + 8], 0x389
mov dword [esp + 4], str.src_wimboot.c
mov dword [esp], str._wcschr_wim_path__L__
call dword [0x6add9074]
mov eax, dword [esp + 0x70]
cmp word [eax], 0
je 0x6adbc2d6
cmp word [eax + 2], 0x3a
je 0x6adbc2f3
mov dword [esp + 8], 0x38a
mov dword [esp + 4], str.src_wimboot.c
mov dword [esp], str.wim_path_0____L0__wim_path_1___L:
call dword [0x6add9074]
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call sub.msvcrt.dll_wcslen
mov dword [esp], 1
lea esi, [eax + eax + 8]
lea eax, [esi + 0x18]
mov dword [esp + 4], eax
mov dword [esp + 0x28], eax
call fcn.6adaef20
mov ebp, eax
test eax, eax
je 0x6adbc4c0
mov dword [eax], 1
mov edx, dword [esp + 0x70]
mov dword [eax + 4], 1
mov dword [eax + 8], 0
mov eax, dword [esp + 0x78]
mov dword [ebp + 0x14], esi
sub esi, 8
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0x20]
mov dword [ebp + 0x10], 0x10
mov dword [ebp + 0x18], 0x3f005c
mov dword [ebp + 0x1c], 0x5c003f
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov dword [esp + 0x2c], 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 0x6adbc512
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 + 0x28]
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 0x6adbc4d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 1
jne 0x6add7dc4
cmp dword [esp + 0x2c], 1
jne 0x6adbc480
lea eax, [esp + 0x4a]
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x2c], eax
mov dword [esp], esi
call ecx
push eax
mov dword [esp], ebp
call fcn.6adaeef0
mov dword [esp], str.WOF_driver_is_not_available__updating_WimOverlay.dat_directly.
call fcn.6add55fc
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 + 0x2c]
call fcn.6add6e01
mov ebx, eax
mov eax, dword [esp + 0x84]
mov byte [eax], 0
jmp 0x6adbc281
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 + 0x2c], eax
call fcn.6adbcb80
test al, al
jne 0x6adbc4b0
mov ecx, esi
mov esi, 0xffffffff
jmp 0x6adbc42c
mov dword [esp + 0x2c], 1
jmp 0x6adbc379
mov ebx, 0x27
jmp 0x6adbc281
cmp dword [esp + 0x34], 8
jne 0x6add7e00
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.6adaeef0
jmp 0x6adbc281
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.6add80b9
mov dword [esp], ebp
call fcn.6adaeef0
jmp 0x6adbc281
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.6add80b9
mov dword [esp], esi
mov ebx, 0x4b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
mov dword [esp], ebp
call fcn.6adaeef0
jmp 0x6adbc281
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.6add55aa
jmp 0x6add7de4