joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e8d6
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [0x4670d4]
push edi
xor ebx, ebx
xor edi, edi
jmp 0x41e90e
mov ecx, dword [ebp - 0x18]
cmp ecx, 1
je 0x41e942
cmp ecx, 4
je 0x41e942
cmp ecx, 7
je 0x41e942
push dword [ebp + 0x14]
call dword [0x46732c]
add edi, dword [ebp + 0x14]
cmp edi, dword [ebp + 0x10]
jae 0x41e936
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call esi
test eax, eax
jne 0x41e8eb
call dword [0x467358]
push eax
push str.QueryServiceStatus_failed
push str.Bluetooth_Service::_s__d_n
call fcn.0041b266
add esp, 0xc
jmp 0x41e94e
push 0x102
push str.wait_service_pending_is_elapsed
jmp 0x41e927
mov eax, dword [ebp + 0xc]
xor ebx, ebx
inc ebx
test eax, eax
je 0x41e94e
mov dword [eax], ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x41e955
Capabilities:
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 8], ebx
mov eax, str.stop
jne 0x41e970
mov eax, str.start
push dword [ebp + 8]
push eax
push str.Bluetooth_Service::BtControlService__s__s_n
call fcn.0041b266
add esp, 0xc
push 0xf003f
push ebx
push ebx
call dword [0x467064]
cmp eax, ebx
mov dword [ebp - 0xc], eax
jne 0x41e9b3
call dword [0x467358]
push eax
push str.OpenSCManager_failed
push str.Bluetooth_Service::_s__d_n
call fcn.0041b266
add esp, 0xc
jmp 0x41eabf
mov ecx, dword [ebp + 0xc]
neg ecx
sbb ecx, ecx
push esi
and ecx, 0x10
push edi
add ecx, 0x10
or ecx, 4
push ecx
push dword [ebp + 8]
push eax
call dword [0x467060]
mov edi, eax
cmp edi, ebx
jne 0x41e9f4
call dword [0x467358]
push eax
push str.OpenService_failed
push str.Bluetooth_Service::_s__d_n
call fcn.0041b266
add esp, 0xc
jmp 0x41eaab
mov esi, 0x3e8
push esi
push dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
push edi
call fcn.0041e8d6
add esp, 0x10
test eax, eax
jne 0x41ea1c
call dword [0x467358]
push eax
push str.ServWaitPending_failed
jmp 0x41e9e2
cmp dword [ebp + 0xc], ebx
je 0x41ea4e
cmp dword [ebp - 4], 1
jne 0x41ea2f
push ebx
push str.service_is_already_stopped
jmp 0x41e9e2
lea eax, [ebp - 0x28]
push eax
push 1
push edi
call dword [0x467074]
test eax, eax
jne 0x41ea7c
call dword [0x467358]
push eax
push str.ControlService_failed
jmp 0x41e9e2
cmp dword [ebp - 4], 1
je 0x41ea5e
push dword [ebp - 4]
push str.service_is_already_started._State
jmp 0x41e9e2
push ebx
push ebx
push edi
call dword [0x467104]
test eax, eax
jne 0x41ea7c
call dword [0x467358]
push eax
push str.StartService_failed
jmp 0x41e9e2
push esi
push dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
push edi
mov dword [ebp - 8], 1
call fcn.0041e8d6
add esp, 0x10
test eax, eax
je 0x41ea0e
push dword [ebp - 4]
push str.Bluetooth_Service::BtControlService_succeeded._State_d__n
call fcn.0041b266
pop ecx
pop ecx
cmp edi, ebx
mov esi, dword [0x46705c]
je 0x41eab8
push edi
call esi
push dword [ebp - 0xc]
call esi
pop edi
pop esi
mov eax, dword [ebp - 8]
pop ebx
leave
ret
Function at 0x41eec7
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x2001f
push 0
push str.SOFTWAREWidcommBTConfigGeneralSetState
push reloc.WS2_32.dll_bind
call dword [0x46700c]
test eax, eax
jne 0x41ef18
mov eax, dword [ebp + 8]
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.RadioSetState
push dword [ebp - 4]
call dword [0x46703c]
push dword [ebp - 4]
call dword [0x467004]
leave
ret
push str.Failed_to_open_registry
call fcn.0041b266
pop ecx
leave
ret
Function at 0x41fa6e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x514
lea ebp, [esp - 4]
mov eax, dword [0x498b28]
xor eax, ebp
mov dword [ebp + 0x514], eax
push 0x14
mov eax, 0x466002
call fcn.0043b8a6
push dword [ebp + 0x528]
mov eax, dword [ebp + 0x520]
push dword [ebp + 0x524]
mov dword [ebp - 0x14], eax
push str.Bluetooth_Service::Control_Install__d_Mouse__d_n
call fcn.0041b266
xor edi, edi
add esp, 0xc
mov dword [ebp - 0x10], edi
cmp dword [ebp + 0x524], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], 0x104
mov ebx, reloc.WS2_32.dll_bind
je 0x41fb2d
push 0x20019
push str.SoftwareWidcommBtConfigHID
push ebx
lea ecx, [ebp - 0x10]
call fcn.0041ce0e
test eax, eax
je 0x41faf1
push str.Bluetooth_Service::HID_is_not_prepared_n
jmp 0x41fc53
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp]
push eax
push edi
push edi
push 0x477a14
push dword [ebp - 0x10]
call dword [0x467040]
test eax, eax
je 0x41fb25
push str.Bluetooth_Service::No_BdAddr_is_not_prepared_n
call fcn.0041b266
pop ecx
lea ecx, [ebp - 0x10]
call fcn.0041cdf7
jmp 0x41fc59
lea ecx, [ebp - 0x10]
call fcn.0041cdf7
push 0x20019
push 0x477980
push ebx
lea ecx, [ebp - 0x10]
call fcn.0041ce0e
test eax, eax
je 0x41fb4e
push str.Bluetooth_Service::install_key_is_not_prepared_n
jmp 0x41fc53
lea eax, [ebp + 0x208]
push 0x49a658
push eax
call fcn.0043ad55
lea eax, [ebp + 0x208]
push 0x4778f8
push eax
call fcn.0043ad2b
add esp, 0x10
push 0x46ff1c
call dword [0x46712c]
cmp eax, edi
mov dword [ebp - 0x18], eax
jne 0x41fb8f
push str.Bluetooth_Service::BT2K_INS_does_not_exist_n
jmp 0x41fc53
push str.BT2K_InstallHID
push eax
call dword [0x467118]
mov ebx, eax
cmp ebx, edi
jne 0x41fbba
push str.Bluetooth_Service::BT2K_INS_bad_n
call fcn.0041b266
pop ecx
push dword [ebp - 0x18]
call dword [0x467128]
jmp 0x41fc59
cmp dword [0x49a894], edi
jne 0x41fbdb
push 0x7530
push 1
push str.HidServ
call fcn.0041e955
add esp, 0xc
mov dword [0x49a86c], eax
cmp dword [ebp + 0x524], edi
je 0x41fc2c
push edi
push edi
push 0x104
lea eax, [ebp + 0x410]
push eax
push 0xffffffffffffffff
lea eax, [ebp + 0x208]
push eax
push edi
push edi
call dword [0x467334]
cmp dword [ebp + 0x528], edi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0x410]
je 0x41fc1b
push str.95C7A0A0_3094_11D7_A202_00508B9D7D5AHID_MOUSE
jmp 0x41fc20
push str.95C7A0A0_3094_11D7_A202_00508B9D7D5AHID_KEYBOARD
push eax
push dword [ebp - 0x14]
call ebx
mov dword [ebp - 0x14], eax
add esp, 0x10
push dword [ebp - 0x18]
call dword [0x467128]
cmp dword [ebp - 0x14], edi
jne 0x41fc4e
call dword [0x467358]
push eax
push str.Bluetooth_Service::installation_failed_0x_x_n
call fcn.0041b266
pop ecx
jmp 0x41fc58
push str.Bluetooth_Service::installation_done_n
call fcn.0041b266
pop ecx
lea ecx, [ebp - 0x10]
call fcn.0041cdf7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x514]
xor ecx, ebp
call fcn.004369c2
add ebp, 0x518
leave
ret
Function at 0x420205
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x498b28]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x20019
push 0x477980
mov edi, ecx
mov ebx, reloc.WS2_32.dll_bind
xor esi, esi
push ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], esi
call fcn.0041ce0e
test eax, eax
je 0x420245
push str.Bluetooth_Service::install_key_is_not_prepared_n
jmp 0x420380
lea eax, [ebp - 0x34]
push eax
push str.StartPort
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x34], esi
call fcn.0041d3f6
test eax, eax
je 0x420267
push str.Bluetooth_Service::install_path_is_not_prepared_n
jmp 0x420380
lea ecx, [ebp - 0x28]
call fcn.0041cdf7
cmp dword [ebp - 0x34], esi
je 0x42037b
cmp dword [ebp - 0x34], 0x7f
jae 0x42037b
push 0x2001f
push str.SYSTEMCurrentControlSetControlCOM_Name_Arbiter
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], esi
call fcn.0041ce0e
test eax, eax
je 0x4202b4
push str.Bluetooth_Service::could_not_open_COM_Name_Arbiter_n
call fcn.0041b266
pop ecx
lea ecx, [ebp - 0x2c]
call fcn.0041cdf7
jmp 0x420386
push 0x20
pop ebx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
push eax
push esi
push str.ComDB
push dword [ebp - 0x2c]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], ebx
call dword [0x467040]
test eax, eax
je 0x4202f1
push str.Bluetooth_Service::could_not_read_COM_Name_Arbiter_n
call fcn.0041b266
pop ecx
lea ecx, [ebp - 0x2c]
call fcn.0041cdf7
jmp 0x4202a7
push ebx
lea eax, [edi + 8]
push esi
push eax
call fcn.00436a20
mov eax, dword [ebp - 0x34]
add esp, 0xc
dec eax
cmp eax, esi
mov dword [edi + 4], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x40], eax
jbe 0x42034c
mov eax, dword [ebp - 0x30]
xor edx, edx
mov ecx, eax
and ecx, 7
inc edx
shr eax, 3
shl edx, cl
lea esi, [ebp + eax - 0x24]
mov bl, byte [esi]
test bl, dl
jne 0x42033f
lea edx, [edi + eax + 8]
mov al, 1
shl al, cl
mov dword [edi + 4], 1
or byte [edx], al
or al, bl
mov byte [esi], al
inc dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x40]
jb 0x420310
xor esi, esi
cmp dword [edi + 4], esi
je 0x4202e7
push dword [ebp - 0x38]
lea eax, [ebp - 0x24]
push eax
push 3
push esi
push str.ComDB
push dword [ebp - 0x2c]
call dword [0x46703c]
test eax, eax
je 0x4202e7
push str.Bluetooth_Service::could_not_write_COM_Name_Arbiter_n
jmp 0x4202e1
push str.Bluetooth_Service::no_COM_ports_to_block_n
call fcn.0041b266
pop ecx
lea ecx, [ebp - 0x28]
call fcn.0041cdf7
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004369c2
leave
ret
Function at 0x42039d
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x498b28]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
xor esi, esi
cmp dword [edi + 4], esi
je 0x420473
push 0x2001f
push str.SYSTEMCurrentControlSetControlCOM_Name_Arbiter
push reloc.WS2_32.dll_bind
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], esi
call fcn.0041ce0e
test eax, eax
je 0x4203ea
push str.Bluetooth_Service::could_not_open_COM_Name_Arbiter_n
call fcn.0041b266
pop ecx
jmp 0x42046b
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
push esi
mov dword [ebp - 0x30], esi
mov esi, str.ComDB
push esi
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0x20
call dword [0x467040]
test eax, eax
je 0x420429
push str.Bluetooth_Service::could_not_read_COM_Name_Arbiter_n
call fcn.0041b266
pop ecx
lea ecx, [ebp - 0x28]
call fcn.0041cdf7
jmp 0x42046b
xor eax, eax
mov cl, byte [edi + eax + 8]
not cl
and byte [ebp + eax - 0x24], cl
inc eax
cmp eax, 0x20
jb 0x42042b
push dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
push eax
push 3
push 0
push esi
push dword [ebp - 0x28]
call dword [0x46703c]
test eax, eax
je 0x42045f
push str.Bluetooth_Service::could_not_write_COM_Name_Arbiter_n
call fcn.0041b266
pop ecx
lea ecx, [ebp - 0x28]
call fcn.0041cdf7
and dword [edi + 4], 0
lea ecx, [ebp - 0x28]
call fcn.0041cdf7
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004369c2
leave
ret
Function at 0x4205c4
Capabilities:
Set registry value

