Function at 0x1400a9570
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0xb8]
sub rsp, 0x1a0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1402bb010]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rdi, rcx
movdqa xmm0, xmmword [0x14024d4b0]
movdqu xmmword [rbp - 0x58], xmm0
xor r14d, r14d
mov word [rbp - 0x68], r14w
lea rdx, [rcx + 0x148c]
lea rcx, [rbp - 0x68]
call fcn.140053ee0
nop
movdqa xmm0, xmmword [0x14024d4c0]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], r14b
lea r8d, [r14 + 4]
lea rdx, str._res
lea rcx, [rsp + 0x78]
call fcn.140047980
nop
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x58]
call qword [0x1401a9828]
nop
mov rdx, rax
cmp qword [rax + 0x18], 0x10
jb 0x1400a9615
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rsp + 0x78]
call fcn.140057820
nop
lea rcx, [rsp + 0x58]
call fcn.140047920
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rdx, qword [rsp + 0x78]
lea rcx, [rbp - 0x28]
call qword [0x1401a97e8]
nop
lea rdx, str.defaultuserheadpic.png
lea rcx, [rbp - 0x48]
call qword [0x1401a98e8]
nop
lea rdx, str.default_head_pic_precations
lea rcx, [rdi + 0x78]
call qword [0x1401a8ed0]
mov rbx, rax
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.140169b50
test eax, eax
jne 0x1400a974b
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x58]
call qword [0x1401a9810]
nop
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
xor edx, edx
call qword [0x1401a9a68]
test rbx, rbx
je 0x1400a9729
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
mov rcx, rbx
call qword [0x1401a8918]
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
mov rcx, rbx
call qword [0x1401a8058]
mov rcx, rbx
call qword [0x1401a87d8]
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
mov byte [rsp + 0x40], 1
mov byte [rsp + 0x38], 0
mov qword [rsp + 0x30], r14
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rcx, [rdi + 0x78]
call qword [0x1401a8ec8]
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rsp + 0x58]
call fcn.1400524a0
lea rdx, str.text_new_phone_nickname_precations
lea rcx, [rdi + 0x78]
call qword [0x1401a8ed0]
mov rbx, rax
test rax, rax
je 0x1400a981c
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r14w
lea rdx, [rdi + 0x1450]
lea rcx, [rsp + 0x58]
call fcn.140053ee0
nop
cmp qword [rsp + 0x68], 0
jne 0x1400a97f6
lea rcx, [rdi + 0x3868]
lea rdx, [rsp + 0x58]
call fcn.14004a680
lea rcx, [rbp]
call qword [0x1401a82b8]
nop
lea r8, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae r8, qword [rsp + 0x58]
lea rdx, [0x14022ef78]
lea rcx, [rbp]
call qword [0x1401a82b0]
lea rcx, [rbp]
call qword [0x1401a82a0]
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140053ee0
nop
lea rcx, [rbp]
call qword [0x1401a8208]
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x58]
nop
lea rcx, [rsp + 0x58]
call fcn.1400524a0
nop
lea rcx, [rbp - 0x48]
call fcn.140047920
nop
lea rcx, [rbp - 0x28]
call fcn.140047920
nop
lea rcx, [rsp + 0x78]
call fcn.140047920
nop
lea rcx, [rbp - 0x68]
call fcn.1400524a0
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14016ee40
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret