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

Disassembly:
push 0xffffffffffffffff
push 0x4ca260
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x517774]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x517774]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xd0]
mov edi, dword [esp + 0xcc]
mov esi, dword [esp + 0xc8]
xor ebx, ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], ebx
call fcn.00427de3
neg eax
sbb eax, eax
neg eax
lea ecx, [esp + 0x38]
push ecx
add eax, 3
push 4
lea edx, [esp + 0x20]
mov dword [esp + 0x48], eax
push edx
lea eax, [esp + 0x4c]
push eax
push 0xa
mov ecx, esi
mov dword [esp + 0x4c], 4
call fcn.00440a33
mov ecx, eax
mov dword [esp + 0x2c], ecx
cmp ecx, ebx
je 0x4256b8
mov dword [esp + 0x18], 0xffffffff
mov ebp, 0x10
lea eax, [edi + 4]
mov dword [esp + 0x1c], eax
cmp dword [edi + 0x18], ebp
jb 0x4256cb
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
push eax
push str.GetProperty___of__DeviceID_s_with_conflig_flags_X_return_code_was__d_n
push 0x20
push 0x519518
call fcn.00402450
add esp, 0x18
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
call fcn.0043fb48
mov edx, dword [esi + 0x1c]
push ebx
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
push ecx
call dword [0x529914]
test eax, eax
je 0x425721
mov edx, dword [esi + 0x1c]
push ebx
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
push ecx
call dword [0x529914]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
push edx
push ecx
push eax
push str.CM_Get_DevNode_Status___CM_return___d__devStatus_X_devProblem_X_n
push 0x20
push 0x519518
mov dword [esp + 0x2c], eax
call fcn.00402450
mov edi, 0xf
add esp, 0x18
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
mov dword [esp + 0xc0], ebx
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], 0
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], 0
lea edx, [esp + 0x98]
push edx
push ebx
mov ecx, esi
mov byte [esp + 0xc8], 2
call fcn.00440d03
lea eax, [esp + 0x60]
push eax
push 7
mov ecx, esi
call fcn.00440d03
lea ecx, [esp + 0x7c]
push ecx
push 4
mov ecx, esi
call fcn.00440d03
push ebx
push 0x4d41fc
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], 0
call fcn.00402160
mov byte [esp + 0xc0], 3
mov esi, 0x50e620
mov edi, 0x13
lea ebx, [ebx]
mov edx, dword [esp + 0x18]
test dword [esi + 0x40], edx
je 0x425814
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x425800
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x4c]
call fcn.00407b80
add esi, 0x144
sub edi, 1
jne 0x4257f0
mov esi, str.CM_PROB_NOT_CONFIGURED
mov edi, 0x31
lea esp, [esp]
mov eax, dword [esp + 0x24]
test dword [esi + 0x40], eax
je 0x425854
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x425840
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x4c]
call fcn.00407b80
add esi, 0x144
sub edi, 1
jne 0x425830
mov esi, str.DN_ROOT_ENUMERATED
mov edi, 0x13
lea esp, [esp]
mov ecx, dword [esp + 0x28]
test dword [esi + 0x40], ecx
je 0x425894
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x425880
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x4c]
call fcn.00407b80
add esi, 0x144
sub edi, 1
jne 0x425870
cmp dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0x48]
jae 0x4258ad
lea ebp, [esp + 0x48]
mov edi, dword [esp + 0x80]
mov eax, 0x10
cmp dword [esp + 0x94], eax
jae 0x4258c9
lea edi, [esp + 0x80]
mov edx, dword [esp + 0x3c]
cmp dword [edx + 0x18], eax
jb 0x4258d7
mov edx, dword [edx + 4]
jmp 0x4258da
add edx, 4
mov esi, dword [esp + 0x64]
cmp dword [esp + 0x78], eax
jae 0x4258e8
lea esi, [esp + 0x64]
mov ecx, dword [esp + 0x9c]
cmp dword [esp + 0xb0], eax
jae 0x4258ff
lea ecx, [esp + 0x9c]
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x18], 0x10
mov eax, dword [esp + 0x1c]
jb 0x42590f
mov eax, dword [eax]
push ebp
mov ebp, dword [esp + 0x28]
push ebp
push dword [esp + 0x30]
mov ebp, dword [esp + 0x20]
push ebp
push edi
push edx
push esi
push ecx
mov ecx, dword [esp + 0x38]
push ecx
push eax
push str.Found_DeviceID_s_with_conflig_flags_X_Description_s_Class_s_HwID_s_service_s_CM_return___d__devStatus_X_devProblem_X__s_n
push 0x20
push 0x519518
call fcn.00402450
add esp, 0x34
test dword [esp + 0x18], 0xfffc0fef
jne 0x425aae
cmp dword [esp + 0x2c], ebx
jne 0x425aae
mov ebx, dword [esp + 0x34]
mov edx, dword [ebx + 0x538]
mov eax, dword [edx]
mov edi, dword [ebx + 0x524]
add ebx, 0x524
mov dword [esp + 0x14], 0
mov dword [esp + 0x2c], edi
mov ebp, eax
lea ebx, [ebx]
mov esi, dword [ebx + 0x14]
mov eax, dword [ebx]
test edi, edi
je 0x42598d
cmp edi, eax
je 0x425992
call fcn.00497c49
cmp ebp, esi
je 0x425a3b
test edi, edi
jne 0x4259e7
call fcn.00497c49
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x4259af
call fcn.00497c49
mov ecx, dword [esp + 0x20]
call fcn.004016b0
mov ecx, eax
lea esi, [ecx + 1]
lea ecx, [ecx]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4259c0
sub ecx, esi
mov esi, dword [ebp + 0x1c]
mov edi, ecx
mov ecx, esi
cmp ecx, esi
jae 0x4259d4
mov edx, esi
cmp esi, edi
jb 0x4259dc
mov edx, edi
cmp dword [ebp + 0x20], 0x10
jb 0x4259eb
mov ecx, dword [ebp + 0xc]
jmp 0x4259ee
mov eax, dword [edi]
jmp 0x4259a5
lea ecx, [ebp + 0xc]
push edx
push eax
push ecx
call fcn.004979da
add esp, 0xc
test eax, eax
jne 0x425a12
cmp esi, edi
jb 0x425a12
cmp esi, edi
setne al
test eax, eax
jne 0x425a12
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x425a37
call fcn.00497c49
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x425a2b
call fcn.00497c49
mov ebp, dword [ebp]
mov edi, dword [esp + 0x2c]
jmp 0x425980
mov eax, dword [eax]
jmp 0x425a21
cmp dword [esp + 0x14], 0
jne 0x425bf8
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x34]
push edi
lea ecx, [ebp + 0x540]
call fcn.00424f00
mov esi, dword [ebx + 0x14]
mov eax, dword [esi + 4]
push edi
push eax
push esi
mov ecx, ebx
call fcn.00405fe0
push 1
mov ecx, ebx
mov edi, eax
call fcn.00405c50
mov edx, dword [esp + 0x20]
mov dword [esi + 4], edi
mov ecx, dword [edi + 4]
mov dword [ecx], edi
inc dword [ebp + 0x5b0]
cmp dword [edx + 0x18], 0x10
mov eax, dword [ebp + 0x5b0]
mov ecx, dword [esp + 0x1c]
jb 0x425a99
mov ecx, dword [ecx]
mov edx, dword [esp + 0x18]
push 0
push edx
push ecx
push eax
push str.Found_good_devnode__d_DeviceID__s_with_conflig_flags_X_return_code_was__d_n
push 1
jmp 0x425beb
mov ebx, dword [esp + 0x34]
mov eax, dword [ebx + 0x554]
mov eax, dword [eax]
mov edi, dword [ebx + 0x540]
add ebx, 0x540
mov dword [esp + 0x14], 0
mov dword [esp + 0x2c], edi
mov ebp, eax
mov esi, dword [ebx + 0x14]
mov eax, dword [ebx]
test edi, edi
je 0x425ae1
cmp edi, eax
je 0x425ae6
call fcn.00497c49
cmp ebp, esi
je 0x425b8c
test edi, edi
jne 0x425b38
call fcn.00497c49
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x425b03
call fcn.00497c49
mov ecx, dword [esp + 0x20]
call fcn.004016b0
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x425b11
sub ecx, esi
mov esi, dword [ebp + 0x1c]
mov edi, ecx
mov ecx, esi
cmp ecx, esi
jae 0x425b25
mov edx, esi
cmp esi, edi
jb 0x425b2d
mov edx, edi
cmp dword [ebp + 0x20], 0x10
jb 0x425b3c
mov ecx, dword [ebp + 0xc]
jmp 0x425b3f
mov eax, dword [edi]
jmp 0x425af9
lea ecx, [ebp + 0xc]
push edx
push eax
push ecx
call fcn.004979da
add esp, 0xc
test eax, eax
jne 0x425b63
cmp esi, edi
jb 0x425b63
cmp esi, edi
setne al
test eax, eax
jne 0x425b63
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x425b88
call fcn.00497c49
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x425b7c
call fcn.00497c49
mov ebp, dword [ebp]
mov edi, dword [esp + 0x2c]
jmp 0x425ad4
mov eax, dword [eax]
jmp 0x425b72
cmp dword [esp + 0x14], 0
jne 0x425bf8
mov esi, dword [ebx + 0x14]
mov ebp, dword [esp + 0x20]
mov ecx, dword [esi + 4]
push ebp
push ecx
push esi
mov ecx, ebx
call fcn.00405fe0
push 1
mov ecx, ebx
mov edi, eax
call fcn.00405c50
mov dword [esi + 4], edi
mov edx, dword [edi + 4]
mov dword [edx], edi
mov ecx, dword [esp + 0x48]
mov eax, 0x10
cmp dword [esp + 0x5c], eax
jae 0x425bcd
lea ecx, [esp + 0x48]
cmp dword [ebp + 0x18], eax
mov eax, dword [esp + 0x1c]
jb 0x425bd8
mov eax, dword [eax]
push 0
push ecx
mov ecx, dword [esp + 0x20]
push ecx
push eax
push str.Found_DeviceID_s_with_conflig_flags_X__s_error_was__d_n
push 0x400
push 0x519518
call fcn.00402450
add esp, 0x1c
mov esi, 0x10
cmp dword [esp + 0x5c], esi
jb 0x425c10
mov edx, dword [esp + 0x48]
push edx
call fcn.004462ff
add esp, 4
xor edi, edi
mov ebx, 0xf
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], edi
mov byte [esp + 0x48], 0
cmp dword [esp + 0x94], esi
jb 0x425c3d
mov eax, dword [esp + 0x80]
push eax
call fcn.004462ff
add esp, 4
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], edi
mov byte [esp + 0x80], 0
cmp dword [esp + 0x78], esi
jb 0x425c66
mov ecx, dword [esp + 0x64]
push ecx
call fcn.004462ff
add esp, 4
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], edi
mov byte [esp + 0x64], 0
cmp dword [esp + 0xb0], esi
jb 0x425c8c
mov edx, dword [esp + 0x9c]
push edx
call fcn.004462ff
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.004974ba
add esp, 0xb0
ret 0xc