Function at 0x44e830
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 0x44e86e
test edi, edi
jne 0x44e86e
mov dword [esp], 0x730b60
call fcn.006de350
mov eax, ebx
sar eax, 1
cmp eax, 7
mov edx, eax
mov dword [ebp - 0x268], eax
ja 0x44f321
cmp eax, 1
je 0x44e91f
test eax, eax
lea esi, [ebp - 0x2f0]
jne 0x44f4e0
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 0x44e8fd
lea ecx, [edx + 1]
mov dword [ebp - 0x310], ecx
lea ecx, [ebp - 0x2f0]
cmp esi, ecx
je 0x44f559
mov ecx, dword [ebp - 0x2f0]
cmp dword [ebp - 0x310], ecx
ja 0x44f263
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 0x44e963
mov dword [esp], 0x730b60
call fcn.006de350
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 0x44f3aa
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 0x44f2cf
cmp eax, 1
je 0x44f395
test edx, edx
mov ecx, dword [ebp - 0x318]
jne 0x44f4e7
xor esi, esi
mov dword [ebp - 0x2dc], eax
mov word [ecx + eax*2], si
mov dword [esp], 0x730bfc
call sub.msvcrt.dll_wcslen
mov edx, 0x3fffffff
sub edx, dword [ebp - 0x2dc]
cmp eax, edx
ja 0x44f4ee
lea ecx, [ebp - 0x2e0]
mov dword [esp + 4], eax
mov dword [esp], 0x730bfc
call fcn.006c02c0
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 0x44ea45
jmp 0x44f3c7
lea ebx, [ebp - 0x23c]
mov dword [esp + 4], 0x730c04
mov esi, dword [sym.imp.msvcrt.dll__wcsicmp]
mov dword [esp], ebx
call esi
test eax, eax
jne 0x44ec54
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 0x44f1f6
mov eax, dword [ebp - 0x268]
test al, 4
jne 0x44ea21
test al, 0x10
jne 0x44ea00
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 0x44ec02
cmp edx, 1
mov eax, dword [ebp - 0x298]
je 0x44f100
test edx, edx
jne 0x44ec33
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.006be270
lea edi, [ebp - 0x278]
lea edx, [eax + 8]
sub esp, 0x10
mov dword [ebp - 0x280], edi
mov ecx, dword [eax]
cmp ecx, edx
je 0x44f132
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 0x44f1c5
cmp eax, dword [ebp - 0x318]
je 0x44f10f
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 0x44eb86
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 0x44eb86
mov dword [esp], eax
call fcn.006e9880
mov eax, dword [ebp - 0x298]
cmp eax, esi
je 0x44eb98
mov dword [esp], eax
call fcn.006e9880
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 0x44ea21
lea eax, [ebp - 0x2fc]
lea ecx, [ebp - 0x298]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.006c0420
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 0x44ea9a
mov dword [esp + 4], 0x730c08
mov dword [esp], ebx
call esi
test eax, eax
je 0x44ea21
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 0x44f173
cmp edx, 1
mov eax, dword [ebp - 0x2c8]
je 0x44f1e7
test edx, edx
jne 0x44f1a4
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.006be270
lea edi, [ebp - 0x278]
lea edx, [eax + 8]
sub esp, 0x10
mov dword [ebp - 0x280], edi
mov ecx, dword [eax]
cmp ecx, edx
je 0x44f29a
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 0x44f373
cmp eax, dword [ebp - 0x318]
je 0x44f240
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 0x44ed96
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 0x44ed96
mov dword [esp], eax
call fcn.006e9880
mov eax, dword [ebp - 0x2c8]
lea esi, [ebp - 0x2c0]
cmp eax, esi
je 0x44edae
mov dword [esp], eax
call fcn.006e9880
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 0x44edf0
test esi, esi
jne 0x44edf0
mov dword [esp], 0x730b60
call fcn.006de350
nop
lea esi, [esi]
mov edx, ebx
sar edx, 1
cmp edx, 7
mov eax, edx
mov dword [ebp - 0x300], edx
ja 0x44f090
cmp eax, 1
je 0x44f0e2
test edx, edx
mov ecx, edi
jne 0x44f0f3
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.0044e830
mov eax, dword [ebp - 0x280]
sub esp, 4
cmp eax, edi
je 0x44ee4d
mov dword [esp], eax
call fcn.006e9880
mov eax, dword [ebp - 0x2e0]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
sub esp, 4
test eax, eax
jne 0x44ea21
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 0x44edc0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [ebp - 0x2b0]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x730c0e
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0x44d9d0
mov dword [esp], ebx
call fcn.0044df10
mov dword [esp], 0x730c14
call sub.msvcrt.dll_wcslen
mov dword [esp + 8], 0x730c14
mov dword [esp + 0xc], eax
mov ecx, ebx
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.006be270
lea esi, [ebp - 0x290]
lea edx, [eax + 8]
sub esp, 0x10
mov dword [ebp - 0x298], esi
mov ecx, dword [eax]
cmp ecx, edx
je 0x44f41f
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 0x44f574
lea ecx, [ebp - 0x298]
mov dword [esp + 4], eax
mov dword [esp], str._removing_directory
call fcn.006c02c0
mov dword [ebp - 0x280], edi
mov ecx, dword [eax]
lea edx, [eax + 8]
sub esp, 8
cmp ecx, edx
je 0x44f3de
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.006c02c0
lea ebx, [ebp - 0x2c0]
lea edx, [eax + 8]
sub esp, 8
mov dword [ebp - 0x2c8], ebx
mov ecx, dword [eax]
cmp ecx, edx
je 0x44f460
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 0x44f013
mov dword [esp], eax
call fcn.006e9880
mov eax, dword [ebp - 0x298]
cmp eax, esi
je 0x44f025
mov dword [esp], eax
call fcn.006e9880
mov eax, dword [ebp - 0x2b0]
lea edx, [ebp - 0x2a8]
cmp eax, edx
je 0x44f03d
mov dword [esp], eax
call fcn.006e9880
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 0x44ea21
mov dword [esp], eax
call fcn.006e9880
jmp 0x44ea21
lea eax, [ebp - 0x300]
lea ecx, [ebp - 0x280]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.006c0420
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 0x44ee18
movzx edx, word [esi]
mov ecx, edi
mov word [ebp - 0x278], dx
jmp 0x44ee18
mov eax, edi
jmp 0x44f0c1
movzx ecx, word [ebp - 0x23c]
mov word [eax], cx
jmp 0x44ea9a
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 0x44eb86
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 0x44eaff
lea eax, [ebp - 0x304]
lea ecx, [ebp - 0x2c8]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.006c0420
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 0x44ecaa
lea eax, [ebp - 0x280]
lea ecx, [ebp - 0x2e0]
mov dword [esp], eax
call fcn.006c0360
mov eax, dword [ebp - 0x280]
sub esp, 4
jmp 0x44eb6b
movzx ecx, word [ebp - 0x23c]
mov word [eax], cx
jmp 0x44ecaa
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 0x44f21e
mov dword [esp], eax
call fcn.006e9880
mov eax, dword [ebp - 0x2f8]
lea edi, [ebp - 0x2f0]
cmp eax, edi
je 0x44f236
mov dword [esp], eax
call fcn.006e9880
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 0x44ed96
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.006c04b0
mov esi, dword [ebp - 0x2f8]
sub esp, 0x10
lea eax, [esi + ebx]
jmp 0x44e8df
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 0x44ed0f
lea eax, [ebp - 0x308]
lea ecx, [ebp - 0x2e0]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.006c0420
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 0x44e98f
lea eax, [ebp - 0x268]
lea ecx, [ebp - 0x2f8]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.006c0420
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 0x44e89a
lea eax, [ebp - 0x280]
lea ecx, [ebp - 0x2e0]
mov dword [esp], eax
call fcn.006c0360
mov eax, dword [ebp - 0x280]
sub esp, 4
jmp 0x44ed7b
movzx edx, word [esi]
mov ecx, dword [ebp - 0x318]
mov word [ebp - 0x2d8], dx
jmp 0x44e98f
xor edi, edi
mov dword [ebp - 0x310], 2
lea eax, [ebp - 0x2ee]
lea esi, [ebp - 0x2f0]
jmp 0x44e8df
mov eax, dword [ebp - 0x2e0]
cmp eax, dword [ebp - 0x318]
jne 0x44f216
jmp 0x44f21e
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 0x44ef88
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 0x44ef16
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 0x44efe9
mov eax, dword [ebp - 0x2e0]
cmp eax, dword [ebp - 0x318]
je 0x44f4b9
mov dword [esp], eax
call fcn.006e9880
mov eax, dword [ebp - 0x2f8]
lea edi, [ebp - 0x2f0]
cmp eax, edi
je 0x44f4d1
mov dword [esp], eax
call fcn.006e9880
mov dword [esp], ebx
call fcn.005d5ce0
mov ebx, eax
jmp 0x44f4b9
mov eax, esi
jmp 0x44f352
mov eax, ecx
jmp 0x44f300
mov dword [esp], 0x730bac
call fcn.006de660
mov ebx, eax
mov eax, dword [ebp - 0x298]
cmp eax, esi
je 0x44f50e
mov dword [esp], eax
call fcn.006e9880
mov eax, dword [ebp - 0x2b0]
lea edx, [ebp - 0x2a8]
cmp eax, edx
je 0x44f4a3
mov dword [esp], eax
call fcn.006e9880
jmp 0x44f4a3
mov ecx, 7
jmp 0x44e8d3
mov dword [esp], 0x730bac
call fcn.006de660
mov ebx, eax
mov eax, dword [ebp - 0x280]
cmp eax, edi
je 0x44f4fc
mov dword [esp], eax
call fcn.006e9880
jmp 0x44f4fc