Function at 0x46d140
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ecb85
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x572734]
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 - 0x54], 0
push str.WS_GSR
lea ecx, [ebp - 0x38]
call fcn.00445910
mov dword [ebp - 4], 0
mov byte [ebp - 0x3a], 0
lea eax, [ebp - 0x44]
push eax
call fcn.00432dc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
push ecx
push str._subscriptionrevision_xmlns:sub_http:__corel.com_subscription_SubscriptionService___sub:getConfig__getConfigRequest__s__getConfigRequest___sub:getConfig_
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.mfc120u.dll_Ordinal_4772]
add esp, 0xc
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 - 0x50]
push ecx
call fcn.00463d10
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x50]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call fcn.00463e10
movzx edx, al
test edx, edx
je 0x46d2be
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov byte [ebp - 4], 4
lea eax, [ebp - 0x48]
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.00432f40
mov byte [ebp - 0x39], al
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
push 0x51d8a4
lea ecx, [ebp - 0x50]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x1c
call fcn.00497a70
mov byte [ebp - 0x3a], al
movzx ecx, byte [ebp - 0x39]
test ecx, ecx
je 0x46d292
push str.GetSubscriptionRevisionResponseDump.txt
push 0x104
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc120u.dll_Ordinal_5019]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc120u.dll_Ordinal_12430]
push 0
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
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 - 0x44]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
mov ecx, dword [ebp - 0x40]
call fcn.0046fd80
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
jmp 0x46d2c5
mov dword [ebp - 0x54], 0x15
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x58], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004459d0
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e134c
mov esp, ebp
pop ebp
ret 0xc