Function at 0x44e2b0
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea edi, [ebp - 0x2f0]
sub esp, 0x33c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2f8], edi
mov dword [ebp - 0x30c], ecx
mov ebx, dword [eax + 4]
mov edi, dword [eax]
add ebx, ebx
mov eax, edi
add eax, ebx
je 0x44e2ee
test edi, edi
jne 0x44e2ee
mov dword [esp], 0x731c10
call fcn.006dfd70
mov eax, ebx
sar eax, 1
cmp eax, 7
mov edx, eax
mov dword [ebp - 0x268], eax
ja 0x44eda1
cmp eax, 1
je 0x44e39f
test eax, eax
lea esi, [ebp - 0x2f0]
jne 0x44ef60
lea ebx, [edx + edx]
xor edi, edi
mov dword [ebp - 0x2f4], edx
lea eax, [esi + ebx]
mov word [eax], di
cmp word [esi + ebx - 2], 0x5c
lea edi, [ebx - 2]
je 0x44e37d
lea ecx, [edx + 1]
mov dword [ebp - 0x310], ecx
lea ecx, [ebp - 0x2f0]
cmp esi, ecx
je 0x44efd9
mov ecx, dword [ebp - 0x2f0]
cmp dword [ebp - 0x310], ecx
ja 0x44ece3
mov edx, 0x5c
xor ecx, ecx
lea ebx, [edi + 4]
mov word [eax], dx
mov eax, dword [ebp - 0x310]
mov dword [ebp - 0x2f4], eax
mov word [esi + edi + 4], cx
lea eax, [ebp - 0x2d8]
test esi, esi
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x2e0], eax
jne 0x44e3e3
mov dword [esp], 0x731c10
call fcn.006dfd70
movzx eax, word [edi]
xor edx, edx
mov dword [ebp - 0x2f4], 1
mov word [ebp - 0x2ee], dx
cmp ax, 0x5c
mov word [ebp - 0x2f0], ax
jne 0x44ee2a
lea eax, [ebp - 0x2d8]
lea esi, [ebp - 0x2f0]
mov ebx, 2
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x2e0], eax
mov edx, ebx
sar edx, 1
cmp edx, 7
mov eax, edx
mov dword [ebp - 0x308], edx
ja 0x44ed4f
cmp eax, 1
je 0x44ee15
test edx, edx
mov ecx, dword [ebp - 0x318]
jne 0x44ef67
xor esi, esi
mov dword [ebp - 0x2dc], eax
mov word [ecx + eax*2], si
mov dword [esp], 0x731cac
call sub.msvcrt.dll_wcslen
mov edx, 0x3fffffff
sub edx, dword [ebp - 0x2dc]
cmp eax, edx
ja 0x44ef6e
lea ecx, [ebp - 0x2e0]
mov dword [esp + 4], eax
mov dword [esp], 0x731cac
call fcn.006c1ce0
lea eax, [ebp - 0x268]
sub esp, 8
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2e0]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
sub esp, 8
cmp eax, 0xffffffff
mov dword [ebp - 0x314], eax
jne 0x44e4c5
jmp 0x44ee47
lea ebx, [ebp - 0x23c]
mov dword [esp + 4], 0x731cb4
mov esi, dword [sym.imp.msvcrt.dll__wcsicmp]
mov dword [esp], ebx
call esi
test eax, eax
jne 0x44e6d4
lea eax, [ebp - 0x268]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x314]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x44ec76
mov eax, dword [ebp - 0x268]
test al, 4
jne 0x44e4a1
test al, 0x10
jne 0x44e480
lea ebx, [ebp - 0x23c]
lea esi, [ebp - 0x290]
mov dword [esp], ebx
mov dword [ebp - 0x298], esi
call sub.msvcrt.dll_wcslen
lea edi, [eax + eax]
mov edx, edi
sar edx, 1
cmp edx, 7
mov dword [ebp - 0x2fc], edx
ja 0x44e682
cmp edx, 1
mov eax, dword [ebp - 0x298]
je 0x44eb80
test edx, edx
jne 0x44e6b3
xor ebx, ebx
mov dword [ebp - 0x294], edx
lea ecx, [ebp - 0x298]
mov word [eax + edx*2], bx
mov eax, dword [ebp - 0x2f4]
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2f8]
mov dword [esp + 8], eax
call fcn.006bfc90
lea edi, [ebp - 0x278]
lea edx, [eax + 8]
sub esp, 0x10
mov dword [ebp - 0x280], edi
mov ecx, dword [eax]
cmp ecx, edx
je 0x44ebb2
mov dword [ebp - 0x280], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x278], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x27c], ecx
mov dword [eax], edx
xor ecx, ecx
mov edx, dword [ebp - 0x280]
mov dword [eax + 4], 0
mov word [eax + 8], cx
mov eax, dword [ebp - 0x2e0]
cmp edx, edi
je 0x44ec45
cmp eax, dword [ebp - 0x318]
je 0x44eb8f
mov dword [ebp - 0x2e0], edx
mov edx, dword [ebp - 0x27c]
test eax, eax
mov ecx, dword [ebp - 0x2d8]
mov dword [ebp - 0x2dc], edx
mov edx, dword [ebp - 0x278]
mov dword [ebp - 0x2d8], edx
je 0x44e606
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x278], ecx
xor edx, edx
cmp eax, edi
mov dword [ebp - 0x27c], 0
mov word [eax], dx
je 0x44e606
mov dword [esp], eax
call fcn.006eb330
mov eax, dword [ebp - 0x298]
cmp eax, esi
je 0x44e618
mov dword [esp], eax
call fcn.006eb330
mov eax, dword [ebp - 0x30c]
mov ecx, dword [ebp - 0x2e0]
mov eax, dword [eax + 0x138]
mov edx, dword [eax]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 1
mov dword [esp + 8], ecx
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [edx + 0x28]
mov eax, dword [ebp - 0x2e0]
sub esp, 0x14
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0x2e0]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
sub esp, 4
jmp 0x44e4a1
lea eax, [ebp - 0x2fc]
lea ecx, [ebp - 0x298]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.006c1e40
mov edx, dword [ebp - 0x2fc]
sub esp, 8
mov dword [ebp - 0x298], eax
mov dword [ebp - 0x290], edx
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x2fc]
mov eax, dword [ebp - 0x298]
jmp 0x44e51a
mov dword [esp + 4], 0x731cb8
mov dword [esp], ebx
call esi
test eax, eax
je 0x44e4a1
lea eax, [ebp - 0x2c0]
mov dword [esp], ebx
mov dword [ebp - 0x2c8], eax
call sub.msvcrt.dll_wcslen
lea esi, [eax + eax]
mov edx, esi
sar edx, 1
cmp edx, 7
mov dword [ebp - 0x304], edx
ja 0x44ebf3
cmp edx, 1
mov eax, dword [ebp - 0x2c8]
je 0x44ec67
test edx, edx
jne 0x44ec24
xor ebx, ebx
mov dword [ebp - 0x2c4], edx
lea ecx, [ebp - 0x2c8]
mov word [eax + edx*2], bx
mov eax, dword [ebp - 0x2f4]
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2f8]
mov dword [esp + 8], eax
call fcn.006bfc90
lea edi, [ebp - 0x278]
lea edx, [eax + 8]
sub esp, 0x10
mov dword [ebp - 0x280], edi
mov ecx, dword [eax]
cmp ecx, edx
je 0x44ed1a
mov dword [ebp - 0x280], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x278], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x27c], ecx
mov dword [eax], edx
xor ecx, ecx
mov edx, dword [ebp - 0x280]
mov dword [eax + 4], 0
mov word [eax + 8], cx
mov eax, dword [ebp - 0x2e0]
cmp edx, edi
je 0x44edf3
cmp eax, dword [ebp - 0x318]
je 0x44ecc0
mov dword [ebp - 0x2e0], edx
mov edx, dword [ebp - 0x27c]
test eax, eax
mov ecx, dword [ebp - 0x2d8]
mov dword [ebp - 0x2dc], edx
mov edx, dword [ebp - 0x278]
mov dword [ebp - 0x2d8], edx
je 0x44e816
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x278], ecx
xor edx, edx
cmp eax, edi
mov dword [ebp - 0x27c], 0
mov word [eax], dx
je 0x44e816
mov dword [esp], eax
call fcn.006eb330
mov eax, dword [ebp - 0x2c8]
lea esi, [ebp - 0x2c0]
cmp eax, esi
je 0x44e82e
mov dword [esp], eax
call fcn.006eb330
mov dword [ebp - 0x310], 0
nop
lea esi, [esi]
mov eax, dword [ebp - 0x2dc]
mov esi, dword [ebp - 0x2e0]
mov dword [ebp - 0x280], edi
lea ebx, [eax + eax]
mov eax, esi
add eax, ebx
je 0x44e870
test esi, esi
jne 0x44e870
mov dword [esp], 0x731c10
call fcn.006dfd70
nop
lea esi, [esi]
mov edx, ebx
sar edx, 1
cmp edx, 7
mov eax, edx
mov dword [ebp - 0x300], edx
ja 0x44eb10
cmp eax, 1
je 0x44eb62
test edx, edx
mov ecx, edi
jne 0x44eb73
xor esi, esi
mov dword [ebp - 0x27c], eax
mov word [ecx + eax*2], si
lea eax, [ebp - 0x280]
mov ecx, dword [ebp - 0x30c]
mov dword [esp], eax
call fcn.0044e2b0
mov eax, dword [ebp - 0x280]
sub esp, 4
cmp eax, edi
je 0x44e8cd
mov dword [esp], eax
call fcn.006eb330
mov eax, dword [ebp - 0x2e0]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
sub esp, 4
test eax, eax
jne 0x44e4a1
add dword [ebp - 0x310], 1
mov dword [esp], 0x3e8
mov ebx, dword [ebp - 0x310]
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
cmp ebx, 2
jle 0x44e840
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [ebp - 0x2b0]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x731cbe
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0x44d450
mov dword [esp], ebx
call fcn.0044d990
mov dword [esp], 0x731cc4
call sub.msvcrt.dll_wcslen
mov dword [esp + 8], 0x731cc4
mov dword [esp + 0xc], eax
mov ecx, ebx
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.006bfc90
lea esi, [ebp - 0x290]
lea edx, [eax + 8]
sub esp, 0x10
mov dword [ebp - 0x298], esi
mov ecx, dword [eax]
cmp ecx, edx
je 0x44ee9f
mov dword [ebp - 0x298], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x290], ecx
mov ecx, dword [eax + 4]
xor ebx, ebx
mov dword [ebp - 0x294], ecx
mov dword [eax], edx
mov dword [eax + 4], 0
mov word [eax + 8], bx
mov dword [esp], str._removing_directory
call sub.msvcrt.dll_wcslen
mov edx, 0x3fffffff
sub edx, dword [ebp - 0x294]
cmp eax, edx
ja 0x44eff4
lea ecx, [ebp - 0x298]
mov dword [esp + 4], eax
mov dword [esp], str._removing_directory
call fcn.006c1ce0
mov dword [ebp - 0x280], edi
mov ecx, dword [eax]
lea edx, [eax + 8]
sub esp, 8
cmp ecx, edx
je 0x44ee5e
mov dword [ebp - 0x280], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x278], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x27c], ecx
xor ecx, ecx
mov dword [eax], edx
mov word [eax + 8], cx
mov dword [eax + 4], 0
lea ecx, [ebp - 0x280]
mov eax, dword [ebp - 0x2dc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2e0]
mov dword [esp], eax
call fcn.006c1ce0
lea ebx, [ebp - 0x2c0]
lea edx, [eax + 8]
sub esp, 8
mov dword [ebp - 0x2c8], ebx
mov ecx, dword [eax]
cmp ecx, edx
je 0x44eee0
mov dword [ebp - 0x2c8], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x2c0], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x2c4], ecx
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], 0
mov word [eax + 8], dx
mov eax, dword [ebp - 0x280]
cmp eax, edi
je 0x44ea93
mov dword [esp], eax
call fcn.006eb330
mov eax, dword [ebp - 0x298]
cmp eax, esi
je 0x44eaa5
mov dword [esp], eax
call fcn.006eb330
mov eax, dword [ebp - 0x2b0]
lea edx, [ebp - 0x2a8]
cmp eax, edx
je 0x44eabd
mov dword [esp], eax
call fcn.006eb330
mov eax, dword [ebp - 0x2c8]
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], str.Error
mov dword [esp], 0
mov dword [esp + 4], eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 0x2c8]
lea edi, [ebp - 0x2c0]
sub esp, 0x10
cmp eax, edi
je 0x44e4a1
mov dword [esp], eax
call fcn.006eb330
jmp 0x44e4a1
lea eax, [ebp - 0x300]
lea ecx, [ebp - 0x280]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.006c1e40
mov edx, dword [ebp - 0x300]
sub esp, 8
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x278], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x300]
mov ecx, dword [ebp - 0x280]
jmp 0x44e898
movzx edx, word [esi]
mov ecx, edi
mov word [ebp - 0x278], dx
jmp 0x44e898
mov eax, edi
jmp 0x44eb41
movzx ecx, word [ebp - 0x23c]
mov word [eax], cx
jmp 0x44e51a
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x2e0], edx
mov dword [ebp - 0x2dc], eax
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x2d8], eax
jmp 0x44e606
mov ecx, dword [eax + 0x10]
mov ebx, dword [eax + 0xc]
mov dword [ebp - 0x310], ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x31c], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x274], ebx
mov ebx, dword [ebp - 0x310]
mov dword [ebp - 0x278], ecx
mov dword [ebp - 0x270], ebx
mov ebx, dword [ebp - 0x31c]
mov dword [ebp - 0x26c], ebx
jmp 0x44e57f
lea eax, [ebp - 0x304]
lea ecx, [ebp - 0x2c8]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.006c1e40
mov edx, dword [ebp - 0x304]
sub esp, 8
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 0x2c0], edx
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x304]
mov eax, dword [ebp - 0x2c8]
jmp 0x44e72a
lea eax, [ebp - 0x280]
lea ecx, [ebp - 0x2e0]
mov dword [esp], eax
call fcn.006c1d80
mov eax, dword [ebp - 0x280]
sub esp, 4
jmp 0x44e5eb
movzx ecx, word [ebp - 0x23c]
mov word [eax], cx
jmp 0x44e72a
mov eax, dword [ebp - 0x314]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindClose]
sub esp, 4
mov eax, dword [ebp - 0x2e0]
cmp eax, dword [ebp - 0x318]
je 0x44ec9e
mov dword [esp], eax
call fcn.006eb330
mov eax, dword [ebp - 0x2f8]
lea edi, [ebp - 0x2f0]
cmp eax, edi
je 0x44ecb6
mov dword [esp], eax
call fcn.006eb330
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x2e0], edx
mov dword [ebp - 0x2dc], eax
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x2d8], eax
jmp 0x44e816
lea ecx, [ebp - 0x2f8]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], edx
call fcn.006c1ed0
mov esi, dword [ebp - 0x2f8]
sub esp, 0x10
lea eax, [esi + ebx]
jmp 0x44e35f
mov esi, dword [eax + 0x10]
mov ebx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x310], esi
mov esi, dword [eax + 0x14]
mov dword [ebp - 0x274], ebx
mov ebx, dword [ebp - 0x310]
mov dword [ebp - 0x278], ecx
mov dword [ebp - 0x26c], esi
mov dword [ebp - 0x270], ebx
jmp 0x44e78f
lea eax, [ebp - 0x308]
lea ecx, [ebp - 0x2e0]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.006c1e40
mov edx, dword [ebp - 0x308]
sub esp, 8
mov dword [ebp - 0x2e0], eax
mov dword [ebp - 0x2d8], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x308]
mov ecx, dword [ebp - 0x2e0]
jmp 0x44e40f
lea eax, [ebp - 0x268]
lea ecx, [ebp - 0x2f8]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.006c1e40
mov edx, dword [ebp - 0x268]
sub esp, 8
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2f0], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x268]
mov esi, dword [ebp - 0x2f8]
jmp 0x44e31a
lea eax, [ebp - 0x280]
lea ecx, [ebp - 0x2e0]
mov dword [esp], eax
call fcn.006c1d80
mov eax, dword [ebp - 0x280]
sub esp, 4
jmp 0x44e7fb
movzx edx, word [esi]
mov ecx, dword [ebp - 0x318]
mov word [ebp - 0x2d8], dx
jmp 0x44e40f
xor edi, edi
mov dword [ebp - 0x310], 2
lea eax, [ebp - 0x2ee]
lea esi, [ebp - 0x2f0]
jmp 0x44e35f
mov eax, dword [ebp - 0x2e0]
cmp eax, dword [ebp - 0x318]
jne 0x44ec96
jmp 0x44ec9e
mov ebx, dword [eax + 0xc]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x310], ebx
mov ebx, dword [eax + 0x10]
mov dword [ebp - 0x31c], ebx
mov ebx, dword [eax + 8]
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 0x278], ebx
mov ebx, dword [ebp - 0x310]
mov dword [ebp - 0x274], ebx
mov ebx, dword [ebp - 0x31c]
mov dword [ebp - 0x270], ebx
jmp 0x44ea08
mov ebx, dword [eax + 0xc]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x310], ebx
mov ebx, dword [eax + 0x10]
mov dword [ebp - 0x31c], ebx
mov ebx, dword [eax + 8]
mov dword [ebp - 0x284], ecx
mov dword [ebp - 0x290], ebx
mov ebx, dword [ebp - 0x310]
mov dword [ebp - 0x28c], ebx
mov ebx, dword [ebp - 0x31c]
mov dword [ebp - 0x288], ebx
jmp 0x44e996
mov ebx, dword [eax + 0xc]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x310], ebx
mov ebx, dword [eax + 0x10]
mov dword [ebp - 0x31c], ebx
mov ebx, dword [eax + 8]
mov dword [ebp - 0x2b4], ecx
mov dword [ebp - 0x2c0], ebx
mov ebx, dword [ebp - 0x310]
mov dword [ebp - 0x2bc], ebx
mov ebx, dword [ebp - 0x31c]
mov dword [ebp - 0x2b8], ebx
jmp 0x44ea69
mov eax, dword [ebp - 0x2e0]
cmp eax, dword [ebp - 0x318]
je 0x44ef39
mov dword [esp], eax
call fcn.006eb330
mov eax, dword [ebp - 0x2f8]
lea edi, [ebp - 0x2f0]
cmp eax, edi
je 0x44ef51
mov dword [esp], eax
call fcn.006eb330
mov dword [esp], ebx
call fcn.005d7530
mov ebx, eax
jmp 0x44ef39
mov eax, esi
jmp 0x44edd2
mov eax, ecx
jmp 0x44ed80
mov dword [esp], 0x731c5c
call fcn.006e0080
mov ebx, eax
mov eax, dword [ebp - 0x298]
cmp eax, esi
je 0x44ef8e
mov dword [esp], eax
call fcn.006eb330
mov eax, dword [ebp - 0x2b0]
lea edx, [ebp - 0x2a8]
cmp eax, edx
je 0x44ef23
mov dword [esp], eax
call fcn.006eb330
jmp 0x44ef23
mov ecx, 7
jmp 0x44e353
mov dword [esp], 0x731c5c
call fcn.006e0080
mov ebx, eax
mov eax, dword [ebp - 0x280]
cmp eax, edi
je 0x44ef7c
mov dword [esp], eax
call fcn.006eb330
jmp 0x44ef7c