Disassembly:
push 0x11c
mov eax, 0x466095
call fcn.0043b90f
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.PreInstallHid_start___index__d__mouse__d
call fcn.0041b266
add esp, 0xc
xor edi, edi
push 0x46ff1c
mov dword [ebp - 0x124], edi
call dword [0x46712c]
cmp eax, edi
mov dword [ebp - 0x128], eax
jne 0x420616
push str.Bluetooth_Service::BT2K_INS_does_not_exist_n
call fcn.0041b266
pop ecx
xor eax, eax
call fcn.0043b992
ret
lea eax, [ebp - 0x11c]
push str.95C7A0A0_3094_11D7_A202_00508B9D7D5AHID_MOUSE
push eax
call fcn.0043b190
cmp dword [ebp + 0xc], edi
pop ecx
pop ecx
jne 0x420641
lea eax, [ebp - 0x11c]
push str.95C7A0A0_3094_11D7_A202_00508B9D7D5AHID_KEYBOARD
push eax
call fcn.0043b190
pop ecx
pop ecx
mov dword [ebp - 0x120], edi
push 0x2001f
push str.SoftwareWidcommBtConfigHID
push reloc.WS2_32.dll_bind
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], edi
call fcn.0041ce0e
mov al, byte [ebp + 8]
add al, al
cmp dword [ebp + 0xc], edi
mov byte [ebp - 0x18], 0xff
mov byte [ebp - 0x17], 0xff
mov byte [ebp - 0x16], 0xff
mov byte [ebp - 0x15], 0xff
mov byte [ebp - 0x14], 0xff
mov byte [ebp - 0x13], al
jne 0x42068a
inc al
mov byte [ebp - 0x13], al
push 6
lea eax, [ebp - 0x18]
push eax
push 3
push edi
push 0x477a14
push dword [ebp - 0x120]
call dword [0x46703c]
lea ecx, [ebp - 0x120]
call fcn.0041cdf7
mov esi, dword [0x467118]
push str.BT2K_InstallHID
push dword [ebp - 0x128]
call esi
cmp eax, edi
je 0x4206e1
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x11c]
push ecx
push edi
push edi
call eax
mov ebx, eax
add esp, 0x10
cmp ebx, edi
jne 0x4206fe
push str.BT2K_InstallHID_failed
call fcn.0041b266
pop ecx
lea ecx, [ebp - 0x120]
call fcn.0041cdf7
mov eax, edi
jmp 0x420610
push 0x3a98
call fcn.0041b235
mov dword [esp], str.BT2K_RemoveHIDbyBdAddr
push dword [ebp - 0x128]
call esi
cmp eax, edi
je 0x42072c
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x18]
push ecx
call eax
pop ecx
pop ecx
mov ebx, eax
cmp ebx, edi
jne 0x42073b
push str.BT2K_RemoveHIDbyBdAddr_failed
call fcn.0041b266
pop ecx
push str.PreInstallHid_done
call fcn.0041b266
mov edi, ebx
jmp 0x4206eb

