Function at 0x42f2f0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0541
mov eax, dword fs:[0]
push eax
sub esp, 0xd88
mov eax, dword [0x4c9890]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0xca4], ebx
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0xca0], esi
mov dword [ebp - 0xc98], eax
cmp dword [ebx + 0x112c], eax
je 0x42f4d5
push 0x206
push eax
mov word [ebp - 0x42c], ax
lea eax, [ebp - 0x42a]
push eax
call fcn.004866f0
lea ecx, [ebx + 0x14]
lea edx, [ebp - 0x42c]
add esp, 0xc
sub edx, ecx
lea ecx, [ecx]
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x42f370
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x224], ax
lea eax, [ebp - 0x222]
push eax
call fcn.004866f0
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x224]
push str._s_redirect_upload
push eax
call fcn.00424c20
add esp, 0x18
lea eax, [ebp - 0x224]
push eax
mov ecx, ebx
call fcn.0042e7c0
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x1a], eax
mov word [ebp - 0xc44], ax
lea eax, [ebp - 0xc42]
push eax
call fcn.004866f0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x83c], ax
lea eax, [ebp - 0x83a]
push eax
call fcn.004866f0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xa44], ax
lea eax, [ebp - 0xa42]
push eax
call fcn.004866f0
push 0x104
lea eax, [ebp - 0xa44]
push eax
push 0x104
lea eax, [ebp - 0x83c]
push eax
push 0x100
lea eax, [ebp - 0xc44]
push eax
push 3
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.0048ab93
add esp, 0x48
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x634], ax
lea eax, [ebp - 0x632]
push eax
call fcn.004866f0
lea eax, [ebp - 0xa44]
push eax
lea eax, [ebp - 0x83c]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x634]
push str._s_s_s
push eax
call fcn.00424c20
add esp, 0x20
lea eax, [ebp - 0x634]
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, eax
test esi, esi
jne 0x42f4c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Copyfile_error___d
call fcn.00422d70
add esp, 8
xor eax, eax
test esi, esi
sete al
jmp 0x42f850
lea ecx, [ebp - 0xd94]
call fcn.00434bf0
xor edi, edi
push 1
lea ecx, [ebp - 0xd94]
mov dword [ebp - 4], 0
mov dword [ebp - 0xc9c], edi
call fcn.00436cc0
push 1
lea ecx, [ebp - 0xd94]
call fcn.00436cb0
test esi, esi
jne 0x42f511
xor eax, eax
jmp 0x42f551
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42f516
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jle 0x42f532
xor eax, eax
jmp 0x42f551
lea esi, [ecx + ecx]
mov eax, esi
call fcn.0048aea0
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push esi
mov esi, dword [ebp - 0xca0]
push esi
push eax
call fcn.004264f0
push 1
push eax
push str.FILE
lea ecx, [ebp - 0xd94]
call fcn.004355f0
push 0
push str.json
push str.format
lea ecx, [ebp - 0xd94]
call fcn.004355f0
push esi
push str.CInternal::uploadLog
push str._UNO___s__BeginUpload__s
call fcn.00422df0
add esp, 0xc
mov eax, 0x54
mov byte [ebp - 4], 1
call fcn.0048aea0
mov dword [ebp - 0x10], esp
cmp dword [ebx + 0x106c], 0
mov eax, esp
push 3
jne 0x42f5b5
push 0x52
push str.http:__dna.cyberlink.com_dna_sendlog.jsp
jmp 0x42f5bc
push 0x54
push str.https:__dna.cyberlink.com_dna_sendlog.jsp
push eax
call fcn.004264f0
push 0
push eax
lea ecx, [ebp - 0xd94]
call fcn.00435b80
test edi, edi
jne 0x42f5ee
push 0x400
lea ecx, [ebp - 0xd94]
call fcn.00436ad0
mov edi, eax
mov dword [ebp - 0xc9c], edi
jmp 0x42f5d0
push 0x104
call fcn.0048614e
add esp, 4
mov ebx, eax
push 0x103
push ebx
mov ecx, edi
mov dword [ebp - 0xca0], ebx
call fcn.00436b00
mov esi, eax
push esi
push str.CInternal::uploadLog
push str._UNO___s__server_response_size____d
mov byte [esi + ebx], 0
call fcn.00422df0
add esp, 0xc
test esi, esi
je 0x42f7bb
push 0
push 0x400
push 0
lea ecx, [ebp - 0xc94]
mov byte [ebp - 4], 2
call fcn.00424c80
mov dword [ebp - 0xc48], 0xf
mov dword [ebp - 0xc4c], 0
mov byte [ebp - 0xc5c], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xc94]
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.00423ea0
cmp dword [eax + 0x30], 0
jne 0x42f736
mov esi, dword [ebp - 0xc94]
push str.Result
lea eax, [ebp - 0x18]
shl esi, 5
add esi, dword [ebp - 0xc8c]
push eax
lea ecx, [ebp - 0xc94]
call fcn.00426ed0
cmp dword [eax], esi
je 0x42f740
push str.Result
lea ecx, [ebp - 0xc94]
call fcn.00422eb0
mov ecx, 0x1000
test word [eax + 0xe], cx
jne 0x42f6d0
mov eax, dword [eax + 8]
push eax
lea ecx, [ebp - 0xc5c]
call fcn.00411a80
lea eax, [ebp - 0xc5c]
push str.SUCCESS
push eax
call fcn.00422e70
add esp, 8
test al, al
je 0x42f700
mov dword [ebp - 0xc98], 6
jmp 0x42f740
mov eax, dword [ebp - 0xca4]
cmp dword [eax + 0x1058], 1
jne 0x42f740
mov dword [eax + 0x1058], 0
add eax, 0x62c
push eax
push 0x4a8ca4
push str.init
push 0x4ae33c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x42f740
mov dword [ebp - 0xc98], 5
cmp dword [ebp - 0xc48], 0x10
jb 0x42f757
push dword [ebp - 0xc5c]
call fcn.00486409
add esp, 4
lea ecx, [ebp - 0xc94]
mov dword [ebp - 0xc48], 0xf
mov dword [ebp - 0xc4c], 0
mov byte [ebp - 0xc5c], 0
mov byte [ebp - 4], 2
call fcn.00425230
mov esi, dword [ebp - 0xc98]
mov dword [ebp - 4], 1
jmp 0x42f7c0
mov esi, 4
test ebx, ebx
je 0x42f7cd
push ebx
call fcn.004866e2
add esp, 4
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
jmp 0x42f81a
mov eax, str.Fail
mov ecx, str.Success
test esi, esi
cmovne ecx, eax
push ecx
push str.CInternal::uploadLog
push str._UNO___s___s
mov dword [ebp - 4], 0
call fcn.00422df0
add esp, 0xc
lea ecx, [ebp - 0xd94]
call fcn.00434f20
mov eax, esi
lea esp, [ebp - 0xda4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00487c50
mov esp, ebp
pop ebp
ret 4