Function at 0x442750
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2dc
push esi
push edi
xor edi, edi
push 2
push edi
push edi
push 0x48e904
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
call dword [0x472300]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 8], esi
jne 0x44279d
test dword [0x49a0e8], 0x10000
je 0x442795
push str.PowerXpressGetSetLDASupport:_fail_to_get_dev_handle
call fcn.0040acd0
add esp, 4
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x2dc]
push eax
push esi
mov dword [ebp - 0x2dc], 0x11f
call dword [0x4722fc]
test eax, eax
jne 0x4427e1
test dword [0x49a0e8], 0x10000
je 0x4427d2
push str.PowerXpressGetSetLDASupport:_fail_to_get_device_info_list_details
call fcn.0040acd0
add esp, 4
push esi
call dword [0x4722f8]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
lea ecx, [ebp - 0x2c]
push ecx
push edi
push esi
mov dword [ebp - 0x2c], 0x1c
mov dword [ebp - 0x10], edi
call dword [0x4722ec]
test eax, eax
je 0x442937
mov esi, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
lea esp, [esp]
mov ecx, dword [ebp - 8]
push 0
push 0xc8
lea edx, [ebp - 0x1bc]
push edx
push 0
push 9
lea eax, [ebp - 0x2c]
push eax
push ecx
call dword [0x4722f0]
test eax, eax
jne 0x44284d
test dword [0x49a0e8], 0x10000
je 0x44284d
push str.PowerXpressGetSetLDASupport:_fail_to_get_SPDRP_DRIVER
call fcn.0040acd0
add esp, 4
lea edx, [ebp - 0x1bc]
push edx
push str.SYSTEMCurrentControlSetControlClass
lea eax, [ebp - 0xf4]
push str._s_s
push eax
call fcn.00460f01
mov eax, dword [0x49a0e8]
add esp, 0x10
test eax, 0x10000
je 0x44288d
lea ecx, [ebp - 0xf4]
push ecx
push str.PowerXpressGetSetLDASupport:_registry:_s_n
call fcn.0040acd0
add esp, 8
lea edx, [ebp - 4]
push edx
push 0x2001f
push 0
lea eax, [ebp - 0xf4]
push eax
push 0x80000002
call dword [0x472074]
test eax, eax
jne 0x44290c
mov eax, dword [ebp + 8]
cmp eax, 1
jne 0x4428e8
mov edx, dword [ebp - 4]
push edi
push esi
lea ecx, [ebp + 0x10]
push ecx
push 0
push ebx
push edx
call dword [0x472078]
test eax, eax
je 0x442948
test dword [0x49a0e8], 0x10000
je 0x44290c
push str.PowerXpressGetSetLDASupport:_fail_to_query_registry
call fcn.0040acd0
add esp, 4
jmp 0x44290c
test eax, eax
jne 0x44290c
mov eax, dword [edi]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
push eax
push esi
push ecx
push 0
push ebx
push edx
call dword [0x472040]
test eax, eax
jne 0x44296d
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 4]
push eax
call dword [0x47207c]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
lea ecx, [ebp - 0x2c]
inc eax
push ecx
push eax
push edx
mov dword [ebp - 0x10], eax
call dword [0x4722ec]
test eax, eax
jne 0x442810
mov esi, dword [ebp - 8]
push esi
call dword [0x4722f8]
mov eax, dword [ebp - 0xc]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
push eax
call dword [0x47207c]
mov esi, dword [ebp - 8]
push esi
mov dword [ebp - 0xc], 1
call dword [0x4722f8]
mov eax, dword [ebp - 0xc]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test dword [0x49a0e8], 0x10000
je 0x442986
push str.PowerXpressGetSetLDASupport:_fail_to_set_registry
call fcn.0040acd0
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
call dword [0x47207c]
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret