Function at 0x401b60
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41513e
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x41c470]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 2
lea esi, [ebp - 0x80]
call fcn.00401980
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x18
mov edi, 0xf
push 0x418f9c
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
call fcn.00404720
mov eax, esi
push eax
lea esi, [ebp - 0x64]
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 1
call fcn.00401a90
add esp, 4
mov byte [ebp - 4], 3
cmp dword [ebp - 0x50], 0x10
jb 0x401beb
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004073d8
add esp, 4
push 0xa
push 0x418fb8
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00404720
lea edx, [ebp - 0xb8]
push edx
lea esi, [ebp - 0x48]
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 4
call fcn.00401a90
add esp, 4
cmp dword [ebp - 0x34], 0x10
jb 0x401c3a
mov eax, dword [ebp - 0x48]
push eax
call fcn.004073d8
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 7
push 0xe
push 0x418fc4
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00404720
lea ecx, [ebp - 0x9c]
push ecx
lea esi, [ebp - 0x48]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 8
call fcn.00401a90
add esp, 4
mov esi, eax
lea edx, [ebp - 0x2c]
cmp edx, esi
je 0x401cd1
cmp dword [ebp - 0x18], 0x10
jb 0x401c93
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004073d8
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [esi + 0x14], 0x10
jae 0x401cb6
mov eax, dword [esi + 0x10]
inc eax
push eax
lea ecx, [ebp - 0x2c]
push esi
push ecx
call fcn.004065c0
add esp, 0xc
jmp 0x401cbd
mov edx, dword [esi]
mov dword [ebp - 0x2c], edx
mov dword [esi], ebx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x18], ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp dword [ebp - 0x50], 0x10
jb 0x401ce3
mov edx, dword [ebp - 0x64]
push edx
call fcn.004073d8
add esp, 4
mov byte [ebp - 4], 7
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
jb 0x401d02
mov eax, dword [ebp - 0x48]
push eax
call fcn.004073d8
add esp, 4
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x401d0e
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0xc
push 0x418fd4
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00404720
lea ecx, [ebp - 0x9c]
push ecx
lea esi, [ebp - 0x48]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xa
call fcn.00401a90
add esp, 4
mov esi, eax
lea edx, [ebp - 0x2c]
cmp edx, esi
je 0x401d9f
cmp dword [ebp - 0x18], 0x10
jb 0x401d61
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004073d8
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [esi + 0x14], 0x10
jae 0x401d84
mov eax, dword [esi + 0x10]
inc eax
push eax
lea ecx, [ebp - 0x2c]
push esi
push ecx
call fcn.004065c0
add esp, 0xc
jmp 0x401d8b
mov edx, dword [esi]
mov dword [ebp - 0x2c], edx
mov dword [esi], ebx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x18], ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp dword [ebp - 0x50], 0x10
jb 0x401db1
mov edx, dword [ebp - 0x64]
push edx
call fcn.004073d8
add esp, 4
mov byte [ebp - 4], 7
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
jb 0x401dd0
mov eax, dword [ebp - 0x48]
push eax
call fcn.004073d8
add esp, 4
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x401ddc
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0xc
push 0x418fe4
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00404720
lea ecx, [ebp - 0x9c]
push ecx
lea esi, [ebp - 0x48]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xc
call fcn.00401a90
add esp, 4
mov esi, eax
lea edx, [ebp - 0x2c]
cmp edx, esi
je 0x401e6d
cmp dword [ebp - 0x18], 0x10
jb 0x401e2f
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004073d8
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [esi + 0x14], 0x10
jae 0x401e52
mov eax, dword [esi + 0x10]
inc eax
push eax
lea ecx, [ebp - 0x2c]
push esi
push ecx
call fcn.004065c0
add esp, 0xc
jmp 0x401e59
mov edx, dword [esi]
mov dword [ebp - 0x2c], edx
mov dword [esi], ebx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x18], ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp dword [ebp - 0x50], 0x10
jb 0x401e7f
mov edx, dword [ebp - 0x64]
push edx
call fcn.004073d8
add esp, 4
mov byte [ebp - 4], 7
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
jb 0x401e9e
mov eax, dword [ebp - 0x48]
push eax
call fcn.004073d8
add esp, 4
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x401eaa
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0x88], 0x10
mov eax, dword [ebp - 0x9c]
jae 0x401ec6
lea eax, [ebp - 0x9c]
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push eax
call esi
cmp dword [ebp - 0xa4], 0x10
mov eax, dword [ebp - 0xb8]
jae 0x401ee4
lea eax, [ebp - 0xb8]
push eax
call esi
xor ecx, ecx
lea esi, [ebp - 0x48]
call fcn.00401980
mov esi, eax
lea ecx, [ebp - 0x80]
cmp ecx, esi
je 0x401f4a
cmp dword [ebp - 0x6c], 0x10
jb 0x401f0c
mov edx, dword [ebp - 0x80]
push edx
call fcn.004073d8
add esp, 4
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
cmp dword [esi + 0x14], 0x10
jae 0x401f2f
mov eax, dword [esi + 0x10]
inc eax
push eax
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.004065c0
add esp, 0xc
jmp 0x401f36
mov ecx, dword [esi]
mov dword [ebp - 0x80], ecx
mov dword [esi], ebx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x70], edx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x6c], eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov byte [esi], bl
mov byte [ebp - 4], 7
cmp dword [ebp - 0x34], 0x10
jb 0x401f60
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004073d8
add esp, 4
push 0xe
push 0x418fc4
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00404720
lea edx, [ebp - 0x80]
push edx
lea esi, [ebp - 0x48]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xf
call fcn.00401a90
add esp, 4
mov esi, eax
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x401fe7
cmp dword [ebp - 0x18], 0x10
jb 0x401fa9
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004073d8
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [esi + 0x14], 0x10
jae 0x401fcc
mov edx, dword [esi + 0x10]
inc edx
push edx
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.004065c0
add esp, 0xc
jmp 0x401fd3
mov ecx, dword [esi]
mov dword [ebp - 0x2c], ecx
mov dword [esi], ebx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x1c], edx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp dword [ebp - 0x50], 0x10
jb 0x401ff9
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004073d8
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
jb 0x402014
mov edx, dword [ebp - 0x48]
push edx
call fcn.004073d8
add esp, 4
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x402020
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jb 0x40203d
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004073d8
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x88], esi
jb 0x40205d
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004073d8
add esp, 4
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
cmp dword [ebp - 0xa4], esi
jb 0x402086
mov edx, dword [ebp - 0xb8]
push edx
call fcn.004073d8
add esp, 4
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
cmp dword [ebp - 0x6c], esi
jb 0x4020a9
mov eax, dword [ebp - 0x80]
push eax
call fcn.004073d8
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00406048
mov esp, ebp
pop ebp
ret