Function at 0x472040
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x638509
mov eax, dword fs:[0]
push eax
sub esp, 0x60
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 - 0x44], ecx
push str.WS_ATOS
lea ecx, [ebp - 0x38]
call fcn.00449f50
mov dword [ebp - 4], 0
mov byte [ebp - 0x39], 0
mov eax, 2
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, word [edx + ecx]
test eax, eax
je 0x472264
lea ecx, [ebp - 0x50]
push ecx
call fcn.00436a10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.00406700
mov byte [ebp - 4], 2
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._ns1:acceptedTOS_xmlns:ns1_http:__corel.com_subscription_SubscriptionService___acceptedTOSRequest_profileId__s__subscriptionId__s___version__d______ns1:acceptedTOS_
lea edx, [ebp - 0x4c]
push edx
call fcn.004076f0
add esp, 0x14
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edx + 0x34]
call eax
push eax
lea ecx, [ebp - 0x54]
push ecx
call fcn.00468880
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x54]
call fcn.004a7500
push eax
call fcn.00468980
movzx edx, al
test edx, edx
je 0x472231
lea ecx, [ebp - 0x40]
call fcn.00406700
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x44]
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 0x4721b2
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x48]
call fcn.004064e0
mov byte [ebp - 4], 5
push str.RequestTOSACCDump.txt
push 0x104
lea ecx, [ebp - 0x48]
call fcn.00407830
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x48]
call fcn.00407e70
push 0x5001
lea ecx, [ebp - 0x48]
call fcn.004a7500
push eax
lea ecx, [ebp - 0x6c]
call fcn.004f1cee
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4c]
call fcn.004a7500
push eax
lea ecx, [ebp - 0x6c]
call fcn.004f238c
lea ecx, [ebp - 0x6c]
call fcn.004f1e8a
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x6c]
call fcn.004f1d41
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
call fcn.004068c0
lea ecx, [ebp - 0x50]
call fcn.004a7500
push eax
lea ecx, [ebp - 0x4c]
call fcn.004a7500
push eax
push 0x677e60
lea ecx, [ebp - 0x54]
call fcn.004a7500
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x1c
call fcn.0049d2b0
mov byte [ebp - 0x39], al
movzx eax, byte [ebp - 0x3a]
test eax, eax
je 0x472225
push str.ResponseTOSACCDump.txt
push 0x104
lea ecx, [ebp - 0x40]
call fcn.00407830
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x40]
call fcn.00407e70
push 0
lea ecx, [ebp - 0x40]
call fcn.004a7500
push eax
lea ecx, [ebp - 0x50]
call fcn.004a7500
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.004068c0
lea ecx, [ebp - 0x50]
call fcn.004a7500
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.004068c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.004068c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.004068c0
mov cl, byte [ebp - 0x39]
mov byte [ebp - 0x3b], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0044a010
mov al, byte [ebp - 0x3b]
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 0xc