Function at 0x4726b0
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65ad99
mov eax, dword fs:[0]
push eax
sub esp, 0x88
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_RNS
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 + 0x14]
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 - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x47276d
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 + 0x14]
push eax
call fcn.00411e80
add esp, 0xc
cmp dword [ebp + 0x18], 0
je 0x472787
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.0062eae8
add esp, 4
imul edx, eax, 5
mov dword [ebp - 0x64], edx
jmp 0x47278e
mov dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x40], eax
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 - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x4727ec
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 + 0x18]
push eax
call fcn.00411e80
add esp, 0xc
lea ecx, [ebp - 0x58]
call fcn.00407030
mov byte [ebp - 4], 2
cmp dword [ebp - 0x48], 0
je 0x472806
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x6c], ecx
jmp 0x47280d
mov dword [ebp - 0x6c], 0x69d4b4
cmp dword [ebp - 0x44], 0
je 0x47281b
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x68], edx
jmp 0x472822
mov dword [ebp - 0x68], 0x69d4b8
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._registerNewSystem_xmlns_http:__ipmwebservices.corel.com_v1___registerNewSystemRequest_profileId__s__serialNumber__s__hardwareFingerprint__s___machineName__s__classification__s__xmlns_______registerNewSystem_
lea edx, [ebp - 0x58]
push edx
call fcn.00407ff0
add esp, 0x1c
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
push ecx
call fcn.00504e94
add esp, 4
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x74]
push eax
call fcn.00504e94
add esp, 4
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx]
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 0x4729eb
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 0x47295d
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x5c]
call fcn.00406e10
mov byte [ebp - 4], 5
push str.RequestRNSDump.txt
push 0x104
lea ecx, [ebp - 0x5c]
call fcn.00408130
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x5c]
call fcn.00408770
push 0x5001
lea ecx, [ebp - 0x5c]
call fcn.0046af70
push eax
lea ecx, [ebp - 0x94]
call fcn.005101bb
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.0046af70
push eax
lea ecx, [ebp - 0x94]
call fcn.0051086f
lea ecx, [ebp - 0x94]
call fcn.00510357
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x94]
call fcn.0051020e
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
call fcn.004071f0
lea ecx, [ebp - 0x54]
call fcn.0046af70
push eax
lea ecx, [ebp - 0x58]
call fcn.0046af70
push eax
push 0x69d8d4
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 0x4729d0
push 0x69d980
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]
lea ecx, [ebp - 0x54]
call fcn.0046af70
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.004071f0
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 - 0x58]
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 0x14