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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a754b
mov eax, dword fs:[0]
push eax
sub esp, 0xb50
mov eax, dword [0x4bc1f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb5c], ecx
push 0x4b3578
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xb5c]
add ecx, 0x165fac
push ecx
call dword [sym.imp.kernel32.dll_lstrcpyA]
mov edx, dword [ebp - 0xb5c]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x3ea9e0], eax
cmp dword [ebp + 0xc], 2
je 0x42c382
cmp dword [ebp + 0xc], 3
jne 0x42c59f
lea ecx, [ebp - 0x278]
call fcn.004811d0
mov dword [ebp - 4], 0
mov ecx, 0x4c5778
call fcn.00409580
push eax
lea ecx, [ebp - 0x278]
call fcn.00481590
push 0x4b3584
lea ecx, [ebp - 0x278]
call fcn.00481650
push 0
lea ecx, [ebp - 0x278]
call fcn.00429040
push eax
mov ecx, dword [ebp - 0xb5c]
add ecx, 0x50
mov edx, dword [ebp - 0xb5c]
mov eax, dword [edx + 0x50]
mov edx, dword [eax + 0x44]
call edx
mov ecx, 0x4c5778
call fcn.00409580
push eax
lea ecx, [ebp - 0x278]
call fcn.00481590
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x278]
call fcn.00481650
push 0x4b3594
lea ecx, [ebp - 0x278]
call fcn.00481650
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.kernel32.dll_lstrlenA]
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x268], 0
mov ecx, dword [ebp - 0xb5c]
call fcn.00436420
mov dword [ebp - 0x260], 1
lea edx, [ebp - 0x154]
push edx
lea ecx, [ebp - 0x278]
call fcn.00429040
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x264], 0xffffffff
jne 0x42c48f
mov byte [ebp - 0xb55], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.00481220
mov al, byte [ebp - 0xb55]
jmp 0x42c6d5
cmp dword [ebp - 0x260], 1
jne 0x42c580
cmp dword [ebp - 0x154], 0x10
je 0x42c561
mov eax, dword [ebp - 0x27c]
lea ecx, [ebp + eax - 0x128]
push ecx
lea edx, [ebp - 0x25c]
push edx
call dword [sym.imp.kernel32.dll_lstrcpyA]
mov byte [ebp - 0x25a], 0
lea eax, [ebp - 0x25c]
push eax
call fcn.00484763
add esp, 4
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0xb5c]
mov edx, dword [ebp - 0x268]
mov dword [ecx + 0x3ea9e4], edx
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x25c]
push ecx
call dword [sym.imp.kernel32.dll_lstrcpyA]
lea edx, [ebp - 0x128]
push edx
call dword [sym.imp.kernel32.dll_lstrlenA]
mov byte [ebp + eax - 0x260], 0
lea eax, [ebp - 0x128]
push eax
mov ecx, 0x4c5778
call fcn.00409580
push eax
push 0x4b359c
lea ecx, [ebp - 0x384]
push ecx
call fcn.00408e30
add esp, 0x10
mov edx, dword [ebp - 0x268]
push edx
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x384]
push ecx
mov ecx, dword [ebp - 0xb5c]
call fcn.0042c6f0
lea edx, [ebp - 0x154]
push edx
mov eax, dword [ebp - 0x264]
push eax
call dword [sym.imp.kernel32.dll_FindNextFileA]
mov dword [ebp - 0x260], eax
jmp 0x42c48f
mov ecx, dword [ebp - 0x264]
push ecx
call dword [sym.imp.kernel32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.00481220
mov edx, dword [ebp - 0xb5c]
mov dword [edx + 0x3ea9e4], 0xffffffff
mov eax, dword [ebp - 0xb5c]
cmp dword [eax + 0x165fa8], 3
jl 0x42c5f8
push 0x4b35a4
mov ecx, dword [ebp - 0xb5c]
add ecx, 0x3ead2c
push ecx
mov ecx, dword [ebp - 0xb5c]
call fcn.00435fa0
push 0x4b35b4
mov edx, dword [ebp - 0xb5c]
add edx, 0x3ead10
push edx
mov ecx, dword [ebp - 0xb5c]
call fcn.00435fa0
mov eax, dword [ebp - 0xb5c]
cmp dword [eax + 0x165fa8], 4
jl 0x42c624
push 0x4b35c4
mov ecx, dword [ebp - 0xb5c]
add ecx, 0x3ead48
push ecx
mov ecx, dword [ebp - 0xb5c]
call fcn.00435fa0
mov ecx, dword [ebp - 0xb5c]
call fcn.00436120
mov edx, dword [ebp - 0xb5c]
movzx eax, byte [edx + 0xc7444]
test eax, eax
je 0x42c6b6
push 1
mov ecx, dword [ebp - 0xb5c]
add ecx, 0xc7428
mov edx, dword [ebp - 0xb5c]
mov eax, dword [edx + 0xc7428]
mov edx, dword [eax + 0x44]
call edx
push 0x4b35d4
lea eax, [ebp - 0xb54]
push eax
call dword [sym.imp.kernel32.dll_lstrcpyA]
push 1
lea ecx, [ebp - 0xb54]
push ecx
mov ecx, dword [ebp - 0xb5c]
add ecx, 0xc7428
mov edx, dword [ebp - 0xb5c]
mov eax, dword [edx + 0xc7428]
mov edx, dword [eax + 0x40]
call edx
push 1
mov ecx, dword [ebp - 0xb5c]
add ecx, 0xc7428
mov eax, dword [ebp - 0xb5c]
mov edx, dword [eax + 0xc7428]
mov eax, dword [edx + 0x44]
call eax
cmp dword [ebp + 0xc], 2
jne 0x42c6c0
xor al, al
jmp 0x42c6d5
mov ecx, dword [ebp + 0xc]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0xb5c]
call fcn.0042c9f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00483cec
mov esp, ebp
pop ebp
ret 8