Function at 0x420070
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4a4
mov eax, dword [0x4533e4]
xor eax, esp
mov dword [esp + 0x4a0], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, edx
push edi
mov edx, 0x614
push str.Extracting_drivers_per_MUP_requirement
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 2
mov word [esp + 0x34], dx
call fcn.00420520
mov eax, dword [ebx + 0x3c]
mov esi, dword [eax]
add esp, 4
cmp esi, eax
je 0x4202e6
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x2a4]
push 0x104
push ecx
call fcn.0042cbdd
mov eax, dword [esi + 0x28]
add eax, 0x1c
mov ebx, 8
add esp, 0xc
cmp dword [eax + 0x14], ebx
jb 0x4200fe
mov eax, dword [eax]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push eax
lea edx, [esp + 0x2a4]
push edx
call edi
lea eax, [esp + 0x2a0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x44ad90
lea ecx, [esp + 0x2a4]
push ecx
call edi
lea eax, [esp + 0x2a0]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x420136
sub eax, edx
sar eax, 1
xor edx, edx
mov word [esp + eax*2 + 0x2a2], dx
mov eax, dword [esi + 0x28]
add eax, 0x1c
cmp dword [eax + 0x14], ebx
jb 0x42015c
mov eax, dword [eax]
mov ebx, dword [esp + 0x10]
push eax
push str.__Extracting_INF__s
call fcn.00420520
mov eax, 1
add esp, 8
mov dword [esp + 0x18], eax
mov edi, 0x4470c8
lea esp, [esp]
mov ecx, dword [esi + 0x28]
test dword [ecx + 0x70], eax
je 0x420284
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x9c]
push 0x104
push eax
call fcn.0042cbdd
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0xc
push str.Production
lea ecx, [esp + 0x9c]
push ecx
call ebx
mov edx, dword [edi]
push edx
lea eax, [esp + 0x9c]
push eax
call ebx
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x40], 1
jbe 0x4201f2
mov eax, dword [esi + 0x28]
add eax, 0x1c
cmp dword [eax + 0x14], 8
jb 0x4201e0
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea edx, [esp + 0x9c]
push edx
call ebx
lea eax, [esp + 0x98]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x420200
mov ebx, dword [esp + 0x10]
sub eax, edx
lea edx, [esp + 0x98]
push edx
sar eax, 1
xor ecx, ecx
push str._____s
mov word [esp + eax*2 + 0xa2], cx
call fcn.00420520
add esp, 8
lea edx, [esp + 0x20]
lea eax, [esp + 0x2a0]
lea ecx, [esp + 0x98]
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x4202fd
mov eax, ebx
cmp dword [eax + 0x40], 1
jbe 0x420284
mov eax, dword [esi + 0x28]
add eax, 0x1c
cmp dword [eax + 0x14], 8
jb 0x420271
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
push ecx
mov edx, eax
lea ecx, [esp + 0x9c]
call fcn.00420330
mov eax, dword [esp + 0x18]
add eax, eax
add edi, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne 0x420180
cmp byte [esi + 0x2d], al
jne 0x4202d9
mov ecx, dword [esi + 8]
cmp byte [ecx + 0x2d], al
jne 0x4202be
mov eax, dword [ecx]
cmp byte [eax + 0x2d], 0
jne 0x4202ba
mov edi, edi
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x2d], 0
je 0x4202b0
mov esi, ecx
jmp 0x4202d9
mov eax, dword [esi + 4]
cmp byte [eax + 0x2d], 0
jne 0x4202d7
cmp esi, dword [eax + 8]
jne 0x4202d7
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x2d], 0
je 0x4202c7
mov esi, eax
mov edx, dword [esp + 0x10]
cmp esi, dword [edx + 0x3c]
jne 0x4200d2
mov ecx, dword [esp + 0x4ac]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042c039
mov esp, ebp
pop ebp
ret 4
push 0x2ed
push eax
lea eax, [esp + 0x48]
push eax
mov ecx, str.Hardware.cpp
mov ebx, str.SHFileOperation_returned_an_error__Code_is_not_always_a_Win32_code_.
call fcn.00402e10
push 0x44d9ac
lea ecx, [esp + 0x44]
push ecx
call fcn.0042db23
int3