Function at 0x40a154
Capabilities:
Delete directory

Disassembly:
push ebp
push ebx
mov edx, 7
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x40a15b
call fcn.00451930
mov dword [0x6fe55c], 1
push 0xa8
call fcn.00431280
and eax, eax
je 0x40a2d7
push 0
push 0
push 0xa8
call fcn.00431300
push 0xa8
call fcn.00431370
mov dword [esp], 0
jmp 0x40a1b0
mov eax, 9
cmp eax, dword [esp]
jl 0x40a28a
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
mov ebx, dword [esp + 8]
add ebx, 0x42
push ebx
push 0x11
call fcn.0042d6a8
lea eax, [esp + 8]
push eax
call fcn.00451800
mov eax, 0x4e84e4
push eax
push dword [esp + 8]
call fcn.0044f830
mov dword [esp + 8], eax
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
mov ebx, dword [esp + 0x18]
inc ebx
push ebx
push dword [esp + 0x18]
call fcn.0044fdc0
call fcn.004291f2
add dword [esp], edx
call fcn.0044f560
lea eax, [esp + 0x10]
push eax
call fcn.00451800
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push dword [esp + 0x18]
call fcn.0044f560
call fcn.00451990
push 0xa8
call fcn.004291f2
add dword [esp + 4], edx
call fcn.004313b0
call fcn.00429210
inc dword [esp]
jno 0x40a1b0
mov dword [esp], 0
jmp 0x40a293
mov eax, 0x200
cmp eax, dword [esp]
jl 0x40a2b2
mov eax, 0x4e83a6
push eax
push 0xa8
call fcn.004314f0
inc dword [esp]
jno 0x40a293
push 0xa8
call fcn.00430dd0
push dword [0x6fe49c]
call fcn.004159c6
push dword [0x6fe49c]
push 0xa8
call fcn.004311a0
mov dword [0x6fe898], 0
push 1
call fcn.0040fa28
mov dword [0x6fe55c], 0
mov ebx, dword [0x6fe898]
cmp ebx, 1
jne 0x40a305
jmp 0x40aca7
push 0xa9
call fcn.00431280
and eax, eax
je 0x40a31d
push 0xa9
call fcn.00430dd0
call fcn.00408ff9
push dword [0x6fe5f0]
push dword [0x6fe414]
call fcn.00430d30
push dword [0x6feb70]
call fcn.0044aaab
push dword [0x6feb70]
call fcn.0044aac0
or eax, eax
je 0x40a397
mov ebp, dword [0x6feb74]
push dword [ebp + 8]
pop eax
mov dword [esp + 8], eax
push dword [esp + 8]
call fcn.0042bbc9
and eax, eax
je 0x40a387
push dword [esp + 8]
call fcn.0042bc00
and eax, eax
je 0x40a37e
push dword [esp + 8]
call fcn.0042bc47
push dword [esp + 8]
call fcn.0042bc58
mov ebp, dword [0x6feb74]
push dword [ebp + 0xc]
call fcn.004304d2
jmp 0x40a33e
call fcn.0041175d
push 2
call fcn.0043d8e1
push dword [0x6fe838]
push dword [0x6fe3c0]
call fcn.004116d1
push dword [0x6fe78c]
push dword [0x6fe520]
call fcn.004116d1
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
mov eax, dword [0x6fe7f4]
cdq
push edx
push eax
call fcn.0044f580
call fcn.00451990
push dword [0x6fe548]
call fcn.004291f2
add dword [esp + 4], edx
call fcn.004116d1
call fcn.00429210
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
mov eax, dword [0x6fe3f0]
cdq
push edx
push eax
call fcn.0044f580
call fcn.00451990
push dword [0x6fe7e8]
call fcn.004291f2
add dword [esp + 4], edx
call fcn.004116d1
call fcn.00429210
push dword [0x6fe3cc]
push dword [0x6fe71c]
call fcn.004116d1
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
mov eax, dword [0x6fe444]
cdq
push edx
push eax
call fcn.0044f580
call fcn.00451990
push dword [0x6fe664]
call fcn.004291f2
add dword [esp + 4], edx
call fcn.004116d1
call fcn.00429210
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
mov eax, dword [0x6fe5bc]
cdq
push edx
push eax
call fcn.0044f580
call fcn.00451990
push dword [0x6fe700]
call fcn.004291f2
add dword [esp + 4], edx
call fcn.004116d1
call fcn.00429210
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
mov eax, dword [0x6fe580]
cdq
push edx
push eax
call fcn.0044f580
call fcn.00451990
push dword [0x6fe8e0]
call fcn.004291f2
add dword [esp + 4], edx
call fcn.004116d1
call fcn.00429210
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
mov eax, dword [0x6fea2c]
cdq
push edx
push eax
call fcn.0044f580
call fcn.00451990
push dword [0x6fe51c]
call fcn.004291f2
add dword [esp + 4], edx
call fcn.004116d1
call fcn.00429210
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
mov eax, dword [0x6fe4a0]
cdq
push edx
push eax
call fcn.0044f580
call fcn.00451990
push dword [0x6fe4e0]
call fcn.004291f2
add dword [esp + 4], edx
call fcn.004116d1
call fcn.00429210
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
mov eax, dword [0x6fe960]
cdq
push edx
push eax
call fcn.0044f580
call fcn.00451990
push dword [0x6fea00]
call fcn.004291f2
add dword [esp + 4], edx
call fcn.004116d1
call fcn.00429210
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
mov eax, dword [0x6fea28]
cdq
push edx
push eax
call fcn.0044f580
call fcn.00451990
push dword [0x6fe6f0]
call fcn.004291f2
add dword [esp + 4], edx
call fcn.004116d1
call fcn.00429210
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
mov eax, dword [0x6fe5d4]
cdq
push edx
push eax
call fcn.0044f580
call fcn.00451990
push dword [0x6fe864]
call fcn.004291f2
add dword [esp + 4], edx
call fcn.004116d1
call fcn.00429210
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
mov eax, dword [0x6fe50c]
cdq
push edx
push eax
call fcn.0044f580
call fcn.00451990
push dword [0x6fe674]
call fcn.004291f2
add dword [esp + 4], edx
call fcn.004116d1
call fcn.00429210
mov ebx, dword [0x6fe86c]
and ebx, ebx
jle 0x40a707
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
mov eax, dword [0x6fe86c]
cdq
push edx
push eax
call fcn.0044f580
call fcn.00451990
push dword [0x6fe648]
call fcn.004291f2
add dword [esp + 4], edx
call fcn.004116d1
call fcn.00429210
push 0xa8
call fcn.00431280
and eax, eax
je 0x40a71f
push 0xa8
call fcn.00430dd0
mov ebx, dword [0x6fe830]
cmp ebx, 1
je 0x40aa1b
push 2
push dword [0x6fe70c]
push 0
call fcn.0042d174
and eax, eax
je 0x40aa1b
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push dword [0x6fe49c]
call fcn.00430842
call fcn.00451990
push dword [0x6fe49c]
push 0
call fcn.004291f2
add dword [esp + 8], edx
call fcn.0042d1e8
call fcn.00429210
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push dword [0x6fe800]
call fcn.00430842
call fcn.00451990
push dword [0x6fe800]
push 0
call fcn.004291f2
add dword [esp + 8], edx
call fcn.0042d1e8
call fcn.00429210
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push dword [0x6fe534]
call fcn.00430842
call fcn.00451990
push dword [0x6fe534]
push 0
call fcn.004291f2
add dword [esp + 8], edx
call fcn.0042d1e8
call fcn.00429210
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
mov edx, 0x4ec090
push edx
call fcn.00451890
mov edx, dword [0x6fe4c8]
push edx
call fcn.00451890
call fcn.00451990
push dword [0x6fe3a8]
push 0xffffffff
call fcn.004291f2
add dword [esp + 8], edx
call fcn.004305e2
call fcn.00429210
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
je 0x40a9c8
push dword [esp + 0x10]
call fcn.00430741
and eax, eax
je 0x40a9bf
push dword [esp + 0x10]
call fcn.004305be
mov ebx, eax
cmp ebx, 1
jne 0x40a9ba
mov edx, dword [0x6fe3a8]
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.00451890
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push dword [esp + 0x1c]
call fcn.00430570
pop eax
push dword [esp]
call fcn.00429210
call fcn.004291f2
add dword [esp], edx
push dword [0x6febc4]
call fcn.0043fb14
mov ebp, eax
push dword [ebp]
call fcn.00431280
mov ebx, eax
and ebx, ebx
jne 0x40a9ba
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push dword [esp + 0x1c]
call fcn.00430570
call fcn.00451990
mov edx, dword [0x6fe3a8]
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.00451890
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push dword [esp + 0x24]
call fcn.00430570
pop eax
call fcn.00451990
push 0
call fcn.004291f2
add dword [esp + 4], edx
call fcn.004291f2
add dword [esp + 8], edx
call fcn.0042d1e8
call fcn.00429210
push edx
call fcn.004517c0
pop edx
push eax
mov edx, dword [0x6fe3a8]
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.00451890
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push dword [esp + 0x20]
call fcn.00430570
pop eax
call fcn.004291f2
add dword [esp], edx
call fcn.004304d2
call fcn.00429210
jmp 0x40a876
push dword [esp + 0x10]
call fcn.0043070f
push 0
call fcn.0042d0a2
push dword [0x6fe70c]
call fcn.0041619c
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], 0
je 0x40aa1b
push dword [esp + 0x14]
call fcn.00450610
mov dword [esp + 0x18], eax
push dword [0x6fe538]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call fcn.00404ffc
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [0x6fe70c]
call fcn.0042718e
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
mov edx, 0x4ec090
push edx
call fcn.00451890
mov edx, dword [0x6fe4c8]
push edx
call fcn.00451890
call fcn.00451990
push dword [0x6fe3a8]
push 0xffffffff
call fcn.004291f2
add dword [esp + 8], edx
call fcn.004305e2
call fcn.00429210
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
je 0x40ab37
push dword [esp + 0x10]
call fcn.00430741
and eax, eax
je 0x40ab2e
push dword [esp + 0x10]
call fcn.004305be
mov ebx, eax
cmp ebx, 1
jne 0x40ab29
push edx
call fcn.004517c0
pop edx
push eax
mov edx, dword [0x6fe3a8]
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.00451890
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push dword [esp + 0x20]
call fcn.00430570
pop eax
call fcn.004291f2
add dword [esp], edx
call fcn.00410f4d
call fcn.00429210
push edx
call fcn.004517c0
pop edx
push eax
mov edx, dword [0x6fe3a8]
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.00451890
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push dword [esp + 0x20]
call fcn.00430570
pop eax
call fcn.004291f2
add dword [esp], edx
call fcn.004304d2
call fcn.00429210
jmp 0x40aa74
push dword [esp + 0x10]
call fcn.0043070f
push dword [0x6fe3a8]
call sub.KERNEL32.DLL_RemoveDirectoryW
push dword [0x6fe6d4]
call fcn.00410f4d
push dword [0x6fe6d4]
call fcn.004304d2
push dword [0x6fe588]
call fcn.00410f4d
push dword [0x6fe588]
call fcn.004304d2
push dword [0x6fe804]
call fcn.00410f4d
push dword [0x6fe804]
call sub.KERNEL32.DLL_FreeLibrary
push dword [0x6fe804]
call fcn.004304d2
push dword [0x6fe9d8]
call fcn.00410f4d
push dword [0x6fe9d8]
call fcn.004304d2
push dword [0x6fe678]
call fcn.00410f4d
push dword [0x6fe678]
call fcn.004304d2
push dword [0x6fe49c]
call fcn.00410f4d
push dword [0x6fe49c]
call fcn.004304d2
push dword [0x6fe534]
call fcn.00410f4d
push dword [0x6fe534]
call fcn.004304d2
push dword [0x6fe800]
call fcn.00410f4d
push dword [0x6fe800]
call fcn.004304d2
push dword [0x6fe91c]
call sub.KERNEL32.DLL_RemoveDirectoryW
push dword [0x6fe91c]
call sub.SHLWAPI.DLL_PathQuoteSpacesW
push dword [0x6fe804]
call sub.SHLWAPI.DLL_PathQuoteSpacesW
push edx
call fcn.004517c0
pop edx
push eax
push 2
push dword [0x6fe900]
push edx
call fcn.004517c0
pop edx
push eax
mov edx, str._cl
push edx
call fcn.00451890
mov edx, dword [0x6fe91c]
push edx
call fcn.00451890
mov edx, 0x4e83a6
push edx
call fcn.00451890
mov edx, dword [0x6fe804]
push edx
call fcn.00451890
call fcn.00451990
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
call fcn.0042b405
call fcn.004291f2
add dword [esp], edx
call fcn.004291f2
add dword [esp + 4], edx
call fcn.0042b4a4
call fcn.00429210
push dword [esp + 0x28]
jmp 0x402cd6
push dword [esp + 4]
call fcn.004519f0
push dword [esp + 0xc]
call fcn.004519f0
add esp, 0x1c
pop ebx
pop ebp
ret 4