Function at 0x4679b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dbbdd
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x51cca4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd0], ecx
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov ebx, dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov ecx, dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov eax, dword [edi]
test eax, eax
jne 0x467a00
xor edx, edx
jmp 0x467a10
push eax
call ecx
push eax
push dword [edi]
call ebx
mov ecx, dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov edx, eax
cmp dword [edi], 0
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0xd4], edx
je 0x467a2f
test edx, edx
jne 0x467a2f
push 0x8007000e
call fcn.00461260
mov eax, dword [esi]
mov dword [ebp - 4], 0
test eax, eax
jne 0x467a40
xor edi, edi
jmp 0x467a50
push eax
call ecx
push eax
push dword [esi]
call ebx
mov edx, dword [ebp - 0xcc]
mov edi, eax
cmp dword [esi], 0
mov dword [ebp - 0xd8], edi
je 0x467a69
test edi, edi
jne 0x467a69
push 0x8007000e
call fcn.00461260
push 0
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 1
push edx
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xc4], eax
call fcn.00467150
mov eax, dword [ebp - 0xc4]
mov ebx, 0x4e0600
test eax, eax
mov dword [ebp - 0x14], 0xf
mov edx, ebx
mov dword [ebp - 0x18], 0
cmovne edx, eax
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 2
cmp byte [edx], 0
jne 0x467ab8
xor ecx, ecx
jmp 0x467ac9
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x467ac0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004642f0
mov eax, dword [0x51f2b8]
cmp eax, 0x10
jb 0x467aef
inc eax
mov ecx, 0x51f2a4
push eax
push dword [0x51f2a4]
call fcn.00464490
lea eax, [ebp - 0x28]
mov dword [0x51f2b8], 0xf
push eax
mov ecx, 0x51f2a4
mov dword [0x51f2b4], 0
mov byte [0x51f2a4], 0
call fcn.00463e40
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp eax, 0x10
jb 0x467b31
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00464490
test edi, edi
je 0x467b90
mov ecx, edi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x467b40
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jg 0x467b90
lea eax, [ecx + ecx]
mov dword [ebp - 0xc8], eax
call fcn.00489c90
mov esi, esp
test esi, esi
je 0x467b90
push 0
push 0
push dword [ebp - 0xc8]
mov byte [esi], 0
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x467b92
xor esi, esi
test esi, esi
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
cmovne ebx, esi
mov byte [ebp - 0x40], 0
cmp byte [ebx], 0
jne 0x467bb2
xor ecx, ecx
jmp 0x467bc0
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x467bb7
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x40]
call fcn.004642f0
mov eax, dword [0x51f2d0]
mov esi, 0x51f2bc
cmp eax, 0x10
jb 0x467be8
inc eax
mov ecx, esi
push eax
push dword [0x51f2bc]
call fcn.00464490
lea eax, [ebp - 0x40]
mov dword [0x51f2d0], 0xf
push eax
mov ecx, esi
mov dword [0x51f2cc], 0
mov byte [0x51f2bc], 0
call fcn.00463e40
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
cmp eax, 0x10
jb 0x467c27
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00464490
push 0
lea eax, [ebp - 0xc8]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwarePdaNetAndroid
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebx, dword [ebp - 0xcc]
test eax, eax
jne 0x467c99
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x467c60
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push ebx
push 1
push 0
push 0x4e1ba4
push dword [ebp - 0xc8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xc8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x51f2d0], 0x10
lea eax, [ebp - 0xc8]
push 0
cmovae esi, dword [0x51f2bc]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwarePdaNetAndroid
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x467cfb
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
push 1
push 0
push str.BtAddr
push dword [ebp - 0xc8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0xc8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xd0]
lea eax, [ebp - 0xe8]
push 0
push 0
push 0
push str.onBtTestSucceed
push eax
call fcn.00466e80
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0xc0]
cmp eax, ecx
je 0x467d31
push eax
call fcn.0049615e
add esp, 4
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edi
call esi
push ebx
call esi
xor eax, eax
lea esp, [ebp - 0xf8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00489c7b
mov esp, ebp
pop ebp
ret 0x10