Function at 0x41a360
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4a4
mov eax, dword [0x4543e4]
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 + 0x20], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 2
mov word [esp + 0x34], dx
call fcn.0041a740
mov eax, dword [ebx + 0x3c]
mov esi, dword [eax]
add esp, 4
cmp esi, eax
je 0x41a5a7
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x2a4]
push 0x104
push ecx
call fcn.0042e563
mov eax, dword [esi + 0x28]
add eax, 0x1c
mov ebx, 8
add esp, 0xc
cmp dword [eax + 0x14], ebx
jb 0x41a3ee
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 0x44bbe8
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 0x41a426
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 0x41a44c
mov eax, dword [eax]
mov ebx, dword [esp + 0x10]
push eax
push str.__Extracting_INF__s
call fcn.0041a740
mov eax, 1
add esp, 8
mov dword [esp + 0x14], eax
mov edi, 0x448b00
lea esp, [esp]
mov ecx, dword [esi + 0x28]
test dword [ecx + 0x70], eax
je 0x41a54b
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x9c]
push 0x104
push eax
call fcn.0042e563
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 0x41a4e2
mov eax, dword [esi + 0x28]
add eax, 0x1c
cmp dword [eax + 0x14], 8
jb 0x41a4d0
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 0x41a4f0
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.0041a740
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 0x41a5be
mov eax, dword [esp + 0x14]
add eax, eax
add edi, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x41a470
cmp byte [esi + 0x2d], al
jne 0x41a59a
mov ecx, dword [esi + 8]
cmp byte [ecx + 0x2d], al
jne 0x41a57f
mov eax, dword [ecx]
cmp byte [eax + 0x2d], 0
jne 0x41a57b
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x2d], 0
je 0x41a571
mov esi, ecx
jmp 0x41a59a
mov eax, dword [esi + 4]
cmp byte [eax + 0x2d], 0
jne 0x41a598
cmp esi, dword [eax + 8]
jne 0x41a598
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x2d], 0
je 0x41a588
mov esi, eax
mov eax, dword [esp + 0x10]
cmp esi, dword [eax + 0x3c]
jne 0x41a3c2
mov ecx, dword [esp + 0x4ac]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042e4c9
mov esp, ebp
pop ebp
ret 4
push 0x2d0
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, str.Hardware.cpp
mov ebx, str.SHFileOperation_returned_an_error__Code_is_not_always_a_Win32_code_.
call fcn.00407e60
push 0x44f264
lea edx, [esp + 0x44]
push edx
call fcn.0042fed2
int3