Function at 0x14003ab30
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x90
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x1400c2038]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov r12, rdx
mov rsi, rcx
cmp qword [rcx + 0x68], 0
jbe 0x14003ab96
cmp qword [rcx + 0x70], 0x10
jb 0x14003ab7b
mov rcx, qword [rcx + 0x58]
jmp 0x14003ab7f
add rcx, 0x58
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rdx, [0x14008ac97]
lea rcx, [rsi + 0x50]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const____ptr64____ptr64]
test r12, r12
jne 0x14003aba2
xor eax, eax
jmp 0x14003ad96
lea rdx, [0x14008ac97]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const____ptr64____ptr64]
nop
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x38]
mov rcx, rax
mov edx, 0x2e
call qword [sym.imp.MSVCR90.dll_strrchr]
test rax, rax
je 0x14003abe0
mov rdx, rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const____ptr64____ptr64]
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x40]
cmp rax, 0x500000
jae 0x14003ad2e
cmp qword [rsp + 0x78], 1
jbe 0x14003ad2e
cmp qword [rsi + 0x18], 0
jbe 0x14003ac9a
cmp qword [rsi + 0x20], 0x10
jb 0x14003ac1a
mov rdi, qword [rsi + 8]
jmp 0x14003ac1e
lea rdi, [rsi + 8]
mov eax, dword [0x1400cf1e8]
test al, 1
jne 0x14003ac4a
or eax, 1
mov dword [0x1400cf1e8], eax
lea rcx, [0x1400cf050]
call fcn.140014e50
lea rcx, [0x140088b00]
call fcn.140077554
nop
movzx ebx, word [0x1400cf1e0]
movsx ecx, byte [rdi]
call qword [sym.imp.MSVCR90.dll_tolower]
mov edi, eax
mov ecx, ebx
call qword [sym.imp.MSVCR90.dll_tolower]
cmp edi, eax
je 0x14003ac9a
mov rdx, rsi
lea rcx, [rsi + 0x50]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
lea rdx, str.A03A2008_B351_4be8_AEE0_91F1BC6E3BBC
lea rcx, [rsi + 0x50]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const____ptr64____ptr64]
lea rdx, [rsp + 0x60]
lea rcx, [rsi + 0x50]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
jmp 0x14003ad2e
cmp qword [rsi + 0x40], 0
jbe 0x14003ad2e
cmp qword [rsi + 0x48], 0x10
jb 0x14003acb2
mov rdi, qword [rsi + 0x30]
jmp 0x14003acb6
lea rdi, [rsi + 0x30]
mov eax, dword [0x1400cf1e8]
test al, 1
jne 0x14003ace2
or eax, 1
mov dword [0x1400cf1e8], eax
lea rcx, [0x1400cf050]
call fcn.140014e50
lea rcx, [0x140088b00]
call fcn.140077554
nop
movzx ebx, word [0x1400cf1e0]
movsx ecx, byte [rdi]
call qword [sym.imp.MSVCR90.dll_tolower]
mov edi, eax
mov ecx, ebx
call qword [sym.imp.MSVCR90.dll_tolower]
cmp edi, eax
je 0x14003ad2e
lea rdx, [rsi + 0x28]
lea rcx, [rsi + 0x50]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
lea rdx, str.A03A2008
lea rcx, [rsi + 0x50]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const____ptr64____ptr64]
lea rdx, [rsp + 0x60]
lea rcx, [rsi + 0x50]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
cmp qword [rsi + 0x68], 0
jbe 0x14003ad61
lea rdx, [rsi + 0x50]
lea rcx, [rsp + 0x38]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [0x14003adc0]
mov r8, rsi
xor edx, edx
xor ecx, ecx
call fcn.14003cbc0
cmp qword [rsi + 0x68], 0
jbe 0x14003ad89
cmp qword [rsi + 0x70], 0x10
jb 0x14003ad75
mov rsi, qword [rsi + 0x58]
jmp 0x14003ad79
add rsi, 0x58
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
mov rax, rsi
jmp 0x14003ad96
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
xor eax, eax
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140077470
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret