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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x58128c]
test eax, eax
jne 0x4843fc
mov eax, dword [0xa40dac]
test eax, eax
jne 0x484158
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0045ed06
mov dword [0xa40dac], eax
mov dword [esp + 4], 1
mov dword [esp], 0x551587
call fcn.0045eb83
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0045f631
mov edx, eax
mov eax, dword [0xa40dac]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045ee6d
mov eax, dword [0xa40db0]
test eax, eax
jne 0x4841b0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0045ed06
mov dword [0xa40db0], eax
mov eax, dword [0xa40db4]
test eax, eax
jne 0x4841d2
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0045ed06
mov dword [0xa40db4], eax
mov edx, dword [0xa40dac]
mov eax, dword [0xa40db0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045ee6d
mov eax, dword [0xa40db0]
mov eax, dword [eax + 4]
mov dword [0xa40db8], eax
jmp 0x484247
mov eax, dword [0xa40db0]
mov eax, dword [eax]
mov edx, dword [0xa40db8]
sub edx, 1
add eax, edx
movzx eax, byte [eax]
cmp al, 0x2f
je 0x48422a
mov eax, dword [0xa40db0]
mov eax, dword [eax]
mov edx, dword [0xa40db8]
sub edx, 1
add eax, edx
movzx eax, byte [eax]
cmp al, 0x5c
jne 0x48423a
mov eax, dword [0xa40db0]
mov edx, dword [0xa40db8]
mov dword [eax + 4], edx
jmp 0x484255
mov eax, dword [0xa40db8]
sub eax, 1
mov dword [0xa40db8], eax
mov eax, dword [0xa40db8]
test eax, eax
setg al
test al, al
jne 0x4841f8
mov eax, dword [0xa40db8]
test eax, eax
jne 0x48426a
mov eax, dword [0xa40db0]
mov dword [eax + 4], 0
mov dword [0xa40dbc], 0
mov eax, dword [0xa40dac]
mov dword [esp], eax
call fcn.00453abb
mov dword [esp + 4], 0xa40dc0
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
call eax
sub esp, 8
mov dword [0xa40f00], eax
mov eax, dword [0xa40f00]
cmp eax, 0xffffffff
jne 0x4842b6
mov dword [esp], 0x35
call fcn.0045d5ec
jmp 0x484400
mov eax, dword [0xa40dc0]
and eax, 0x10
test eax, eax
jne 0x4843ac
mov dword [esp], 0xa40dec
call sub.msvcrt.dll_strlen
add eax, 1
mov dword [esp + 4], eax
mov dword [esp], 0xa40dec
call fcn.0045eb83
mov edx, eax
mov eax, dword [0xa40db0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045f631
mov edx, eax
mov eax, dword [0xa40db4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045ee6d
mov eax, dword [0xa40db4]
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call eax
sub esp, 4
test eax, eax
sete al
test al, al
je 0x48439f
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [0xa40db8], eax
mov eax, dword [0xa40db8]
cmp eax, 5
je 0x48435c
mov eax, dword [0xa40db8]
cmp eax, 0x13
je 0x48435c
mov eax, dword [0xa40db8]
cmp eax, 0x21
je 0x48435c
mov eax, dword [0xa40db8]
cmp eax, 0x20
jne 0x48437f
mov eax, dword [0xa40f00]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov dword [esp], 0x37
call fcn.0045d5ec
jmp 0x484400
mov eax, dword [0xa40f00]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov dword [esp], 0x35
call fcn.0045d5ec
jmp 0x484400
mov eax, dword [0xa40dbc]
add eax, 1
mov dword [0xa40dbc], eax
mov eax, dword [0xa40f00]
mov dword [esp + 4], 0xa40dc0
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindNextFileA]
call eax
sub esp, 8
test eax, eax
setne al
test al, al
jne 0x4842b6
mov eax, dword [0xa40f00]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov eax, dword [0xa40dbc]
test eax, eax
jne 0x4843ff
mov dword [esp], 0x35
call fcn.0045d5ec
jmp 0x484400
nop
jmp 0x484400
nop
leave
ret