Function at 0x4722a0
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x638556
mov eax, dword fs:[0]
push eax
sub esp, 0x64
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
mov dword [ebp - 0x50], 0
push str.WS_GSR
lea ecx, [ebp - 0x38]
call fcn.00449f50
mov dword [ebp - 4], 0
mov byte [ebp - 0x3a], 0
lea eax, [ebp - 0x48]
push eax
call fcn.00436a10
mov byte [ebp - 4], 1
cmp dword [ebp + 8], 0
je 0x472311
mov ecx, dword [ebp + 8]
push ecx
call fcn.00610037
add esp, 4
imul edx, eax, 5
mov dword [ebp - 0x64], edx
jmp 0x472318
mov dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
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 - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x472376
mov ecx, dword [ebp - 0x58]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [ebp - 0x44]
push eax
call fcn.0060f700
add esp, 0xc
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00410ef0
add esp, 0xc
lea ecx, [ebp - 0x54]
call fcn.00406700
mov byte [ebp - 4], 2
cmp dword [ebp - 0x44], 0
je 0x472390
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x60], ecx
jmp 0x472397
mov dword [ebp - 0x60], 0x678dd4
mov edx, dword [ebp - 0x60]
push edx
push str._subscriptionrevision_xmlns:sub_http:__corel.com_subscription_SubscriptionService___sub:getConfig__getConfigRequest__s__getConfigRequest___sub:getConfig_
lea eax, [ebp - 0x54]
push eax
call fcn.004076f0
add esp, 0xc
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
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 - 0x5c]
push ecx
call fcn.00468880
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x5c]
call fcn.004a7500
push eax
call fcn.00468980
movzx edx, al
test edx, edx
je 0x4724b7
lea ecx, [ebp - 0x4c]
call fcn.00406700
mov byte [ebp - 4], 4
lea eax, [ebp - 0x4c]
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 - 0x39], al
lea ecx, [ebp - 0x48]
call fcn.004a7500
push eax
lea ecx, [ebp - 0x54]
call fcn.004a7500
push eax
push 0x678ddc
lea ecx, [ebp - 0x5c]
call fcn.004a7500
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x1c
call fcn.0049d2b0
mov byte [ebp - 0x3a], al
movzx ecx, byte [ebp - 0x39]
test ecx, ecx
je 0x47248d
push str.GetSubscriptionRevisionResponseDump.txt
push 0x104
lea ecx, [ebp - 0x4c]
call fcn.00407830
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x4c]
call fcn.00407e70
push 0
lea ecx, [ebp - 0x4c]
call fcn.004a7500
push eax
lea ecx, [ebp - 0x48]
call fcn.004a7500
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x48]
call fcn.004a7500
push eax
mov ecx, dword [ebp - 0x40]
call fcn.00474ee0
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.004068c0
jmp 0x4724be
mov dword [ebp - 0x50], 0x15
lea ecx, [ebp - 0x48]
call fcn.004a7500
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.004068c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.004068c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004068c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0044a010
mov eax, dword [ebp - 0x6c]
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