Function at 0x140054dd0
Capabilities:
Check if file exists

Disassembly:
push rbx
lea eax, [rdx - 1]
mov ebx, r9d
mov r11, r8
cmp eax, 5
ja case.default.0x140054638
lea r8, [0x140000000]
cdqe
mov r10d, dword [r8 + rax*4 + 0x546c0]
add r10, r8
jmp r10
movzx r9d, byte [rsp + 0x30]
mov r8d, ebx
mov rdx, r11
pop rbx
jmp 0x140054dd0
mov r8d, ebx
mov rdx, r11
pop rbx
jmp 0x140056460
movzx edx, byte [r11]
cmp dl, 2
jne 0x140054676
mov rdx, qword [r11 + 1]
mov al, 1
movzx r9d, al
movzx r8d, al
pop rbx
jmp fcn.140057210
cmp dl, 1
mov eax, edx
mov rdx, qword [r11 + 1]
mov r8d, 2
cmove eax, r8d
mov r9b, 1
movzx r8d, al
pop rbx
jmp fcn.140057210
mov rdx, r11
pop rbx
jmp 0x140057680
mov rdx, r11
pop rbx
jmp 0x1400546e0
mov rdx, r11
pop rbx
jmp 0x140054ac0
lea rcx, str._AsusSync_FileTransfer__Receive___unknown_type:__d_n
pop rbx
jmp fcn.140095ab0
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x9f0]
sub rsp, 0xaf0
mov rax, qword [0x140164030]
xor rax, rsp
mov qword [rbp + 0x9e0], rax
mov rdi, rcx
xor r13d, r13d
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], r13b
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r13b
jne 0x140054731
lea rcx, [rbp - 0x58]
call fcn.140028190
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov qword [rbp - 0x70], r13
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae rdx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x48]
add r8, rdx
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae rdx, qword [rbp - 0x58]
lea rcx, [rsp + 0x40]
call fcn.1400272f0
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.14001c710
nop
cmp byte [rbp - 0x68], 8
je 0x1400548d6
lea rdx, str.sessionId
lea rcx, [rbp - 0x68]
call fcn.140025520
movzx ecx, byte [rax]
sub cl, 5
cmp cl, 2
ja 0x1400548d6
lea rdx, str.numOfFiles
lea rcx, [rbp - 0x68]
call fcn.140025520
movzx ecx, byte [rax]
sub cl, 5
cmp cl, 2
ja 0x1400548d6
lea rdx, str.sessionId
lea rcx, [rbp - 0x68]
call fcn.140025520
mov rcx, rax
call fcn.14004d460
mov r15, rax
lea rdx, str.numOfFiles
lea rcx, [rbp - 0x68]
call fcn.140025520
mov rcx, rax
call fcn.140025720
mov r12d, eax
mov rcx, qword [rdi + 0x98]
test rcx, rcx
je 0x140054829
mov edx, 0xffffffff
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov r14d, r13d
mov rdx, qword [rdi + 0x88]
mov r8, qword [rdi + 0x80]
mov rax, rdx
sub rax, r8
sar rax, 3
test rax, rax
je 0x140054897
mov r9, r13
nop dword [rax]
sub rdx, r8
sar rdx, 3
cmp rdx, r9
jbe 0x140054aa3
lfence
mov r8, qword [rdi + 0x80]
mov rsi, qword [r8 + r9*8]
cmp qword [rsi + 8], r15
je 0x140054949
inc r14d
inc r9
mov rdx, qword [rdi + 0x88]
mov rcx, rdx
sub rcx, r8
sar rcx, 3
movsxd rax, r14d
cmp rax, rcx
jb 0x140054850
mov rcx, qword [rdi + 0x88]
sub rcx, qword [rdi + 0x80]
sar rcx, 3
movsxd rax, r14d
cmp rax, rcx
jne 0x1400548c3
mov r8d, r12d
mov rdx, r15
lea rcx, str._AsusSync_FileTransfer__SendSessionCompleted___session:0x_I64X___file:_d_n
call fcn.140095ab0
mov rcx, qword [rdi + 0x98]
test rcx, rcx
je 0x1400548d6
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseMutex]
nop
movzx edx, byte [rbp - 0x68]
lea rcx, [rbp - 0x60]
call fcn.14001f060
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14005491f
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005491a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140054aa9
call fcn.1400c2470
mov rcx, qword [rbp + 0x9e0]
xor rcx, rsp
call fcn.1400c2450
mov rbx, qword [rsp + 0xb40]
add rsp, 0xaf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8d, r13d
mov r10, qword [rsi]
mov r11, qword [r10]
mov r9, qword [r10 + 8]
sub r9, r11
sar r9, 3
test r9, r9
je 0x1400549a0
mov rdx, r13
cmp r9, rdx
jbe 0x140054aaf
lfence
mov rbx, qword [r11 + rdx*8]
cmp dword [rbx + 0x60], 0x64
je 0x140054987
cmp byte [rbx + 0x79], 1
je 0x140054987
cmp dword [rbx + 0x7c], r12d
je 0x1400549c1
inc r8d
inc rdx
mov rcx, qword [r10 + 8]
sub rcx, qword [r10]
sar rcx, 3
movsxd rax, r8d
cmp rax, rcx
jb 0x140054965
mov dword [rsi + 0x28], 0x64
cmp qword [rsi + 0x30], 0
jne 0x140054897
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
mov qword [rsi + 0x30], rax
jmp 0x140054897
mov dword [rbx + 0x60], 0x64
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x30]
call fcn.1400c5120
mov r8d, 0x104
lea rdx, [rbp - 0x30]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
mov edx, 0x5c
lea rcx, [rbp - 0x30]
call fcn.1400c46bc
test rax, rax
je 0x140054a03
mov word [rax + 2], r13w
lea r8, str.AsusLinkWP2P.exe
mov edx, 0x104
lea rcx, [rbp - 0x30]
call fcn.1400d6ec0
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x1e0]
call fcn.1400c5120
lea rcx, [rdi + 0xa8]
cmp qword [rcx + 0x18], 8
jb 0x140054a3d
mov rcx, qword [rcx]
mov eax, dword [rbx + 0x80]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rcx
lea rax, str.B9ECED6F.ASUSPCAssistant.asToastNotifier.exe
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
lea r8, str.__s___toast___s___file_SendCompleted___s___d
mov edx, 0x400
lea rcx, [rbp + 0x1e0]
call fcn.140017d20
lea r9, [rbp + 0x1e0]
mov r8d, r12d
mov rdx, r15
lea rcx, str._AsusSync_FileTransfer__SendSessionCompleted___session:0x_I64X___file:_d__file_s__is_are__sent__show_toast_:__s_n
call fcn.140095ab0
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x1e0]
call fcn.140097090
jmp 0x1400549a0
call fcn.14000a150
nop
call fcn.1400c8b64
nop
call fcn.14000a150
int3
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x140164030]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, rcx
xor ebx, ebx
mov qword [rbp + 0xf], rbx
mov qword [rbp + 0x1f], rbx
mov qword [rbp + 0x27], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xf], bl
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], bl
jne 0x140054b10
lea rcx, [rbp + 0xf]
call fcn.140028190
nop
lea rax, [rbp - 0x41]
mov qword [rbp - 0x49], rax
mov qword [rbp - 9], rbx
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 0x10
cmovae rdx, qword [rbp + 0xf]
mov r8, qword [rbp + 0x1f]
add r8, rdx
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 0x10
cmovae rdx, qword [rbp + 0xf]
lea rcx, [rbp - 0x59]
call fcn.1400272f0
nop
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 1]
call fcn.14001c710
nop
cmp byte [rbp - 1], 8
je 0x140054d19
lea rdx, str.sessionId
lea rcx, [rbp - 1]
call fcn.140025520
movzx ecx, byte [rax]
sub cl, 5
cmp cl, 2
ja 0x140054d19
lea rdx, str.fileId
lea rcx, [rbp - 1]
call fcn.140025520
movzx ecx, byte [rax]
sub cl, 5
cmp cl, 2
ja 0x140054d19
lea rdx, str.receivedDataSize
lea rcx, [rbp - 1]
call fcn.140025520
movzx ecx, byte [rax]
sub cl, 5
cmp cl, 2
ja 0x140054d19
lea rdx, str.totalDataSize
lea rcx, [rbp - 1]
call fcn.140025520
movzx ecx, byte [rax]
sub cl, 5
cmp cl, 2
ja 0x140054d19
lea rdx, str.sessionId
lea rcx, [rbp - 1]
call fcn.140025520
mov rcx, rax
call fcn.14004d460
mov rsi, rax
lea rdx, str.fileId
lea rcx, [rbp - 1]
call fcn.140025520
mov rcx, rax
call fcn.140025720
movsxd r12, eax
lea rdx, str.receivedDataSize
lea rcx, [rbp - 1]
call fcn.140025520
mov rcx, rax
call fcn.14004d460
mov r15, rax
lea rdx, str.totalDataSize
lea rcx, [rbp - 1]
call fcn.140025520
mov rcx, rax
call fcn.14004d460
mov r14, rax
cmp byte [rdi + 0x15], 0
je 0x140054c80
mov qword [rsp + 0x20], rax
mov r9, r15
mov r8d, r12d
mov rdx, rsi
lea rcx, str._AsusSync_FileTransfer__SendSessionStatusChanged___session_:_0x_I64X__file:__d__ReceivedDataSize_:_d__TotalDataSize:_d_n
call fcn.140095ab0
mov rcx, qword [rdi + 0x98]
test rcx, rcx
je 0x140054c97
mov edx, 0xffffffff
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov rax, qword [rdi + 0x88]
mov r8, qword [rdi + 0x80]
mov rcx, rax
sub rcx, r8
sar rcx, 3
test rcx, rcx
je 0x140054d06
mov r9, rbx
nop word [rax + rax]
sub rax, r8
sar rax, 3
cmp rax, r9
jbe 0x140054dbd
lfence
mov r8, qword [rdi + 0x80]
mov rcx, qword [r8 + r9*8]
cmp qword [rcx + 8], rsi
je 0x140054d86
inc ebx
inc r9
mov rax, qword [rdi + 0x88]
mov rdx, rax
sub rdx, r8
sar rdx, 3
movsxd rcx, ebx
cmp rcx, rdx
jb 0x140054cc0
mov rcx, qword [rdi + 0x98]
test rcx, rcx
je 0x140054d19
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseMutex]
nop
movzx edx, byte [rbp - 1]
lea rcx, [rbp + 7]
call fcn.14001f060
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 0x10
jb 0x140054d5e
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054d59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140054dc3
call fcn.1400c2470
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400c2450
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov qword [rcx + 0x18], r15
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x48], r12
test r14, r14
je 0x140054dac
imul rax, r15, 0x64
xor edx, edx
div r14
mov dword [rcx + 0x28], eax
mov byte [rcx + 0x40], 1
jmp 0x140054d06
mov eax, 0x64
mov dword [rcx + 0x28], eax
mov byte [rcx + 0x40], 1
jmp 0x140054d06
call fcn.14000a150
nop
call fcn.1400c8b64
int3
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3f0]
sub rsp, 0x4f0
mov rax, qword [0x140164030]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov rbx, rdx
mov r13, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
mov dword [rsp + 0x50], esi
cmp qword [rcx + 0x48], rsi
jne 0x140054e28
lea rcx, str._AsusSync_FileTransfer__ReceiveSession___ReceiveFolder_is_not_set_n
call fcn.140095ab0
jmp 0x140056324
mov qword [rbp + 0x370], rsi
mov qword [rbp + 0x380], rsi
mov qword [rbp + 0x388], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x370], sil
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], sil
jne 0x140054e50
lea rcx, [rbp + 0x370]
call fcn.140028190
nop
lea rax, [rbp + 0x180]
mov qword [rbp - 0x68], rax
mov qword [rbp + 0x1b8], rsi
lea rcx, [rbp + 0x370]
mov r8, qword [rbp + 0x380]
cmp qword [rbp + 0x388], 0x10
jb 0x140054e9c
mov rdx, qword [rbp + 0x370]
add r8, rdx
jmp 0x140054ea6
add r8, rcx
lea rdx, [rbp + 0x370]
lea rcx, [rbp + 0x120]
call fcn.1400272f0
nop
lea r8, [rbp + 0x180]
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0x320]
call fcn.14001c710
nop
cmp byte [rbp + 0x320], 8
je 0x1400562ba
lea rdx, str.sessionId
lea rcx, [rbp + 0x320]
call fcn.140025520
movzx ecx, byte [rax]
lea eax, [rcx - 5]
cmp al, 1
jbe 0x140054f01
cmp cl, 7
jne 0x1400562d3
lea rdx, str.numOfFiles
lea rcx, [rbp + 0x320]
call fcn.140025520
movzx ecx, byte [rax]
lea eax, [rcx - 5]
cmp al, 1
jbe 0x140054f27
cmp cl, 7
jne 0x1400562d3
lea rdx, str.files
lea rcx, [rbp + 0x320]
call fcn.140025520
cmp byte [rax], 2
jne 0x1400562d3
lea rdx, str.path
lea rcx, [rbp + 0x320]
call fcn.140025520
cmp byte [rax], 3
jne 0x1400562d3
lea rdx, str.sessionId
lea rcx, [rbp + 0x320]
call fcn.140025520
mov rcx, rax
call fcn.14004d460
mov r15, rax
mov qword [rbp - 0x80], rax
lea rdx, str.numOfFiles
lea rcx, [rbp + 0x320]
call fcn.140025520
mov rcx, rax
call fcn.140025720
mov ebx, eax
mov dword [rsp + 0x5c], eax
mov byte [rbp + 0x310], 0
xor edx, edx
lea rcx, [rbp + 0x318]
call fcn.14001fb30
nop
mov qword [rbp + 0x2b0], rsi
mov qword [rbp + 0x2c0], rsi
mov qword [rbp + 0x2c8], 7
mov word [rbp + 0x2b0], si
mov qword [rbp + 0x2f0], rsi
mov rdi, rsi
mov qword [rbp + 0x300], rsi
mov r14d, 7
mov qword [rbp + 0x308], r14
mov word [rbp + 0x2f0], si
mov qword [rbp + 0x2d0], rsi
mov qword [rbp + 0x2e0], rsi
mov qword [rbp + 0x2e8], r14
mov word [rbp + 0x2d0], si
lea rdx, str.path
lea rcx, [rbp + 0x320]
call fcn.140025520
nop
mov qword [rbp + 0x68], rsi
mov qword [rbp + 0x78], rsi
mov qword [rbp + 0x80], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x68], 0
mov dword [rsp + 0x50], 1
cmp byte [rax], 3
jne 0x140056354
mov r8, qword [rax + 8]
lea rax, [rbp + 0x68]
cmp rax, r8
je 0x14005507c
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x14005506f
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rcx, [rbp + 0x68]
call fcn.140028190
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0xe0]
call fcn.140097be0
lea rcx, [rbp + 0x2f0]
cmp rcx, rax
je 0x1400550ca
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x2f0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x300], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdi, qword [rbp + 0x300]
mov r14, qword [rbp + 0x308]
mov rdx, qword [rbp + 0xf8]
cmp rdx, 8
jb 0x140055110
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005510b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400563ab
call fcn.1400c2470
mov qword [rbp + 0xf0], rsi
mov qword [rbp + 0xf8], 7
mov word [rbp + 0xe0], si
mov dword [rsp + 0x50], esi
mov rdx, qword [rbp + 0x80]
cmp rdx, 0x10
jb 0x14005516b
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055166
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400563b1
call fcn.1400c2470
mov byte [rbp + 0x68], 0
movabs rcx, 0x7ffffffffffffffe
test rdi, rdi
jne 0x140055259
lea r8, [r13 + 0x38]
lea rax, [rbp + 0x2f0]
cmp rax, r8
je 0x1400551c7
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x14005519f
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rcx, [rbp + 0x2f0]
call fcn.140017c00
mov rdi, qword [rbp + 0x300]
mov r14, qword [rbp + 0x308]
movabs rcx, 0x7ffffffffffffffe
mov qword [rbp - 0x18], rsi
mov qword [rbp - 8], rsi
mov qword [rbp], rsi
lea rsi, [rbp + 0x2f0]
mov r12, qword [rbp + 0x2f0]
cmp r14, 8
cmovae rsi, r12
cmp rdi, 8
jae 0x140055200
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp], 7
jmp 0x140055248
mov rbx, rdi
or rbx, 7
cmp rbx, rcx
cmova rbx, rcx
mov rdx, rbx
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rbp - 0x18]
call fcn.140017d80
mov qword [rbp - 0x18], rax
lea r8, [rdi*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.1400c4a50
mov qword [rbp], rbx
mov ebx, dword [rsp + 0x5c]
mov qword [rbp - 8], rdi
lea rdx, [rbp - 0x18]
call fcn.140059fd0
xor esi, esi
jmp 0x140055260
mov r12, qword [rbp + 0x2f0]
test ebx, ebx
jle 0x1400562a9
mov r14, rsi
mov qword [rsp + 0x60], rsi
mov ecx, 0x58
call fcn.1400c2704
mov rdi, rax
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
mov qword [rdi + 0x50], rax
mov qword [rdi], rsi
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
mov qword [rdi + 0x20], rsi
mov dword [rdi + 0x28], esi
mov word [rdi + 0x2c], ax
mov qword [rdi + 0x30], rsi
mov qword [rdi + 0x38], rsi
mov byte [rdi + 0x40], al
mov qword [rdi + 0x48], rsi
mov dword [rdi + 0x50], ebx
lea ecx, [rax + 0x18]
call fcn.1400c2704
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
mov qword [rdi], rax
mov qword [rbp - 0x68], rdi
lfence
mov r8d, ebx
mov rdx, r15
lea rcx, str._AsusSync_FileTransfer__ReceiveSession___session_:_0x_I64X__file_count:__d__n
call fcn.140095ab0
mov eax, esi
mov dword [rsp + 0x58], eax
mov r12, qword [rbp + 0x2f0]
mov esi, dword [rsp + 0x50]
nop word [rax + rax]
movsxd rbx, eax
lea rdx, str.files
lea rcx, [rbp + 0x320]
call fcn.140025520
mov rcx, rax
mov rdx, rbx
call fcn.14001c950
mov rdx, rax
lea rcx, [rbp + 0x170]
call fcn.14001ce10
movzx edx, byte [rbp + 0x310]
movzx ecx, byte [rax]
mov byte [rbp + 0x310], cl
mov byte [rax], dl
lea rcx, [rax + 8]
mov rax, qword [rbp + 0x318]
mov r8, qword [rcx]
mov qword [rbp + 0x318], r8
mov qword [rcx], rax
call fcn.14001f060
lea rdx, [0x14012870c]
lea rcx, [rbp + 0x310]
call fcn.140025520
movzx ecx, byte [rax]
lea eax, [rcx - 5]
cmp al, 1
jbe 0x140055395
cmp cl, 7
jne 0x1400560b8
lea rdx, str.size
lea rcx, [rbp + 0x310]
call fcn.140025520
movzx ecx, byte [rax]
lea eax, [rcx - 5]
cmp al, 1
jbe 0x1400553bb
cmp cl, 7
jne 0x1400560b8
lea rdx, [0x140117c48]
lea rcx, [rbp + 0x310]
call fcn.140025520
cmp byte [rax], 3
jne 0x1400560b8
lea rdx, [0x14012870c]
lea rcx, [rbp + 0x310]
call fcn.140025520
mov rcx, rax
call fcn.14004d460
mov qword [rsp + 0x78], rax
lea rdx, str.size
lea rcx, [rbp + 0x310]
call fcn.140025520
mov rcx, rax
call fcn.14004d460
mov qword [rbp - 0x70], rax
lea rdx, [0x140117c48]
lea rcx, [rbp + 0x310]
call fcn.140025520
nop
xor edi, edi
mov qword [rbp + 0x48], rdi
mov qword [rbp + 0x58], rdi
mov qword [rbp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x48], dil
or esi, 2
mov dword [rsp + 0x50], esi
cmp byte [rax], 3
jne 0x1400563ed
mov r8, qword [rax + 8]
lea rax, [rbp + 0x48]
cmp rax, r8
je 0x140055477
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x14005546a
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rcx, [rbp + 0x48]
call fcn.140028190
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x100]
call fcn.140097be0
mov rbx, rax
lea rax, [rbp + 0x2b0]
cmp rax, rbx
je 0x14005551d
mov rdx, qword [rbp + 0x2c8]
cmp rdx, 8
jb 0x1400554e0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400554db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400563b7
call fcn.1400c2470
mov qword [rbp + 0x2c0], rdi
mov qword [rbp + 0x2c8], 7
mov word [rbp + 0x2b0], di
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x2b0], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x2c0], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov rdx, qword [rbp + 0x118]
cmp rdx, 8
jb 0x140055563
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005555e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400563b7
call fcn.1400c2470
mov qword [rbp + 0x110], rdi
mov qword [rbp + 0x118], 7
mov word [rbp + 0x100], di
and esi, 0xfffffffd
mov dword [rsp + 0x50], esi
mov rdx, qword [rbp + 0x60]
cmp rdx, 0x10
jb 0x1400555be
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400555b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400563bd
call fcn.1400c2470
mov byte [rbp + 0x48], 0
mov r14, qword [rbp + 0x2c0]
movabs rdx, 0x7ffffffffffffffe
mov rax, rdx
mov rcx, qword [rbp + 0x300]
sub rax, rcx
mov qword [rbp + 0xc8], rax
cmp rax, r14
jb 0x1400563e7
lea r15, [rbp + 0x2f0]
cmp qword [rbp + 0x308], 8
setae byte [rsp + 0x54]
cmovae r15, r12
lea r12, [rbp + 0x2b0]
cmp qword [rbp + 0x2c8], 8
cmovae r12, qword [rbp + 0x2b0]
mov qword [rbp + 8], rdi
lea rsi, [rcx + r14]
mov ebx, 7
lea rdi, [rbp + 8]
cmp rsi, rbx
jbe 0x140055687
mov rbx, rsi
cmp rsi, 8
cmovb rbx, qword [reloc.OLEAUT32.dll_VariantClear]
or rbx, 7
cmp rbx, rdx
jbe 0x140055652
mov rbx, rdx
jmp 0x14005565e
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
mov rdx, rbx
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rbp + 8]
call fcn.140017d80
mov rdi, rax
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x300]
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x20], rbx
lea rbx, [rcx + rcx]
mov qword [rbp - 0x60], rbx
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call fcn.1400c4a50
lea rcx, [rdi + rbx]
lea r8, [r14 + r14]
mov rdx, r12
call fcn.1400c4a50
xor r12d, r12d
mov word [rdi + rsi*2], r12w
mov esi, dword [rsp + 0x50]
or esi, 4
mov dword [rsp + 0x50], esi
mov rdx, qword [rbp + 0x2e8]
cmp rdx, 8
jb 0x14005570e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055709
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400563c3
call fcn.1400c2470
movups xmm0, xmmword [rbp + 8]
movups xmmword [rbp + 0x2d0], xmm0
movups xmm1, xmmword [rbp + 0x18]
movups xmmword [rbp + 0x2e0], xmm1
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x20], 7
mov word [rbp + 8], r12w
mov rdi, qword [rbp - 0x70]
mov rbx, qword [rsp + 0x78]
mov r15, qword [rbp - 0x80]
cmp byte [r13 + 0x15], r12b
je 0x140055779
lea rax, [rbp + 0x2b0]
cmp qword [rbp + 0x2c8], 8
cmovae rax, qword [rbp + 0x2b0]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, rbx
mov rdx, r15
lea rcx, str._AsusSync_FileTransfer__ReceiveSession___session_id:_0x_I64X__file_id:__I64d__size:__I64d__file:__s_n
call fcn.140095ab0
cmp qword [rbp + 0x2c0], r12
je 0x140056092
cmp qword [rbp + 0x300], r12
je 0x140056092
lea rcx, [rbp + 0x2d0]
cmp qword [rbp + 0x2e8], 8
cmovae rcx, qword [rbp + 0x2d0]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400557e8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x20
jne 0x140055d9e
cmp rbx, 0xffffffffffffffff
je 0x1400557f7
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
cmp byte [r13 + 0x15], r12b
je 0x140055820
lea rdx, [rbp + 0x2d0]
cmp qword [rbp + 0x2e8], 8
cmovae rdx, qword [rbp + 0x2d0]
lea rcx, str._AsusSync_FileTransfer__ReceiveSession___file:__s_is_already_existent_n
call fcn.140095ab0
mov qword [rbp + 0x350], r12
mov qword [rbp + 0x360], r12
mov qword [rbp + 0x368], 7
mov word [rbp + 0x350], r12w
mov qword [rbp + 0x330], r12
mov r13, r12
mov qword [rbp + 0x340], r12
mov edi, 7
mov qword [rbp + 0x348], rdi
mov word [rbp + 0x330], r12w
lea rdx, [0x140128174]
lea rcx, [rbp + 0x2b0]
call fcn.14005a2f0
mov rbx, rax
lea rdx, [rbp + 0x2b0]
cmp rax, 0xffffffffffffffff
je 0x1400559c3
mov qword [rbp + 0xa8], r12
mov qword [rbp + 0xb8], r12
mov qword [rbp + 0xc0], rdi
mov r8, rax
cmp qword [rbp + 0x2c0], rax
cmovb r8, qword [rbp + 0x2c0]
cmp qword [rbp + 0x2c8], 8
cmovae rdx, qword [rbp + 0x2b0]
lea rcx, [rbp + 0xa8]
call fcn.140017c00
or esi, 8
mov dword [rsp + 0x50], esi
movups xmm0, xmmword [rbp + 0xa8]
movups xmmword [rbp + 0x350], xmm0
movups xmm1, xmmword [rbp + 0xb8]
movups xmmword [rbp + 0x360], xmm1
mov qword [rbp + 0xb8], r12
mov qword [rbp + 0xc0], rdi
mov word [rbp + 0xa8], r12w
mov r8, qword [rbp + 0x2c0]
sub r8, rbx
dec r8
inc rbx
mov qword [rbp + 0x88], r12
mov qword [rbp + 0x98], r12
mov qword [rbp + 0xa0], rdi
cmp qword [rbp + 0x2c0], rbx
jb 0x1400563c9
lfence
mov rax, qword [rbp + 0x2c0]
sub rax, rbx
cmp rax, r8
cmovb r8, rax
lea rax, [rbp + 0x2b0]
cmp qword [rbp + 0x2c8], 8
cmovae rax, qword [rbp + 0x2b0]
lea rdx, [rax + rbx*2]
lea rcx, [rbp + 0x88]
call fcn.140017c00
mov esi, dword [rsp + 0x50]
or esi, 0x10
mov dword [rsp + 0x50], esi
movups xmm0, xmmword [rbp + 0x88]
movups xmmword [rbp + 0x330], xmm0
movups xmm1, xmmword [rbp + 0x98]
movups xmmword [rbp + 0x340], xmm1
mov qword [rbp + 0x98], r12
mov qword [rbp + 0xa0], rdi
mov word [rbp + 0x88], r12w
mov r13, qword [rbp + 0x340]
mov rdi, qword [rbp + 0x348]
jmp 0x1400559e6
cmp qword [rbp + 0x2c8], 8
cmovae rdx, qword [rbp + 0x2b0]
mov r8, qword [rbp + 0x2c0]
lea rcx, [rbp + 0x350]
call fcn.140017c00
mov r12, qword [rbp + 0x2f0]
mov ebx, 1
mov rax, qword [rsp + 0x68]
cmp byte [rax + 0xa], 0
jne 0x140055cfc
mov eax, 0xa
mov r9d, eax
mov r8d, eax
lea rdx, [rbp + 0x3c8]
mov ecx, ebx
call fcn.1400d9278
inc ebx
mov dword [rbp - 0x78], ebx
lea rdx, [rbp + 0x350]
cmp qword [rbp + 0x368], 8
cmovae rdx, qword [rbp + 0x350]
mov r8, qword [rbp + 0x360]
lea rcx, [rbp + 0x2b0]
call fcn.140017c00
mov r8d, 1
lea rdx, [0x140128980]
lea rcx, [rbp + 0x2b0]
call fcn.140027070
lea rax, [rbp + 0x3c8]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140055a70
lea rdx, [rbp + 0x3c8]
lea rcx, [rbp + 0x2b0]
call fcn.140027070
mov r8d, 1
lea rdx, [0x140128984]
lea rcx, [rbp + 0x2b0]
call fcn.140027070
test r13, r13
je 0x140055aee
mov r8d, 1
lea rdx, [0x140128174]
lea rcx, [rbp + 0x2b0]
call fcn.140027070
lea rdx, [rbp + 0x330]
cmp rdi, 8
cmovae rdx, qword [rbp + 0x330]
mov r8, r13
lea rcx, [rbp + 0x2b0]
call fcn.140027070
mov r13, qword [rbp + 0x340]
mov r14, qword [rbp + 0x2c0]
cmp qword [rbp + 0xc8], r14
jb 0x1400563d5
lea r15, [rbp + 0x2f0]
cmp byte [rsp + 0x54], 0
cmovne r15, r12
lea r12, [rbp + 0x2b0]
cmp qword [rbp + 0x2c8], 8
cmovae r12, qword [rbp + 0x2b0]
xor edi, edi
mov qword [rbp + 0x28], rdi
mov rsi, qword [rbp + 0x300]
add rsi, r14
mov ebx, 7
lea rdi, [rbp + 0x28]
cmp rsi, rbx
jbe 0x140055ba3
mov rbx, rsi
cmp rsi, 8
cmovb rbx, qword [reloc.OLEAUT32.dll_VariantClear]
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
jbe 0x140055b6e
mov rbx, rax
jmp 0x140055b81
mov eax, 0xa
mov qword [rbp + 0xd8], rax
cmp rbx, rax
cmovb rbx, rax
mov rdx, rbx
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rbp + 0x28]
call fcn.140017d80
mov rdi, rax
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], rbx
mov rbx, qword [rbp - 0x60]
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call fcn.1400c4a50
lea rcx, [rdi + rbx]
lea r8, [r14 + r14]
mov rdx, r12
call fcn.1400c4a50
xor r12d, r12d
mov word [rdi + rsi*2], r12w
mov esi, dword [rsp + 0x50]
or esi, 0x20
mov dword [rsp + 0x50], esi
mov rdx, qword [rbp + 0x2e8]
cmp rdx, 8
jb 0x140055c26
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055c21
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400563cf
call fcn.1400c2470
movups xmm0, xmmword [rbp + 0x28]
movups xmmword [rbp + 0x2d0], xmm0
movups xmm1, xmmword [rbp + 0x38]
movups xmmword [rbp + 0x2e0], xmm1
mov qword [rbp + 0x38], r12
mov qword [rbp + 0x40], 7
mov word [rbp + 0x28], r12w
lea rcx, [rbp + 0x2d0]
movq rdx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 8
cmovae rcx, rdx
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
jne 0x140055cd2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 2
jne 0x140055cdb
mov r13, qword [rsp + 0x68]
cmp byte [r13 + 0x15], r12b
je 0x140055d02
lea rdx, [rbp + 0x2d0]
cmp qword [rbp + 0x2e8], 8
cmovae rdx, qword [rbp + 0x2d0]
lea rcx, str._AsusSync_FileTransfer__ReceiveSession___file:__s_is_not_existent_n
call fcn.140095ab0
jmp 0x140055d02
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rax, qword [rsp + 0x68]
cmp byte [rax + 0xa], r12b
jne 0x140055cff
mov rdi, qword [rbp + 0x348]
mov ebx, dword [rbp - 0x78]
mov r12, qword [rbp + 0x2f0]
jmp 0x140055a01
xor r12d, r12d
mov r13, rax
mov rdx, qword [rbp + 0x348]
cmp rdx, 8
jb 0x140055d48
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x330]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055d43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400563db
call fcn.1400c2470
mov word [rbp + 0x330], r12w
mov rdx, qword [rbp + 0x368]
cmp rdx, 8
jb 0x140055d96
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x350]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055d91
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400563e1
call fcn.1400c2470
mov word [rbp + 0x350], r12w
lea rcx, [rbp + 0x2d0]
cmp qword [rbp + 0x2e8], 8
cmovae rcx, qword [rbp + 0x2d0]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10000000
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x140055e5f
lea rbx, [rbp + 0x2d0]
cmp qword [rbp + 0x2e8], 8
cmovae rbx, qword [rbp + 0x2d0]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, eax
mov r8, rbx
lea rcx, str._AsusSync_FileTransfer__ReceiveSession___error___d___unable_to_create_file__path:__s_n
call fcn.140095ab0
mov rax, qword [r13 + 0xe0]
test rax, rax
je 0x1400560a7
mov byte [rbp + 0x398], 2
mov rdx, qword [rbp - 0x80]
mov qword [rbp + 0x399], rdx
mov r8, qword [rsp + 0x78]
mov qword [rbp + 0x3a1], r8
lea r9d, [r15 + 0x12]
lea r8, [rbp + 0x398]
mov dl, 4
mov rcx, qword [r13 + 0xa0]
call qword [0x1400fac68]
jmp 0x1400560a7
mov ecx, 0x88
call fcn.1400c2704
mov rdi, rax
mov qword [rbp + 0x160], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
movups xmmword [rdi + 0x50], xmm0
movups xmmword [rdi + 0x60], xmm0
movups xmmword [rdi + 0x70], xmm0
mov qword [rdi + 0x80], rax
lea rax, [rbp - 0x38]
mov qword [rbp + 0xd8], rax
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], r12
mov rsi, qword [rbp + 0x2e0]
lea r14, [rbp + 0x2d0]
cmp qword [rbp + 0x2e8], 8
cmovae r14, qword [rbp + 0x2d0]
cmp rsi, 8
jae 0x140055eeb
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x20], 7
jmp 0x140055f39
movabs rax, 0x7ffffffffffffffe
mov rbx, rsi
or rbx, 7
cmp rbx, rax
cmova rbx, rax
mov rdx, rbx
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rbp - 0x38]
call fcn.140017d80
mov qword [rbp - 0x38], rax
lea r8, [rsi*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.1400c4a50
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r12
mov r14, qword [rbp + 0x2c0]
lea rsi, [rbp + 0x2b0]
cmp qword [rbp + 0x2c8], 8
cmovae rsi, qword [rbp + 0x2b0]
cmp r14, 8
jae 0x140055f7e
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x40], 7
jmp 0x140055fcc
movabs rax, 0x7ffffffffffffffe
mov rbx, r14
or rbx, 7
cmp rbx, rax
cmova rbx, rax
mov rdx, rbx
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rbp - 0x58]
call fcn.140017d80
mov qword [rbp - 0x58], rax
lea r8, [r14*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.1400c4a50
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x48], r14
mov eax, dword [rsp + 0x58]
inc eax
mov ecx, dword [rsp + 0x5c]
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], r15
lea rax, [rbp - 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
mov rsi, qword [rbp - 0x70]
mov r9, rsi
mov r8, qword [rsp + 0x78]
mov rdx, qword [rbp - 0x80]
mov rcx, rdi
call fcn.140053b70
mov rbx, rax
mov qword [rbp - 0x78], rax
test rax, rax
je 0x140056077
cmp byte [r13 + 0x15], 0
je 0x14005603b
mov r9, qword [rax + 0x10]
mov r8, qword [rax + 8]
mov rdx, qword [rax]
lea rcx, str._AsusSync_FileTransfer__ReceiveSession___session:_0x_I64X__file_id:_d___size:_I64d_n
call fcn.140095ab0
mov r14, qword [rsp + 0x60]
add r14, rsi
mov qword [rsp + 0x60], r14
mov rdi, qword [rsp + 0x70]
mov rcx, qword [rdi]
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x140056068
mov qword [rdx], rbx
add qword [rcx + 8], 8
mov esi, dword [rsp + 0x50]
jmp 0x1400560b1
lea r8, [rbp - 0x78]
call fcn.14000a170
mov esi, dword [rsp + 0x50]
jmp 0x1400560b1
lea rcx, str._AsusSync_FileTransfer__ReceiveSession___unable_to_create_file_object_n
call fcn.140095ab0
mov rcx, r15
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov esi, dword [rsp + 0x50]
jmp 0x1400560a7
mov r9, rdi
mov r8, rbx
mov rdx, r15
lea rcx, str._AsusSync_FileTransfer__ReceiveSession___session_id:_0x_I64X__file_id:__I64d__size:__I64d._file_name_is_empty._skip_it._n
call fcn.140095ab0
mov r14, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rbp + 0x2f0]
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
cmp eax, dword [rsp + 0x5c]
jl 0x140055310
mov qword [rdi + 0x10], r14
mov rcx, qword [r13 + 0x70]
test rcx, rcx
je 0x1400560e4
mov edx, 0xffffffff
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov rdx, qword [r13 + 0x60]
cmp rdx, qword [r13 + 0x68]
je 0x1400560f8
mov qword [rdx], rdi
add qword [r13 + 0x60], 8
jmp 0x140056105
lea r8, [rbp - 0x68]
lea rcx, [r13 + 0x58]
call fcn.14000a170
mov rdx, qword [r13 + 0x60]
xor esi, esi
mov r11d, esi
mov r10d, esi
mov r8, qword [r13 + 0x58]
mov rax, rdx
sub rax, r8
sar rax, 3
test rax, rax
je 0x14005617f
mov r9d, esi
nop word [rax + rax]
sub rdx, r8
sar rdx, 3
cmp rdx, r9
jbe 0x14005644a
lfence
mov r8, qword [r13 + 0x58]
mov rax, qword [r8 + r9*8]
mov rcx, qword [rax]
mov rax, qword [rcx + 8]
sub rax, qword [rcx]
sar rax, 3
add r11d, eax
inc r10d
inc r9
mov rdx, qword [r13 + 0x60]
mov rcx, rdx
sub rcx, r8
sar rcx, 3
movsxd rax, r10d
cmp rax, rcx
jb 0x140056130
mov r12, qword [rbp + 0x2f0]
mov dword [r13 + 0x10], r11d
mov rcx, qword [r13 + 0x70]
test rcx, rcx
je 0x140056192
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseMutex]
mov r14, qword [rbp + 0x308]
mov rdx, qword [rbp + 0x2e8]
cmp rdx, 8
jb 0x1400561df
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400561da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056444
call fcn.1400c2470
mov qword [rbp + 0x2e0], rsi
mov qword [rbp + 0x2e8], 7
mov word [rbp + 0x2d0], si
cmp r14, 8
jb 0x140056235
lea rdx, [r14*2 + 2]
mov rax, r12
cmp rdx, 0x1000
jb 0x14005622c
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056450
mov rcx, r12
call fcn.1400c2470
nop
mov rdx, qword [rbp + 0x2c8]
cmp rdx, 8
jb 0x14005627b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056276
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056456
call fcn.1400c2470
mov qword [rbp + 0x2c0], rsi
mov qword [rbp + 0x2c8], 7
mov word [rbp + 0x2b0], si
movzx edx, byte [rbp + 0x310]
lea rcx, [rbp + 0x318]
call fcn.14001f060
jmp 0x1400562d3
lea rcx, str._AsusSync_FileTransfer__ReceiveSession___Can_not_find_numOfFiles_n
call fcn.140095ab0
jmp 0x140056199
test rbx, rbx
lea rcx, str._AsusSync_FileTransfer__ReceiveSession___payload_buffer_is_null_n
je 0x1400562cd
lea rcx, str._AsusSync_FileTransfer__ReceiveSession___jResult.is_discarded___n
call fcn.140095ab0
nop
movzx edx, byte [rbp + 0x320]
lea rcx, [rbp + 0x328]
call fcn.14001f060
nop
mov rdx, qword [rbp + 0x388]
cmp rdx, 0x10
jb 0x140056324
inc rdx
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005631f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005634e
call fcn.1400c2470
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.1400c2450
mov rbx, qword [rsp + 0x540]
add rsp, 0x4f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400c8b64
nop
mov rcx, rax
call fcn.14001f2a0
mov rdx, rax
lea rcx, [rbp + 0x230]
call fcn.14001da20
nop
mov r8, rax
lea rdx, str.type_must_be_string__but_is
lea rcx, [rbp + 0x250]
call fcn.140024f50
nop
mov r8, rax
mov edx, 0x12e
lea rcx, [rbp + 0x1c0]
call fcn.140018ad0
lea rdx, [0x14015fe98]
lea rcx, [rbp + 0x1c0]
call fcn.1400c4980
nop
call fcn.1400c8b64
nop
call fcn.1400c8b64
nop
call fcn.1400c8b64
nop
call fcn.1400c8b64
int3
call fcn.1400c8b64
nop
call fcn.140014300
int3
call fcn.1400c8b64
int3
call fcn.140017ee0
nop
call fcn.1400c8b64
nop
call fcn.1400c8b64
int3
call fcn.140017ee0
nop
mov rcx, rax
call fcn.14001f2a0
mov rdx, rax
lea rcx, [rbp + 0x270]
call fcn.14001da20
nop
mov r8, rax
lea rdx, str.type_must_be_string__but_is
lea rcx, [rbp + 0x290]
call fcn.140024f50
nop
mov r8, rax
mov edx, 0x12e
lea rcx, [rbp + 0x1f8]
call fcn.140018ad0
lea rdx, [0x14015fe98]
lea rcx, [rbp + 0x1f8]
call fcn.1400c4980
nop
call fcn.1400c8b64
nop
call fcn.14000a150
nop
call fcn.1400c8b64
nop
call fcn.1400c8b64
int3
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xad0]
sub rsp, 0xbd0
mov rax, qword [0x140164030]
xor rax, rsp
mov qword [rbp + 0xac0], rax
mov r15, rcx
xor esi, esi
mov dword [rbp - 0x48], esi
cmp qword [rcx + 0x48], rsi
jne 0x1400564af
lea rcx, str._AsusSync_FileTransfer__ReceiveFile___ReceiveFolder_is_not_set_n
call fcn.140095ab0
jmp 0x140056607
mov r13, qword [rdx]
mov rdi, qword [rdx + 8]
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x50], rax
lea rcx, [rdx + 0x18]
mov qword [rsp + 0x40], rcx
lea ebx, [r8 - 0x18]
mov dword [rsp + 0x48], ebx
mov rcx, qword [r15 + 0x70]
test rcx, rcx
je 0x1400564e9
mov edx, 0xffffffff
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov rax, qword [rsp + 0x50]
cmp byte [r15 + 0x15], sil
je 0x140056508
mov dword [rsp + 0x20], ebx
mov r9, rax
mov r8, rdi
mov rdx, r13
lea rcx, str._AsusSync_FileTransfer__ReceiveFile___session_id:_0x_I64X__file_id:__I64d__offset:__I64d__length:__d_n
call fcn.140095ab0
xor ecx, ecx
mov ebx, ecx
mov r14d, ecx
mov rdx, qword [r15 + 0x60]
mov r8, qword [r15 + 0x58]
mov rax, rdx
sub rax, r8
sar rax, 3
test rax, rax
je 0x1400565df
mov r12d, ecx
nop dword [rax]
test rbx, rbx
jne 0x140056633
sub rdx, r8
sar rdx, 3
cmp rdx, rsi
jbe 0x140056eaa
mov r14, qword [r8 + rsi*8]
cmp qword [r14 + 8], r13
jne 0x1400565b3
mov r8d, ecx
mov rdx, rcx
mov r9, qword [r14]
mov r11, qword [r9]
mov r10, qword [r9 + 8]
sub r10, r11
sar r10, 3
test r10, r10
je 0x1400565b3
nop
cmp r10, rdx
jbe 0x140056ea4
lfence
mov rbx, qword [r11 + rdx*8]
cmp rdi, qword [rbx + 8]
jne 0x140056592
cmp dword [rbx + 0x60], 0x64
je 0x140056592
cmp byte [rbx + 0x79], 1
jne 0x1400565b3
mov rbx, rcx
inc r8d
inc rdx
mov rcx, qword [r9 + 8]
sub rcx, qword [r9]
sar rcx, 3
movsxd rax, r8d
cmp rax, rcx
mov ecx, 0
jb 0x140056570
inc r12d
inc rsi
mov rdx, qword [r15 + 0x60]
mov r8, qword [r15 + 0x58]
mov rcx, rdx
sub rcx, r8
sar rcx, 3
movsxd rax, r12d
cmp rax, rcx
jae 0x1400565da
xor ecx, ecx
jmp 0x140056530
test rbx, rbx
jne 0x140056631
cmp byte [r15 + 0x15], 0
je 0x1400565f8
mov r8, rdi
mov rdx, r13
lea rcx, str._AsusSync_FileTransfer__ReceiveFile___unknown_file__session_id:_0x_I64X__file_id:__I64d__n
call fcn.140095ab0
mov rcx, qword [r15 + 0x70]
test rcx, rcx
je 0x140056607
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseMutex]
mov rcx, qword [rbp + 0xac0]
xor rcx, rsp
call fcn.1400c2450
mov rbx, qword [rsp + 0xc28]
add rsp, 0xbd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor ecx, ecx
mov eax, dword [rsp + 0x48]
test eax, eax
jle 0x140056660
lfence
mov dword [rbp + 0x20], ecx
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x20]
mov r8d, eax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
mov eax, dword [rsp + 0x48]
mov rcx, qword [rbx + 0x10]
mov r13d, 0x64
test rcx, rcx
je 0x140056681
cdqe
add rax, qword [rsp + 0x50]
imul rax, rax, 0x64
xor edx, edx
div rcx
jmp 0x140056684
mov eax, r13d
mov dword [rbx + 0x60], eax
xor dil, dil
mov rax, qword [rbx + 8]
mov qword [rsp + 0x40], rax
mov eax, dword [rbx + 0x80]
mov dword [rbp + 0x20], eax
xor eax, eax
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], rax
lea rsi, [rbx + 0x40]
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x50], rax
cmp qword [rsi + 0x18], 8
jb 0x1400566c1
mov rsi, qword [rsi]
mov r12, 0xffffffffffffffff
cmp rax, 8
jae 0x1400566df
movups xmm0, xmmword [rsi]
movups xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x40], 7
jmp 0x140056733
mov rdi, rax
or rdi, 7
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
cmova rdi, rax
mov rdx, rdi
add rdx, 1
cmovb rdx, r12
lea rcx, [rbp + 0x28]
call fcn.140017d80
mov qword [rbp + 0x28], rax
mov r8, qword [rsp + 0x50]
lea r8, [r8*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.1400c4a50
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x40], rdi
xor dil, dil
mov qword [rbp + 0x38], rax
cmp dword [rbx + 0x60], 0x64
jne 0x14005676d
mov esi, dword [rbx + 0x7c]
mov edi, dword [rbx + 0x80]
mov r8, qword [rbx + 8]
mov rdx, qword [rbx]
lea rcx, str._AsusSync_FileTransfer__ReceiveFile___session_id:_0x_I64X__file_id:__I64d_is_received_n
call fcn.140095ab0
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rbx + 0x70], r12
cmp esi, edi
sete dil
mov rcx, qword [r15 + 0x70]
test rcx, rcx
je 0x14005677c
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseMutex]
cmp dil, 1
jne 0x140056923
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xb0]
call fcn.1400c5120
mov r8d, 0x104
lea rdx, [rbp + 0xb0]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
mov edx, 0x5c
lea rcx, [rbp + 0xb0]
call fcn.1400c46bc
xor esi, esi
test rax, rax
je 0x1400567cb
mov word [rax + 2], si
lea r8, str.AsusLinkWP2P.exe
mov edx, 0x104
lea rcx, [rbp + 0xb0]
call fcn.1400d6ec0
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x2c0]
call fcn.1400c5120
lea rdx, [0x1401282c4]
lea rcx, [rbp + 0x28]
call fcn.14005a2f0
mov r8, rax
mov ebx, dword [rbp + 0x20]
cmp ebx, 1
jne 0x140056825
lea rcx, [rbp + 0x28]
cmp qword [rbp + 0x40], 8
cmovae rcx, qword [rbp + 0x28]
mov esi, dword [rbp - 0x48]
jmp 0x140056868
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], 7
cmp qword [rbp + 0x38], r8
cmovb r8, qword [rbp + 0x38]
lea rdx, [rbp + 0x28]
cmp qword [rbp + 0x40], 8
cmovae rdx, qword [rbp + 0x28]
lea rcx, [rbp - 0x40]
call fcn.140017c00
mov esi, 3
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rcx, qword [rbp - 0x40]
lea rax, [r15 + 0xa8]
cmp qword [rax + 0x18], 8
jb 0x140056879
mov rax, qword [rax]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
lea rax, str.B9ECED6F.ASUSPCAssistant.asToastNotifier.exe
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xb0]
lea r8, str.__s___toast___s___file_ReceiveCompleted___s___d___s_
mov edx, 0x400
lea rcx, [rbp + 0x2c0]
call fcn.140017d20
test sil, 1
je 0x1400568f8
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x1400568f8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400568f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056eb0
call fcn.1400c2470
cmp byte [r15 + 0x15], 0
je 0x140056912
lea rdx, [rbp + 0x2c0]
lea rcx, str._AsusSync_FileTransfer__ReceiveFile___file_s__is_are__received__show_toast_:__s_n
call fcn.140095ab0
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x2c0]
call fcn.140097090
test r14, r14
je 0x140056e4c
mov r8d, dword [r14 + 0x28]
mov rax, qword [rsp + 0x40]
mov qword [r14 + 0x48], rax
movsxd rdx, dword [rsp + 0x48]
add rdx, qword [r14 + 0x18]
mov qword [r14 + 0x18], rdx
test dil, dil
jne 0x140056960
mov rcx, qword [r14 + 0x10]
test rcx, rcx
je 0x140056960
imul rax, rdx, 0x64
xor edx, edx
div rcx
mov r13, rax
mov dword [r14 + 0x28], r13d
mov eax, r13d
sub eax, r8d
cmp eax, 1
jae 0x140056979
cmp r13d, 0x64
jne 0x140056e59
mov byte [rbp + 0x48], 0
xor edx, edx
lea rcx, [rbp + 0x50]
call fcn.14001fb30
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
mov rax, qword [r14 + 8]
mov byte [rsp + 0x58], 6
mov qword [rsp + 0x60], rax
lea rdx, str.sessionId
lea rcx, [rbp + 0x48]
call fcn.140025520
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x58]
mov byte [rax], cl
mov byte [rsp + 0x58], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x60]
mov qword [rax + 8], rdx
mov qword [rsp + 0x60], rcx
movzx edx, byte [rsp + 0x58]
lea rcx, [rsp + 0x60]
call fcn.14001f060
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov rax, qword [r14 + 0x48]
mov byte [rsp + 0x68], 6
mov qword [rsp + 0x70], rax
lea rdx, str.fileId
lea rcx, [rbp + 0x48]
call fcn.140025520
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x68]
mov byte [rax], cl
mov byte [rsp + 0x68], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x70]
mov qword [rax + 8], rdx
mov qword [rsp + 0x70], rcx
movzx edx, byte [rsp + 0x68]
lea rcx, [rsp + 0x70]
call fcn.14001f060
lea rax, [rsp + 0x78]
mov qword [rsp + 0x40], rax
mov rax, qword [r14 + 0x18]
mov byte [rsp + 0x78], 6
mov qword [rbp - 0x80], rax
lea rdx, str.receivedDataSize
lea rcx, [rbp + 0x48]
call fcn.140025520
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x78]
mov byte [rax], cl
mov byte [rsp + 0x78], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rbp - 0x80]
mov qword [rax + 8], rdx
mov qword [rbp - 0x80], rcx
movzx edx, byte [rsp + 0x78]
lea rcx, [rbp - 0x80]
call fcn.14001f060
lea rax, [rbp - 0x78]
mov qword [rsp + 0x40], rax
mov rax, qword [r14 + 0x10]
mov byte [rbp - 0x78], 6
mov qword [rbp - 0x70], rax
lea rdx, str.totalDataSize
lea rcx, [rbp + 0x48]
call fcn.140025520
nop
movzx edx, byte [rax]
movzx ecx, byte [rbp - 0x78]
mov byte [rax], cl
mov byte [rbp - 0x78], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rbp - 0x70]
mov qword [rax + 8], rdx
mov qword [rbp - 0x70], rcx
movzx edx, byte [rbp - 0x78]
lea rcx, [rbp - 0x70]
call fcn.14001f060
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x48]
call fcn.14001cad0
nop
cmp qword [rax + 0x18], 0x10
jb 0x140056af4
mov rax, qword [rax]
xor ebx, ebx
mov qword [rbp + 0x88], rbx
mov qword [rbp + 0x98], rbx
mov qword [rbp + 0xa0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x88], bl
mov r8, r12
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], bl
jne 0x140056b20
mov rdx, rax
lea rcx, [rbp + 0x88]
call fcn.140028190
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140056b74
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056b6f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056eb6
call fcn.1400c2470
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], 0
lea r8, [rbp + 0x88]
cmp qword [rbp + 0xa0], 0x10
cmovae r8, qword [rbp + 0x88]
mov r9d, dword [rbp + 0x98]
mov dl, 6
mov rcx, qword [r15 + 0xa0]
mov rax, qword [r15 + 0xe0]
call qword [0x1400fac68]
mov r9d, dword [r14 + 0x28]
cmp r9d, 0x64
jne 0x140056db5
mov byte [rbp + 0x58], 0
xor edx, edx
lea rcx, [rbp + 0x60]
call fcn.14001fb30
nop
lea rax, [rbp - 0x68]
mov qword [rsp + 0x40], rax
mov rax, qword [r14 + 8]
mov byte [rbp - 0x68], 6
mov qword [rbp - 0x60], rax
lea rdx, str.sessionId
lea rcx, [rbp + 0x58]
call fcn.140025520
nop
movzx edx, byte [rax]
movzx ecx, byte [rbp - 0x68]
mov byte [rax], cl
mov byte [rbp - 0x68], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rbp - 0x60]
mov qword [rax + 8], rdx
mov qword [rbp - 0x60], rcx
movzx edx, byte [rbp - 0x68]
lea rcx, [rbp - 0x60]
call fcn.14001f060
lea rax, [rbp - 0x58]
mov qword [rsp + 0x40], rax
mov byte [rbp - 0x58], 5
movsxd rax, dword [r14 + 0x50]
mov qword [rbp - 0x50], rax
lea rdx, str.numOfFiles
lea rcx, [rbp + 0x58]
call fcn.140025520
nop
movzx edx, byte [rax]
movzx ecx, byte [rbp - 0x58]
mov byte [rax], cl
mov byte [rbp - 0x58], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rbp - 0x50]
mov qword [rax + 8], rdx
mov qword [rbp - 0x50], rcx
movzx edx, byte [rbp - 0x58]
lea rcx, [rbp - 0x50]
call fcn.14001f060
lea rdx, [rbp]
lea rcx, [rbp + 0x58]
call fcn.14001cad0
nop
cmp qword [rax + 0x18], 0x10
jb 0x140056c8c
mov rax, qword [rax]
mov qword [rbp + 0x68], rbx
mov qword [rbp + 0x78], rbx
mov qword [rbp + 0x80], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x68], 0
inc r12
cmp byte [rax + r12], 0
jne 0x140056ca3
mov r8, r12
mov rdx, rax
lea rcx, [rbp + 0x68]
call fcn.140028190
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x140056cf8
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056cf3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056ebc
call fcn.1400c2470
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp], 0
lea r8, [rbp + 0x68]
cmp qword [rbp + 0x80], 0x10
cmovae r8, qword [rbp + 0x68]
mov r9d, dword [rbp + 0x78]
mov dl, 5
mov rcx, qword [r15 + 0xa0]
mov rax, qword [r15 + 0xe0]
call qword [0x1400fac68]
cmp qword [r14 + 0x30], 0
jne 0x140056d44
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
mov qword [r14 + 0x30], rax
mov rdx, qword [r14 + 8]
lea rcx, str._AsusSync_FileTransfer__ReceiveFile_send_ReceiveSessionStatus___session_:_0x_I64X_Call_completed_n
call fcn.140095ab0
nop
mov rdx, qword [rbp + 0x80]
cmp rdx, 0x10
jb 0x140056d93
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056d8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056ec2
call fcn.1400c2470
mov qword [rbp + 0x78], rbx
mov qword [rbp + 0x80], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x68], 0
movzx edx, byte [rbp + 0x58]
lea rcx, [rbp + 0x60]
call fcn.14001f060
jmp 0x140056de3
cmp byte [r15 + 0x15], 0
je 0x140056de3
mov rax, qword [r14 + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [r14 + 0x18]
mov qword [rsp + 0x20], rax
mov r8, qword [r14 + 0x48]
mov rdx, qword [r14 + 8]
lea rcx, str._AsusSync_FileTransfer__ReceiveFile_send_ReceiveSessionStatus___session_:_0x_I64X__file:__d__Percentage:_d_ReceivedDataSize_:_d__TotalDataSize:_d_n
call fcn.140095ab0
nop
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0x10
jb 0x140056e24
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056e1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056ec8
call fcn.1400c2470
mov qword [rbp + 0x98], rbx
mov qword [rbp + 0xa0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x88], 0
movzx edx, byte [rbp + 0x48]
lea rcx, [rbp + 0x50]
call fcn.14001f060
jmp 0x140056e59
lea rcx, str._AsusSync_FileTransfer__ReceiveFile___session_is_null_n
call fcn.140095ab0
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 8
jb 0x140056607
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056e94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056e9e
call fcn.1400c2470
jmp 0x140056607
call fcn.1400c8b64
int3
call fcn.14000a150
int3
call fcn.14000a150
nop
call fcn.1400c8b64
nop
call fcn.1400c8b64
nop
call fcn.1400c8b64
nop
call fcn.1400c8b64
nop
call fcn.1400c8b64
int3
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
cmp byte [rdx], 1
mov rdi, rcx
mov r15, qword [rdx + 1]
mov r12, qword [rdx + 9]
jne 0x140057819
mov rcx, qword [rcx + 0x70]
test rcx, rcx
je 0x1400576c6
mov edx, 0xffffffff
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov rdx, qword [rdi + 0x60]
mov r8, qword [rdi + 0x58]
mov rax, rdx
sub rax, r8
sar rax, 3
test rax, rax
je 0x140057810
xor ebp, ebp
mov r10d, ebp
mov r9d, ebp
nop dword [rax]
sub rdx, r8
sar rdx, 3
cmp rdx, r9
jbe 0x140057991
lfence
mov r8, qword [rdi + 0x58]
mov r14, qword [r8 + r9*8]
cmp qword [r14 + 8], r15
je 0x140057736
mov rdx, qword [rdi + 0x60]
inc r10d
mov rcx, rdx
movsxd rax, r10d
sub rcx, r8
inc r9
sar rcx, 3
cmp rax, rcx
jb 0x1400576f0
mov rcx, qword [rdi + 0x70]
jmp 0x1400578aa
mov rdx, qword [r14]
mov r8, qword [rdx]
mov rax, qword [rdx + 8]
sub rax, r8
sar rax, 3
test rax, rax
je 0x140057810
mov rsi, rbp
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdx + 8]
sub rax, r8
sar rax, 3
cmp rax, rsi
jbe 0x14005798b
lfence
mov rax, qword [rdx]
mov rbx, qword [rax + rsi*8]
cmp qword [rbx + 8], r12
jne 0x1400577ee
cmp dword [rbx + 0x60], 0x64
je 0x1400577ee
cmp byte [rdi + 0x15], 0
je 0x1400577b6
cmp qword [rbx + 0x38], 8
lea r9, [rbx + 0x20]
jb 0x14005779e
mov r9, qword [r9]
mov r8, r12
lea rcx, str._AsusSync_FileTransfer__CancelFile__d___d____receving_name:__s_n
mov rdx, r15
call fcn.140095ab0
cmp dword [rbx + 0x60], 0x64
je 0x1400577da
cmp byte [rbx + 0x79], 0
jne 0x1400577da
mov rcx, qword [rbx + 0x70]
mov word [rbx + 0x78], 0x101
cmp rcx, 0xffffffffffffffff
je 0x1400577da
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rbx + 0x70], 0xffffffffffffffff
cmp qword [rbx + 0x58], 8
lea rcx, [rbx + 0x40]
jb 0x1400577e8
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
mov rdx, qword [r14]
inc ebp
inc rsi
movsxd rax, ebp
mov r8, qword [rdx]
mov rcx, qword [rdx + 8]
sub rcx, r8
sar rcx, 3
cmp rax, rcx
jb 0x140057760
mov rcx, qword [rdi + 0x70]
jmp 0x1400578aa
mov rcx, qword [rcx + 0x98]
test rcx, rcx
je 0x140057830
mov edx, 0xffffffff
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov rdx, qword [rdi + 0x88]
mov r8, qword [rdi + 0x80]
mov rax, rdx
sub rax, r8
sar rax, 3
test rax, rax
je 0x1400578a3
xor ebp, ebp
mov r10d, ebp
mov r9d, ebp
nop word [rax + rax]
sub rdx, r8
sar rdx, 3
cmp rdx, r9
jbe 0x140057991
lfence
mov r8, qword [rdi + 0x80]
mov r14, qword [r8 + r9*8]
cmp qword [r14 + 8], r15
je 0x1400578d4
mov rdx, qword [rdi + 0x88]
inc r10d
mov rcx, rdx
movsxd rax, r10d
sub rcx, r8
inc r9
sar rcx, 3
cmp rax, rcx
jb 0x140057860
mov rcx, qword [rdi + 0x98]
test rcx, rcx
je 0x1400578b5
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseMutex]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
mov rdx, qword [r14]
mov r8, qword [rdx]
mov rax, qword [rdx + 8]
sub rax, r8
sar rax, 3
test rax, rax
je 0x1400578a3
mov rsi, rbp
nop dword [rax]
mov rax, qword [rdx + 8]
sub rax, r8
sar rax, 3
cmp rax, rsi
jbe 0x14005798b
lfence
mov rax, qword [rdx]
mov rbx, qword [rax + rsi*8]
cmp qword [rbx + 8], r12
jne 0x140057964
cmp dword [rbx + 0x60], 0x64
je 0x140057964
cmp qword [rbx + 0x58], 8
lea r9, [rbx + 0x40]
jb 0x140057928
mov r9, qword [r9]
mov r8, r12
lea rcx, str._AsusSync_FileTransfer__CancelFile__d___d____sending_path:__s_n
mov rdx, r15
call fcn.140095ab0
cmp dword [rbx + 0x60], 0x64
je 0x140057964
cmp byte [rbx + 0x79], 0
jne 0x140057964
mov rcx, qword [rbx + 0x70]
mov word [rbx + 0x78], 0x101
cmp rcx, 0xffffffffffffffff
je 0x140057964
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rbx + 0x70], 0xffffffffffffffff
mov rdx, qword [r14]
inc ebp
inc rsi
movsxd rax, ebp
mov r8, qword [rdx]
mov rcx, qword [rdx + 8]
sub rcx, r8
sar rcx, 3
cmp rax, rcx
jb 0x1400578f0
jmp 0x1400578a3
call fcn.14000a150
int3
call fcn.14000a150
int3