Function at 0x140003394
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x188
mov rax, qword [0x1400085d8]
xor rax, rsp
mov qword [rsp + 0x170], rax
lea rax, [rsp + 0x60]
lea rcx, str.FILE:
mov rdi, rax
mov rsi, rcx
mov ecx, 6
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x66]
mov rdi, rax
xor eax, eax
mov ecx, 0x106
rep stosb byte [rdi], al
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x50], 1
cmp qword [0x140008db0], 0
je 0x140003428
cmp qword [rsp + 0x1a0], 0
jne 0x140003432
mov eax, 1
jmp 0x140003659
mov rcx, qword [rsp + 0x1a0]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add rax, 6
cmp rax, 0x10c
jbe 0x140003455
mov eax, 1
jmp 0x140003659
lea rcx, [rsp + 0x28]
call qword [0x140008db0]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140003475
mov eax, 1
jmp 0x140003659
mov rdx, qword [rsp + 0x1a0]
lea rcx, [rsp + 0x60]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
call qword [0x140008e58]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400034b8
lea rcx, str.kfwcpcc_krb5_cc_resolve_failed
call fcn.14000117c
jmp 0x1400035dc
lea r8, [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call qword [0x140008e08]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400034e9
lea rcx, str.kfwcpcc_krb5_cc_get_principal_failed
call fcn.14000117c
jmp 0x1400035dc
lea r8, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call qword [0x140008d90]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14000351a
lea rcx, str.kfwcpcc_krb5_unparse_name_failed
call fcn.14000117c
jmp 0x1400035dc
mov r8, qword [rsp + 0x48]
lea rdx, str.API:_s
lea rcx, [rsp + 0x60]
call fcn.1400037fc
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
call qword [0x140008e58]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14000355e
lea rcx, str.kfwcpcc_krb5_cc_default_failed
call fcn.14000117c
jmp 0x1400035dc
cmp dword [rsp + 0x20], 0
jne 0x1400035b3
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [0x140008e38]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x14000359e
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call qword [0x140008e18]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400035b3
lea rcx, str.kfwcpcc_krb5_cc_copy_creds_failed
call fcn.14000117c
jmp 0x1400035dc
cmp qword [rsp + 0x30], 0
je 0x1400035d4
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [0x140008e28]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x50], 0
cmp qword [rsp + 0x48], 0
je 0x1400035f4
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call qword [0x140008d58]
cmp qword [rsp + 0x38], 0
je 0x140003615
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call qword [0x140008e28]
mov qword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp qword [rsp + 0x40], 0
je 0x140003644
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call qword [0x140008dc0]
mov qword [rsp + 0x40], 0
cmp qword [rsp + 0x28], 0
je 0x140003657
mov rcx, qword [rsp + 0x28]
call qword [0x140008dd0]
xor eax, eax
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140003e20
add rsp, 0x188
pop rdi
pop rsi
ret