Function at 0x140016380
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1150]
mov eax, 0x1250
call fcn.1401456d0
sub rsp, rax
mov rax, qword [0x1401c5538]
xor rax, rsp
mov qword [rbp + 0x1140], rax
mov r13, rcx
call fcn.1400726a0
lea rdx, str.AcCommNetCardWarningState::popupWarningScreen
mov rcx, rax
call fcn.140072950
lea rdx, [rsp + 0x60]
lea rcx, str.fsw4ncm.exe
call fcn.140063020
test al, al
je 0x1400163f3
mov ecx, dword [rsp + 0x60]
call fcn.140063930
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x30]
call fcn.140147800
lea rdx, [rbp + 0x30]
lea rcx, str.fsw4ncm.exe
call fcn.14006c680
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rdx, [rbp + 0x30]
mov ecx, 0x13c
call fcn.14004a430
test eax, eax
jne 0x140016437
xor eax, eax
jmp 0x140016ade
lea rcx, [rbp - 0x78]
call fcn.140023860
nop
mov rdx, qword [rbp - 0x78]
lea rcx, [rsp + 0x68]
call fcn.140053100
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
xor r12d, r12d
mov qword [rbp - 0x80], r12
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x68]
call fcn.1400532d0
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov ecx, r12d
mov qword [rbp - 0x38], rcx
mov edx, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x30], rdx
mov byte [rbp - 0x48], cl
mov r15, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
cmp rdi, r15
je 0x140016735
add rdi, 0x20
nop
test rcx, rcx
je 0x1400164ee
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1400164ce
lea rax, [rcx + 1]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x48]
cmp rdx, 0x10
cmovae rax, qword [rbp - 0x48]
mov word [rax + rcx], 0x3b
jmp 0x1400164ee
mov qword [rsp + 0x20], 1
lea r9, [0x14017610c]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp - 0x48]
call fcn.140002770
lea rdx, [rdi + 0x30]
cmp qword [rdi + 0x48], 0x10
jb 0x1400164fc
mov rdx, qword [rdx]
lea rcx, [rbp - 0x28]
call fcn.14006c2f0
nop
lea r14, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
setae cl
mov r9, qword [rbp - 0x28]
cmovae r14, r9
mov rax, qword [rbp - 0x18]
add r14, rax
lea rdx, [rbp - 0x28]
test cl, cl
je 0x14001652f
lea rbx, [rax + r9]
jmp 0x140016537
lea rbx, [rdx + rax]
lea r9, [rbp - 0x28]
mov r8b, 0x23
mov rdx, rbx
mov rcx, r9
call fcn.140143460
mov r10, rax
cmp rax, rbx
je 0x14001656b
inc rax
cmp rax, rbx
je 0x14001656b
movzx ecx, byte [rax]
cmp cl, 0x23
je 0x140016563
mov byte [r10], cl
inc r10
inc rax
cmp rax, rbx
jne 0x140016555
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
setae r8b
cmovae rcx, qword [rbp - 0x28]
mov r9, r10
sub r9, rcx
sub r14, r10
mov rsi, qword [rbp - 0x18]
mov rax, rsi
sub rax, r9
cmp rax, r14
cmovb r14, rax
lea rcx, [rbp - 0x28]
test r8b, r8b
cmovne rcx, qword [rbp - 0x28]
add rcx, r9
sub rsi, r14
mov r8, rsi
sub r8, r9
inc r8
lea rdx, [rcx + r14]
call fcn.140147160
mov qword [rbp - 0x18], rsi
lea r9, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae r9, qword [rbp - 0x28]
mov r14, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
sub rax, r14
cmp rsi, rax
ja 0x14001660e
lea rax, [r14 + rsi]
mov qword [rbp - 0x38], rax
lea rbx, [rbp - 0x48]
cmp rcx, 0x10
cmovae rbx, qword [rbp - 0x48]
lea rcx, [rbx + r14]
mov r8, rsi
mov rdx, r9
call fcn.140147160
lea rax, [rbx + r14]
mov byte [rax + rsi], 0
jmp 0x140016622
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x48]
call fcn.140002770
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x140016658
lea rax, [rcx + 2]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x48]
cmp rdx, 0x10
cmovae rax, qword [rbp - 0x48]
mov word [rax + rcx], 0x202c
mov byte [rax + rcx + 2], 0
jmp 0x140016678
mov qword [rsp + 0x20], 2
lea r9, [0x140176110]
xor r8d, r8d
lea edx, [r8 + 2]
lea rcx, [rbp - 0x48]
call fcn.140002770
mov rsi, qword [rdi]
lea r9, [rdi - 0x10]
cmp qword [rdi + 8], 0x10
jb 0x140016689
mov r9, qword [r9]
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x1400166c8
lea rax, [rcx + rsi]
mov qword [rbp - 0x38], rax
lea rbx, [rbp - 0x48]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x48]
add rbx, rcx
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call fcn.140147160
mov byte [rsi + rbx], 0
jmp 0x1400166dd
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x48]
call fcn.140002770
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140016718
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016713
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016b14
call fcn.1401452fc
add rdi, 0xe8
lea rax, [rdi - 0x20]
cmp rax, r15
je 0x140016735
mov rdx, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x38]
jmp 0x1400164a0
lea rcx, [rbp - 8]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
lea rdx, [r13 + 0x18]
cmp qword [rdx + 0x18], 0x10
jb 0x14001674d
mov rdx, qword [rdx]
lea rcx, [rbp + 8]
call fcn.14006c2f0
nop
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x140]
call fcn.140147800
lea rax, [rbp + 8]
cmp qword [rbp + 0x20], 0x10
cmovae rax, qword [rbp + 8]
movzx ecx, word [rbp + 4]
movzx edx, word [rbp + 2]
movzx r8d, word [rbp]
movzx r10d, word [rbp - 2]
movzx r11d, word [rbp - 6]
movzx ebx, word [rbp - 8]
cmp qword [rbp - 0x38], 0
jne 0x1400167a4
lea r9, [0x140175284]
jmp 0x1400167b2
lea r9, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae r9, qword [rbp - 0x48]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
lea r8, [0x140176118]
mov edx, 0x1000
lea rcx, [rbp + 0x140]
call fcn.140017490
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], 0
lea rdx, [rbp - 0x68]
xor ecx, ecx
call fcn.14006d100
mov rcx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x50]
mov rax, r8
sub rax, rcx
cmp rax, 0xb
jb 0x140016853
lea rax, [rcx + 0xb]
mov qword [rbp - 0x58], rax
lea rbx, [rbp - 0x68]
cmp r8, 0x10
cmovae rbx, qword [rbp - 0x68]
add rbx, rcx
mov r8d, reloc.WS2_32.dll_inet_addr
lea rdx, str.fsw4ncm.exe
mov rcx, rbx
call fcn.140147160
mov byte [rbx + 0xb], 0
jmp 0x140016873
mov qword [rsp + 0x20], reloc.WS2_32.dll_inet_addr
lea r9, str.fsw4ncm.exe
xor r8d, r8d
lea edx, [r8 + 0xb]
lea rcx, [rbp - 0x68]
call fcn.140002770
mov rcx, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x50]
mov rax, rdx
sub rax, rcx
cmp rax, 7
jb 0x1400168ba
lea rax, [rcx + 7]
mov qword [rbp - 0x58], rax
lea rbx, [rbp - 0x68]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x68]
add rbx, rcx
mov r8d, 7
lea rdx, str.__msg__
mov rcx, rbx
call fcn.140147160
mov byte [rbx + 7], 0
jmp 0x1400168da
mov qword [rsp + 0x20], 7
lea r9, str.__msg__
xor r8d, r8d
lea edx, [r8 + 7]
lea rcx, [rbp - 0x68]
call fcn.140002770
lea rax, [rbp + 0x140]
mov rsi, 0xffffffffffffffff
mov rdi, rsi
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400168f0
mov rcx, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x50]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x14001693c
lea rax, [rdi + rcx]
mov qword [rbp - 0x58], rax
lea rbx, [rbp - 0x68]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x68]
add rbx, rcx
mov r8, rdi
lea rdx, [rbp + 0x140]
mov rcx, rbx
call fcn.140147160
mov byte [rdi + rbx], 0
jmp 0x140016957
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x140]
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.140002770
mov rcx, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x50]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x140016988
lea rax, [rcx + 1]
mov qword [rbp - 0x58], rax
lea rax, [rbp - 0x68]
cmp rdx, 0x10
cmovae rax, qword [rbp - 0x68]
mov word [rax + rcx], 0x22
jmp 0x1400169a8
mov qword [rsp + 0x20], 1
lea r9, [0x140176160]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp - 0x68]
call fcn.140002770
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rcx, qword [rbp - 0x68]
call fcn.140016cc0
mov rdi, rax
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x1400169f9
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400169f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016b1a
call fcn.1401452fc
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], 0
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x140016a44
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016a3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016b20
call fcn.1401452fc
movdqa xmm0, xmmword [0x140173f50]
movdqu xmmword [rbp + 0x18], xmm0
mov byte [rbp + 8], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140016a90
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016a8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016b0e
call fcn.1401452fc
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x48], 0
lea rcx, [rsp + 0x70]
call fcn.1400080b0
nop
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x140016adb
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140016adb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x140016adb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, rdi
mov rcx, qword [rbp + 0x1140]
xor rcx, rsp
call fcn.1401453a0
lea r11, [rsp + 0x1250]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14014bf64
nop
call fcn.14014bf64
nop
call fcn.14014bf64
nop
call fcn.14014bf64
int3