Function at 0x140008503
Capabilities:
Delete file

Disassembly:
push rbp
sub rsp, 0x3f0
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x1b0], rdi
mov qword [rbp + 0x1a8], rsi
mov qword [rbp + 0x1a0], rbx
mov qword [rbp + 0x78], rcx
mov qword [rbp + 0x80], rdx
mov qword [rbp + 0x88], r8
mov qword [rbp + 0x90], r9
mov qword [rbp + 0x3d0], rcx
mov qword [rbp + 0x3d8], rdx
mov qword [rbp + 0x3e0], r8
mov dword [rbp + 0x3e8], r9d
mov rax, qword [0x1400e0a40]
xor rax, rbp
mov qword [rbp + 0x3b0], rax
mov dword [rbp], 1
mov dword [rbp + 4], 0
mov qword [rbp + 0x98], 0
mov qword [rbp + 0xa0], 0
mov dword [rbp + 8], 0
mov qword [rbp + 0xa8], 0
mov dword [rbp + 0xc], 0
mov dword [rbp + 0x10], 0
mov dword [rbp + 0x14], 0
lea rax, [rbp + 0x3a0]
lea rdx, [0x1400af6f0]
mov rdi, rax
mov rsi, rdx
mov ecx, reloc.WS2_32.dll_inet_ntoa
mov eax, ecx
shr rcx, 2
rep movsd dword [rdi], dword [rsi]
mov ecx, eax
and ecx, 3
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x1b8]
mov edx, 0
mov ecx, 0x10e
mov qword [rbp + 0x130], rcx
mov rcx, rax
mov rax, qword [rbp + 0x130]
mov r8, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0x3d8]
mov rcx, rax
call fcn.140009374
mov dword [rbp + 0x18], eax
mov eax, dword [rbp + 0x18]
test eax, eax
jne 0x140008658
mov rax, qword [rbp + 0x3d0]
lea rdx, str.prvfex_chkICMPPing:_ping_input_file_does_not_exist
mov rcx, rax
call fcn.14002d658
mov dword [rbp + 0x1c], eax
mov eax, dword [rbp + 0x1c]
test eax, eax
je 0x140008b2b
mov dword [rbp + 4], 1
jmp 0x140008b2b
mov rax, qword [rbp + 0x3e0]
mov rcx, rax
call fcn.140009374
mov dword [rbp + 0x20], eax
mov eax, dword [rbp + 0x20]
test eax, eax
je 0x140008683
mov rax, qword [rbp + 0x3e0]
mov rcx, rax
call fcn.140001e93
mov dword [rbp + 0x24], eax
mov rax, qword [rbp + 0x3d0]
mov rdx, qword [rbp + 0x3d8]
lea rcx, [rbp + 0xa8]
lea rbx, [rbp + 8]
mov qword [rbp + 0x138], rcx
mov rcx, rax
mov rax, qword [rbp + 0x138]
mov r8, rax
mov r9, rbx
call fcn.140022345
mov dword [rbp + 0x28], eax
mov eax, dword [rbp + 0x28]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
test eax, eax
jne 0x1400086db
mov rax, qword [rbp + 0xa8]
test rax, rax
je 0x1400086db
mov eax, dword [rbp + 8]
test eax, eax
jne 0x14000870c
mov rax, qword [rbp + 0xa8]
test rax, rax
jne 0x140008700
mov rax, qword [rbp + 0x3d0]
lea rdx, str.prvfex_chkICMPPing:_unable_to_parse_ping_details_file
mov rcx, rax
call fcn.14002d658
mov dword [rbp + 0x34], eax
mov dword [rbp + 4], 1
jmp 0x140008b2b
mov dword [rbp + 0xc], 0
mov eax, dword [rbp + 0xc]
mov edx, dword [rbp + 8]
cmp eax, edx
jl 0x14000872f
jmp 0x140008b15
mov eax, 1
add eax, dword [rbp + 0xc]
mov dword [rbp + 0xc], eax
jmp 0x140008713
mov eax, dword [rbp + 0xc]
movsxd rax, eax
imul rax, rax, 0x1f50
add rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov qword [rbp + 0xc0], rax
mov eax, 1
mov edx, 1
add rdx, qword [rbp + 0xc0]
mov rcx, qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rbp + 0x140], rcx
mov rcx, rax
mov rax, qword [rbp + 0x140]
call rax
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
mov qword [rbp + 0xa0], rax
mov rax, qword [rbp + 0xa0]
test rax, rax
jne 0x140008846
mov dword [rbp + 0x2c8], 0
lea rax, [rbp + 0x2fa]
mov byte [rax], 0
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
call rax
mov qword [rbp + 0xd8], rax
lea rax, [rbp + 0x2c8]
mov edx, 0xfffffffe
mov rcx, qword [rbp + 0xd8]
mov ecx, dword [rcx]
lea rbx, [0x1400b04f0]
lea rsi, str.CVU00548
mov qword [rsp + 0x20], rsi
mov dword [rbp + 0x148], ecx
mov rcx, rax
mov eax, dword [rbp + 0x148]
mov r8d, eax
mov r9, rbx
call sub.oracore.dll_slosFillErr
mov rax, qword [rbp + 0x3d0]
lea rdx, [rbp + 0x2c8]
mov ecx, 0
mov qword [rbp + 0x150], rcx
mov rcx, rax
mov rax, qword [rbp + 0x150]
mov r8, rax
call fcn.14002d2fe
mov dword [rbp + 0x50], eax
mov dword [rbp + 4], 1
jmp 0x140008b2b
mov rax, qword [rbp + 0xa0]
mov edx, dword [rbp + 0xc]
movsxd rdx, edx
imul rdx, rdx, 0x1f50
add rdx, qword [rbp + 0xa8]
mov rdx, qword [rdx]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
mov qword [rbp + 0xe0], rax
mov dword [rbp + 0x10], 0
mov eax, dword [rbp + 0x10]
mov edx, dword [rbp + 0xc]
movsxd rdx, edx
imul rdx, rdx, 0x1f50
add rdx, qword [rbp + 0xa8]
mov edx, dword [rdx + 8]
cmp eax, edx
jge 0x140008722
mov eax, dword [rbp + 0xc]
movsxd rax, eax
imul rax, rax, 0x1f50
add rax, qword [rbp + 0xa8]
mov edx, dword [rbp + 0x10]
movsxd rdx, edx
imul rdx, rdx, 8
add rax, rdx
add rax, 0x10
mov rax, qword [rax]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov qword [rbp + 0xf0], rax
mov eax, 1
mov edx, 1
add rdx, qword [rbp + 0xf0]
mov rcx, qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rbp + 0x158], rcx
mov rcx, rax
mov rax, qword [rbp + 0x158]
call rax
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0x98], rax
mov rax, qword [rbp + 0x98]
test rax, rax
jne 0x1400089c4
mov dword [rbp + 0x2c8], 0
lea rax, [rbp + 0x2fa]
mov byte [rax], 0
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
call rax
mov qword [rbp + 0x100], rax
lea rax, [rbp + 0x2c8]
mov edx, 0xfffffffe
mov rcx, qword [rbp + 0x100]
mov ecx, dword [rcx]
lea rbx, [0x1400b04f0]
lea rsi, str.CVU00567
mov qword [rsp + 0x20], rsi
mov dword [rbp + 0x160], ecx
mov rcx, rax
mov eax, dword [rbp + 0x160]
mov r8d, eax
mov r9, rbx
call sub.oracore.dll_slosFillErr
mov rax, qword [rbp + 0x3d0]
lea rdx, [rbp + 0x2c8]
mov ecx, 0
mov qword [rbp + 0x168], rcx
mov rcx, rax
mov rax, qword [rbp + 0x168]
mov r8, rax
call fcn.14002d2fe
mov dword [rbp + 0x5c], eax
mov dword [rbp + 4], 1
jmp 0x140008b2b
mov rax, qword [rbp + 0x98]
mov edx, dword [rbp + 0xc]
movsxd rdx, edx
imul rdx, rdx, 0x1f50
add rdx, qword [rbp + 0xa8]
mov ecx, dword [rbp + 0x10]
movsxd rcx, ecx
imul rcx, rcx, 8
add rdx, rcx
add rdx, 0x10
mov rdx, qword [rdx]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x110], rax
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x98]
mov qword [rbp + 0x120], rax
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x3d0]
mov rcx, rax
call fcn.140008139
lea rax, [rbp + 0x1b8]
lea rdx, str.sprvnc_ping__s__s
mov rcx, qword [rbp + 0x118]
mov rbx, qword [rbp + 0x120]
mov qword [rbp + 0x170], rcx
mov rcx, rax
mov rax, qword [rbp + 0x170]
mov r8, rax
mov r9, rbx
call fcn.1400012e0
mov dword [rbp + 0x60], eax
mov rax, qword [rbp + 0x3d0]
mov rdx, qword [rbp + 0x118]
mov rcx, qword [rbp + 0x120]
lea rbx, [rbp + 0x3a0]
mov qword [rbp + 0x178], rcx
mov rcx, rax
mov rax, qword [rbp + 0x178]
mov r8, rax
mov r9, rbx
call fcn.14003b561
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
mov dword [rbp + 0x14], eax
mov rax, qword [rbp + 0x3d0]
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x1b8]
mov ebx, dword [rbp + 0x14]
mov qword [rbp + 0x180], rcx
mov rcx, rax
mov rax, qword [rbp + 0x180]
mov r8, rax
mov r9d, ebx
call fcn.140008e58
mov dword [rbp + 0x68], eax
mov eax, dword [rbp + 0x68]
and eax, dword [rbp]
mov dword [rbp], eax
mov eax, 1
add eax, dword [rbp + 0x10]
mov dword [rbp + 0x10], eax
jmp 0x14000887a
mov rax, qword [rbp + 0x3d0]
mov rcx, rax
call fcn.140008139
mov dword [rbp], 0
mov dword [rbp + 0xc], 0
mov eax, dword [rbp + 0xc]
mov edx, dword [rbp + 8]
cmp eax, edx
jl 0x140008b4e
jmp 0x140008c42
mov eax, 1
add eax, dword [rbp + 0xc]
mov dword [rbp + 0xc], eax
jmp 0x140008b32
mov dword [rbp + 0x10], 0
mov eax, dword [rbp + 0x10]
mov edx, dword [rbp + 0xc]
movsxd rdx, edx
imul rdx, rdx, 0x1f50
add rdx, qword [rbp + 0xa8]
mov edx, dword [rdx + 8]
cmp eax, edx
jl 0x140008b85
jmp 0x140008bf1
mov eax, 1
add eax, dword [rbp + 0x10]
mov dword [rbp + 0x10], eax
jmp 0x140008b55
mov eax, dword [rbp + 0xc]
movsxd rax, eax
imul rax, rax, 0x1f50
add rax, qword [rbp + 0xa8]
mov edx, dword [rbp + 0x10]
movsxd rdx, edx
imul rdx, rdx, 8
add rax, rdx
add rax, 0x10
mov rax, qword [rax]
test rax, rax
je 0x140008b78
mov rax, qword [rbp + 0x3d0]
mov rax, qword [rax]
mov edx, dword [rbp + 0xc]
movsxd rdx, edx
imul rdx, rdx, 0x1f50
add rdx, qword [rbp + 0xa8]
mov ecx, dword [rbp + 0x10]
movsxd rcx, ecx
imul rcx, rcx, 8
add rdx, rcx
add rdx, 0x10
mov rdx, qword [rdx]
mov rcx, rax
call fcn.1400197ed
mov dword [rbp + 0x38], eax
jmp 0x140008b78
mov eax, dword [rbp + 0xc]
movsxd rax, eax
imul rax, rax, 0x1f50
add rax, qword [rbp + 0xa8]
mov rax, qword [rax]
test rax, rax
je 0x140008b41
mov rax, qword [rbp + 0x3d0]
mov rax, qword [rax]
mov edx, dword [rbp + 0xc]
movsxd rdx, edx
imul rdx, rdx, 0x1f50
add rdx, qword [rbp + 0xa8]
mov rdx, qword [rdx]
mov rcx, rax
call fcn.1400197ed
mov dword [rbp + 0x3c], eax
jmp 0x140008b41
mov rax, qword [rbp + 0xa8]
test rax, rax
je 0x140008c6a
mov rax, qword [rbp + 0x3d0]
mov rax, qword [rax]
mov rdx, qword [rbp + 0xa8]
mov rcx, rax
call fcn.1400197ed
mov dword [rbp + 0x2c], eax
mov rax, qword [rbp + 0x3d8]
mov rcx, rax
call fcn.140009374
mov dword [rbp + 0x30], eax
mov eax, dword [rbp + 0x30]
test eax, eax
je 0x140008cc7
mov rax, qword [rbp + 0x3d8]
mov rdx, qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rcx, rax
call rdx
mov dword [rbp + 0x40], eax
mov eax, dword [rbp + 0x40]
test eax, eax
je 0x140008cc7
mov rax, qword [rbp + 0x3d0]
lea rdx, str.prvfex_chkICMPPing:_unable_to_delete_ping_input_file
mov rcx, rax
call fcn.14002d658
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x44]
test eax, eax
je 0x140008cc7
mov dword [rbp + 4], 1
mov eax, dword [rbp]
test eax, eax
je 0x140008d14
mov eax, 1
mov dword [rbp + 0x6c], eax
mov rax, qword [rbp + 0x3b0]
mov qword [rbp + 0x3b0], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0x6c]
mov rbx, qword [rbp + 0x1a0]
mov rsi, qword [rbp + 0x1a8]
mov rdi, qword [rbp + 0x1b0]
lea rsp, [rbp + 0x3c0]
pop rbp
ret
mov rax, qword [rbp + 0x3d0]
mov rax, qword [rax + 0x30]
lea rdx, [0x1400b0188]
mov rcx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov qword [rbp + 0x188], rcx
mov rcx, rax
mov rax, qword [rbp + 0x188]
call rax
mov qword [rbp + 0xb8], rax
mov rax, qword [rbp + 0xb8]
mov rdx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rax
call rdx
mov dword [rbp + 0x48], eax
mov rax, qword [rbp + 0x3d0]
mov edx, dword [rbp + 4]
mov rcx, rax
call fcn.14002483b
mov dword [rbp + 0x4c], eax
lea rax, [rbp + 0x1b8]
mov edx, 0
mov ecx, 0x10e
mov qword [rbp + 0x190], rcx
mov rcx, rax
mov rax, qword [rbp + 0x190]
mov r8, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0xd0], rax
mov eax, dword [rbp + 4]
test eax, eax
je 0x140008dba
lea rax, str.failed
mov qword [rbp + 0xe8], rax
jmp 0x140008dc8
lea rax, str.successful
mov qword [rbp + 0xe8], rax
lea rax, [rbp + 0x1b8]
lea rdx, str.Exectask:_sprvfex_chkICMPPing__s.
mov rcx, qword [rbp + 0xe8]
mov qword [rbp + 0x198], rcx
mov rcx, rax
mov rax, qword [rbp + 0x198]
mov r8, rax
call fcn.1400012e0
mov dword [rbp + 0x54], eax
mov rax, qword [rbp + 0x3d0]
lea rdx, [rbp + 0x1b8]
mov rcx, rax
call fcn.14002d658
mov dword [rbp + 0x58], eax
mov eax, 0
mov dword [rbp + 0x70], eax
mov rax, qword [rbp + 0x3b0]
mov qword [rbp + 0x3b0], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0x70]
mov rbx, qword [rbp + 0x1a0]
mov rsi, qword [rbp + 0x1a8]
mov rdi, qword [rbp + 0x1b0]
lea rsp, [rbp + 0x3c0]
pop rbp
ret