Function at 0x4056e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x43e95c
push eax
mov eax, 0x1968
mov dword fs:[0], esp
call fcn.00433d80
push ebx
push ebp
push esi
push edi
push str..INF
lea ecx, [esp + 0x2c]
call fcn.00416cb2
lea eax, [esp + 0x28]
lea ecx, [esp + 0x10]
push eax
xor ebp, ebp
push ecx
mov ecx, 0x454148
mov dword [esp + 0x1988], ebp
call fcn.00416f5d
push 1
push str.UPDDPNP
mov ecx, eax
mov byte [esp + 0x1988], 1
call fcn.00416d31
push eax
push 0x44a924
push 0x454760
call fcn.00415d10
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0x1980], 0
call fcn.00416d10
lea ecx, [esp + 0x28]
mov dword [esp + 0x1980], 0xffffffff
call fcn.00416d10
lea edx, [esp + 0x78]
push pe_nt_image_headers32
push edx
push str.Installing_Bundle
push 0x4427c4
push 0x80000002
call fcn.0040bc10
mov al, byte [0x4540b0]
mov ecx, 0x3ff
mov byte [esp + 0x98c], al
xor eax, eax
lea edi, [esp + 0x98d]
push 0x1000
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x990]
stosw word es:[edi], ax
push ecx
push str.Bundles
push 0x4427c4
push 0x80000002
stosb byte es:[edi], al
call fcn.0040bc10
mov dword [esp + 0x40], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebp
add esp, 0x20
mov ebx, 2
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x44a918
mov dword [esp + 0x198c], ebx
call fcn.00416cb2
sub esp, 8
lea edx, [esp + 0x988]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov byte [esp + 0x1994], 3
call fcn.00416cb2
lea eax, [esp + 0x28]
mov byte [esp + 0x1990], bl
push eax
call fcn.004185a6
mov eax, dword [esp + 0x30]
add esp, 0x14
xor ebx, ebx
cmp eax, ebp
jle 0x405a7d
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x78]
push ecx
lea ecx, [edx + ebx*8]
call fcn.0041705f
test eax, eax
je 0x405a70
mov edi, 0x4427c4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x178]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x178]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x44a3cc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x18]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [eax + ebx*8]
call fcn.00416d31
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x178]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x17c]
push str.Number_Of_Devices
push ecx
push 0x80000002
call fcn.0040bba0
mov eax, dword [esp + 0x20]
add esp, 0x10
xor edx, edx
cmp eax, ebp
jbe 0x405a70
lea edi, [esp + 0x178]
or ecx, 0xffffffff
xor eax, eax
lea ebp, [esp + 0x578]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
lea ebp, [edx + 1]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
push 0x44a900
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
push ecx
call fcn.004330da
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x584]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x48]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x58c]
push str.PNP_Id
push ecx
push 0x80000002
call fcn.0040bc10
lea edi, [esp + 0x58]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x20
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x405a60
lea edx, [esp + 0x38]
push 0x44a8f0
push edx
call fcn.00433d08
add esp, 8
test eax, eax
jne 0x405a4a
lea eax, [esp + 0x38]
push str.PNP0F0B
push eax
call fcn.00433d08
add esp, 8
test eax, eax
jne 0x405a4a
lea ecx, [esp + 0x38]
push str.PNP0F0E
push ecx
call fcn.00433d08
add esp, 8
test eax, eax
jne 0x405a4a
lea edx, [esp + 0x38]
push str.PNP0F12
push edx
call fcn.00433d08
add esp, 8
test eax, eax
jne 0x405a4a
lea eax, [esp + 0x38]
push 0x44a8d0
push eax
call fcn.00433d08
add esp, 8
test eax, eax
jne 0x405a4a
lea ecx, [esp + 0x38]
push str.IBM3780
push ecx
call fcn.00433d08
add esp, 8
test eax, eax
je 0x405a60
mov eax, dword [0x45487c]
mov dword [0x454878], 1
or al, 0x10
mov dword [0x45487c], eax
mov eax, dword [esp + 0x10]
mov edx, ebp
cmp edx, eax
jb 0x405923
xor ebp, ebp
mov eax, dword [esp + 0x1c]
inc ebx
cmp ebx, eax
jl 0x405849
push ebp
call fcn.00413b1f
and eax, 0xff
mov esi, ebp
je 0x405b98
lea edx, [esp + 0x38]
push 0x40
push edx
push str.PnP_Id
push eax
call fcn.00413c6a
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x405b86
lea eax, [esp + 0x38]
push 0x44a8f0
push eax
call fcn.00433d08
add esp, 8
test eax, eax
jne 0x405b3a
lea ecx, [esp + 0x38]
push str.PNP0F0B
push ecx
call fcn.00433d08
add esp, 8
test eax, eax
jne 0x405b3a
lea edx, [esp + 0x38]
push str.PNP0F0E
push edx
call fcn.00433d08
add esp, 8
test eax, eax
jne 0x405b3a
lea eax, [esp + 0x38]
push str.PNP0F12
push eax
call fcn.00433d08
add esp, 8
test eax, eax
jne 0x405b3a
lea ecx, [esp + 0x38]
push 0x44a8d0
push ecx
call fcn.00433d08
add esp, 8
test eax, eax
jne 0x405b3a
lea edx, [esp + 0x38]
push str.IBM3780
push edx
call fcn.00433d08
add esp, 8
test eax, eax
je 0x405b50
mov eax, dword [0x45487c]
mov dword [0x454878], 1
or al, 0x10
mov dword [0x45487c], eax
push 4
lea eax, [esp + 0x3c]
push str.UPD
push eax
call fcn.0043d090
add esp, 0xc
test eax, eax
jne 0x405b86
lea ecx, [esp + 0x38]
push 1
push ecx
push str.UPDDV3MO.INF
push 0x44a924
push 0x454760
call fcn.00415d10
add esp, 0x14
inc esi
push esi
call fcn.00413b1f
and eax, 0xff
jne 0x405a90
call fcn.0041698a
test eax, eax
jne 0x405c0a
push ebp
xor bl, bl
call fcn.00413b1f
xor esi, esi
mov byte [esp + 0x10], al
test al, al
je 0x405bf6
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x38]
push 0x28
push edx
push str.PNP_ID
push eax
call fcn.00413c6a
push 3
lea ecx, [esp + 0x3c]
push 0x44a89c
push ecx
call fcn.00433cd0
add esp, 0xc
test eax, eax
je 0x405be3
mov bl, 1
inc esi
push esi
call fcn.00413b1f
test al, al
mov byte [esp + 0x10], al
jne 0x405bb3
test bl, bl
jne 0x405c20
call fcn.0040f940
push 0x454760
call fcn.0040c2c0
add esp, 4
jmp 0x405c20
mov eax, dword [0x45487c]
mov dword [0x454878], 1
or al, 0x20
mov dword [0x45487c], eax
mov esi, dword [esp + 0x18]
mov dword [esp + 0x1980], 0xffffffff
cmp esi, ebp
je 0x405c57
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x405c4e
lea edi, [eax]
mov ecx, esi
call fcn.00416d10
add esi, 8
dec edi
jne 0x405c3d
mov esi, dword [esp + 0x18]
push esi
call fcn.00433020
add esp, 4
mov ecx, dword [esp + 0x1978]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1974
ret