Function at 0x432a37
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x498b28]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
xor ebx, ebx
or eax, dword [ebp + 0xac]
push esi
mov esi, dword [ebp + 0xb0]
push edi
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x68], ebx
mov byte [ebp - 0x75], bl
je 0x4331e2
cmp esi, ebx
je 0x4331e2
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edx, eax
or edx, ecx
je 0x4331e2
cmp dword [esi + 0x10], ebx
je 0x4331e2
push ecx
push eax
push str.SYSTEMCurrentControlSetServicesBTHPORTParameters
push str._sDevices_012I64xCachedServices
mov edi, 0x100
lea eax, [ebp - 0x64]
push edi
push eax
call fcn.0043ce7f
add esp, 0x18
lea eax, [ebp - 0x68]
push eax
push 0x20006
push ebx
lea eax, [ebp - 0x64]
push eax
push reloc.WS2_32.dll_bind
call dword [0x4670bc]
test eax, eax
jne 0x432b05
push str.BtwProvisionedHidDevsCreateRegistryMs:_SDP_key_exist_already_n
push 4
call fcn.004295b9
pop ecx
pop ecx
push dword [ebp - 0x68]
call dword [0x467004]
push str.BtwProvisionedHidDevsCreateRegistryMs:_CachedServices_registry_exists_already_n
push 4
mov dword [ebp - 0x68], ebx
mov byte [ebp - 0x75], 1
call fcn.004295b9
pop ecx
pop ecx
jmp 0x432e09
mov eax, dword [esi + 0x124]
cmp eax, ebx
jne 0x432b19
push str.BtwProvisionedHidDevsCreateRegistryMs:_error:_no_HID_SDP_n
jmp 0x4331e7
lea edx, [ebp - 0x7c]
push edx
lea ecx, [esi + 0x128]
push eax
push ecx
call fcn.00435742
add esp, 0xc
test al, al
jne 0x432b49
push str.BtwProvisionedHidDevsCreateRegistryMs:_handle_is_not_found_in_the_HID_SDP_record_n
push 1
call fcn.004295b9
mov dword [ebp - 0x6c], 6
jmp 0x4331f5
mov eax, dword [esi + 0x1128]
cmp eax, ebx
jne 0x432b5d
push str.BtwProvisionedHidDevsCreateRegistryMs:_error:_no_PNP_SDP_n
jmp 0x4331e7
lea edx, [ebp - 0x80]
push edx
lea ecx, [esi + 0x112c]
push eax
push ecx
call fcn.00435742
add esp, 0xc
test al, al
je 0x432b31
push dword [esi + 0xc]
lea eax, [ebp - 0x64]
push dword [esi + 8]
push str.SYSTEMCurrentControlSetServicesBTHPORTParameters
push str._sDevices_012I64x
push edi
push eax
call fcn.0043ce7f
add esp, 0x18
push ebx
lea eax, [ebp - 0x68]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
lea eax, [ebp - 0x64]
push eax
push reloc.WS2_32.dll_bind
call dword [0x4670a4]
cmp eax, ebx
mov dword [ebp - 0x6c], eax
je 0x432bc2
mov dword [ebp - 0x70], 0x462
jmp 0x4331f7
push 4
lea eax, [ebp - 0x74]
push eax
push 4
push ebx
push str.DibServiceVersion
push dword [ebp - 0x68]
mov dword [ebp - 0x74], 0x20000
call dword [0x467054]
cmp eax, ebx
mov dword [ebp - 0x6c], eax
je 0x432bf3
mov dword [ebp - 0x70], 0x465
jmp 0x4331f7
movzx eax, word [esi]
push 4
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x74]
push eax
push 4
push ebx
push 0x4889d8
push dword [ebp - 0x68]
call dword [0x467054]
cmp eax, ebx
mov dword [ebp - 0x6c], eax
je 0x432c23
mov dword [ebp - 0x70], 0x468
jmp 0x4331f7
movzx eax, word [esi + 2]
push 4
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x74]
push eax
push 4
push ebx
push 0x4889d4
push dword [ebp - 0x68]
call dword [0x467054]
cmp eax, ebx
mov dword [ebp - 0x6c], eax
je 0x432c54
mov dword [ebp - 0x70], 0x46b
jmp 0x4331f7
push 4
lea eax, [ebp - 0x74]
push eax
push 4
push ebx
push str.VIDType
push dword [ebp - 0x68]
mov dword [ebp - 0x74], 2
call dword [0x467054]
cmp eax, ebx
mov dword [ebp - 0x6c], eax
je 0x432c85
mov dword [ebp - 0x70], 0x46e
jmp 0x4331f7
mov eax, dword [esi + 0x10]
push 4
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x74]
push eax
push 4
push ebx
push 0x4889c8
push dword [ebp - 0x68]
call dword [0x467054]
cmp eax, ebx
mov dword [ebp - 0x6c], eax
je 0x432cb5
mov dword [ebp - 0x70], 0x471
jmp 0x4331f7
lea eax, [esi + 0x14]
push eax
call fcn.00439690
pop ecx
inc eax
push eax
lea eax, [esi + 0x14]
push eax
push 3
push ebx
push str.Name
push dword [ebp - 0x68]
call dword [0x467054]
cmp eax, ebx
mov dword [ebp - 0x6c], eax
je 0x432ce9
mov dword [ebp - 0x70], 0x473
jmp 0x4331f7
push 4
lea eax, [ebp - 0x74]
push eax
push 4
push ebx
push str.Store_Link_Key
push dword [ebp - 0x68]
mov dword [ebp - 0x74], 1
call dword [0x467054]
cmp eax, ebx
mov dword [ebp - 0x6c], eax
je 0x432d1a
mov dword [ebp - 0x70], 0x476
jmp 0x4331f7
push dword [ebp - 0x68]
call dword [0x467004]
push dword [esi + 0xc]
lea eax, [ebp - 0x64]
push dword [esi + 8]
mov dword [ebp - 0x68], ebx
push str.SYSTEMCurrentControlSetServicesBTHPORTParameters
push str._sDevices_012I64xCachedServices
push edi
push eax
call fcn.0043ce7f
add esp, 0x18
push ebx
lea eax, [ebp - 0x68]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
lea eax, [ebp - 0x64]
push eax
push reloc.WS2_32.dll_bind
call dword [0x4670a4]
cmp eax, ebx
mov dword [ebp - 0x6c], eax
je 0x432d73
mov dword [ebp - 0x70], 0x47d
jmp 0x4331f7
push dword [ebp - 0x7c]
lea eax, [ebp - 0x64]
push str._08x
push edi
push eax
call fcn.0043ce7f
add esp, 0x10
push dword [esi + 0x124]
lea eax, [esi + 0x128]
push eax
push 3
push ebx
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x68]
call dword [0x467054]
cmp eax, ebx
mov dword [ebp - 0x6c], eax
je 0x432db8
mov dword [ebp - 0x70], 0x480
jmp 0x4331f7
push dword [ebp - 0x80]
lea eax, [ebp - 0x64]
push str._08x
push edi
push eax
call fcn.0043ce7f
add esp, 0x10
push dword [esi + 0x1128]
lea eax, [esi + 0x112c]
push eax
push 3
push ebx
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x68]
call dword [0x467054]
cmp eax, ebx
mov dword [ebp - 0x6c], eax
je 0x432dfd
mov dword [ebp - 0x70], 0x483
jmp 0x4331f7
push dword [ebp - 0x68]
call dword [0x467004]
mov dword [ebp - 0x68], ebx
push dword [ebp + 0xac]
lea eax, [ebp - 0x64]
push dword [ebp + 0xa8]
push dword [esi + 0xc]
push dword [esi + 8]
push str.SYSTEMCurrentControlSetServicesBTHPORTParameters
push str._sDevices_012I64xServicesFor_012I64x00001124_0000_1000_8000_00805f9b34fb
push edi
push eax
call fcn.0043ce7f
add esp, 0x20
push ebx
lea eax, [ebp - 0x68]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
lea eax, [ebp - 0x64]
push eax
push reloc.WS2_32.dll_bind
call dword [0x4670a4]
cmp eax, ebx
mov dword [ebp - 0x6c], eax
je 0x432e62
mov dword [ebp - 0x70], 0x48b
jmp 0x4331f7
push 4
lea eax, [ebp - 0x74]
push eax
push 4
push ebx
push str.Instance
push dword [ebp - 0x68]
mov dword [ebp - 0x74], 1
call dword [0x467054]
cmp eax, ebx
mov dword [ebp - 0x6c], eax
je 0x432e93
mov dword [ebp - 0x70], 0x48e
jmp 0x4331f7
push dword [ebp - 0x68]
call dword [0x467004]
push dword [ebp + 0xac]
lea eax, [ebp - 0x64]
push dword [ebp + 0xa8]
mov dword [ebp - 0x68], ebx
push dword [esi + 0xc]
push dword [esi + 8]
push str.SYSTEMCurrentControlSetServicesBTHPORTParameters
push str._sDevices_012I64xServicesFor_012I64x00001124_0000_1000_8000_00805f9b34fbC00000000
push edi
push eax
call fcn.0043ce7f
add esp, 0x20
push ebx
lea eax, [ebp - 0x68]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
lea eax, [ebp - 0x64]
push eax
push reloc.WS2_32.dll_bind
call dword [0x4670a4]
cmp eax, ebx
mov dword [ebp - 0x6c], eax
je 0x432ef8
mov dword [ebp - 0x70], 0x495
jmp 0x4331f7
push edi
lea eax, [ebp - 0x64]
push ebx
push eax
call fcn.00436a20
add esp, 0xc
push edi
lea eax, [ebp - 0x64]
push eax
push 3
push ebx
push str.PriLangServiceName
push dword [ebp - 0x68]
call dword [0x467054]
cmp eax, ebx
mov dword [ebp - 0x6c], eax
je 0x432f2f
mov dword [ebp - 0x70], 0x499
jmp 0x4331f7
push 1
push 0x46acf7
push 1
push ebx
push str.DeviceString
push dword [ebp - 0x68]
call dword [0x467054]
cmp eax, ebx
mov dword [ebp - 0x6c], eax
je 0x432f5a
mov dword [ebp - 0x70], 0x49b
jmp 0x4331f7
push 4
lea eax, [ebp - 0x74]
push eax
push 4
push ebx
push str.CounterInstanceId
push dword [ebp - 0x68]
mov dword [ebp - 0x74], ebx
call dword [0x467054]
cmp eax, ebx
mov dword [ebp - 0x6c], eax
je 0x432f87
mov dword [ebp - 0x70], 0x49e
jmp 0x4331f7
push 4
lea eax, [ebp - 0x74]
push eax
push 4
push ebx
push str.Enabled
push dword [ebp - 0x68]
mov dword [ebp - 0x74], 1
call dword [0x467054]
cmp eax, ebx
mov dword [ebp - 0x6c], eax
je 0x432fb8
mov dword [ebp - 0x70], 0x4a1
jmp 0x4331f7
push dword [ebp - 0x68]
call dword [0x467004]
cmp dword [esi + 0x114], ebx
mov dword [ebp - 0x68], ebx
jne 0x433088
cmp dword [esi + 0x118], ebx
jne 0x433088
cmp dword [esi + 0x11c], ebx
jne 0x433088
cmp dword [esi + 0x120], ebx
jne 0x433088
push dword [ebp + 0xac]
lea eax, [ebp - 0x64]
push dword [ebp + 0xa8]
push str.SYSTEMCurrentControlSetServicesBTHPORTParameters
push str._sPerDevices_012I64x
push edi
push eax
call fcn.0043ce7f
add esp, 0x18
push ebx
lea eax, [ebp - 0x68]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
lea eax, [ebp - 0x64]
push eax
push reloc.WS2_32.dll_bind
call dword [0x4670a4]
cmp eax, ebx
mov dword [ebp - 0x6c], eax
je 0x433047
mov dword [ebp - 0x70], 0x4b7
jmp 0x4331f7
push dword [esi + 0xc]
lea eax, [ebp - 0x64]
push dword [esi + 8]
push str._012I64x
push edi
push eax
call fcn.0043ce7f
add esp, 0x14
push ebx
lea eax, [ebp - 0x64]
push eax
push 3
push ebx
push eax
push dword [ebp - 0x68]
call dword [0x467054]
cmp eax, ebx
mov dword [ebp - 0x6c], eax
je 0x43311f
mov dword [ebp - 0x70], 0x4ba
jmp 0x4331f7
push dword [ebp + 0xac]
lea eax, [ebp - 0x64]
push dword [ebp + 0xa8]
push str.SYSTEMCurrentControlSetServicesBTHPORTParameters
push str._sKeys_012I64x
push edi
push eax
call fcn.0043ce7f
add esp, 0x18
push ebx
lea eax, [ebp - 0x68]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
lea eax, [ebp - 0x64]
push eax
push reloc.WS2_32.dll_bind
call dword [0x4670a4]
cmp eax, ebx
mov dword [ebp - 0x6c], eax
je 0x4330db
mov dword [ebp - 0x70], 0x4ab
jmp 0x4331f7
push dword [esi + 0xc]
lea eax, [ebp - 0x64]
push dword [esi + 8]
push str._012I64x
push edi
push eax
call fcn.0043ce7f
add esp, 0x14
push 0x10
lea eax, [esi + 0x114]
push eax
push 3
push ebx
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x68]
call dword [0x467054]
cmp eax, ebx
mov dword [ebp - 0x6c], eax
je 0x43311f
mov dword [ebp - 0x70], 0x4ae
jmp 0x4331f7
push dword [ebp - 0x68]
call dword [0x467004]
push dword [esi + 0xc]
lea eax, [ebp - 0x64]
push dword [esi + 8]
mov dword [ebp - 0x68], ebx
push dword [ebp + 0xac]
push dword [ebp + 0xa8]
push str.SYSTEMCurrentControlSetServicesHidBth
push str._sParametersDevices_012I64x_012I64x
push edi
push eax
call fcn.0043ce7f
add esp, 0x20
push ebx
lea eax, [ebp - 0x68]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
lea eax, [ebp - 0x64]
push eax
push reloc.WS2_32.dll_bind
call dword [0x4670a4]
cmp eax, ebx
mov dword [ebp - 0x6c], eax
je 0x433181
mov dword [ebp - 0x70], 0x4c1
jmp 0x4331f7
mov edi, dword [0x467054]
push 4
lea eax, [ebp - 0x74]
push eax
push 4
push ebx
push str.VirtuallyCabled
push dword [ebp - 0x68]
mov dword [ebp - 0x74], 1
call edi
cmp eax, ebx
mov dword [ebp - 0x6c], eax
je 0x4331b1
mov dword [ebp - 0x70], 0x4c4
jmp 0x4331f7
push 4
lea eax, [ebp - 0x74]
push eax
push 4
push ebx
push str.ConnectionAuthenticated
push dword [ebp - 0x68]
mov dword [ebp - 0x74], ebx
call edi
cmp eax, ebx
mov dword [ebp - 0x6c], eax
je 0x4331d7
mov dword [ebp - 0x70], 0x4c7
jmp 0x4331f7
push dword [ebp - 0x68]
call dword [0x467004]
jmp 0x43324b
push str.BtwProvisionedHidDevsCreateRegistryMs:_invalid_parameter_n
push 1
call fcn.004295b9
mov dword [ebp - 0x6c], 0x57
pop ecx
pop ecx
cmp dword [ebp - 0x68], ebx
je 0x433205
push dword [ebp - 0x68]
call dword [0x467004]
mov edi, dword [ebp - 0x6c]
cmp edi, ebx
je 0x43324b
cmp dword [ebp - 0x70], ebx
je 0x433224
push dword [ebp - 0x70]
push edi
push str.BtwProvisionedHidDevsCreateRegistryMs:_error__d_on_line__d_n
push 1
call fcn.004295b9
add esp, 0x10
push dword [esi + 0xc]
xor eax, eax
push dword [esi + 8]
cmp byte [ebp - 0x75], bl
push dword [ebp + 0xac]
sete al
push dword [ebp + 0xa8]
push eax
call fcn.00432787
add esp, 0x14
cmp edi, ebx
jg 0x433250
mov eax, dword [ebp - 0x6c]
jmp 0x43325e
and edi, 0xffff
or edi, 0x80070000
mov eax, edi
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004369c2
add ebp, 0xa0
leave
ret