Function at 0x433dae
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x498b28]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
push ebx
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
xor ebx, ebx
push 0x2000
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x2c], ebx
call fcn.00439dca
cmp eax, ebx
pop ecx
mov dword [ebp - 0x34], eax
jne 0x433e0b
push str.GetHidSdpRecords:_malloc_failed_n
push 1
call fcn.004295b9
pop ecx
mov dword [ebp - 0x2c], 0xe
jmp 0x433fdb
mov byte [ebp - 0x26], bl
mov byte [ebp - 0x25], bl
mov dword [ebp - 0x38], ebx
cmp dword [ebp - 0x40], ebx
je 0x433e1e
cmp byte [ebp - 0x26], bl
je 0x433e30
cmp dword [ebp - 0x3c], ebx
je 0x433f9c
cmp byte [ebp - 0x25], bl
jne 0x433f9c
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x34]
lea eax, [ebp - 0x48]
push ebx
push ebx
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x38]
mov dword [ebp - 0x48], 0x20
push dword [ebp - 0x4c]
mov dword [ebp - 0x30], 0x2000
call dword [0x4670a0]
cmp eax, ebx
mov dword [ebp - 0x2c], eax
jne 0x433f33
cmp dword [ebp - 0x30], ebx
jne 0x433e81
push str.GetHidSdpRecords:_ignore_SDP_record_with_wrong_length_n
push 4
call fcn.004295b9
pop ecx
pop ecx
mov dword [ebp - 0x2c], ebx
jmp 0x433f24
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.004356be
cmp eax, ebx
pop ecx
pop ecx
jne 0x433ed2
cmp dword [ebp - 0x40], ebx
jne 0x433ea7
push str.GetHidSdpRecords:_Ignore_HID_record_n
push 4
call fcn.004295b9
pop ecx
pop ecx
jmp 0x433f24
cmp byte [ebp - 0x26], bl
jne 0x433f51
mov eax, dword [ebp - 0x30]
cmp dword [edi], eax
jb 0x433f66
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x40]
call fcn.00439860
mov eax, dword [ebp - 0x30]
mov dword [edi], eax
mov byte [ebp - 0x26], 1
jmp 0x433f21
cmp eax, 1
jne 0x433f14
cmp dword [ebp - 0x3c], ebx
jne 0x433ee3
push str.GetHidSdpRecords:_Ignore_PNP_record_n
jmp 0x433e9c
cmp byte [ebp - 0x25], bl
jne 0x433f7b
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x44]
cmp dword [ecx], eax
jb 0x433f82
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x3c]
call fcn.00439860
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov byte [ebp - 0x25], 1
jmp 0x433f21
push eax
push str.GetHidSdpRecords:_ignore_unknown_record__d_n
push 4
call fcn.004295b9
add esp, 0xc
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0x64
jb 0x433e14
jmp 0x433f9c
cmp eax, 0x103
je 0x433f4c
push eax
push str.GetHidSdpRecords:_RegEnumValue_failed._err_d_n
push 1
call fcn.004295b9
add esp, 0xc
jmp 0x433f97
mov dword [ebp - 0x2c], ebx
jmp 0x433f9c
push str.GetHidSdpRecords:_second_HID_record_n
push 1
call fcn.004295b9
mov dword [ebp - 0x2c], 0xd
jmp 0x433fd1
push str.GetHidSdpRecords:_insufficient_buffer_for_HID_SDP_record_n
push 1
call fcn.004295b9
mov dword [ebp - 0x2c], 0x7a
jmp 0x433fd1
push str.GetHidSdpRecords:_error:_second_PNP_record_n
jmp 0x433f56
push str.GetHidSdpRecords:_insufficient_buffer_for_PNP_SDP_record_n
push 1
call fcn.004295b9
pop ecx
pop ecx
mov dword [ebp - 0x2c], 0x7a
cmp dword [ebp - 0x2c], ebx
jne 0x433fd3
cmp dword [ebp - 0x40], ebx
je 0x433fb6
cmp byte [ebp - 0x26], bl
jne 0x433fb6
push str.GetHidSdpRecords:_HID_record_is_not_found_n
push 4
call fcn.004295b9
pop ecx
pop ecx
mov dword [edi], ebx
cmp dword [ebp - 0x3c], ebx
je 0x433fd3
cmp byte [ebp - 0x25], bl
jne 0x433fd3
push str.GetHidSdpRecords:_PNP_record_is_not_found_n
push 4
call fcn.004295b9
mov eax, dword [ebp - 0x44]
mov dword [eax], ebx
pop ecx
pop ecx
push dword [ebp - 0x34]
call fcn.00439c78
mov eax, dword [ebp - 0x2c]
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004369c2
leave
ret