Function at 0x44f1d0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
sub esp, 0x174
push ebx
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004884e0
or ecx, 0xffffffff
add esp, 4
xor eax, eax
mov edi, str.DebugLogs
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.DebugLogs
lea ecx, [esp + 0x34]
call fcn.00417330
mov cl, byte [esp + 0x2c]
mov byte [esp + 0x18], cl
xor ebx, ebx
push ebx
lea ecx, [esp + 0x1c]
call fcn.00401b60
mov edx, dword [0x5153c0]
push edx
push ebx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x24]
call fcn.00403390
or ecx, 0xffffffff
xor eax, eax
mov edi, str.debug.log
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.debug.log
lea ecx, [esp + 0x20]
call fcn.00417330
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x44f258
mov eax, 0x5153a8
push esi
lea ecx, [esp + 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x2c], esi
je 0x44f3c8
push ebp
mov dl, byte [esp + 0x34]
push ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], dl
call fcn.00401b60
mov eax, dword [0x5153c0]
push eax
push ebx
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00403390
mov edx, dword [0x5153c0]
or ecx, 0xffffffff
xor eax, eax
mov edi, 0x5355d4
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
sub edx, dword [esp + 0x18]
cmp edx, esi
ja 0x44f2c0
call fcn.004ef719
cmp esi, ebx
jbe 0x44f304
mov eax, dword [esp + 0x18]
lea ebp, [eax + esi]
push ebx
push ebp
lea ecx, [esp + 0x18]
call fcn.00401bd0
test al, al
je 0x44f304
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, esi
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
mov esi, 0x5355d4
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
lea ecx, [esp + 0x14]
call fcn.00401bb0
mov edx, dword [esp + 0x18]
xor eax, eax
or ecx, 0xffffffff
lea edi, [esp + 0x70]
repne scasb al, byte es:[edi]
mov eax, dword [0x5153c0]
not ecx
dec ecx
mov esi, ecx
sub eax, edx
cmp eax, esi
ja 0x44f328
call fcn.004ef719
cmp esi, ebx
jbe 0x44f36b
mov eax, dword [esp + 0x18]
lea ebp, [eax + esi]
push ebx
push ebp
lea ecx, [esp + 0x18]
call fcn.00401bd0
test al, al
je 0x44f36b
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, esi
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
lea esi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
lea ecx, [esp + 0x14]
call fcn.00401bb0
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x44f378
mov eax, 0x5153a8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x44f3a3
mov al, byte [ecx - 1]
cmp al, bl
je 0x44f399
cmp al, 0xff
je 0x44f399
dec al
mov byte [ecx - 1], al
jmp 0x44f3a3
dec ecx
push ecx
call fcn.004ef70e
add esp, 4
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x44]
push eax
push esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x44f275
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
pop esi
je 0x44f3f4
mov al, byte [ecx - 1]
cmp al, bl
je 0x44f3ea
cmp al, 0xff
je 0x44f3ea
dec al
mov byte [ecx - 1], al
jmp 0x44f3f4
dec ecx
push ecx
call fcn.004ef70e
add esp, 4
mov ecx, dword [esp + 0x30]
cmp ecx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
je 0x44f42b
mov al, byte [ecx - 1]
cmp al, bl
je 0x44f421
cmp al, 0xff
je 0x44f421
dec al
pop edi
mov byte [ecx - 1], al
pop ebx
add esp, 0x174
ret
dec ecx
push ecx
call fcn.004ef70e
add esp, 4
pop edi
pop ebx
add esp, 0x174
ret