Function at 0x410230
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4bbdd8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4e5a68]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e5a68]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, dword [esp + 0x68]
xor ebp, ebp
cmp dword [0x4f0c9c], ebp
mov ebx, ecx
mov dword [esp + 0x18], ebx
je 0x4105c0
mov eax, dword [esi]
cmp eax, 0x12d
jne 0x4102e3
mov edi, dword [esi + 0x14]
mov ebp, dword [esi + 0x10]
lea eax, [edi + 1]
push eax
sub ebp, edi
call fcn.00431acc
push edi
lea ecx, [esi + 0x20]
mov ebx, eax
push ecx
push ebx
call fcn.00433730
lea edx, [ebp + 1]
push edx
mov byte [ebx + edi], 0
call fcn.00431acc
push ebp
lea ecx, [esi + edi + 0x20]
push ecx
push eax
mov dword [esp + 0x34], eax
call fcn.00433730
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
add esp, 0x20
push eax
push ebx
mov byte [eax + ebp], 0
mov eax, dword [edx + 4]
push 0x8bba
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4105c0
cmp eax, 0x12c
jne 0x410326
mov ecx, dword [esi + 0x10]
add ecx, 1
push ecx
call fcn.00431acc
mov edx, dword [esi + 0x10]
mov edi, eax
push edx
lea eax, [esi + 0x20]
push eax
push edi
call fcn.00433730
mov ecx, dword [esi + 0x10]
add esp, 0x10
push ebp
push edi
mov byte [edi + ecx], 0
mov edx, dword [ebx + 4]
push 0x8bbb
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4105c0
cmp eax, 0x1d
jne 0x41043e
mov eax, dword [esi + 0x10]
push eax
lea ecx, [esi + 0x20]
push ecx
lea ecx, [esp + 0x24]
call fcn.0040f120
mov esi, dword [esi + 0x14]
mov ebx, 1
cmp esi, ebx
mov dword [esp + 0x60], ebp
jne 0x410395
push str.PdaNet_update_available__click_here_to_download.
lea ecx, [esp + 0x3c]
call fcn.00405e70
push 0xffffffffffffffff
push ebp
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], bl
call fcn.00405120
lea ecx, [esp + 0x38]
call fcn.00405010
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x41038b
lea eax, [esp + 0x20]
push 0x8b54
jmp 0x410424
mov edi, 2
cmp esi, edi
jne 0x4103fd
mov eax, dword [0x4f0ca4]
cmp eax, 0x64
mov dword [0x4f0ca4], 0x65
jne 0x410430
push 0x14
call fcn.004321b4
add esp, 4
cmp eax, ebp
je 0x4103e5
push ebx
mov ecx, eax
mov dword [eax + 8], ebp
mov byte [eax + 0xc], bl
mov dword [eax], vtable.StateChangeThread.0
mov dword [eax + 0x10], edi
call fcn.00402dd0
lea ecx, [esp + 0x1c]
call fcn.00405010
jmp 0x4105c0
xor eax, eax
push ebx
mov ecx, eax
call fcn.00402dd0
lea ecx, [esp + 0x1c]
call fcn.00405010
jmp 0x4105c0
cmp esi, 3
mov eax, dword [esp + 0x20]
jne 0x410418
cmp dword [esp + 0x34], 0x10
jae 0x410411
lea eax, [esp + 0x20]
push 0x8b55
jmp 0x410424
cmp dword [esp + 0x34], 0x10
jae 0x410423
lea eax, [esp + 0x20]
push ebp
push ebx
push eax
mov ecx, 0x4f0e58
call fcn.0040d5a0
lea ecx, [esp + 0x1c]
call fcn.00405010
jmp 0x4105c0
cmp eax, 0x1e
jne 0x4104ae
mov edi, 2
cmp dword [esi + 4], edi
jne 0x4105c0
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x114], eax
mov eax, dword [0x4f0ca4]
cmp eax, 0x64
mov dword [0x4f0ca4], 0x66
jne 0x4105c0
push 0x14
call fcn.004321b4
add esp, 4
cmp eax, ebp
lea ebx, [edi - 1]
je 0x41049f
push ebx
mov ecx, eax
mov dword [eax + 8], ebp
mov byte [eax + 0xc], bl
mov dword [eax], vtable.StateChangeThread.0
mov dword [eax + 0x10], edi
call fcn.00402dd0
jmp 0x4105c0
xor eax, eax
push ebx
mov ecx, eax
call fcn.00402dd0
jmp 0x4105c0
cmp eax, 0x1f
jne 0x4105b2
mov ecx, dword [esi + 0x10]
push ecx
lea edx, [esi + 0x20]
push edx
lea ecx, [esp + 0x40]
call fcn.0040f120
mov esi, dword [esi + 4]
cmp esi, 3
mov dword [esp + 0x60], 2
jne 0x4104f8
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x40]
push eax
mov ecx, 0x4e557c
call fcn.00405120
lea ecx, [esp + 0x38]
call fcn.00405010
jmp 0x4105c0
cmp esi, 4
jne 0x41051b
lea ecx, [esp + 0x38]
push ecx
lea ecx, [ebx + 0xf8]
call fcn.00405e50
lea ecx, [esp + 0x38]
call fcn.00405010
jmp 0x4105c0
cmp esi, 5
jne 0x410549
push 0xffffffffffffffff
push ebp
lea edx, [esp + 0x40]
push edx
mov ecx, 0x4f0e38
call fcn.00405120
mov eax, dword [0x4f0e34]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [esp + 0x38]
call fcn.00405010
jmp 0x4105c0
cmp esi, 6
jne 0x4105a7
cmp dword [esp + 0x50], 0x10
mov esi, dword [esp + 0x3c]
jae 0x41055d
lea esi, [esp + 0x3c]
push ebp
lea ecx, [esp + 0x18]
push ecx
push ebp
push 0x20006
push ebp
push ebp
push ebp
push str.SoftwarePdaNetAndroid
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4105a7
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x14]
push eax
push esi
push 1
push ebp
push str.data6
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x38]
call fcn.00405010
jmp 0x4105c0
mov ecx, dword [esp + 0x6c]
push ecx
push esi
call fcn.00429f80
add esp, 8
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0043236c
add esp, 0x50
ret 8