Function at 0x420992
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [0x46703c]
ret 8

Function at 0x4209ac
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
test esi, esi
mov ebx, ecx
jne 0x4209c2
push 0x80004005
call fcn.0041a4ec
push edi
xor edi, edi
push esi
call dword [0x467138]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4209c5
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [0x46703c]
pop edi
pop esi
pop ebx
ret 8
Function at 0x421005
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x498b28]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push ebx
push esi
push edi
push 0x2001f
mov ebx, ecx
push eax
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
call fcn.0041ce0e
mov edi, eax
cmp edi, esi
je 0x42106d
lea ecx, [ebp - 0x70]
call fcn.0041cdf7
mov eax, edi
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004369c2
add ebp, 0x198
leave
ret 4
mov edi, dword [0x467044]
jmp 0x421085
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
call fcn.00421005
cmp eax, esi
jne 0x4210b8
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call edi
test eax, eax
je 0x421075
lea ecx, [ebp - 0x70]
call fcn.0041cdf7
push dword [ebp - 0x78]
push dword [ebx]
call dword [section..rdata]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.0041cdf7
mov eax, esi
jmp 0x421053
Function at 0x4235d5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x498b28]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, 0x49a438
push ebx
call dword [0x467314]
mov esi, 0x1d4c0
push esi
mov edi, 0x3e8
push edi
call fcn.0041f2b4
pop ecx
pop ecx
call fcn.00421e81
test eax, eax
jne 0x423620
push str.HandleDevChangedNotification:_isDongleAttached_returns_FALSE_n
call fcn.0041b266
pop ecx
jmp 0x42372f
call fcn.0042ec49
test eax, eax
je 0x423638
call fcn.004220a3
push esi
push edi
call fcn.0041f2b4
pop ecx
jmp 0x423642
push str.HandleDevChangedNotification:_BT_is_not_under_IT_policy_n
call fcn.0041b266
pop ecx
call fcn.0041b893
test eax, eax
je 0x42365b
push str.HandleDevChangedNotification:_BTW_is_not_installed_yet_n
call fcn.0041b266
jmp 0x423724
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x46acf7
push str.SoftwareWIDCOMMInstallTurnedOffDevs
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x18], 0x10
call dword [0x4673fc]
test eax, eax
je 0x423691
cmp eax, 2
je 0x42369e
push str._HandleDevChangedNotification:_SHGetValue_failed._err_d_n
jmp 0x423696
push str.HandleDevChangedNotification:_dongle_initialized_already_n
call fcn.0041b266
pop ecx
jmp 0x423717
push str.HandleDevChangedNotification:_dongle_attached_first_time_n
call fcn.0041b266
mov dword [esp], str.BTWPP_ArePdosPresent
call fcn.00421d9a
test eax, eax
pop ecx
jne 0x4236d2
push str.HandleDevChangedNotification:_Update_drivers_for_PDOs._n
call fcn.0041b266
mov dword [esp], str.BTWPP_UpdatePdoDrivers
call fcn.00421d9a
pop ecx
jmp 0x4236e2
push str.HandleDevChangedNotification:_install_PDOs_n
call fcn.0041b266
pop ecx
call fcn.00421cce
push esi
push 0x1388
call fcn.0041f2b4
call fcn.00421e75
push esi
push edi
call fcn.0041f2b4
push str.BTWPP_DiscoveryAllPairedDevices
call fcn.00421d9a
push str.BTWPP_EnableAllServicesOfPairedDevices
call fcn.00421d9a
push esi
push edi
call fcn.0041f2b4
add esp, 0x20
push 0
push str.BTWPP_SetupAllMyCompItems
call fcn.00421d2a
pop ecx
pop ecx
mov ecx, 0x49aadd
call fcn.00428018
push ebx
call dword [0x4672c0]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004369c2
leave
ret 4
Function at 0x424def
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x498b28]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp dword [0x49ab98], ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x28], ebx
jne 0x424e26
call fcn.00424da8
mov dword [0x49ab9c], eax
mov dword [0x49ab98], 1
cmp dword [0x49ab9c], ebx
push 3
pop eax
je 0x424e36
mov eax, 0x103
lea ecx, [ebp - 0x28]
push ecx
push eax
push ebx
push str.SOFTWAREMicrosoftDriver_Signing
push esi
call dword [0x46700c]
mov edi, eax
cmp edi, ebx
jne 0x424eae
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
push ebx
mov esi, str.Policy
push esi
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0x20
call dword [0x467040]
mov edi, eax
cmp edi, ebx
jne 0x424eae
cmp dword [ebp - 0x2c], 1
jae 0x424e82
push 0x16
pop edi
jmp 0x424eae
movzx ecx, byte [ebp - 0x24]
mov eax, dword [ebp + 0xc]
cmp eax, ebx
mov dword [ebp - 0x34], ecx
jl 0x424eae
cmp eax, ecx
je 0x424eae
push dword [ebp - 0x2c]
mov byte [ebp - 0x24], al
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x30]
push ebx
push esi
push dword [ebp - 0x28]
call dword [0x46703c]
mov edi, eax
cmp dword [ebp - 0x28], ebx
je 0x424ebc
push dword [ebp - 0x28]
call dword [0x467004]
cmp edi, ebx
jne 0x424ec5
mov eax, dword [ebp - 0x34]
jmp 0x424ecf
push edi
call dword [0x4671b4]
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004369c2
leave
ret
Function at 0x42621d
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
xor ebx, ebx
cmp dword [0x49a868], ebx
jne 0x42623e
cmp dword [0x49a870], ebx
jne 0x42623e
xor eax, eax
inc eax
jmp 0x426412
push str.Start_WaitAndCompleteInstallOn2k_n
call fcn.0041b266
cmp dword [0x49a868], ebx
pop ecx
je 0x426259
cmp dword [0x49a874], ebx
jne 0x426236
push esi
push edi
mov edi, dword [0x46745c]
lea eax, [ebp - 4]
push eax
push 0x426125
mov dword [0x49b3e0], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call edi
cmp dword [ebp - 4], ebx
mov esi, dword [0x46732c]
jne 0x4262b8
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jge 0x4262a2
lea eax, [ebp - 4]
push eax
push 0x426125
call edi
push 0x64
call esi
inc dword [ebp - 8]
cmp dword [ebp - 4], ebx
je 0x426283
cmp dword [ebp - 4], ebx
jne 0x4262b8
push str.Found_New_Hardware_Wizard_dialog_window_not_found_n
call fcn.0041b266
xor eax, eax
jmp 0x42640f
lea eax, [ebp - 0x10]
push eax
push 0x4250ec
push dword [ebp - 4]
mov dword [ebp - 0x10], ebx
call dword [0x467464]
cmp dword [ebp - 0x10], ebx
jne 0x4262d9
push str.Finish_window_not_found_n
jmp 0x4262ac
push str.Finish_window_found_n
call fcn.0041b266
pop ecx
push dword [ebp - 4]
call dword [0x467430]
push dword [ebp - 4]
call dword [0x467434]
push dword [ebp - 4]
call dword [0x467438]
mov edi, 0x1f4
push edi
call esi
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 4]
call dword [0x467440]
push ebx
call dword [0x46743c]
push 1
mov dword [ebp - 0xc], eax
call dword [0x46743c]
mov ecx, dword [ebp - 0x18]
push dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x20]
add eax, ecx
cdq
sub eax, edx
push 0xffff
sar eax, 1
push eax
call dword [0x4671ec]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
add eax, ecx
cdq
sub eax, edx
push 0xffff
sar eax, 1
push eax
call dword [0x4671ec]
push ebx
push ebx
push eax
push dword [ebp - 0xc]
mov dword [ebp - 8], eax
push 0x8002
call dword [0x467444]
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x8004
call dword [0x467444]
push edi
call esi
push ebx
push ebx
push 0xf5
push dword [ebp - 0x10]
call dword [0x4674c0]
push edi
call esi
push dword [ebp - 4]
call dword [0x46746c]
test eax, eax
je 0x4263e3
lea eax, [ebp - 8]
push eax
push 0x4250ec
push dword [ebp - 4]
mov dword [ebp - 8], ebx
call dword [0x467464]
cmp dword [ebp - 8], ebx
je 0x4263e3
push str.Finish_window_found_n
call fcn.0041b266
pop ecx
push ebx
push ebx
push 0xf5
push dword [ebp - 8]
call dword [0x4674c0]
cmp dword [0x49a868], ebx
je 0x4263f5
mov dword [0x49a874], 1
call dword [0x4674a8]
push eax
call dword [0x467458]
push str.End_WaitAndCompleteInstallOn2k_n
call fcn.0041b266
xor eax, eax
inc eax
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42642c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
push 0x190
mov edi, ecx
push 0
push edi
call fcn.00436a20
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SoftwareWidcommBTConfigBtwdins
push reloc.WS2_32.dll_bind
call dword [0x46700c]
test eax, eax
jne 0x426485
lea eax, [ebp - 8]
push eax
push edi
push 0
push 0
push dword [ebp + 8]
mov dword [ebp - 8], 0x18e
push dword [ebp - 4]
call dword [0x467040]
push dword [ebp - 4]
call dword [0x467004]
pop edi
leave
ret 4

