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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x484
push ebx
push esi
mov esi, dword [0x4c1d98]
cmp word [esi], 0
push edi
jne 0x4416f9
mov eax, dword [0x4be40c]
cmp byte [eax + 0x104], 0
mov dword [eax + 0x30], 0x57
jne 0x4416dc
mov eax, dword [0x4c264c]
push eax
or eax, 0xffffffff
mov ecx, 0x49f2c4
call fcn.00401200
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
push 0x49c820
push 0
push 0x49f2c4
call fcn.0042ee20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, 0x4a6080
mov eax, esi
call fcn.00409140
test eax, eax
jne 0x441772
push eax
call dword [sym.imp.KERNEL32.DLL_SetLastError]
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
sete bl
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [0x4be40c]
mov dword [ecx + 0x30], eax
test bl, bl
jne 0x44174c
mov ecx, dword [0x4c264c]
push ecx
or eax, 0xffffffff
mov ecx, 0x49c8d4
call fcn.00401200
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [ecx + 0x104], 0
jne 0x4416dc
mov edx, dword [0x4c264c]
push edx
or eax, 0xffffffff
mov ecx, 0x49f2c4
call fcn.00401200
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp + 8]
xor edi, edi
mov ecx, ebx
call fcn.004200a0
cmp eax, 0x104
jb 0x4417b9
mov eax, dword [0x4be40c]
cmp byte [eax + 0x104], 0
mov dword [eax + 0x30], 0x6f
je 0x4416c0
push 0x49c820
push edi
push 0x49f2c4
mov ecx, ebx
call fcn.0042ee20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x240]
push ecx
xor edi, edi
push esi
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x441800
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, dword [0x4be40c]
push 0x18
push edi
mov dword [edx + 0x30], eax
mov eax, dword [0x4c264c]
push edi
call fcn.004010e0
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edx, [esp + 0x38]
mov eax, esi
sub edx, esi
jmp 0x441810
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, di
jne 0x441810
lea eax, [esp + 0x38]
push 0x5c
push eax
call fcn.0048a584
add esp, 8
cmp eax, edi
je 0x441851
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [esp + 0x38]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x441840
sub eax, edx
sar eax, 1
jmp 0x44185a
xor edx, edx
mov word [esp + 0x38], dx
xor eax, eax
mov edx, dword [0x4be40c]
mov ebx, dword [sym.imp.KERNEL32.DLL_GetLastError]
lea ecx, [esp + eax*2 + 0x38]
mov esi, 0x103
mov dword [edx + 0x30], edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [esp + 0x18], ecx
sub esi, eax
mov edi, edi
call edi
sub eax, dword [0x4c4a7c]
mov ecx, dword [0x4be40c]
cmp eax, dword [ecx + 0xd4]
jbe 0x4418c0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4418b9
push 1
push 0xffffffffffffffff
call fcn.004012b0
add esp, 8
call edi
mov dword [0x4c4a7c], eax
test byte [esp + 0x240], 0x10
jne 0x441931
lea eax, [esp + 0x26c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4418d4
sub eax, edx
sar eax, 1
cmp eax, esi
jbe 0x4418f5
mov eax, dword [0x4be40c]
mov dword [eax + 0x30], 0x6f
jmp 0x44192d
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x26c]
mov ecx, eax
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x441904
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
jne 0x441931
call ebx
mov ecx, dword [0x4be40c]
mov dword [ecx + 0x30], eax
inc dword [esp + 0x10]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x240]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x441880
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 8]
push edx
push eax
call fcn.0042efd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4