Function at 0x466030
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea72c
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x56f734]
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_ASP
lea ecx, [ebp - 0x38]
call fcn.00440bd0
mov dword [ebp - 4], 0
mov byte [ebp - 0x39], 0
lea eax, [ebp - 0x4c]
push eax
call fcn.00492520
mov byte [ebp - 4], 1
push 0x51a080
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x40]
mov eax, dword [edx + 0x34]
call eax
push eax
push SysReAllocString
lea ecx, [ebp - 0x84]
push ecx
call fcn.004099d0
add esp, 0x10
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x74], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x74]
call fcn.004147c0
push eax
lea ecx, [ebp - 0x60]
call dword [sym.imp.mfc120u.dll_Ordinal_286]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x84]
call fcn.004142e0
lea ecx, [ebp - 0x50]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov byte [ebp - 4], 5
movzx eax, byte [ebp + 0x2c]
test eax, eax
je 0x4660f6
mov dword [ebp - 0x64], 0x51a090
jmp 0x4660fd
mov dword [ebp - 0x64], 0x51a09c
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x64]
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 + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._authenticateProfile_xmlns_http:__ipmwebservices.corel.com_v1___authenticateProfileRequest_profileId__s__hash__s__licenseId__s__sourceId__s__serialNumber__s__hardwareFingerprint__s__machineName__s__langCode__s__xmlns___doAssociation__s__poffer__s______authenticateProfile_
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.mfc120u.dll_Ordinal_4772]
add esp, 0x30
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x40]
mov eax, dword [edx + 0x34]
call eax
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.0045ee40
mov byte [ebp - 4], 6
push 0
lea ecx, [ebp - 0x58]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call fcn.0045ef40
movzx edx, al
test edx, edx
je 0x466387
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov byte [ebp - 4], 7
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x40]
mov eax, dword [edx + 0x34]
call eax
push eax
call fcn.004926a0
mov byte [ebp - 0x3a], al
movzx ecx, byte [ebp - 0x3a]
test ecx, ecx
je 0x466231
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc120u.dll_Ordinal_280]
mov byte [ebp - 4], 8
push str.RequestAPDump.txt
push 0x104
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc120u.dll_Ordinal_5019]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc120u.dll_Ordinal_12430]
push 0x5001
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea ecx, [ebp - 0x9c]
call sub.mfc120u.dll_Ordinal_968
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x50]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea ecx, [ebp - 0x9c]
call sub.mfc120u.dll_Ordinal_14537
lea ecx, [ebp - 0x9c]
call sub.mfc120u.dll_Ordinal_2857
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x9c]
call sub.mfc120u.dll_Ordinal_1444
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea ecx, [ebp - 0x50]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
push 0x51a308
lea ecx, [ebp - 0x58]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x1c
call fcn.00496330
mov byte [ebp - 0x39], al
movzx eax, byte [ebp - 0x3a]
test eax, eax
je 0x4662ab
push str.AuthenticatePDump.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 - 0x4c]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
movzx ecx, byte [ebp - 0x39]
test ecx, ecx
je 0x466378
mov edx, dword [ebp + 0x28]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
push 0x51a338
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call fcn.00468380
mov byte [ebp - 0x39], al
lea eax, [ebp - 0xa8]
push eax
mov ecx, dword [ebp + 0x28]
call fcn.0044ba30
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], ecx
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x70]
call fcn.004147c0
push eax
lea ecx, [ebp - 0x68]
call dword [sym.imp.mfc120u.dll_Ordinal_286]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xa8]
call fcn.004142e0
lea ecx, [ebp - 0x68]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call dword [sym.imp.MSVCR120.dll__wtoi]
add esp, 4
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x3ec
je 0x46636b
cmp dword [ebp - 0x5c], 0x3e7
je 0x46636b
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x40]
mov edx, dword [eax + 0x34]
call edx
push eax
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
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 + 0x28]
call fcn.0044c230
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x68]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
jmp 0x4663a1
push str.1000
mov ecx, dword [ebp + 0x28]
call fcn.0044b9f0
push str.Problem_connecting_to_the_destination_server
mov ecx, dword [ebp + 0x28]
call fcn.0044baa0
lea ecx, [ebp - 0x4c]
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 - 0x58]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00440c90
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.004df9ac
mov esp, ebp
pop ebp
ret 0x28