Function at 0x41f810
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 + 0x20], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 2
mov word [esp + 0x34], dx
call fcn.0041faa0
mov eax, dword [ebx + 0x3c]
mov esi, dword [eax]
add esp, 4
cmp esi, eax
je 0x41fa57
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x2a4]
push 0x104
push ecx
call fcn.0042c4dd
mov eax, dword [esi + 0x28]
add eax, 0x1c
mov ebx, 8
add esp, 0xc
cmp dword [eax + 0x14], ebx
jb 0x41f89e
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 0x44a940
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 0x41f8d6
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 0x41f8fc
mov eax, dword [eax]
mov ebx, dword [esp + 0x10]
push eax
push str.__Extracting_INF__s
call fcn.0041faa0
mov eax, 1
add esp, 8
mov dword [esp + 0x14], eax
mov edi, 0x4470b8
lea esp, [esp]
mov ecx, dword [esi + 0x28]
test dword [ecx + 0x70], eax
je 0x41f9fb
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x9c]
push 0x104
push eax
call fcn.0042c4dd
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 0x41f992
mov eax, dword [esi + 0x28]
add eax, 0x1c
cmp dword [eax + 0x14], 8
jb 0x41f980
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 0x41f9a0
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.0041faa0
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 0x41fa6e
mov eax, dword [esp + 0x14]
add eax, eax
add edi, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x41f920
cmp byte [esi + 0x2d], al
jne 0x41fa4a
mov ecx, dword [esi + 8]
cmp byte [ecx + 0x2d], al
jne 0x41fa2f
mov eax, dword [ecx]
cmp byte [eax + 0x2d], 0
jne 0x41fa2b
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x2d], 0
je 0x41fa21
mov esi, ecx
jmp 0x41fa4a
mov eax, dword [esi + 4]
cmp byte [eax + 0x2d], 0
jne 0x41fa48
cmp esi, dword [eax + 8]
jne 0x41fa48
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x2d], 0
je 0x41fa38
mov esi, eax
mov eax, dword [esp + 0x10]
cmp esi, dword [eax + 0x3c]
jne 0x41f872
mov ecx, dword [esp + 0x4ac]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042b939
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.00402e60
push 0x44d554
lea edx, [esp + 0x44]
push edx
call fcn.0042d423
int3