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

Disassembly:
push 0xffffffffffffffff
push 0x4775e0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4eb0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], esi
mov eax, dword [0x47f530]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
lea ecx, [esi + 0x24]
mov dword [esp + 0x34], edi
mov dword [esi], vtable.CDeviceDetect.0
call fcn.0040fa50
lea ecx, [esi + 0x3c]
mov byte [esp + 0x34], 1
call fcn.0040fa50
lea ecx, [esi + 0x54]
mov byte [esp + 0x34], 2
call fcn.0040fa50
lea ecx, [esi + 0x6c]
mov byte [esp + 0x34], 3
call fcn.0040fa50
lea ecx, [esi + 0x84]
mov byte [esp + 0x34], 4
call fcn.0040fa50
mov dword [esi + 0x9c], edi
mov edx, dword [0x4a540c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4a540c
mov byte [esp + 0x34], 6
call eax
add eax, 0x10
mov dword [esi + 0xa4], eax
lea ecx, [esi + 0xc4]
mov byte [esp + 0x34], 7
call fcn.0045c680
lea ebp, [esi + 0x164]
mov dword [ebp], edi
mov dword [ebp + 4], edi
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], edi
lea ecx, [esi + 0x178]
mov byte [esp + 0x34], 9
call fcn.0044b570
xor ebx, ebx
mov dword [esi + 0x174], edi
mov dword [esi + 0xb0], edi
mov dword [esp + 0x18], edi
mov dword [esi + 0xb4], 0x3c
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
push edi
push 0x2001f
push edi
push edi
push edi
push str.SoftwareSamsungKiesConnect
push 0x80000001
mov byte [esp + 0x58], 0xb
mov dword [esp + 0x38], edi
call dword [0x47f00c]
cmp eax, edi
jne 0x419812
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
lea eax, [esp + 0x14]
push eax
lea eax, [esi + 0xb4]
push eax
lea ecx, [esp + 0x24]
push ecx
push edi
push str.RecoveryTimer
push ebx
mov dword [esp + 0x2c], 4
call dword [0x47f010]
cmp eax, edi
jne 0x419843
cmp dword [esp + 0x1c], 4
je 0x419863
mov edx, dword [esi + 0xb4]
push 4
lea eax, [esp + 0x20]
push eax
push 4
push edi
push str.RecoveryTimer
push ebx
mov dword [esp + 0x34], edx
call dword [0x47f024]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
push edi
push str.Autoconnect
push ebx
mov dword [esp + 0x34], 4
call dword [0x47f010]
xor ecx, ecx
cmp dword [esp + 0x18], edi
push edi
setne cl
push edi
push 1
push edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xc0], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xac], ecx
call dword [0x47f0d4]
push eax
mov dword [0x4a4f74], eax
call dword [0x47f0d0]
push ebp
lea ecx, [esi + 0x160]
call fcn.00405c80
mov edx, dword [esi + 4]
push edx
call dword [0x47f4e8]
test eax, eax
jne 0x41991a
push edi
push ecx
mov eax, esp
mov dword [esp + 0x24], esp
push edi
push edi
push str.NPSC_Detect_Device_Window
push ecx
mov dword [esi + 4], edi
mov dword [eax], edi
mov eax, esp
mov dword [esp + 0x34], esp
push edi
mov ecx, esi
mov dword [eax], edi
call fcn.00410490
cmp eax, edi
jne 0x41991a
mov eax, dword [esi + 0x9c]
cmp eax, edi
je 0x41991a
mov dword [esi + 0x9c], edi
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push str.CDeviceDetect::CDeviceDetect
push str._s_Create_Device_Window_
call fcn.00403140
mov eax, dword [esi + 4]
add esp, 8
push edi
push eax
call dword [0x47f4dc]
mov dword [esi + 0xa0], edi
cmp ebx, edi
je 0x419948
push ebx
call dword [0x47f008]
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret