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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x490
mov eax, dword [0x4624c8]
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.00417300
mov eax, dword [ebx + 0x38]
add esp, 8
mov esi, dword [eax]
cmp esi, eax
je 0x416f4a
push edi
push dword [ebp - 0x46c]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.004319e1
mov eax, dword [esi + 0x28]
add esp, 0xc
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x416d09
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 0x457ba8
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 0x416d37
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
cmp eax, 0x104
jae 0x416d6d
lea ecx, [ecx*2 + 2]
cmp ecx, 0x208
jae 0x416f5c
xor eax, eax
mov word [ebp + ecx - 0x414], ax
mov eax, dword [esi + 0x28]
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x416d7b
mov eax, dword [eax]
push eax
push str.__Extracting_INF__s
push ebx
call fcn.00417300
add esp, 0xc
mov dword [ebp - str.W2K16_x64], 0x454778
mov edi, 0x100000
lea esp, [esp]
mov eax, dword [esi + 0x28]
xor ebx, ebx
test dword [eax + 0x60], edi
je 0x416eeb
push dword [ebp - 0x470]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004319e1
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 0x416e1e
mov eax, dword [esi + 0x28]
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x416e09
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 0x416e27
sub eax, edx
sar eax, 1
lea ecx, [eax + 1]
cmp ecx, 0x104
jae 0x416e5d
lea eax, [eax*2 + 2]
cmp eax, 0x208
jae 0x416f5c
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 0x416eba
lea eax, [ebp - 0x20c]
push eax
push str._____s
push dword [ebp - 0x464]
call fcn.00417300
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 0x416f61
mov eax, dword [ebp - 0x464]
cmp dword [eax + 0x3c], 1
jbe 0x416eeb
test ebx, ebx
jle 0x416eeb
mov eax, dword [esi + 0x28]
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x416ed8
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x46c]
call fcn.00416f90
sub dword [ebp - 0x468], 0xc
sar edi, 1
jne 0x416da0
cmp byte [esi + 0xd], 0
jne 0x416f3a
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x416f1f
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x416f3a
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x416f13
jmp 0x416f3a
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x416f38
cmp esi, dword [eax + 8]
jne 0x416f38
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x416f28
mov esi, eax
mov ebx, dword [ebp - 0x464]
cmp esi, dword [ebx + 0x38]
jne 0x416cdb
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00430d5f
mov esp, ebp
pop ebp
ret 8
call fcn.004328dd
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.00402ee0
push 0x45f830
lea eax, [ebp - 0x460]
push eax
call fcn.004337ab
int3