Function at 0x46afe0
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ec7bc
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
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_ASP
lea ecx, [ebp - 0x38]
call fcn.00445910
mov dword [ebp - 4], 0
mov byte [ebp - 0x39], 0
lea eax, [ebp - 0x4c]
push eax
call fcn.00432dc0
mov byte [ebp - 4], 1
push str.poffer
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.0040a5f0
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.004157f0
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.00415310
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 0x46b0a6
mov dword [ebp - 0x64], 0x51d88c
jmp 0x46b0ad
mov dword [ebp - 0x64], 0x51d898
lea ecx, [ebp - 0x60]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
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 ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.mfc120u.dll_Ordinal_4772]
add esp, 0x30
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 - 0x58]
push eax
call fcn.00463d10
mov byte [ebp - 4], 6
push 0
lea ecx, [ebp - 0x58]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call fcn.00463e10
movzx ecx, al
test ecx, ecx
je 0x46b33d
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.00432f40
mov byte [ebp - 0x3a], al
movzx ecx, byte [ebp - 0x3a]
test ecx, ecx
je 0x46b1e7
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 0x51dc90
lea ecx, [ebp - 0x58]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x1c
call fcn.00497a70
mov byte [ebp - 0x39], al
movzx eax, byte [ebp - 0x3a]
test eax, eax
je 0x46b261
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 0x46b32e
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 0x51dcc0
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call fcn.0046d330
mov byte [ebp - 0x39], al
lea eax, [ebp - 0xa8]
push eax
mov ecx, dword [ebp + 0x28]
call fcn.004505e0
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.004157f0
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.00415310
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 0x46b321
cmp dword [ebp - 0x5c], 0x3e7
je 0x46b321
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.00450de0
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 0x46b357
push str.1000
mov ecx, dword [ebp + 0x28]
call fcn.004505a0
push str.Problem_connecting_to_the_destination_server
mov ecx, dword [ebp + 0x28]
call fcn.00450650
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.004459d0
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.004e134c
mov esp, ebp
pop ebp
ret 0x28