Function at 0x426ae0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xac]
push esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0xac], 0
xor eax, eax
push fcn.00426ab0
push ebp
push 0x413c60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, str.cfgmgr32.dll
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x2c], eax
mov eax, str.SetupApi.dll
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x30], eax
xor eax, eax
push fcn.00426a80
push ebp
push 0x413c60
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x2c], 0
je 0x426e9a
cmp dword [ebp - 0x30], 0
je 0x426e9a
mov eax, str.CM_Get_Parent
push eax
push dword [ebp - 0x2c]
call sub.kernel32.dll_GetProcAddress
mov dword [ebp - 0xc], eax
mov eax, str.CM_Get_Child
push eax
push dword [ebp - 0x2c]
call sub.kernel32.dll_GetProcAddress
mov dword [ebp - 0x10], eax
mov eax, str.CM_Get_DevNode_Registry_Property
push eax
push dword [ebp - 0x2c]
call sub.kernel32.dll_GetProcAddress
mov dword [ebp - 0x18], eax
mov eax, str.CM_Request_Device_EjectA
push eax
push dword [ebp - 0x30]
call sub.kernel32.dll_GetProcAddress
mov dword [ebp - 0x14], eax
mov eax, str.SetupDiGetClassDevsA
push eax
push dword [ebp - 0x30]
call sub.kernel32.dll_GetProcAddress
mov dword [ebp - 0x1c], eax
mov eax, str.SetupDiEnumDeviceInterfaces
push eax
push dword [ebp - 0x30]
call sub.kernel32.dll_GetProcAddress
mov dword [ebp - 0x20], eax
mov eax, str.SetupDiGetDeviceInterfaceDetailA
push eax
push dword [ebp - 0x30]
call sub.kernel32.dll_GetProcAddress
mov dword [ebp - 0x24], eax
mov eax, str.SetupDiDestroyDeviceInfoList
push eax
push dword [ebp - 0x30]
call sub.kernel32.dll_GetProcAddress
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x9c], 0
lea edi, [ebp - 0x48]
mov esi, 0x57f1d0
mov ecx, 0x10
rep movsb byte es:[edi], byte [esi]
push 0x12
push 0
push 0
lea eax, [ebp - 0x48]
push eax
call dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
cmp eax, 0xffffffff
jne 0x426c21
call fcn.004521b0
xor eax, eax
push fcn.00426a60
push ebp
push 0x413c60
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x80], 0x1c
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov edx, dword [edx]
call dword [edx + 0xc4]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0xc4]
jmp 0x426e6f
inc dword [ebp - 0x38]
mov dword [ebp - 0x98], 0
push 0
lea eax, [ebp - 0x98]
push eax
push 0
push 0
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x34]
call dword [ebp - 0x24]
test eax, eax
jne 0x426ca2
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
setne al
movzx eax, al
neg eax
je 0x426ca2
call fcn.004521b0
mov dword [ebp - 0x64], 0x1c
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x88], 5
xor eax, eax
push fcn.00426a50
push ebp
push 0x413c60
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x9c]
push eax
push dword [ebp - 0x98]
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x34]
call dword [ebp - 0x24]
test eax, eax
jne 0x426d0a
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
setne al
movzx eax, al
neg eax
je 0x426d0a
call fcn.004521b0
lea eax, [ebp - 0x84]
mov dword [ebp - 0xa0], eax
lea ecx, [ebp - 0x90]
mov eax, dword [ebp - 0xa0]
xor dx, dx
call fcn.004092d0
lea eax, [ebp - 0x94]
mov edx, str....
call fcn.00408980
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0xa4], 0
push 0
push dword [ebp - 0x8c]
lea eax, [ebp - 0x8c]
push eax
call dword [ebp - 0x10]
test eax, eax
jne 0x426e14
xor eax, eax
push fcn.00426a40
push ebp
push 0x413c60
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x94]
mov edx, 0x5a02b4
call fcn.00408980
push 0
lea eax, [ebp - 0x98]
push eax
push 0
push 0
push 1
push dword [ebp - 0x8c]
call dword [ebp - 0x18]
mov edx, dword [ebp - 0x98]
lea eax, [ebp - 0xa4]
call fcn.0040f7b0
push 0
lea eax, [ebp - 0x98]
push eax
push dword [ebp - 0xa4]
lea eax, [ebp - 0xa8]
push eax
push 1
push dword [ebp - 0x8c]
call dword [ebp - 0x18]
test eax, eax
jne 0x426e04
push 0
mov eax, dword [ebp - 0xa4]
lea ecx, [ebp - 0xac]
xor dx, dx
call fcn.004092d0
mov ecx, dword [ebp - 0xac]
lea eax, [ebp - 0x94]
mov edx, 0x5a02c8
call fcn.00408a80
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00426a40
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
call dword [ecx + 0xa8]
lea eax, [ebp - 0xac]
call fcn.00403a50
push 0
mov edx, dword [ebp - 0x94]
mov ecx, 0x5a02dc
lea eax, [ebp - 0xac]
call fcn.00408a80
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
call dword [ecx + 0xa8]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00426a50
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x38]
lea eax, [ebp - 0x48]
push eax
push 0
push dword [ebp - 0x34]
call dword [ebp - 0x20]
test eax, eax
jne 0x426c63
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00426a60
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00426a80
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00426ab0
pop edi
pop esi
leave
ret