Function at 0x41e834
Capabilities:
Copy file
Set file attributes

Disassembly:
push 0x30
mov eax, 0x485aae
call fcn.0048062c
push dword [ebp + 8]
lea edi, [ebp - 0x1c]
call fcn.00408185
pop ecx
xor ebx, ebx
lea edi, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.004090cb
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x1c]
lea eax, [esi - 0x10]
mov dword [ebp - 0x2c], eax
call fcn.00402441
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 2
call fcn.0041fcdd
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004024a3
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], ebx
je 0x41ea5e
call fcn.0040903f
test eax, eax
je 0x41e8b6
push ebx
call fcn.00409df2
pop ecx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040c38f
mov eax, dword [eax]
pop ecx
pop ecx
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040214e
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040c38f
mov eax, dword [eax]
pop ecx
pop ecx
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040214e
test ebx, ebx
jne 0x41e943
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040c38f
pop ecx
pop ecx
push dword [ebp + 8]
mov byte [ebp - 4], 4
mov eax, dword [eax]
push eax
call fcn.0041ea88
mov ebx, eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.0040214e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 8], eax
call fcn.0040903f
test eax, eax
je 0x41e95d
push 1
call fcn.00409df2
pop ecx
cmp dword [0x4b5044], 0
je 0x41e9dd
lea eax, [ebp - 0x1c]
push eax
call fcn.0041fc66
test eax, eax
je 0x41e9dd
mov eax, dword [0x4b457c]
mov esi, 0x4b457c
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov ecx, esi
lea esi, [ebp - 0x38]
mov dword [ebp - 0x3c], eax
call fcn.00402112
xor esi, esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x1c]
lea edi, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.004024a3
lea eax, [ebp - 0x14]
lea edi, [ebp - 0x38]
call fcn.004024a3
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], esi
call fcn.00403cc4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
call fcn.0040214e
test ebx, ebx
mov esi, 0x497e70
je 0x41e9eb
mov esi, 0x497e38
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040c38f
push esi
mov byte [ebp - 4], 6
push dword [eax]
push 0x497e48
call fcn.00412193
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28]
add esp, 0x14
add eax, 0xfffffff0
call fcn.0040214e
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040c38f
mov byte [ebp - 4], 7
push dword [eax]
mov esi, 0x4b4d74
push dword [ebp + 8]
push ebx
push str.KChannel::UpdateDriverFile_return:_d__error:_d__path:_ws
call fcn.00411a60
mov eax, dword [ebp - 0x28]
add esp, 0x18
add eax, 0xfffffff0
call fcn.0040214e
test ebx, ebx
jne 0x41ea5e
mov esi, dword [ebp + 8]
jmp 0x41ea60
xor esi, esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [ebp - 0x2c]
call fcn.0040214e
mov eax, esi
call fcn.00480704
ret 4