Function at 0x471650
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6383e9
mov eax, dword fs:[0]
push eax
sub esp, 0x88
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 - 0x50], ecx
push str.WS_RNS
lea ecx, [ebp - 0x38]
call fcn.00449f50
mov dword [ebp - 4], 0
mov byte [ebp - 0x39], 0
lea eax, [ebp - 0x54]
push eax
call fcn.00436a10
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00610037
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.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 0x47170d
mov ecx, dword [ebp - 0x40]
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 - 0x40]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.00410ef0
add esp, 0xc
cmp dword [ebp + 0x18], 0
je 0x471727
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00610037
add esp, 4
imul edx, eax, 5
mov dword [ebp - 0x64], edx
jmp 0x47172e
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.004e69f9
add esp, 4
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x47178c
mov ecx, dword [ebp - 0x40]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [ebp - 0x48]
push eax
call fcn.0060f700
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.00410ef0
add esp, 0xc
lea ecx, [ebp - 0x58]
call fcn.00406700
mov byte [ebp - 4], 2
cmp dword [ebp - 0x48], 0
je 0x4717a6
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x6c], ecx
jmp 0x4717ad
mov dword [ebp - 0x6c], 0x67a3ec
cmp dword [ebp - 0x44], 0
je 0x4717bb
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x68], edx
jmp 0x4717c2
mov dword [ebp - 0x68], 0x67a3f0
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.004076f0
add esp, 0x1c
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
push ecx
call fcn.004e69f4
add esp, 4
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x74]
push eax
call fcn.004e69f4
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.00468880
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x60]
call fcn.004a7500
push eax
call fcn.00468980
movzx edx, al
test edx, edx
je 0x47198b
lea ecx, [ebp - 0x4c]
call fcn.00406700
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.00436b90
mov byte [ebp - 0x3a], al
movzx ecx, byte [ebp - 0x3a]
test ecx, ecx
je 0x4718fd
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x5c]
call fcn.004064e0
mov byte [ebp - 4], 5
push str.RequestRNSDump.txt
push 0x104
lea ecx, [ebp - 0x5c]
call fcn.00407830
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x5c]
call fcn.00407e70
push 0x5001
lea ecx, [ebp - 0x5c]
call fcn.004a7500
push eax
lea ecx, [ebp - 0x94]
call fcn.004f1cee
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.004a7500
push eax
lea ecx, [ebp - 0x94]
call fcn.004f238c
lea ecx, [ebp - 0x94]
call fcn.004f1e8a
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x94]
call fcn.004f1d41
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
call fcn.004068c0
lea ecx, [ebp - 0x54]
call fcn.004a7500
push eax
lea ecx, [ebp - 0x58]
call fcn.004a7500
push eax
push 0x67a3f4
lea ecx, [ebp - 0x60]
call fcn.004a7500
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x1c
call fcn.0049d2b0
mov byte [ebp - 0x39], al
movzx eax, byte [ebp - 0x3a]
test eax, eax
je 0x471970
push str.DAHFPDump.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 - 0x54]
call fcn.004a7500
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x54]
call fcn.004a7500
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.004068c0
mov cl, byte [ebp - 0x39]
mov byte [ebp - 0x3b], cl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.004068c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004068c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.004068c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0044a010
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.0060f7c8
mov esp, ebp
pop ebp
ret 0x14