Function at 0x42648a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 2
push esi
push esi
push esi
push str.SoftwareWidcommBTConfigBtwdins
push reloc.WS2_32.dll_bind
mov edi, ecx
call dword [0x467008]
test eax, eax
jne 0x4264d8
push edi
call fcn.0043ada3
pop ecx
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [0x46703c]
push dword [ebp - 4]
call dword [0x467004]
pop edi
pop esi
leave
ret 4

Function at 0x427307
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareWidcommBtConfigDebug
push reloc.WS2_32.dll_bind
call dword [0x46700c]
test eax, eax
jne 0x427356
lea eax, [ebp - 8]
push eax
push 0x49b788
push 0
push 0
push 0x47b564
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [0x467040]
push dword [ebp - 4]
call dword [0x467004]
leave
ret

Function at 0x427baf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x498b28]
xor eax, ebp
mov dword [ebp + 0x190], eax
mov eax, dword [ebp + 0x19c]
movzx ecx, byte [eax + 5]
push ebx
push esi
push edi
push ecx
movzx ecx, byte [eax + 4]
mov esi, dword [ebp + 0x1a0]
push ecx
movzx ecx, byte [eax + 3]
push ecx
movzx ecx, byte [eax + 2]
push ecx
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
push ecx
push eax
lea eax, [ebp - 0x78]
push str.SoftwareWIDCOMMBTConfigDevices_02x:_02x:_02x:_02x:_02x:_02x
xor ebx, ebx
push eax
mov dword [ebp - 0x7c], ebx
call fcn.004273fc
add esp, 0x20
mov byte [esi], bl
mov edi, 0x20019
call fcn.00427379
test eax, eax
je 0x427c21
mov edi, 0x20119
lea eax, [ebp - 0x7c]
push eax
push edi
push ebx
lea eax, [ebp - 0x78]
push eax
push reloc.WS2_32.dll_bind
call dword [0x46700c]
cmp eax, ebx
je 0x427c49
push eax
push str.Btwdins:_Error_getting_HID_device_name_from_registry:__x_n
call fcn.00427457
pop ecx
pop ecx
jmp 0x427c70
mov eax, dword [ebp + 0x1a4]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x80]
push eax
push esi
push ebx
push ebx
push 0x46b9d0
push dword [ebp - 0x7c]
call dword [0x467040]
push dword [ebp - 0x7c]
call dword [0x467004]
mov ecx, dword [ebp + 0x190]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004369c2
add ebp, 0x194
leave
ret