Function at 0x140060990
Capabilities:
Copy file
Delete file

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1d8
mov qword [rsp + 0x160], 0xfffffffffffffffe
mov rax, qword [0x1401f3f10]
xor rax, rsp
mov qword [rsp + 0x1c8], rax
lea rdx, str.WS_ASU
lea rcx, [rsp + 0x198]
call fcn.140033bc0
nop
mov byte [rsp + 0x70], 0
mov rcx, qword [rsp + reloc.mfc120u.dll_Ordinal_488]
call qword [sym.imp.MSVCR120.dll_wcslen]
mov qword [rsp + 0x138], rax
mov rcx, qword [rsp + 0x1f0]
call qword [sym.imp.MSVCR120.dll_wcslen]
mov qword [rsp + 0xe0], rax
cmp qword [rsp + 0x138], 0
je 0x140060a25
cmp qword [rsp + 0xe0], 0
jne 0x140060a69
lea rdx, str.1005
mov rcx, qword [rsp + 0x240]
call fcn.140091e50
lea rdx, str.Error:_Invalid_credentials.
mov rcx, qword [rsp + 0x240]
call fcn.140091f00
mov byte [rsp + 0x72], 0
lea rcx, [rsp + 0x198]
call fcn.140033c20
movzx eax, byte [rsp + 0x72]
jmp 0x140061165
lea rcx, [rsp + 0x88]
call fcn.1400a4920
nop
imul rax, qword [rsp + 0xe0], 5
mov qword [rsp + 0xc8], rax
mov eax, 2
mul qword [rsp + 0xc8]
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call sub.mfc120u.dll_Ordinal_265
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0xa8], rax
mov r8, qword [rsp + 0xc8]
xor edx, edx
mov rcx, qword [rsp + 0xa8]
call sub.MSVCR120.dll_memset
call fcn.140015130
mov dword [rsp + 0x148], eax
mov rcx, qword [rsp + 0x1f0]
call fcn.1400bd730
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x20], 1
mov r9d, dword [rsp + 0xc8]
mov r8, qword [rsp + 0xa8]
mov edx, dword [rsp + 0xe0]
mov rcx, qword [rsp + 0x150]
call fcn.140067e10
mov dword [rsp + 0xf8], eax
mov rcx, qword [rsp + 0xa8]
call fcn.140041fd0
mov qword [rsp + reloc.mfc120u.dll_Ordinal_280], rax
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov rax, qword [rsp + 0x238]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x228]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + reloc.mfc120u.dll_Ordinal_528]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + reloc.mfc120u.dll_Ordinal_280]
mov r8, qword [rsp + reloc.mfc120u.dll_Ordinal_488]
lea rdx, str._authenticateUser_xmlns_http:__ipmwebservices.corel.com_v1___authenticateUserRequest_userId__s__password__s__licenseId__s__sourceId__s__serialNumber__s__hardwareFingerprint__s__machineName__s__langCode__s__productVersion__s__doAssociation_true__regTrackingId__s__subscriptionId__s__xmlns_______authenticateUser_
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc120u.dll_Ordinal_4612]
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xe8], rax
mov rcx, qword [rsp + 0xe8]
call sub.mfc120u.dll_Ordinal_266
mov rax, qword [rsp + 0x1e0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x1e0]
call qword [rax + 0x68]
mov rdx, rax
lea rcx, [rsp + 0xd8]
call fcn.140057690
nop
lea rcx, [rsp + 0xd8]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
xor edx, edx
mov rcx, rax
call fcn.1400577a0
movzx eax, al
test eax, eax
je 0x1400610de
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov rax, qword [rsp + 0x1e0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x1e0]
call qword [rax + 0x68]
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.1400a4aa0
mov byte [rsp + 0x71], al
movzx eax, byte [rsp + 0x71]
test eax, eax
je 0x140060f25
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x98]
call qword [sym.imp.mfc120u.dll_Ordinal_280]
nop
call fcn.1400337b0
cmp eax, 4
jge 0x140060e5f
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc120u.dll_Ordinal_280]
nop
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc120u.dll_Ordinal_8291]
xor r8d, r8d
lea rdx, [0x14014c1d8]
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc120u.dll_Ordinal_4467]
mov dword [rsp + 0xd0], eax
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
lea r8, [0x14014c1f0]
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.1400578a0
nop
lea rcx, [rsp + 0xb0]
call qword [sym.imp.mfc120u.dll_Ordinal_7775]
movzx eax, al
test eax, eax
jne 0x140060e42
mov eax, dword [rsp + 0xd0]
add eax, 8
mov dword [rsp + 0xd4], eax
lea rcx, [rsp + 0xb0]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov ecx, dword [rsp + 0xd4]
mov r8d, ecx
mov rdx, rax
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc120u.dll_Ordinal_4467]
mov dword [rsp + 0xa0], eax
mov r8d, dword [rsp + 0xa0]
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x98]
call qword [sym.imp.mfc120u.dll_Ordinal_7940]
nop
lea rdx, [0x14014c208]
lea rcx, [rsp + 0xb8]
call qword [sym.imp.mfc120u.dll_Ordinal_1665]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.mfc120u.dll_Ordinal_5576]
mov ecx, dword [rsp + 0xa0]
add ecx, eax
mov eax, ecx
mov r8d, eax
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x98]
call qword [sym.imp.mfc120u.dll_Ordinal_8333]
mov qword [rsp + reloc.mfc120u.dll_Ordinal_296], rax
mov rax, qword [rsp + reloc.mfc120u.dll_Ordinal_296]
mov qword [rsp + 0x158], rax
mov rdx, qword [rsp + 0x158]
lea rcx, [rsp + 0xb8]
call qword [sym.imp.mfc120u.dll_Ordinal_1662]
nop
lea rcx, [rsp + 0xf0]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x98]
call qword [sym.imp.mfc120u.dll_Ordinal_1496]
nop
lea rcx, [rsp + 0xb8]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0xb0]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.mfc120u.dll_Ordinal_280]
nop
mov edx, 0x104
lea rcx, [rsp + 0xc0]
call qword [sym.imp.mfc120u.dll_Ordinal_4855]
lea rdx, str.RequestAUDump.txt
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, 0xffffffff
lea rcx, [rsp + 0xc0]
call qword [sym.imp.mfc120u.dll_Ordinal_12110]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov r8d, 0x5001
mov rdx, rax
lea rcx, [rsp + 0x168]
call sub.mfc120u.dll_Ordinal_956
nop
lea rcx, [rsp + 0x98]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
lea rcx, [rsp + 0x168]
call sub.mfc120u.dll_Ordinal_14157
lea rcx, [rsp + 0x168]
call sub.mfc120u.dll_Ordinal_2773
nop
lea rcx, [rsp + 0x168]
call sub.mfc120u.dll_Ordinal_1422
nop
lea rcx, [rsp + 0xc0]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0x98]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov qword [rsp + 0x100], rax
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov qword [rsp + 0x110], rax
lea rcx, [rsp + 0xd8]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, qword [rsp + 0x1e0]
add rcx, 0x38
mov rdx, qword [rsp + 0x100]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rsp + 0x110]
mov r9, rdx
lea r8, [0x140149a1c]
mov rdx, rax
call fcn.1400aa530
mov byte [rsp + 0x70], al
movzx eax, byte [rsp + 0x71]
test eax, eax
je 0x140061007
mov edx, 0x104
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc120u.dll_Ordinal_4855]
lea rdx, str.AuthenticateUDump.txt
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, 0xffffffff
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc120u.dll_Ordinal_12110]
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov qword [rsp + 0x120], rax
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
xor r8d, r8d
mov rcx, qword [rsp + 0x120]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
movzx eax, byte [rsp + 0x70]
test eax, eax
je 0x1400610d1
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, qword [rsp + 0x240]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x218]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + reloc.mfc120u.dll_Ordinal_528]
mov r8, qword [rsp + 0x208]
mov rdx, qword [rsp + reloc.mfc120u.dll_Ordinal_488]
mov rcx, rax
call fcn.1400631d0
mov byte [rsp + 0x70], al
movzx eax, byte [rsp + 0x70]
test eax, eax
je 0x1400610d1
mov rax, qword [rsp + 0x1e0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x1e0]
call qword [rax + 0x68]
mov qword [rsp + reloc.mfc120u.dll_Ordinal_320], rax
mov rcx, qword [rsp + 0x1e0]
mov rcx, qword [rcx]
mov qword [rsp + 0x130], rcx
mov rcx, qword [rsp + 0x1e0]
mov rdx, qword [rsp + 0x130]
call qword [rdx + 0x78]
mov rcx, qword [rsp + reloc.mfc120u.dll_Ordinal_320]
mov r9, rcx
mov r8, rax
mov rdx, qword [rsp + 0x1f8]
mov rcx, qword [rsp + 0x240]
call fcn.140092820
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
jmp 0x140061106
lea rdx, str.1000
mov rcx, qword [rsp + 0x240]
call fcn.140091e50
lea rdx, str.communication_error__offline_
mov rcx, qword [rsp + 0x240]
call fcn.140091f00
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
movzx eax, byte [rsp + 0x70]
mov byte [rsp + 0x73], al
lea rcx, [rsp + 0xd8]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0x198]
call fcn.140033c20
movzx eax, byte [rsp + 0x73]
mov rcx, qword [rsp + 0x1c8]
xor rcx, rsp
call fcn.14010f170
add rsp, 0x1d8
ret