Function at 0x40114a
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x402c80
push 0xffffffffffffffff
push 0x414ae0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x30]
push ebx
push eax
lea ecx, [esp + 0xc]
call fcn.00401230
xor ebx, ebx
lea ecx, [esp + 8]
push ebx
mov dword [esp + 0x2c], ebx
call fcn.0040112c
push eax
call fcn.00401172
add esp, 8
call fcn.00401212
cmp eax, 3
jne 0x402d0a
mov ecx, 0x41d868
call fcn.00401140
push eax
push str._sCannot_install_INF_files_from_DriverWizard_on_Win98_Me_n
push 0x41d868
call fcn.00401055
add esp, 0xc
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.004010af
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
call fcn.00401159
test eax, eax
jne 0x402d36
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.004010af
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
push edi
lea ecx, [esp + 0xc]
call fcn.00401140
push eax
call fcn.00403080
mov edi, dword [esp + 0x38]
add esp, 4
test eax, eax
jne 0x402d96
lea ecx, [esp + 0x18]
push ecx
call fcn.00401096
add esp, 4
mov ecx, eax
mov byte [esp + 0x2c], 1
call fcn.00401140
push eax
push edi
mov ecx, 0x41d868
call fcn.00401140
push eax
push str._sWarning:_cannot_copy_the_INF_file_for_device__hwid:_s_:__s_n
push 0x41d868
call fcn.00401055
add esp, 0x14
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.004010af
lea edx, [esp + 0x38]
lea ecx, [esp + 0xc]
push edx
call fcn.0040112c
push eax
push 0x403510
push 6
push edi
push ebx
call fcn.0040104b
add esp, 0x18
test eax, eax
je 0x402f87
cmp dword [esp + 0x38], ebx
jne 0x402f82
push 4
push str.USB_
push edi
call fcn.00409740
add esp, 0xc
test eax, eax
push ebx
push ebx
jne 0x402e65
push 0x4034c0
push 6
push str.USBROOT_HUB
push ebx
call fcn.0040104b
add esp, 0x18
test eax, eax
je 0x402f87
push esi
push 0x4650
call dword [0x41d828]
mov esi, eax
cmp esi, ebx
je 0x402f39
mov ecx, 0x41d868
call fcn.00401140
push eax
push str._sWarning:_Failed_waiting_for_install_events_to_complete:_n
push 0x41d868
call fcn.00401055
add esp, 0xc
cmp esi, 0x102
jne 0x402ef5
push 0x4650
mov ecx, 0x41d868
call fcn.00401140
push eax
push str._sTimeout___ld_ms__expired_before_install_events_completed._n
push 0x41d868
call fcn.00401055
add esp, 0x10
jmp 0x402f39
lea eax, [esp + 0x10]
push eax
call dword [0x41d820]
cmp eax, ebx
je 0x402ebd
lea ecx, [esp + 0x18]
push ecx
call fcn.00401096
add esp, 4
mov ecx, eax
mov byte [esp + 0x2c], 2
call fcn.00401140
push eax
mov ecx, 0x41d868
call fcn.00401140
push eax
push str._sCannot_locate_top_device:__s_n
push 0x41d868
call fcn.00401055
add esp, 0x10
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.004010af
jmp 0x402f87
mov edx, dword [esp + 8]
push 1
push edx
call dword [0x41d84c]
cmp eax, ebx
je 0x402dff
push eax
mov ecx, 0x41d868
call fcn.00401140
push eax
push str._sCannot_reenumerate_device_tree__CR_ERRCODE_0x_lx__n
push 0x41d868
call fcn.00401055
add esp, 0x10
jmp 0x402f87
lea eax, [esp + 0x1c]
push eax
call fcn.00401096
add esp, 4
mov ecx, eax
mov byte [esp + 0x30], 3
call fcn.00401140
push eax
mov ecx, 0x41d868
call fcn.00401140
push eax
push str._s_s_n
push 0x41d868
call fcn.00401055
add esp, 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call fcn.004010af
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.0040112c
push eax
push 0x403510
push 6
push edi
push ebx
call fcn.0040104b
add esp, 0x18
test eax, eax
pop esi
je 0x402f87
cmp dword [esp + 0x38], ebx
jne 0x402f82
push edi
mov ecx, 0x41d868
call fcn.00401140
push eax
push str._sWarning:_the_device__hwid:_s__is_not_plugged_in._n
push 0x41d868
call fcn.00401055
add esp, 0x10
mov ebx, 1
call fcn.00401226
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004010af
mov ecx, dword [esp + 0x24]
mov eax, ebx
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret