Function at 0x140065400
Capabilities:
Copy file
Delete file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1028]
mov eax, 0x1128
call fcn.14013dfc0
sub rsp, rax
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov rax, qword [0x140228058]
xor rax, rsp
mov qword [rbp + 0x1010], rax
mov r14, r9
mov rsi, r8
mov r12, rdx
mov r15, rcx
xor ebx, ebx
mov dword [rsp + 0x40], ebx
mov r13b, 1
mov rdx, r9
lea rcx, [rbp - 0x10]
call fcn.14002ef70
nop
mov rcx, qword [rbp]
test rcx, rcx
je 0x140065a93
mov rdx, qword [rbp + 8]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x1400654af
lea rdi, [rcx + 4]
mov qword [rbp], rdi
lea rbx, [rbp - 0x10]
cmp rdx, 8
cmovae rbx, qword [rbp - 0x10]
lea rcx, [rbx + rcx*2]
mov r8d, 8
lea rdx, str..tmp
call fcn.14015c680
xor eax, eax
mov word [rbx + rdi*2], ax
xor ebx, ebx
jmp 0x1400654cf
mov qword [rsp + 0x20], 4
lea r9, str..tmp
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [rbp - 0x10]
call fcn.1400233b0
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x30]
call fcn.1400bfd00
nop
cmp qword [rbp - 0x20], 0
je 0x140065a52
lea rdx, [rbp - 0x30]
mov rcx, rsi
call fcn.140039170
movzx r13d, al
test al, al
jne 0x140065938
mov rcx, qword [0x140234988]
cmp dword [rcx], 2
jbe 0x1400655b8
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rcx, str.Intel_Network_Service
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 0x101
lea rcx, str.d:workspacewsg_cit_abi_integrationintelconnectivity_release_1.1_srckillernetwork_service_service_sharedsource_bwclogic_bwcxmlfiles.cpp
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
lea r9, str.__d___hs__d__:__ls__
mov edi, 0x7ff
mov r8d, edi
mov ebx, 0x800
mov edx, ebx
lea rcx, [rbp + 0x10]
call fcn.14004c990
mov edx, ebx
lea rcx, [rbp + 0x10]
call fcn.14015fce4
mov r8, r14
cmp qword [r14 + 0x18], 8
jb 0x140065571
mov r8, qword [r14]
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14006557e
mov rdx, qword [rsi]
sub rdi, rax
sub rbx, rax
lea rcx, [rbp + 0x10]
lea rcx, [rcx + rax*2]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rdx
lea r9, str.Error_Downloading__ls_to_file__ls
mov r8, rdi
mov rdx, rbx
call fcn.14004c990
lea rdx, [rbp + 0x10]
lea rcx, [0x140234978]
call fcn.14006b140
movdqa xmm0, xmmword [0x1401d8170]
movdqu xmmword [rbp - 0x68], xmm0
xor r12d, r12d
mov word [rbp - 0x78], r12w
lea r8d, [r12 + 0x22]
lea rdx, [0x1401a6400]
lea rcx, [rbp - 0x78]
call fcn.1400159c0
nop
movdqa xmm0, xmmword [0x1401d8170]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r12w
mov dword [rsp + 0x40], 1
lea r15, [rsi + 0x10]
mov rdx, qword [r15]
add rdx, 0x12
lea rcx, [rsp + 0x48]
call fcn.140022f60
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rax, 0x12
jb 0x14006565e
lea rdi, [rcx + 0x12]
mov qword [rsp + 0x58], rdi
lea rbx, [rsp + 0x48]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x48]
lea rcx, [rbx + rcx*2]
lea r8d, [r12 + 0x24]
lea rdx, str.Error_Downloading
call fcn.14015c680
mov word [rbx + rdi*2], r12w
jmp 0x14006567f
mov qword [rsp + 0x20], SafeArrayUnlock
lea r9, str.Error_Downloading
xor r8d, r8d
lea edx, [r8 + 0x12]
lea rcx, [rsp + 0x48]
call fcn.1400233b0
cmp qword [rsi + 0x18], 8
jb 0x140065689
mov rsi, qword [rsi]
mov rdx, qword [r15]
mov rcx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x1400656d0
lea rdi, [rcx + rdx]
mov qword [rsp + 0x58], rdi
lea rbx, [rsp + 0x48]
cmp r8, 8
cmovae rbx, qword [rsp + 0x48]
lea r8, [rdx + rdx]
lea rcx, [rbx + rcx*2]
mov rdx, rsi
call fcn.14015c680
mov word [rbx + rdi*2], r12w
jmp 0x1400656e5
mov qword [rsp + 0x20], rdx
mov r9, rsi
xor r8d, r8d
lea rcx, [rsp + 0x48]
call fcn.1400233b0
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rax, 9
jb 0x140065735
lea rdi, [rcx + 9]
mov qword [rsp + 0x58], rdi
lea rbx, [rsp + 0x48]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x48]
lea rcx, [rbx + rcx*2]
mov r8d, SafeArrayUnlock
lea rdx, str._to_file
call fcn.14015c680
mov word [rbx + rdi*2], r12w
lea rax, [rsp + 0x48]
jmp 0x140065756
mov qword [rsp + 0x20], 9
lea r9, str._to_file
xor r8d, r8d
lea edx, [r8 + 9]
lea rcx, [rsp + 0x48]
call fcn.1400233b0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov dword [rsp + 0x40], 3
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x140065792
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
lea rcx, [rbp - 0x50]
call fcn.140023040
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov dword [rsp + 0x40], 7
mov edx, 1
lea r8d, [rdx + 1]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
lea r9d, [rdx + 0xf]
lea rcx, [rsp + 0x68]
call fcn.140022600
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x140065833
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006582e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140065afc
call fcn.14013db80
movdqa xmm0, xmmword [0x1401d8170]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r12w
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140065887
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140065882
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140065b02
call fcn.14013db80
movdqa xmm0, xmmword [0x1401d8170]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r12w
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1400658db
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400658d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140065b08
call fcn.14013db80
movdqa xmm0, xmmword [0x1401d8170]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r12w
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x140065a52
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006592e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140065b0e
call fcn.14013db80
jmp 0x140065a52
lea rcx, [rbp - 0x30]
call fcn.1400c45e0
movzx r13d, al
test al, al
je 0x140065a3d
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r15
mov rcx, r15
call fcn.14011be48
test eax, eax
je 0x14006596c
mov ecx, eax
call fcn.14011bf78
mov byte [rsp + 0x50], 1
mov rcx, qword [r12]
mov qword [r12], rbx
test rcx, rcx
je 0x140065990
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax + 8]
call qword [case.0x14001ac40.0]
mov rdx, r14
lea rcx, [rbp - 0x50]
call fcn.1400bfd00
nop
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1400659d8
mov r8, r14
mov rdx, r12
mov rcx, r15
call fcn.140068e40
movzx r13d, al
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140065a18
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140065a13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140065b14
call fcn.14013db80
movdqa xmm0, xmmword [0x1401d8170]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], bx
mov rcx, r15
call fcn.14011be6c
test eax, eax
je 0x140065a3d
mov ecx, eax
call fcn.14011bf78
nop
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140065a93
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140065a8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140065b1a
call fcn.14013db80
nop
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x140065acf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140065aca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140065af6
call fcn.14013db80
movzx eax, r13b
mov rcx, qword [rbp + 0x1010]
xor rcx, rsp
call fcn.14013df50
add rsp, 0x1128
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14015fb1c
nop
call fcn.14015fb1c
nop
call fcn.14015fb1c
nop
call fcn.14015fb1c
nop
call fcn.14015fb1c
nop
call fcn.14015fb1c
nop
call fcn.14015fb1c
int3