Function at 0x14007d530
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x318
mov qword [rsp + 0x120], 0xfffffffffffffffe
mov rax, qword [0x1403542a0]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov byte [rsp + 0x40], 0
lea rcx, [rsp + 0x240]
call fcn.140003440
nop
lea rdx, [rsp + 0x240]
mov ecx, 0x26
call fcn.1400c6830
mov r8d, 1
mov edx, 3
lea rcx, [rsp + 0x140]
call fcn.1400034f0
nop
lea rax, [rsp + 0x140]
test rax, rax
je 0x14007d5c5
lea rax, [rsp + 0x140]
add rax, 0x10
mov qword [rsp + 0x80], rax
jmp 0x14007d5d1
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x240]
call fcn.140004a60
mov rcx, rax
call fcn.1400c4ef0
mov qword [rsp + 0xc0], rax
lea rdx, [rsp + 0x240]
mov rcx, qword [rsp + 0x80]
call fcn.140002f10
mov rcx, qword [rsp + 0xc0]
mov rdx, rcx
mov rcx, rax
call fcn.14000f7c0
lea rax, [rsp + 0x140]
test rax, rax
je 0x14007d639
lea rax, [rsp + 0x140]
add rax, 0x10
mov qword [rsp + 0x90], rax
jmp 0x14007d645
mov qword [rsp + 0x90], 0
lea rcx, [0x1401f95d0]
call fcn.1400c4ef0
mov qword [rsp + 0xb0], rax
lea rdx, [0x1401f9608]
mov rcx, qword [rsp + 0x90]
call fcn.14000f7c0
mov rcx, qword [rsp + 0xb0]
mov rdx, rcx
mov rcx, rax
call fcn.14000f7c0
lea rax, [rsp + 0x140]
test rax, rax
je 0x14007d6a3
lea rax, [rsp + 0x140]
add rax, 0x10
mov qword [rsp + 0x88], rax
jmp 0x14007d6af
mov qword [rsp + 0x88], 0
lea rdx, str.LaunchURL.txt
mov rcx, qword [rsp + 0x88]
call fcn.14000f7c0
nop
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x140]
call fcn.140005c20
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0xa0]
call fcn.140004a60
mov rcx, rax
call fcn.1400cbf60
mov byte [rsp + 0x45], al
movzx eax, byte [rsp + 0x45]
mov byte [rsp + 0x43], al
lea rcx, [rsp + 0x280]
call fcn.140003870
movzx eax, byte [rsp + 0x43]
test eax, eax
je 0x14007d829
lea r8, str.File_exists
mov edx, 3
lea rcx, [0x1401f9a60]
call fcn.1400e3ba0
lea rdx, [rsp + 0x2e0]
lea rcx, [rsp + 0x140]
call fcn.140005c20
mov qword [rsp + 0x108], rax
mov rcx, qword [rsp + 0x108]
call fcn.140004a60
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14007d786
mov dword [rsp + 0x54], 1
jmp 0x14007d78e
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
mov byte [rsp + 0x41], al
lea rcx, [rsp + 0x2e0]
call fcn.140003870
movzx eax, byte [rsp + 0x41]
test eax, eax
je 0x14007d811
lea r8, str.Unable_to_delete_file
mov edx, 3
lea rcx, [0x1401f9af8]
call fcn.1400e3ba0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x42], al
lea rcx, [rsp + 0x140]
call fcn.140003b30
nop
lea rcx, [rsp + 0x240]
call fcn.140003870
nop
mov rcx, qword [rsp + 0x328]
call fcn.140003870
nop
mov rcx, qword [rsp + 0x330]
call fcn.140003870
movzx eax, byte [rsp + 0x42]
jmp 0x14007dcf1
lea r8, str.File_Deleted
mov edx, 3
lea rcx, [0x1401f9b48]
call fcn.1400e3ba0
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x140]
call fcn.140005c20
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call fcn.140004a60
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0xffffffff
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [rsp + 0x60], eax
lea rcx, [rsp + 0x2c0]
call fcn.140003870
mov eax, dword [rsp + 0x60]
inc eax
cdqe
mov rcx, rax
call sub.mfc110u.dll_Ordinal_265
mov qword [rsp + reloc.mfc110u.dll_Ordinal_280], rax
mov rax, qword [rsp + reloc.mfc110u.dll_Ordinal_280]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x2a0]
lea rcx, [rsp + 0x140]
call fcn.140005c20
mov qword [rsp + 0x100], rax
mov rcx, qword [rsp + 0x100]
call fcn.140004a60
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov ecx, dword [rsp + 0x60]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov r9d, 0xffffffff
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rcx, [rsp + 0x2a0]
call fcn.140003870
mov rcx, qword [rsp + 0x330]
call fcn.140004a60
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0xffffffff
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x5c]
inc eax
cdqe
mov rcx, rax
call sub.mfc110u.dll_Ordinal_265
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x330]
call fcn.140004a60
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov ecx, dword [rsp + 0x5c]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x20], rcx
mov r9d, 0xffffffff
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, qword [rsp + 0x328]
call fcn.140004a60
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0xffffffff
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
inc eax
cdqe
mov rcx, rax
call sub.mfc110u.dll_Ordinal_265
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x328]
call fcn.140004a60
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov ecx, dword [rsp + 0x50]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, 0xffffffff
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea r8, [0x1401f07f4]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCR110.dll_fopen_s]
cmp qword [rsp + 0x70], 0
je 0x14007dcaa
mov r8, qword [rsp + 0x78]
lea rdx, [0x1401f082c]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCR110.dll_fprintf]
test eax, eax
jge 0x14007db15
lea r8, str.fprintf:_Failed_to_write_browser_information
mov edx, 3
lea rcx, [0x1401f9c20]
call fcn.1400e3ba0
jmp 0x14007db2d
lea r8, [0x1401f9c50]
mov edx, 3
lea rcx, [0x1401f9cd0]
call fcn.1400e3ba0
mov r8, qword [rsp + 0x48]
lea rdx, [0x1401f0884]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCR110.dll_fprintf]
test eax, eax
jge 0x14007db65
lea r8, str.fprintf:_Failed_to_write_browser_and_parameter_information
mov edx, 3
lea rcx, [0x1401f9d78]
call fcn.1400e3ba0
jmp 0x14007dc38
lea r8, str.fprintf:_Written_browser_and_parameter_information_successfully
mov edx, 3
lea rcx, [0x1401f9e60]
call fcn.1400e3ba0
mov byte [rsp + 0x40], 1
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.MSVCR110.dll_mbstowcs]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
inc eax
cdqe
shl rax, 1
mov rcx, rax
call qword [sym.imp.MSVCR110.dll_malloc]
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x58]
inc eax
cdqe
mov r8, rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.MSVCR110.dll_mbstowcs]
mov qword [rsp + 0x130], rax
lea rcx, [rsp + 0x260]
call fcn.140003440
mov qword [rsp + reloc.mfc110u.dll_Ordinal_296], rax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x260]
call fcn.14000bbe0
lea rcx, [rsp + 0x260]
call fcn.140004a60
mov r9, rax
lea r8, str.written_parameter_value_is__s
mov edx, 3
lea rcx, [0x1401f9e90]
call fcn.1400e3ba0
nop
lea rcx, [rsp + 0x260]
call fcn.140003870
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCR110.dll_fclose]
cmp qword [rsp + 0x68], 0
je 0x14007dc65
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa8]
call sub.mfc110u.dll_Ordinal_266
cmp qword [rsp + 0x78], 0
je 0x14007dc87
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0xb8]
call sub.mfc110u.dll_Ordinal_266
cmp qword [rsp + 0x48], 0
je 0x14007dcaa
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call sub.mfc110u.dll_Ordinal_266
nop
jmp 0x14007dcac
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x44], al
lea rcx, [rsp + 0x140]
call fcn.140003b30
nop
lea rcx, [rsp + 0x240]
call fcn.140003870
nop
mov rcx, qword [rsp + 0x328]
call fcn.140003870
nop
mov rcx, qword [rsp + 0x330]
call fcn.140003870
movzx eax, byte [rsp + 0x44]
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.1400f3d50
add rsp, 0x318
ret