Function at 0x46fb00
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6381b5
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x721970]
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.00449f50
mov dword [ebp - 4], 0
mov byte [ebp - 0x39], 0
lea eax, [ebp - 0x58]
push eax
call fcn.00436a10
mov byte [ebp - 4], 1
push 0x67890c
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x40]
mov eax, dword [edx + 0x34]
call eax
push eax
push SysReAllocStringLen
lea ecx, [ebp - 0xb0]
push ecx
call fcn.0040d770
add esp, 0x10
mov dword [ebp - 0x98], eax
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0xa0], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xa0]
call fcn.00419160
push eax
lea ecx, [ebp - 0x7c]
call fcn.004065a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb0]
call fcn.00418cc0
cmp dword [ebp + 0xc], 0
je 0x46fbcd
mov eax, dword [ebp + 0xc]
push eax
call fcn.00610037
add esp, 4
imul ecx, eax, 5
mov dword [ebp - 0x80], ecx
jmp 0x46fbd4
mov dword [ebp - 0x80], 0
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e69f9
add esp, 4
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x46fc38
mov ecx, dword [ebp - 0x48]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [ebp - 0x54]
push eax
call fcn.0060f700
add esp, 0xc
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00410ef0
add esp, 0xc
cmp dword [ebp + 0x20], 0
je 0x46fc52
mov ecx, dword [ebp + 0x20]
push ecx
call fcn.00610037
add esp, 4
imul edx, eax, 5
mov dword [ebp - 0x70], edx
jmp 0x46fc59
mov dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e69f9
add esp, 4
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x46fcbd
mov ecx, dword [ebp - 0x48]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0060f700
add esp, 0xc
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp + 0x20]
push eax
call fcn.00410ef0
add esp, 0xc
lea ecx, [ebp - 0x60]
call fcn.00406700
mov byte [ebp - 4], 5
movzx ecx, byte [ebp + 0x2c]
test ecx, ecx
je 0x46fcdd
mov dword [ebp - 0x84], 0x678984
jmp 0x46fce7
mov dword [ebp - 0x84], 0x678990
cmp dword [ebp - 0x4c], 0
je 0x46fcf5
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x68], edx
jmp 0x46fcfc
mov dword [ebp - 0x68], 0x67899c
cmp dword [ebp - 0x54], 0
je 0x46fd0a
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x78], eax
jmp 0x46fd11
mov dword [ebp - 0x78], 0x6789ac
lea ecx, [ebp - 0x7c]
call fcn.004a7500
push eax
mov ecx, dword [ebp - 0x84]
push ecx
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp - 0x68]
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 - 0x78]
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 - 0x60]
push ecx
call fcn.004076f0
add esp, 0x30
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004e69f4
add esp, 4
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
push edx
call fcn.004e69f4
add esp, 4
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 - 0x64]
push ecx
call fcn.00468880
mov byte [ebp - 4], 6
push 0
lea ecx, [ebp - 0x64]
call fcn.004a7500
push eax
call fcn.00468980
movzx edx, al
test edx, edx
je 0x46ffc9
lea ecx, [ebp - 0x50]
call fcn.00406700
mov byte [ebp - 4], 7
lea eax, [ebp - 0x50]
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.00436b90
mov byte [ebp - 0x3a], al
movzx ecx, byte [ebp - 0x3a]
test ecx, ecx
je 0x46fe74
lea edx, [ebp - 0x50]
push edx
lea ecx, [ebp - 0x5c]
call fcn.004064e0
mov byte [ebp - 4], 8
push str.RequestAPDump.txt
push 0x104
lea ecx, [ebp - 0x5c]
call fcn.00407830
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x5c]
call fcn.00407e70
push 0x5001
lea ecx, [ebp - 0x5c]
call fcn.004a7500
push eax
lea ecx, [ebp - 0xc8]
call fcn.004f1cee
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x60]
call fcn.004a7500
push eax
lea ecx, [ebp - 0xc8]
call fcn.004f238c
lea ecx, [ebp - 0xc8]
call fcn.004f1e8a
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xc8]
call fcn.004f1d41
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5c]
call fcn.004068c0
lea ecx, [ebp - 0x58]
call fcn.004a7500
push eax
lea ecx, [ebp - 0x60]
call fcn.004a7500
push eax
push 0x678c50
lea ecx, [ebp - 0x64]
call fcn.004a7500
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x1c
call fcn.0049d2b0
mov byte [ebp - 0x39], al
movzx eax, byte [ebp - 0x3a]
test eax, eax
je 0x46fee7
push str.AuthenticatePDump.txt
push 0x104
lea ecx, [ebp - 0x50]
call fcn.00407830
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x50]
call fcn.00407e70
push 0
lea ecx, [ebp - 0x50]
call fcn.004a7500
push eax
lea ecx, [ebp - 0x58]
call fcn.004a7500
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
movzx ecx, byte [ebp - 0x39]
test ecx, ecx
je 0x46ffbb
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 0x678c80
lea ecx, [ebp - 0x58]
call fcn.004a7500
push eax
call fcn.00472530
mov byte [ebp - 0x39], al
lea eax, [ebp - 0xd4]
push eax
mov ecx, dword [ebp + 0x28]
call fcn.004551e0
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], ecx
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x90]
call fcn.00419160
push eax
lea ecx, [ebp - 0x74]
call fcn.004065a0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xd4]
call fcn.00418cc0
lea ecx, [ebp - 0x74]
call fcn.004a7500
push eax
call fcn.0060fc0e
add esp, 4
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x3ec
je 0x46ffaf
cmp dword [ebp - 0x6c], 0x3e7
je 0x46ffaf
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.004559a0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x74]
call fcn.004068c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50]
call fcn.004068c0
jmp 0x46ffe3
push 0x678cb4
mov ecx, dword [ebp + 0x28]
call fcn.004551a0
push str.Problem_connecting_to_the_destination_server
mov ecx, dword [ebp + 0x28]
call fcn.00455250
lea ecx, [ebp - 0x58]
call fcn.004a7500
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 - 0x64]
call fcn.004068c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x60]
call fcn.004068c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7c]
call fcn.004068c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.004068c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0044a010
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.0060f7c8
mov esp, ebp
pop ebp
ret 0x28