Function at 0x472ce0
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65ae59
mov eax, dword fs:[0]
push eax
sub esp, 0x84
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 - 0x50], ecx
push str.WS_GPS
lea ecx, [ebp - 0x38]
call fcn.0043f3a0
mov dword [ebp - 4], 0
mov byte [ebp - 0x39], 0
lea eax, [ebp - 0x54]
push eax
call fcn.00439100
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.0062eae8
add esp, 4
imul edx, eax, 5
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
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 - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x472d9d
mov ecx, dword [ebp - 0x40]
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 - 0x40]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00411e80
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0062eae8
add esp, 4
imul edx, eax, 5
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
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 - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x472e07
mov ecx, dword [ebp - 0x40]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [ebp - 0x48]
push eax
call fcn.0062db60
add esp, 0xc
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00411e80
add esp, 0xc
lea ecx, [ebp - 0x5c]
call fcn.00407030
mov byte [ebp - 4], 2
cmp dword [ebp - 0x48], 0
je 0x472e21
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x64], ecx
jmp 0x472e28
mov dword [ebp - 0x64], 0x69de80
cmp dword [ebp - 0x44], 0
je 0x472e36
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x68], edx
jmp 0x472e3d
mov dword [ebp - 0x68], 0x69de84
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x68]
push eax
push str._ns1:getUserProductSerials_xmlns:ns1_http:__corel.com_subscription_SubscriptionService___getUserProductSerialsRequest_userId__s__password__s___licenseId__s__sourceId__s______ns1:getUserProductSerials_
lea ecx, [ebp - 0x5c]
push ecx
call fcn.00407ff0
add esp, 0x18
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
push eax
call fcn.00504e94
add esp, 4
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x70]
push edx
call fcn.00504e94
add esp, 4
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x50]
mov eax, dword [edx + 0x34]
call eax
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.00469aa0
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x60]
call fcn.0046af70
push eax
call fcn.00469ba0
movzx edx, al
test edx, edx
je 0x473025
lea ecx, [ebp - 0x4c]
call fcn.00407030
mov byte [ebp - 4], 4
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x50]
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 0x472f74
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x58]
call fcn.00406e10
mov byte [ebp - 4], 5
push str.RequestPSDump.txt
push 0x104
lea ecx, [ebp - 0x58]
call fcn.00408130
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x58]
call fcn.00408770
push 0x5001
lea ecx, [ebp - 0x58]
call fcn.0046af70
push eax
lea ecx, [ebp - 0x90]
call fcn.005101bb
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5c]
call fcn.0046af70
push eax
lea ecx, [ebp - 0x90]
call fcn.0051086f
lea ecx, [ebp - 0x90]
call fcn.00510357
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x90]
call fcn.0051020e
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.004071f0
lea ecx, [ebp - 0x54]
call fcn.0046af70
push eax
lea ecx, [ebp - 0x5c]
call fcn.0046af70
push eax
push 0x69e048
lea ecx, [ebp - 0x60]
call fcn.0046af70
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x1c
call fcn.004a1610
mov byte [ebp - 0x39], al
movzx eax, byte [ebp - 0x3a]
test eax, eax
je 0x472fe7
push str.PSDump.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 - 0x54]
call fcn.0046af70
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
movzx ecx, byte [ebp - 0x39]
test ecx, ecx
je 0x47300e
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
lea ecx, [ebp - 0x54]
call fcn.0046af70
push eax
call fcn.00475260
mov byte [ebp - 0x39], al
jmp 0x473017
mov edx, dword [ebp + 0x20]
mov dword [edx], 0x3e8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.004071f0
jmp 0x47302e
mov eax, dword [ebp + 0x20]
mov dword [eax], 0x3e8
lea ecx, [ebp - 0x54]
call fcn.0046af70
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov cl, byte [ebp - 0x39]
mov byte [ebp - 0x3b], cl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.004071f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.004071f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.004071f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0043f460
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.0062dc28
mov esp, ebp
pop ebp
ret 0x1c