Function at 0x42042c
Capabilities:
Delete directory
Delete file
Enumerate files on windows

Disassembly:
push ebp
push ebx
mov edx, 0x35
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x420321
lea eax, [esp + 0xbc]
push 0x46e0e4
push eax
call fcn.0044eb95
call fcn.0045e790
mov edx, dword [esp + 0xe0]
lea ecx, [esp]
call fcn.0044e000
mov edx, dword [esp + 0xe8]
lea ecx, [esp + 4]
call fcn.0044e000
mov dword [esp + 0xa8], 0xa080
mov ebp, dword [0x47355c]
mov edx, 0x46105e
lea ecx, [ebp + 0x2c]
call fcn.0044e008
mov ebp, dword [0x473554]
cmp dword [ebp + 0x58], 0
je 0x4203f8
push edx
call fcn.0045e620
pop edx
push eax
push 0
push edx
call fcn.0045e620
pop edx
push eax
mov edx, str.using_custom_apply_flags:_0x
push edx
call fcn.0045e6f0
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e620
pop edx
push eax
push 0xd
mov ebp, dword [0x473554]
mov eax, dword [ebp + 0x58]
cdq
push edx
push eax
call fcn.0044f460
pop eax
call fcn.0044e2d2
add dword [esp], edx
call fcn.00401901
call fcn.0044e2f0
mov ebp, dword [0x473554]
push dword [ebp + 0x58]
pop eax
mov dword [esp + 0xa8], eax
mov ebp, dword [0x473514]
push dword [ebp + 0x18]
lea eax, [esp + 0x10]
push eax
push 0
mov eax, dword [esp + 0xc]
push eax
call dword [esp + 0xc]
add esp, 0xc
add esp, 4
mov dword [esp + 0x9c], eax
mov ebx, dword [esp + 0x9c]
and ebx, ebx
jne 0x420430
xor eax, eax
jmp 0x420435
mov eax, 1
and eax, eax
je 0x4204cf
push edx
call fcn.0045e620
pop edx
push eax
mov edx, str.wimlib_open_wim_0x
push edx
call fcn.0045e6f0
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e620
pop edx
push eax
push 5
mov eax, dword [esp + 0xac]
cdq
push edx
push eax
call fcn.0044f460
pop eax
mov edx, 0x468f7a
push edx
call fcn.0045e6f0
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e620
pop edx
push eax
push 0x19
push 0xffffffff
mov ebp, dword [0x473514]
push dword [ebp + 0x38]
push dword [esp + 0xb4]
call dword [esp + 4]
add esp, 4
add esp, 4
push eax
call fcn.0045ac80
pop eax
mov ebp, dword [0x47355c]
lea eax, [ebp + 0x2c]
push eax
call fcn.0045e660
jmp 0x420e2f
mov ebp, dword [0x473514]
push dword [ebp + 0x20]
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x14]
call dword [esp + 8]
add esp, 8
add esp, 4
mov dword [esp + 0x9c], eax
mov ebx, dword [esp + 0x9c]
and ebx, ebx
jne 0x420501
xor eax, eax
jmp 0x420506
mov eax, 1
and eax, eax
je 0x4205a0
push edx
call fcn.0045e620
pop edx
push eax
mov edx, str.wimlib_open_wim_0x
push edx
call fcn.0045e6f0
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e620
pop edx
push eax
push 5
mov eax, dword [esp + 0xac]
cdq
push edx
push eax
call fcn.0044f460
pop eax
mov edx, 0x468f7a
push edx
call fcn.0045e6f0
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e620
pop edx
push eax
push 0x19
push 0xffffffff
mov ebp, dword [0x473514]
push dword [ebp + 0x38]
push dword [esp + 0xb4]
call dword [esp + 4]
add esp, 4
add esp, 4
push eax
call fcn.0045ac80
pop eax
mov ebp, dword [0x47355c]
lea eax, [ebp + 0x2c]
push eax
call fcn.0045e660
jmp 0x420e2f
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e620
pop edx
push eax
push dword [esp + 8]
call fcn.0045b156
lea eax, [esp + 0xa4]
push eax
call fcn.0045e660
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e620
pop edx
push eax
push dword [esp + 8]
call fcn.0045b3ec
lea eax, [esp + 0xb4]
push eax
call fcn.0045e660
mov ebp, dword [0x473554]
push dword [ebp + 0x48]
mov edx, 0x46105e
pop ecx
call fcn.0044e300
jne 0x42061f
mov ebp, dword [0x473554]
push dword [ebp + 0x48]
push dword [esp + 0xa4]
push dword [esp + 8]
push dword [esp + 0x18]
call fcn.004273e8
lea ebp, [esp + 0x18]
movsx ebx, word [ebp + 0x22]
cmp ebx, 1
jle 0x420691
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e620
pop edx
push eax
push 1
push dword [esp + 0x10]
call fcn.0045b32f
mov edx, 0x4694e2
push edx
call fcn.0045e6f0
mov edx, dword [esp + 0xb8]
push edx
call fcn.0045e6f0
call fcn.0045e850
push dword [esp + 0xa8]
push dword [esp + 0xc]
push dword [esp + 0x1c]
call fcn.0044e2d2
add dword [esp + 0xc], edx
call fcn.004273e8
call fcn.0044e2f0
lea ebp, [esp + 0x18]
cmp dword [ebp + 0x4c], 0
je 0x4206b5
mov eax, str..rwm
push eax
push dword [esp + 0xa4]
push dword [esp + 8]
push dword [esp + 0x18]
call fcn.004273e8
push edx
call fcn.0045e620
pop edx
push eax
mov edx, dword [esp + 0xa4]
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e6f0
mov edx, str.UUP.txt
push edx
call fcn.0045e6f0
call fcn.0044e2d2
add dword [esp], edx
call fcn.00417bc9
call fcn.0044e2f0
and eax, eax
jne 0x420701
mov ebp, dword [0x473550]
cmp dword [ebp + 0x18], 0
jne 0x420701
jmp 0x420708
mov eax, 1
jmp 0x42070a
xor eax, eax
and eax, eax
je 0x420936
mov eax, str..esd
push eax
push dword [esp + 0xa4]
push dword [esp + 8]
push dword [esp + 0x18]
call fcn.004273e8
mov edx, str..cab
lea ecx, [esp + 0x98]
call fcn.0044e008
push 0x473578
push dword [esp + 0x9c]
call sub.kernel32.dll_FindFirstFileW
mov dword [esp + 0xb8], eax
mov ebx, dword [esp + 0xb8]
cmp ebx, 0xffffffff
jne 0x420779
push 0x473578
push dword [esp + 0x9c]
call sub.kernel32.dll_FindFirstFileW
mov dword [esp + 0xb8], eax
mov ebx, dword [esp + 0xb8]
cmp ebx, 0xffffffff
je 0x420936
lea ebp, [0x473578]
push ebp
pop ebp
lea eax, [ebp + 0x2c]
mov dword [esp + 0xb4], eax
lea eax, [esp + 0xb4]
push eax
pop eax
mov dword [esp + 0xac], eax
lea ebp, [0x473578]
mov ebx, dword [ebp]
and ebx, 0x10
and ebx, ebx
je 0x4207bf
xor eax, eax
jmp 0x4207c4
mov eax, 1
and eax, eax
je 0x4208c4
mov edx, dword [esp + 0xa0]
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e6f0
mov ebp, dword [esp + 0xb0]
mov edx, dword [ebp]
push edx
call fcn.0045e6f0
lea eax, [esp + 0x9c]
push eax
call fcn.0045e660
mov edx, dword [esp + 4]
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e6f0
mov edx, str._wimlib.tmp__
push edx
call fcn.0045e6f0
mov ebp, dword [esp + 0xb0]
mov edx, dword [ebp]
push edx
call fcn.0045e6f0
lea eax, [esp + 0xd4]
push eax
call fcn.0045e660
mov eax, dword [esp + 0xd0]
push eax
call sub.shlwapi.dll_PathRemoveExtensionW
mov eax, dword [esp + 0x98]
push eax
call fcn.0044aa79
and eax, eax
je 0x4208c4
push dword [esp + 0x98]
call fcn.004451b5
mov eax, dword [esp + 0xd0]
push eax
mov eax, dword [esp + 0x9c]
push eax
call fcn.0044ab04
push edx
call fcn.0045e620
pop edx
push eax
push dword [esp + 0xd4]
mov edx, dword [esp + 0xd8]
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e6f0
mov edx, 0x466288
push edx
call fcn.0045e6f0
call fcn.0044e2d2
add dword [esp], edx
call fcn.0040e73b
call fcn.0044e2f0
push dword [esp + 0xd0]
call fcn.0040cfad
push 0x473578
push dword [esp + 0xbc]
call sub.kernel32.dll_FindNextFileW
mov ebx, eax
and ebx, ebx
jne 0x4207ab
push dword [esp + 0xb8]
call sub.kernel32.dll_FindClose
push edx
call fcn.0045e620
pop edx
push eax
mov eax, str..wim
push eax
mov edx, dword [esp + 0xc]
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e6f0
mov edx, str._wimlib.tmp__
push edx
call fcn.0045e6f0
call fcn.0045e850
push dword [esp + 0xc]
push dword [esp + 0x1c]
call fcn.0044e2d2
add dword [esp + 8], edx
call fcn.004273e8
call fcn.0044e2f0
cmp dword [esp + 0xec], 0
jne 0x42094e
mov ebp, dword [0x47355c]
cmp dword [ebp + 0x48], 0
jne 0x42094e
jmp 0x420955
mov eax, 1
jmp 0x420957
xor eax, eax
and eax, eax
je 0x420b03
mov eax, 0x463436
push eax
call fcn.004180b5
mov eax, str.WofADK
push eax
call fcn.004180b5
mov eax, dword [esp + 4]
push eax
mov eax, str.WofADK
push eax
call fcn.004466fb
and eax, eax
je 0x42098d
xor eax, eax
jmp 0x420992
mov eax, 1
and eax, eax
je 0x4209a6
mov eax, dword [esp + 4]
push eax
mov eax, 0x463436
push eax
call fcn.004466fb
cmp dword [esp + 0xec], 0
je 0x4209c6
mov ebx, dword [esp + 0xa8]
or ebx, 0x400000
mov dword [esp + 0xa8], ebx
jmp 0x420a44
mov ebp, dword [0x47355c]
push dword [ebp + 0x54]
mov ebx, 1
cmp ebx, dword [esp]
jne 0x4209ef
mov ebx, dword [esp + 0xac]
or ebx, 0x8000000
mov dword [esp + 0xac], ebx
jmp 0x420a43
mov ebx, 2
cmp ebx, dword [esp]
jne 0x420a0f
mov ebx, dword [esp + 0xac]
or ebx, 0x2000000
mov dword [esp + 0xac], ebx
jmp 0x420a43
mov ebx, 3
cmp ebx, dword [esp]
jne 0x420a2f
mov ebx, dword [esp + 0xac]
or ebx, 0x4000000
mov dword [esp + 0xac], ebx
jmp 0x420a43
mov ebx, dword [esp + 0xac]
or ebx, 0x1000000
mov dword [esp + 0xac], ebx
pop eax
push dword [esp + 0xc]
push dword [esp + 0xe8]
push dword [esp + 8]
call fcn.0044789d
and eax, eax
je 0x420a60
xor eax, eax
jmp 0x420a65
mov eax, 1
and eax, eax
je 0x420b03
mov ebp, dword [0x473514]
push dword [ebp + 8]
push dword [esp + 0x10]
call dword [esp + 4]
add esp, 4
add esp, 4
push edx
call fcn.0045e620
pop edx
push eax
mov ebp, dword [0x47356c]
mov edx, dword [ebp + 0x10]
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e6f0
mov edx, str.wimlibWimBootCompress.ini
push edx
call fcn.0045e6f0
call fcn.0044e2d2
add dword [esp], edx
call sub.kernel32.dll_DeleteFileW
call fcn.0044e2f0
push edx
call fcn.0045e620
pop edx
push eax
mov ebp, dword [0x47356c]
mov edx, dword [ebp + 0x10]
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e6f0
mov edx, str.wimlib
push edx
call fcn.0045e6f0
call fcn.0044e2d2
add dword [esp], edx
call sub.kernel32.dll_RemoveDirectoryW
call fcn.0044e2f0
xor eax, eax
jmp 0x420e2f
mov ebp, dword [0x473554]
cmp dword [ebp + 0x5c], 0
je 0x420b23
mov ebx, dword [esp + 0xa8]
or ebx, 0x200
mov dword [esp + 0xa8], ebx
push edx
call fcn.0045e620
pop edx
push eax
lea ebp, [esp + 0xc0]
push dword [ebp]
mov ebp, dword [0x47356c]
mov edx, dword [ebp + 0x10]
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e6f0
mov edx, str.wimlibWimBootCompress.ini
push edx
call fcn.0045e6f0
call fcn.0044e2d2
add dword [esp], edx
call fcn.004467fb
call fcn.0044e2f0
cmp dword [esp + 0xf0], 0
je 0x420bb9
push edx
call fcn.0045e620
pop edx
push eax
lea ebp, [esp + 0xc0]
push dword [ebp]
mov ebp, dword [0x47356c]
mov edx, dword [ebp + 8]
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e6f0
mov edx, str.ToolsWimBootCompress.ini
push edx
call fcn.0045e6f0
call fcn.0044e2d2
add dword [esp], edx
call fcn.004467fb
call fcn.0044e2f0
mov edx, dword [esp + 4]
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e6f0
lea ebp, [esp + 0xc0]
lea eax, [ebp + 0x10]
push eax
call fcn.0045e660
mov eax, dword [ebp + 0x10]
push eax
call sub.shlwapi.dll_PathRemoveBackslashW
lea ebp, [esp + 0xbc]
push dword [ebp]
call fcn.0041e128
mov ebp, dword [0x473514]
push dword [ebp + 0x3c]
lea eax, [esp + 0xc0]
push eax
lea eax, [0x41526a]
push eax
push 1
mov eax, 0x4622e0
push eax
push dword [esp + 0xf8]
push dword [esp + 0x24]
call dword [esp + 0x18]
add esp, 0x18
add esp, 4
mov ebp, dword [0x473514]
push dword [ebp + 0x10]
lea eax, [esp + 0x14]
push eax
lea eax, [0x41df6b]
push eax
push dword [esp + 0x18]
call dword [esp + 0xc]
add esp, 0xc
add esp, 4
mov ebp, dword [0x473514]
push dword [ebp + 0x1c]
push 0
push dword [esp + 0xb0]
mov eax, dword [esp + 0x10]
push eax
push dword [esp + 0xf4]
push dword [esp + 0x20]
call dword [esp + 0x14]
add esp, 0x14
add esp, 4
mov dword [esp + 0x9c], eax
mov ebx, dword [esp + 0x9c]
and ebx, ebx
jne 0x420c9c
mov dword [esp + 8], 1
jmp 0x420d29
push edx
call fcn.0045e620
pop edx
push eax
mov edx, str.wimlib_extract_image_0x
push edx
call fcn.0045e6f0
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e620
pop edx
push eax
push 5
mov eax, dword [esp + 0xac]
cdq
push edx
push eax
call fcn.0044f460
pop eax
mov edx, 0x468f7a
push edx
call fcn.0045e6f0
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e620
pop edx
push eax
push 0x19
push 0xffffffff
mov ebp, dword [0x473514]
push dword [ebp + 0x38]
push dword [esp + 0xb4]
call dword [esp + 4]
add esp, 4
add esp, 4
push eax
call fcn.0045ac80
pop eax
mov ebp, dword [0x47355c]
lea eax, [ebp + 0x2c]
push eax
call fcn.0045e660
mov ebp, dword [0x473514]
push dword [ebp + 8]
push dword [esp + 0x10]
call dword [esp + 4]
add esp, 4
add esp, 4
push edx
call fcn.0045e620
pop edx
push eax
mov edx, dword [esp + 8]
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e6f0
mov edx, str._wimlib.tmp__
push edx
call fcn.0045e6f0
call fcn.0044e2d2
add dword [esp], edx
call fcn.0040cfad
call fcn.0044e2f0
cmp dword [esp + 0xec], 0
jne 0x420d8f
mov ebp, dword [0x47355c]
cmp dword [ebp + 0x48], 0
jne 0x420d8f
jmp 0x420d96
mov eax, 1
jmp 0x420d98
xor eax, eax
and eax, eax
je 0x420e27
push edx
call fcn.0045e620
pop edx
push eax
mov ebp, dword [0x47356c]
mov edx, dword [ebp + 0x10]
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e6f0
mov edx, str.wimlibWimBootCompress.ini
push edx
call fcn.0045e6f0
call fcn.0044e2d2
add dword [esp], edx
call sub.kernel32.dll_DeleteFileW
call fcn.0044e2f0
push edx
call fcn.0045e620
pop edx
push eax
mov ebp, dword [0x47356c]
mov edx, dword [ebp + 0x10]
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e6f0
mov edx, str.wimlib
push edx
call fcn.0045e6f0
call fcn.0044e2d2
add dword [esp], edx
call sub.kernel32.dll_RemoveDirectoryW
call fcn.0044e2f0
lea ebp, [esp + 0xbc]
push dword [ebp + 8]
call fcn.00422f56
mov eax, dword [esp + 8]
jmp 0x420e2f
push dword [esp]
call fcn.0045e7f0
push dword [esp + 0xb0]
call fcn.0045e7f0
lea edx, [esp + 0xbc]
push 0x46e0e4
push edx
call fcn.0044ed0a
push dword [esp + 4]
call fcn.0045e7f0
push dword [esp + 0x98]
call fcn.0045e7f0
push dword [esp + 0xa0]
call fcn.0045e7f0
push dword [esp + 0xd0]
call fcn.0045e7f0
add esp, 0xd4
pop ebx
pop ebp
ret 0x14