Function at 0x6adbc270
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.6adbcb20
mov ebx, eax
test eax, eax
je 0x6adbc2a0
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 0x6adbc2d5
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 0x6adbc2e6
cmp word [eax + 2], 0x3a
je 0x6adbc303
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 0x6adbc4d0
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 0x6adbc522
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 0x6adbc4e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 1
jne 0x6add7dd4
cmp dword [esp + 0x2c], 1
jne 0x6adbc490
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.6add560c
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.6add6e11
mov ebx, eax
mov eax, dword [esp + 0x84]
mov byte [eax], 0
jmp 0x6adbc291
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.6adbcb90
test al, al
jne 0x6adbc4c0
mov ecx, esi
mov esi, 0xffffffff
jmp 0x6adbc43c
mov dword [esp + 0x2c], 1
jmp 0x6adbc389
mov ebx, 0x27
jmp 0x6adbc291
cmp dword [esp + 0x34], 8
jne 0x6add7e10
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 0x6adbc291
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.6add80c9
mov dword [esp], ebp
call fcn.6adaeef0
jmp 0x6adbc291
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.6add80c9
mov dword [esp], esi
mov ebx, 0x4b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
mov dword [esp], ebp
call fcn.6adaeef0
jmp 0x6adbc291
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.6add55ba
jmp 0x6add7df4