Function at 0x41e2f0
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x490
mov eax, dword [0x45f4c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x46c], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x470], eax
mov eax, 0x614
push str.Extracting_drivers_per_MUP_requirement
push ebx
mov dword [ebp - 0x464], ebx
mov dword [ebp - 0x490], 0
mov dword [ebp - 0x48c], 2
mov word [ebp - 0x480], ax
call fcn.0041e840
mov eax, dword [ebx + 0x38]
add esp, 8
mov esi, dword [eax]
cmp esi, eax
je 0x41e5ca
push edi
push dword [ebp - 0x46c]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0042ffd1
mov eax, dword [esi + 0x28]
add esp, 0xc
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x41e389
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x414]
push eax
call edi
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x455c48
lea eax, [ebp - 0x414]
push eax
call edi
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e3b7
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
cmp eax, 0x104
jae 0x41e3ed
lea ecx, [ecx*2 + 2]
cmp ecx, 0x208
jae 0x41e5dc
xor eax, eax
mov word [ebp + ecx - 0x414], ax
mov eax, dword [esi + 0x28]
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x41e3fb
mov eax, dword [eax]
push eax
push str.__Extracting_INF__s
push ebx
call fcn.0041e840
add esp, 0xc
mov dword [ebp - str.W2K16_x64], 0x451da8
mov edi, 0x100000
lea esp, [esp]
mov eax, dword [esi + 0x28]
xor ebx, ebx
test dword [eax + 0x60], edi
je 0x41e56b
push dword [ebp - 0x470]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0042ffd1
add esp, 0xc
lea eax, [ebp - 0x20c]
push str.Production
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [ebp - 0x468]
push dword [eax]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [ebp - 0x464]
cmp dword [eax + 0x3c], 1
jbe 0x41e49e
mov eax, dword [esi + 0x28]
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x41e489
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41e4a7
sub eax, edx
sar eax, 1
lea ecx, [eax + 1]
cmp ecx, 0x104
jae 0x41e4dd
lea eax, [eax*2 + 2]
cmp eax, 0x208
jae 0x41e5dc
xor ecx, ecx
mov word [ebp + eax - 0x20c], cx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41e53a
lea eax, [ebp - 0x20c]
push eax
push str._____s
push dword [ebp - 0x464]
call fcn.0041e840
lea eax, [ebp - 0x414]
add esp, 0xc
mov dword [ebp - 0x488], eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x484], eax
lea eax, [ebp - 0x490]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, 1
test eax, eax
jne 0x41e5e1
mov eax, dword [ebp - 0x464]
cmp dword [eax + 0x3c], 1
jbe 0x41e56b
test ebx, ebx
jle 0x41e56b
mov eax, dword [esi + 0x28]
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x41e558
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x46c]
call fcn.0041e610
sub dword [ebp - 0x468], 0xc
sar edi, 1
jne 0x41e420
cmp byte [esi + 0xd], 0
jne 0x41e5ba
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x41e59f
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x41e5ba
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x41e593
jmp 0x41e5ba
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x41e5b8
cmp esi, dword [eax + 8]
jne 0x41e5b8
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x41e5a8
mov esi, eax
mov ebx, dword [ebp - 0x464]
cmp esi, dword [ebx + 0x38]
jne 0x41e35b
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042f51f
mov esp, ebp
pop ebp
ret 8
call fcn.004314c3
push 0x3cc
push str.Hardware.cpp
push str.SHFileOperation_returned_an_error__Code_is_not_always_a_Win32_code_.
push eax
lea ecx, [ebp - 0x460]
call fcn.00407310
push 0x45d2ac
lea eax, [ebp - 0x460]
push eax
call fcn.00431dcb
int3