Function at 0x408300
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ab38
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x47900c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x38], eax
mov al, byte [ebx + 0x14]
mov byte [ebp - 0x30], al
xor eax, eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push dword [ebp - 0x30]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x58]
push ecx
push eax
call fcn.0040a530
mov esi, eax
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x4083f1
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4083bf
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4083b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40859b
push edx
push ecx
call fcn.00434541
add esp, 8
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x40842b
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408421
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40859b
push edx
push ecx
call fcn.00434541
add esp, 8
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x40]
cmovae eax, dword [ebp - 0x2c]
cmp dword [ecx + 0x14], 8
jb 0x408441
mov ecx, dword [ecx]
push 0x800
push 0
push 0
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
test eax, eax
jne 0x408464
mov esi, 0x103
mov eax, str.Copy_file_to_repository_failed___n
jmp 0x4084a5
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0x80
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x40848b
mov esi, 0x103
mov eax, str.failed_removing_all_attributes_from_file_n
jmp 0x4084a5
push dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push dword [ebp - 0x38]
push eax
call fcn.004098c0
mov esi, eax
test esi, esi
je 0x4084e8
mov eax, str.prepareInstallFromFile__:_Failed_to_get_applet_blobs_from_dalp_file._n
push eax
call fcn.00402c70
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x408543
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.0043ea74
add esp, 8
test eax, eax
jne 0x408543
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.0043eb32
add esp, 4
jmp 0x408543
push 0xffffffffffffffff
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x34]
mov ecx, edi
call fcn.00409300
test al, al
jne 0x40850a
mov dword [ebp - 0x30], 0
jmp 0x408519
push dword [ebp - 0x34]
mov ecx, edi
call fcn.0040b360
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [ebp - 0x30], 0
jne 0x408543
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 1
push eax
push dword [ebp - 0x34]
mov ecx, edi
mov word [ebp - 0x38], 0
call fcn.00408cb0
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x408579
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40856f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4085a0
push edx
push ecx
call fcn.00434541
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00434098
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.0043e4ec
call fcn.0043e4ec
int3