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

Disassembly:
push rbp
sub rsp, 0x90
lea rbp, [rsp + 0x80]
mov qword [rbp + 8], 0xfffffffffffffffe
mov qword [rbp], rcx
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1400051fe
jmp 0x140005ae8
mov rdx, qword [rbp]
mov eax, 0x10
mov qword [rbp - 0x38], rax
call fcn.140046420
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x10], rax
mov eax, 0x20
mov qword [rbp - 0x20], rax
call fcn.140046420
sub rsp, rax
mov rcx, rsp
mov qword [rbp - 0x48], rcx
mov eax, 0x140
call fcn.140046420
sub rsp, rax
mov rax, qword [rbp - 0x38]
mov r8, rsp
mov qword [rbp - 0x40], r8
call fcn.140046420
sub rsp, rax
mov rax, qword [rbp - 0x38]
mov r8, rsp
mov qword [rbp - 0x30], r8
call fcn.140046420
sub rsp, rax
mov rax, qword [rbp - 0x20]
mov r8, rsp
mov qword [rbp - 0x28], r8
call fcn.140046420
sub rsp, rax
mov rax, qword [rbp - 0x20]
mov r8, rsp
mov qword [rbp - 0x18], r8
call fcn.140046420
sub rsp, rax
mov rax, qword [rbp - 0x10]
mov r8, rsp
mov qword [rbp - 8], r8
mov qword [rax], rdx
mov rdx, qword [rax]
lea r8, str..
sub rsp, 0x20
call fcn.140009210
add rsp, 0x20
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1400052e2
jmp 0x140005ae8
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140005314
jmp 0x140005b33
mov rcx, qword [rbp - 0x48]
sub rsp, 0x20
call fcn.140007f60
mov rdx, qword [rbp - 0x40]
add rsp, 0x20
mov rcx, rax
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
add rsp, 0x20
mov rcx, rax
mov rax, qword [rbp - 0x30]
mov qword [rax], rcx
mov rcx, 0xffffffffffffffff
cmp qword [rax], rcx
sete al
mov byte [rbp - 0x49], al
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140005386
jmp 0x140005b33
mov al, byte [rbp - 0x49]
test al, 1
jne 0x140005396
jmp 0x140005409
mov rax, qword [rbp - 0x28]
mov dword [rax], 1
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1400053d2
jmp 0x140005b68
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140005404
jmp 0x140005b68
jmp 0x1400059a5
jmp 0x14000540e
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140005440
jmp 0x140005b6d
mov rcx, qword [rbp - 0x40]
add rcx, 0x2c
sub rsp, 0x20
lea rdx, [0x1400489e0]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add rsp, 0x20
cmp eax, 0
setne al
mov byte [rbp - 0x4a], al
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140005497
jmp 0x140005b6d
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1400054c9
jmp 0x140005b8e
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1400054fb
jmp 0x140005b8e
mov al, byte [rbp - 0x4a]
test al, 1
jne 0x14000550b
jmp 0x1400057c9
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x14000553d
jmp 0x140005b93
mov rcx, qword [rbp - 0x40]
add rcx, 0x2c
sub rsp, 0x20
lea rdx, [0x1400489df]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add rsp, 0x20
mov dword [rbp - 0x50], eax
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x14000558e
jmp 0x140005b93
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1400055c0
jmp 0x140005bb4
mov eax, dword [rbp - 0x50]
cmp eax, 0
setne al
mov byte [rbp - 0x51], al
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1400055fe
jmp 0x140005bb4
mov al, byte [rbp - 0x51]
test al, 1
jne 0x14000560e
jmp 0x1400057c9
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140005640
jmp 0x140005bb9
mov rax, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x40]
add rcx, 0x2c
mov qword [rbp - 0x68], rcx
mov rax, qword [rax]
mov qword [rbp - 0x60], rax
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140005689
jmp 0x140005bb9
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1400056bb
jmp 0x140005bbe
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1400056ed
jmp 0x140005bbe
mov rdx, qword [rbp - 0x60]
mov rcx, qword [rbp - 8]
sub rsp, 0x20
lea r8, [0x1400489b0]
call fcn.140009210
add rsp, 0x20
jmp 0x14000570e
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140005740
jmp 0x140005bc3
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140005772
jmp 0x140005bc3
mov r8, qword [rbp - 0x68]
mov rdx, qword [rbp - 8]
mov rcx, qword [rbp - 0x18]
sub rsp, 0x20
call fcn.1400097f0
add rsp, 0x20
jmp 0x140005790
mov rcx, qword [rbp - 8]
sub rsp, 0x20
call fcn.140006880
mov rcx, qword [rbp - 0x18]
call fcn.140007f60
add rsp, 0x20
mov rcx, rax
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [rbp - 0x18]
call fcn.140006880
add rsp, 0x20
jmp 0x1400057c9
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1400057fb
jmp 0x140005bc8
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x14000582d
jmp 0x140005bc8
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x14000585f
jmp 0x140005bcd
mov rdx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax]
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
add rsp, 0x20
mov dword [rbp - 0x6c], eax
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1400058ad
jmp 0x140005bcd
mov eax, dword [rbp - 0x6c]
cmp eax, 0
jne 0x14000540e
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1400058eb
jmp 0x140005beb
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax]
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_FindClose]
add rsp, 0x20
mov rax, qword [rbp - 0x28]
mov dword [rax], 0
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x14000593c
jmp 0x140005beb
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x14000596e
jmp 0x140005c0f
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1400059a0
jmp 0x140005c0f
jmp 0x1400059a5
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1400059d7
jmp 0x140005c14
mov rcx, qword [rbp - 0x48]
sub rsp, 0x20
call fcn.140006880
add rsp, 0x20
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140005a1a
jmp 0x140005c14
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140005a4c
jmp 0x140005c2a
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140005a7e
jmp 0x140005c2a
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140005ab0
jmp 0x140005c2f
mov eax, dword [0x14004b36c]
mov ecx, dword [0x14004b370]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140005ae2
jmp 0x140005c2f
lea rsp, [rbp + 0x10]
pop rbp
ret
mov rdx, qword [rbp]
mov eax, 0x10
call fcn.140046420
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x78], rax
mov eax, 0x20
call fcn.140046420
sub rsp, rax
mov rax, qword [rbp - 0x78]
mov rcx, rsp
mov qword [rax], rdx
mov rdx, qword [rax]
lea r8, str..
sub rsp, 0x20
call fcn.140009210
add rsp, 0x20
jmp 0x1400051fe
mov rcx, qword [rbp - 0x48]
sub rsp, 0x20
call fcn.140007f60
mov rdx, qword [rbp - 0x40]
add rsp, 0x20
mov rcx, rax
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
add rsp, 0x20
mov rcx, rax
mov rax, qword [rbp - 0x30]
mov qword [rax], rcx
jmp 0x140005314
jmp 0x1400053d2
mov rcx, qword [rbp - 0x40]
add rcx, 0x2c
sub rsp, 0x20
lea rdx, [0x1400489e0]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add rsp, 0x20
jmp 0x140005440
jmp 0x1400054c9
mov rcx, qword [rbp - 0x40]
add rcx, 0x2c
sub rsp, 0x20
lea rdx, [0x1400489df]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add rsp, 0x20
jmp 0x14000553d
jmp 0x1400055c0
jmp 0x140005640
jmp 0x1400056bb
jmp 0x140005740
jmp 0x1400057fb
mov rdx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax]
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
add rsp, 0x20
jmp 0x14000585f
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax]
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_FindClose]
add rsp, 0x20
mov rax, qword [rbp - 0x28]
mov dword [rax], 0
jmp 0x1400058eb
jmp 0x14000596e
mov rcx, qword [rbp - 0x48]
sub rsp, 0x20
call fcn.140006880
add rsp, 0x20
jmp 0x1400059d7
jmp 0x140005a4c
jmp 0x140005ab0