Function at 0x470060
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x638259
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
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 - 0x48], ecx
push 0x6791f8
lea ecx, [ebp - 0x38]
call fcn.00449f50
mov dword [ebp - 4], 0
mov byte [ebp - 0x39], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00610037
add esp, 4
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00610037
add esp, 4
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x9c], 0
je 0x4700dc
cmp dword [ebp - 0x88], 0
jne 0x470111
push str.1005
mov ecx, dword [ebp + 0x34]
call fcn.004551a0
push str.Error:_Invalid_credentials.
mov ecx, dword [ebp + 0x34]
call fcn.00455250
mov byte [ebp - 0x4a], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0044a010
mov al, byte [ebp - 0x4a]
jmp 0x4707b1
lea edx, [ebp - 0x60]
push edx
call fcn.00436a10
mov byte [ebp - 4], 1
imul eax, dword [ebp - 0x9c], 5
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 - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x470186
mov ecx, dword [ebp - 0x40]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [ebp - 0x54]
push eax
call fcn.0060f700
add esp, 0xc
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00410ef0
add esp, 0xc
imul ecx, dword [ebp - 0x88], 5
mov dword [ebp - 0x40], ecx
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 - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x4701ee
mov ecx, dword [ebp - 0x40]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [ebp - 0x58]
push eax
call fcn.0060f700
add esp, 0xc
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00410ef0
add esp, 0xc
cmp dword [ebp + 0x20], 0
je 0x470208
mov ecx, dword [ebp + 0x20]
push ecx
call fcn.00610037
add esp, 4
imul edx, eax, 5
mov dword [ebp - 0x80], edx
jmp 0x47020f
mov dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x80]
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 - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x470273
mov ecx, dword [ebp - 0x40]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [ebp - 0x5c]
push eax
call fcn.0060f700
add esp, 0xc
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp + 0x20]
push eax
call fcn.00410ef0
add esp, 0xc
push 0x67924c
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x48]
mov eax, dword [edx + 0x34]
call eax
push eax
push SysReAllocStringLen
lea ecx, [ebp - 0xd8]
push ecx
call fcn.0040d770
add esp, 0x10
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0xa0], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xa0]
call fcn.00419160
push eax
lea ecx, [ebp - 0x94]
call fcn.004065a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xd8]
call fcn.00418cc0
lea ecx, [ebp - 0x6c]
call fcn.00406700
mov byte [ebp - 4], 5
cmp dword [ebp - 0x5c], 0
je 0x4702f3
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x98], eax
jmp 0x4702fd
mov dword [ebp - 0x98], 0x67925c
cmp dword [ebp - 0x58], 0
je 0x47030e
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x90], ecx
jmp 0x470318
mov dword [ebp - 0x90], 0x679260
cmp dword [ebp - 0x54], 0
je 0x470329
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x84], edx
jmp 0x470333
mov dword [ebp - 0x84], 0x679264
lea ecx, [ebp - 0x94]
call fcn.004a7500
push eax
mov eax, dword [ebp + 0x30]
push eax
mov ecx, dword [ebp + 0x2c]
push ecx
mov edx, dword [ebp + 0x28]
push edx
mov eax, dword [ebp + 0x24]
push eax
mov ecx, dword [ebp - 0x98]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
push str._authenticateUser_xmlns_http:__ipmwebservices.corel.com_v1___authenticateUserRequest_userId__s__password__s__licenseId__s__sourceId__s__serialNumber__s__hardwareFingerprint__s__machineName__s__langCode__s__productVersion__s__doAssociation_true__regTrackingId__s__subscriptionId__s__xmlns___poffer__s______authenticateUser_
lea edx, [ebp - 0x6c]
push edx
call fcn.004076f0
add esp, 0x38
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
push ecx
call fcn.004e69f4
add esp, 4
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp - 0xb8]
push eax
call fcn.004e69f4
add esp, 4
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0xcc], ecx
mov edx, dword [ebp - 0xcc]
push edx
call fcn.004e69f4
add esp, 4
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x48]
mov eax, dword [edx + 0x34]
call eax
push eax
lea ecx, [ebp - 0x7c]
push ecx
call fcn.00468880
mov byte [ebp - 4], 6
push 0
lea ecx, [ebp - 0x7c]
call fcn.004a7500
push eax
call fcn.00468980
movzx edx, al
test edx, edx
je 0x470721
lea ecx, [ebp - 0x50]
call fcn.00406700
mov byte [ebp - 4], 7
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x48]
mov eax, dword [edx + 0x34]
call eax
push eax
call fcn.00436b90
mov byte [ebp - 0x41], al
movzx ecx, byte [ebp - 0x41]
test ecx, ecx
je 0x47060b
lea edx, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x68]
call fcn.004064e0
mov byte [ebp - 4], 8
call fcn.0043a2a0
cmp eax, 4
jge 0x470575
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x64]
call fcn.004064e0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x64]
call fcn.00407b60
push 0
push 0x67950c
lea ecx, [ebp - 0x64]
call fcn.00407530
mov dword [ebp - 0xa4], eax
push 0x679520
lea ecx, [ebp - 0x64]
call fcn.004a7500
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.00468a70
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x70]
call fcn.00407940
movzx edx, al
test edx, edx
jne 0x47055d
mov eax, dword [ebp - 0xa4]
add eax, 8
push eax
lea ecx, [ebp - 0x70]
call fcn.004a7500
push eax
lea ecx, [ebp - 0x64]
call fcn.00407530
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
push ecx
lea edx, [ebp - 0x74]
push edx
lea ecx, [ebp - 0x68]
call fcn.004079d0
mov byte [ebp - 4], 0xb
push 0x679534
lea ecx, [ebp - 0x74]
call fcn.0040c280
lea ecx, [ebp - 0x70]
call fcn.004078a0
add eax, dword [ebp - 0x8c]
push eax
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x68]
call fcn.00435700
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xb4], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0xb4]
push edx
lea ecx, [ebp - 0x74]
call fcn.0040c260
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbc]
call fcn.004068c0
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x68]
call fcn.00406b80
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x74]
call fcn.004068c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x70]
call fcn.004068c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x64]
call fcn.004068c0
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x78]
call fcn.004064e0
mov byte [ebp - 4], 0xd
push str.RequestAUDump.txt
push 0x104
lea ecx, [ebp - 0x78]
call fcn.00407830
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x78]
call fcn.00407e70
push 0x5001
lea ecx, [ebp - 0x78]
call fcn.004a7500
push eax
lea ecx, [ebp - 0xf0]
call fcn.004f1cee
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x68]
call fcn.004a7500
push eax
lea ecx, [ebp - 0xf0]
call fcn.004f238c
lea ecx, [ebp - 0xf0]
call fcn.004f1e8a
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xf0]
call fcn.004f1d41
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x78]
call fcn.004068c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x68]
call fcn.004068c0
lea ecx, [ebp - 0x60]
call fcn.004a7500
push eax
lea ecx, [ebp - 0x6c]
call fcn.004a7500
push eax
push 0x679560
lea ecx, [ebp - 0x7c]
call fcn.004a7500
push eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x1c
call fcn.0049d2b0
mov byte [ebp - 0x39], al
movzx edx, byte [ebp - 0x41]
test edx, edx
je 0x47067e
push str.AuthenticateUDump.txt
push 0x104
lea ecx, [ebp - 0x50]
call fcn.00407830
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x50]
call fcn.00407e70
push 0
lea ecx, [ebp - 0x50]
call fcn.004a7500
push eax
lea ecx, [ebp - 0x60]
call fcn.004a7500
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x4706dd
mov ecx, dword [ebp + 0x34]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x60]
call fcn.004a7500
push eax
call fcn.00472530
mov byte [ebp - 0x39], al
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x4706db
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x48]
mov eax, dword [edx + 0x34]
call eax
push eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x48]
mov eax, dword [edx + 0x3c]
call eax
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0x34]
call fcn.004559a0
jmp 0x470713
push 0
mov ecx, dword [ebp + 0x34]
call fcn.00454cb0
mov ecx, dword [ebp + 0x34]
call fcn.00454160
push 1
mov ecx, dword [ebp + 0x34]
call fcn.00454750
push 0x679590
mov ecx, dword [ebp + 0x34]
call fcn.004551a0
push 0x679598
mov ecx, dword [ebp + 0x34]
call fcn.00455250
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50]
call fcn.004068c0
jmp 0x470757
push 0
mov ecx, dword [ebp + 0x34]
call fcn.00454cb0
mov ecx, dword [ebp + 0x34]
call fcn.00454160
push 1
mov ecx, dword [ebp + 0x34]
call fcn.00454750
push str.1000
mov ecx, dword [ebp + 0x34]
call fcn.004551a0
push str.communication_error__offline_
mov ecx, dword [ebp + 0x34]
call fcn.00455250
lea ecx, [ebp - 0x60]
call fcn.004a7500
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dl, byte [ebp - 0x39]
mov byte [ebp - 0x49], dl
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x7c]
call fcn.004068c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x6c]
call fcn.004068c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.004068c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.004068c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0044a010
mov al, byte [ebp - 0x49]
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 0x30