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

Disassembly:
push 0xffffffffffffffff
push 0x476ab0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3eb0]
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 [sym.imp.USER32.dll_DefWindowProcW]
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.00459ff0
lea ecx, [esi + 0x3c]
mov byte [esp + 0x34], 1
call fcn.00459ff0
lea ecx, [esi + 0x54]
mov byte [esp + 0x34], 2
call fcn.00459ff0
lea ecx, [esi + 0x6c]
mov byte [esp + 0x34], 3
call fcn.00459ff0
lea ecx, [esi + 0x84]
mov byte [esp + 0x34], 4
call fcn.00459ff0
mov dword [esi + 0x9c], edi
mov edx, dword [0x4a440c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4a440c
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.0045bf00
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.0044b8c0
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 SysReAllocString
mov byte [esp + 0x58], 0xb
mov dword [esp + 0x38], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x419eb2
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 [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x419ee3
cmp dword [esp + 0x1c], 4
je 0x419f03
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 [sym.imp.ADVAPI32.dll_RegSetValueExW]
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 [sym.imp.ADVAPI32.dll_RegQueryValueExW]
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 [sym.imp.KERNEL32.dll_CreateEventW]
push eax
mov dword [0x4a3f74], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push ebp
lea ecx, [esi + 0x160]
call fcn.00405c80
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x419fba
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.00410470
cmp eax, edi
jne 0x419fba
mov eax, dword [esi + 0x9c]
cmp eax, edi
je 0x419fba
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.00403120
mov eax, dword [esi + 4]
add esp, 8
push edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0xa0], edi
cmp ebx, edi
je 0x419fe8
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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