Function at 0x470b60
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65ab65
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x750990]
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.0043f3a0
mov dword [ebp - 4], 0
mov byte [ebp - 0x39], 0
lea eax, [ebp - 0x58]
push eax
call fcn.00439100
mov byte [ebp - 4], 1
push 0x69eca0
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.0040e270
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.0041ae70
push eax
lea ecx, [ebp - 0x7c]
call fcn.00406ed0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb0]
call fcn.0041a9d0
cmp dword [ebp + 0xc], 0
je 0x470c2d
mov eax, dword [ebp + 0xc]
push eax
call fcn.0062eae8
add esp, 4
imul ecx, eax, 5
mov dword [ebp - 0x80], ecx
jmp 0x470c34
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.00504e99
add esp, 4
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x470c98
mov ecx, dword [ebp - 0x48]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [ebp - 0x54]
push eax
call fcn.0062db60
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.00411e80
add esp, 0xc
cmp dword [ebp + 0x20], 0
je 0x470cb2
mov ecx, dword [ebp + 0x20]
push ecx
call fcn.0062eae8
add esp, 4
imul edx, eax, 5
mov dword [ebp - 0x70], edx
jmp 0x470cb9
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.00504e99
add esp, 4
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x470d1d
mov ecx, dword [ebp - 0x48]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0062db60
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.00411e80
add esp, 0xc
lea ecx, [ebp - 0x60]
call fcn.00407030
mov byte [ebp - 4], 5
movzx ecx, byte [ebp + 0x2c]
test ecx, ecx
je 0x470d3d
mov dword [ebp - 0x84], 0x69ed18
jmp 0x470d47
mov dword [ebp - 0x84], 0x69ed24
cmp dword [ebp - 0x4c], 0
je 0x470d55
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x68], edx
jmp 0x470d5c
mov dword [ebp - 0x68], 0x69ed30
cmp dword [ebp - 0x54], 0
je 0x470d6a
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x78], eax
jmp 0x470d71
mov dword [ebp - 0x78], 0x69ed40
lea ecx, [ebp - 0x7c]
call fcn.0046af70
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.00407ff0
add esp, 0x30
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x9c]
push eax
call fcn.00504e94
add esp, 4
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
push edx
call fcn.00504e94
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.00469aa0
mov byte [ebp - 4], 6
push 0
lea ecx, [ebp - 0x64]
call fcn.0046af70
push eax
call fcn.00469ba0
movzx edx, al
test edx, edx
je 0x471029
lea ecx, [ebp - 0x50]
call fcn.00407030
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.00439280
mov byte [ebp - 0x3a], al
movzx ecx, byte [ebp - 0x3a]
test ecx, ecx
je 0x470ed4
lea edx, [ebp - 0x50]
push edx
lea ecx, [ebp - 0x5c]
call fcn.00406e10
mov byte [ebp - 4], 8
push str.RequestAPDump.txt
push 0x104
lea ecx, [ebp - 0x5c]
call fcn.00408130
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x5c]
call fcn.00408770
push 0x5001
lea ecx, [ebp - 0x5c]
call fcn.0046af70
push eax
lea ecx, [ebp - 0xc8]
call fcn.005101bb
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x60]
call fcn.0046af70
push eax
lea ecx, [ebp - 0xc8]
call fcn.0051086f
lea ecx, [ebp - 0xc8]
call fcn.00510357
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xc8]
call fcn.0051020e
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5c]
call fcn.004071f0
lea ecx, [ebp - 0x58]
call fcn.0046af70
push eax
lea ecx, [ebp - 0x60]
call fcn.0046af70
push eax
push 0x69efe4
lea ecx, [ebp - 0x64]
call fcn.0046af70
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x1c
call fcn.004a1610
mov byte [ebp - 0x39], al
movzx eax, byte [ebp - 0x3a]
test eax, eax
je 0x470f47
push str.AuthenticatePDump.txt
push 0x104
lea ecx, [ebp - 0x50]
call fcn.00408130
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x50]
call fcn.00408770
push 0
lea ecx, [ebp - 0x50]
call fcn.0046af70
push eax
lea ecx, [ebp - 0x58]
call fcn.0046af70
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
movzx ecx, byte [ebp - 0x39]
test ecx, ecx
je 0x47101b
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 0x69f014
lea ecx, [ebp - 0x58]
call fcn.0046af70
push eax
call fcn.00473590
mov byte [ebp - 0x39], al
lea eax, [ebp - 0xd4]
push eax
mov ecx, dword [ebp + 0x28]
call fcn.00457c60
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.0041ae70
push eax
lea ecx, [ebp - 0x74]
call fcn.00406ed0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xd4]
call fcn.0041a9d0
lea ecx, [ebp - 0x74]
call fcn.0046af70
push eax
call fcn.0062e06e
add esp, 4
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x3ec
je 0x47100f
cmp dword [ebp - 0x6c], 0x3e7
je 0x47100f
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.00458420
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x74]
call fcn.004071f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50]
call fcn.004071f0
jmp 0x471043
push 0x69f048
mov ecx, dword [ebp + 0x28]
call fcn.00457c20
push str.Problem_connecting_to_the_destination_server
mov ecx, dword [ebp + 0x28]
call fcn.00457cd0
lea ecx, [ebp - 0x58]
call fcn.0046af70
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.004071f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x60]
call fcn.004071f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7c]
call fcn.004071f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.004071f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0043f460
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.0062dc28
mov esp, ebp
pop ebp
ret 0x28