Function at 0x473300
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65af06
mov eax, dword fs:[0]
push eax
sub esp, 0x64
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
mov dword [ebp - 0x50], 0
push str.WS_GSR
lea ecx, [ebp - 0x38]
call fcn.0043f3a0
mov dword [ebp - 4], 0
mov byte [ebp - 0x3a], 0
lea eax, [ebp - 0x48]
push eax
call fcn.00439100
mov byte [ebp - 4], 1
cmp dword [ebp + 8], 0
je 0x473371
mov ecx, dword [ebp + 8]
push ecx
call fcn.0062eae8
add esp, 4
imul edx, eax, 5
mov dword [ebp - 0x64], edx
jmp 0x473378
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.00504e99
add esp, 4
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x4733d6
mov ecx, dword [ebp - 0x58]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [ebp - 0x44]
push eax
call fcn.0062db60
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.00411e80
add esp, 0xc
lea ecx, [ebp - 0x54]
call fcn.00407030
mov byte [ebp - 4], 2
cmp dword [ebp - 0x44], 0
je 0x4733f0
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x60], ecx
jmp 0x4733f7
mov dword [ebp - 0x60], 0x69f168
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.00407ff0
add esp, 0xc
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
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 - 0x5c]
push ecx
call fcn.00469aa0
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x5c]
call fcn.0046af70
push eax
call fcn.00469ba0
movzx edx, al
test edx, edx
je 0x473517
lea ecx, [ebp - 0x4c]
call fcn.00407030
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.00439280
mov byte [ebp - 0x39], al
lea ecx, [ebp - 0x48]
call fcn.0046af70
push eax
lea ecx, [ebp - 0x54]
call fcn.0046af70
push eax
push 0x69f444
lea ecx, [ebp - 0x5c]
call fcn.0046af70
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x1c
call fcn.004a1610
mov byte [ebp - 0x3a], al
movzx ecx, byte [ebp - 0x39]
test ecx, ecx
je 0x4734ed
push str.GetSubscriptionRevisionResponseDump.txt
push 0x104
lea ecx, [ebp - 0x4c]
call fcn.00408130
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x4c]
call fcn.00408770
push 0
lea ecx, [ebp - 0x4c]
call fcn.0046af70
push eax
lea ecx, [ebp - 0x48]
call fcn.0046af70
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.0046af70
push eax
mov ecx, dword [ebp - 0x40]
call fcn.00475f40
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.004071f0
jmp 0x47351e
mov dword [ebp - 0x50], 0x15
lea ecx, [ebp - 0x48]
call fcn.0046af70
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.004071f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.004071f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004071f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0043f460
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.0062dc28
mov esp, ebp
pop ebp
ret 0xc