Function at 0x41cca0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xeb8
mov eax, dword [0x5d7b20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0xe94], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0xe9c], eax
mov dword [ebp - 0xe90], 0
test eax, eax
jne 0x41cceb
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053e1ad
mov esp, ebp
pop ebp
ret 8
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41ccf0
sub eax, edx
sar eax, 1
je 0x41ccd6
push str.setupapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x41ccd6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetupDiGetClassDevsW
push edi
call esi
push str.SetupDiEnumDeviceInfo
push edi
mov ebx, eax
call esi
push str.SetupDiDestroyDeviceInfoList
push edi
mov dword [ebp - 0xea0], eax
call esi
push str.SetupDiGetDriverInfoDetailW
push edi
mov dword [ebp - 0xe98], eax
call esi
push str.SetupDiEnumDriverInfoW
push edi
mov dword [ebp - 0xeb4], eax
call esi
push str.SetupDiBuildDriverInfoList
push edi
mov dword [ebp - 0xea4], eax
call esi
push str.SetupDiSetDeviceInstallParamsW
push edi
mov dword [ebp - 0xeb8], eax
call esi
push str.SetupDiGetDeviceInstallParamsW
push edi
mov dword [ebp - 0xeac], eax
call esi
push str.SetupDiDestroyDriverInfoList
push edi
mov dword [ebp - 0xeb0], eax
call esi
mov ecx, dword [ebp - 0xe94]
push 0
push 0
push 0
push ecx
mov dword [ebp - 0xea8], eax
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x41cdc7
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053e1ad
mov esp, ebp
pop ebp
ret 8
lea edx, [ebp - 0x20]
push edx
push 0
push esi
mov dword [ebp - 0x20], 0x1c
mov dword [ebp - 0xe94], 0
call dword [ebp - 0xea0]
test eax, eax
je 0x41cf75
lea ecx, [ecx]
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x20]
push ecx
push esi
mov dword [ebp - 0xe8c], 0x61c
mov dword [ebp - 0x24c], 0x22c
call dword [ebp - 0xeb0]
test eax, eax
je 0x41cf75
or dword [ebp - 0x244], 0x800
lea edx, [ebp - 0x24c]
push edx
lea eax, [ebp - 0x20]
push eax
push esi
call dword [ebp - 0xeac]
test eax, eax
je 0x41cf75
push 2
lea ecx, [ebp - 0x20]
push ecx
push esi
call dword [ebp - 0xeb8]
test eax, eax
je 0x41cf75
lea edx, [ebp - 0xe8c]
push edx
xor ebx, ebx
push ebx
push 2
lea eax, [ebp - 0x20]
push eax
push esi
call dword [ebp - 0xea4]
test eax, eax
je 0x41cf16
jmp 0x41ce80
lea ecx, [ebp - 0xe80]
push ecx
push str._Description:__s_n
call fcn.00415550
add esp, 8
push 0
push 0x622
lea edx, [ebp - 0x870]
push edx
lea eax, [ebp - 0xe8c]
push eax
lea ecx, [ebp - 0x20]
push ecx
push esi
mov dword [ebp - 0x870], 0x622
call dword [ebp - 0xeb4]
test eax, eax
jne 0x41cecd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x41cef8
lea edx, [ebp - 0x450]
push edx
push str.__Now_comparing_....__s_n
call fcn.00415550
mov ecx, dword [ebp - 0xe9c]
lea eax, [ebp - 0x658]
push eax
push ecx
call fcn.0053e2bf
add esp, 0x10
test eax, eax
je 0x41cf4a
lea edx, [ebp - 0xe8c]
push edx
inc ebx
push ebx
push 2
lea eax, [ebp - 0x20]
push eax
push esi
call dword [ebp - 0xea4]
test eax, eax
jne 0x41ce80
push 2
lea ecx, [ebp - 0x20]
push ecx
push esi
call dword [ebp - 0xea8]
test eax, eax
je 0x41cf75
mov eax, dword [ebp - 0xe94]
lea edx, [ebp - 0x20]
inc eax
push edx
push eax
push esi
mov dword [ebp - 0xe94], eax
call dword [ebp - 0xea0]
test eax, eax
jne 0x41cdf0
jmp 0x41cf75
lea eax, [ebp - 0x450]
push eax
push str._This_inf_is_used_by__s._n
call fcn.00415550
add esp, 8
push 2
lea ecx, [ebp - 0x20]
push ecx
push esi
mov dword [ebp - 0xe90], 1
call dword [ebp - 0xea8]
push esi
call dword [ebp - 0xe98]
cmp dword [ebp - 0xe90], 0
jne 0x41cfa8
mov edx, dword [ebp - 0xe9c]
push ecx
mov ecx, esp
mov dword [ebp - 0xe98], esp
push edx
call fcn.00406430
call fcn.00417a30
add esp, 4
mov dword [ebp - 0xe90], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xe90]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053e1ad
mov esp, ebp
pop ebp
ret 8