Function at 0x46b240
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ec6a8
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
push str.WS_ASU
lea ecx, [ebp - 0x38]
call fcn.00445780
mov dword [ebp - 4], 0
mov byte [ebp - 0x39], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR120.dll_wcslen]
add esp, 4
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.MSVCR120.dll_wcslen]
add esp, 4
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0xa8], 0
je 0x46b2b8
cmp dword [ebp - 0x74], 0
jne 0x46b2ed
push str.1005
mov ecx, dword [ebp + 0x34]
call fcn.00450440
push str.Error:_Invalid_credentials.
mov ecx, dword [ebp + 0x34]
call fcn.004504f0
mov byte [ebp - 0x42], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00445840
mov al, byte [ebp - 0x42]
jmp 0x46b85c
lea edx, [ebp - 0x50]
push edx
call fcn.00432c20
mov byte [ebp - 4], 1
imul eax, dword [ebp - 0x74], 5
mov dword [ebp - 0x6c], eax
xor ecx, ecx
mov eax, dword [ebp - 0x6c]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.mfc120u.dll_Ordinal_265
add esp, 4
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x6c]
push ecx
push 0
mov edx, dword [ebp - 0x68]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
call fcn.00406200
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.004c1950
add esp, 4
mov dword [ebp - 0xa4], eax
push 1
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
call fcn.00410210
add esp, 0x14
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0x68]
push edx
call fcn.00414270
add esp, 4
mov dword [ebp - 0x94], eax
push 0x51aa88
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x40]
mov eax, dword [edx + 0x34]
call eax
push eax
push SysReAllocString
lea ecx, [ebp - 0xd4]
push ecx
call fcn.0040a5f0
add esp, 0x10
mov dword [ebp - 0x8c], eax
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x98], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x98]
call fcn.004157f0
push eax
lea ecx, [ebp - 0x7c]
call dword [sym.imp.mfc120u.dll_Ordinal_286]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xd4]
call fcn.00415310
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x7c]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
mov eax, dword [ebp + 0x30]
push eax
mov ecx, dword [ebp + 0x2c]
push ecx
mov edx, dword [ebp + 0x28]
push edx
mov eax, dword [ebp + 0x24]
push eax
mov ecx, dword [ebp + 0x20]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 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___poffer__s______authenticateUser_
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.mfc120u.dll_Ordinal_4772]
add esp, 0x38
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
push ecx
call sub.mfc120u.dll_Ordinal_266
add esp, 4
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x40]
mov edx, dword [eax + 0x34]
call edx
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00463b80
mov byte [ebp - 4], 6
push 0
lea ecx, [ebp - 0x70]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call fcn.00463c80
movzx ecx, al
test ecx, ecx
je 0x46b7ca
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov byte [ebp - 4], 7
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x40]
mov eax, dword [edx + 0x34]
call eax
push eax
call fcn.00432da0
mov byte [ebp - 0x3a], al
movzx ecx, byte [ebp - 0x3a]
test ecx, ecx
je 0x46b6ab
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc120u.dll_Ordinal_280]
mov byte [ebp - 4], 8
call fcn.00436090
cmp eax, 4
jge 0x46b60e
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x58]
call dword [sym.imp.mfc120u.dll_Ordinal_280]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x58]
call dword [sym.imp.mfc120u.dll_Ordinal_8594]
push 0
push 0x51aebc
lea ecx, [ebp - 0x58]
call dword [sym.imp.mfc120u.dll_Ordinal_4621]
mov dword [ebp - 0x80], eax
push 0x51aef4
lea ecx, [ebp - 0x58]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.00463d70
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x5c]
call dword [sym.imp.mfc120u.dll_Ordinal_8064]
movzx edx, al
test edx, edx
jne 0x46b5f4
mov eax, dword [ebp - 0x80]
add eax, 8
push eax
lea ecx, [ebp - 0x5c]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea ecx, [ebp - 0x58]
call dword [sym.imp.mfc120u.dll_Ordinal_4621]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
push ecx
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc120u.dll_Ordinal_8242]
mov byte [ebp - 4], 0xb
push 0x51af2c
lea ecx, [ebp - 0x64]
call dword [sym.imp.mfc120u.dll_Ordinal_1687]
lea ecx, [ebp - 0x5c]
call dword [sym.imp.mfc120u.dll_Ordinal_5787]
add eax, dword [ebp - 0x78]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc120u.dll_Ordinal_8638]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x88], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x88]
push edx
lea ecx, [ebp - 0x64]
call dword [sym.imp.mfc120u.dll_Ordinal_1684]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x90]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc120u.dll_Ordinal_1518]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x64]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x5c]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x58]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x60]
call dword [sym.imp.mfc120u.dll_Ordinal_280]
mov byte [ebp - 4], 0xd
push str.RequestAUDump.txt
push 0x104
lea ecx, [ebp - 0x60]
call dword [sym.imp.mfc120u.dll_Ordinal_5019]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x60]
call dword [sym.imp.mfc120u.dll_Ordinal_12430]
push 0x5001
lea ecx, [ebp - 0x60]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea ecx, [ebp - 0xc8]
call sub.mfc120u.dll_Ordinal_968
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea ecx, [ebp - 0xc8]
call sub.mfc120u.dll_Ordinal_14537
lea ecx, [ebp - 0xc8]
call sub.mfc120u.dll_Ordinal_2857
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xc8]
call sub.mfc120u.dll_Ordinal_1444
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x60]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
lea ecx, [ebp - 0x50]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
push 0x51af74
lea ecx, [ebp - 0x70]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x1c
call fcn.004978d0
mov byte [ebp - 0x39], al
movzx edx, byte [ebp - 0x3a]
test edx, edx
je 0x46b725
push str.AuthenticateUDump.txt
push 0x104
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc120u.dll_Ordinal_5019]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc120u.dll_Ordinal_12430]
push 0
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea ecx, [ebp - 0x50]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x46b785
mov ecx, dword [ebp + 0x34]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x50]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call fcn.0046d1a0
mov byte [ebp - 0x39], al
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x46b783
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x40]
mov eax, dword [edx + 0x34]
call eax
push eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x40]
mov eax, dword [edx + 0x3c]
call eax
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0x34]
call fcn.00450c80
jmp 0x46b7bb
push 0
mov ecx, dword [ebp + 0x34]
call fcn.0044ff60
mov ecx, dword [ebp + 0x34]
call fcn.0044f3f0
push 1
mov ecx, dword [ebp + 0x34]
call fcn.0044f9f0
push 0x51afa4
mov ecx, dword [ebp + 0x34]
call fcn.00450440
push 0x51afb8
mov ecx, dword [ebp + 0x34]
call fcn.004504f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
jmp 0x46b800
push 0
mov ecx, dword [ebp + 0x34]
call fcn.0044ff60
mov ecx, dword [ebp + 0x34]
call fcn.0044f3f0
push 1
mov ecx, dword [ebp + 0x34]
call fcn.0044f9f0
push 0x51afac
mov ecx, dword [ebp + 0x34]
call fcn.00450440
push 0x51b020
mov ecx, dword [ebp + 0x34]
call fcn.004504f0
lea ecx, [ebp - 0x50]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dl, byte [ebp - 0x39]
mov byte [ebp - 0x41], dl
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7c]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00445840
mov al, byte [ebp - 0x41]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e11cc
mov esp, ebp
pop ebp
ret 0x30