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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x494
mov eax, dword [0x477070]
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 - 0x474], eax
mov eax, 0x614
push str.Extracting_drivers_per_MUP_requirement
push ebx
mov dword [ebp - 0x464], ebx
mov dword [ebp - 0x494], 0
mov dword [ebp - 0x490], 2
mov word [ebp - 0x484], ax
call fcn.004224c0
mov eax, dword [ebx + 0x38]
add esp, 8
mov esi, dword [eax]
mov dword [ebp - 0x470], esi
cmp esi, eax
je 0x422240
push edi
push dword [ebp - 0x46c]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0043efc6
mov eax, dword [esi + 0x28]
add esp, 0xc
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x42202f
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 0x46c048
lea eax, [ebp - 0x414]
push eax
call edi
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422060
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
cmp eax, 0x104
jae 0x422096
lea ecx, [ecx*2 + 2]
cmp ecx, 0x208
jae 0x422252
xor eax, eax
mov word [ebp + ecx - 0x414], ax
mov eax, dword [esi + 0x28]
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x4220a4
mov eax, dword [eax]
push eax
push str.__Extracting_INF__s
push ebx
call fcn.004224c0
add esp, 0xc
mov dword [ebp - str.W2K16_x64], 0x467938
mov edi, 0x100000
mov eax, dword [esi + 0x28]
xor ebx, ebx
test dword [eax + 0x60], edi
je 0x422210
push dword [ebp - 0x474]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0043efc6
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 0x422140
mov eax, dword [esi + 0x28]
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x42212b
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]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x422150
sub eax, edx
sar eax, 1
lea ecx, [eax + 1]
cmp ecx, 0x104
jae 0x422186
lea eax, [eax*2 + 2]
cmp eax, 0x208
jae 0x422252
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 0x4221df
lea eax, [ebp - 0x20c]
push eax
push str._____s
push dword [ebp - 0x464]
call fcn.004224c0
lea eax, [ebp - 0x414]
add esp, 0xc
mov dword [ebp - 0x48c], eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x488], eax
lea eax, [ebp - 0x494]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, 1
test eax, eax
jne 0x422257
mov eax, dword [ebp - 0x464]
cmp dword [eax + 0x3c], 1
jbe 0x422210
test ebx, ebx
jle 0x422210
mov eax, dword [esi + 0x28]
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x4221fd
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x46c]
call fcn.00422290
sub dword [ebp - 0x468], 0xc
sar edi, 1
jne 0x4220c2
lea ecx, [ebp - 0x470]
call fcn.00403ed0
mov ebx, dword [ebp - 0x464]
mov esi, dword [ebp - 0x470]
cmp esi, dword [ebx + 0x38]
jne 0x422001
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00436666
mov esp, ebp
pop ebp
ret 8
call fcn.00436fd4
push 0x3ca
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.004016d0
push 0x474bb0
lea eax, [ebp - 0x460]
push eax
call fcn.00439290
int3