Function at 0x410b30
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4b6438
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4de8bc]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4de8bc]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, dword [esp + 0x68]
xor ebp, ebp
cmp dword [0x4e9b80], ebp
mov ebx, ecx
mov dword [esp + 0x18], ebx
je 0x410f3f
mov eax, dword [esi]
cmp eax, 0x12d
jne 0x410be3
mov edi, dword [esi + 0x14]
mov ebp, dword [esi + 0x10]
lea eax, [edi + 1]
push eax
sub ebp, edi
call fcn.0042e62c
push edi
lea ecx, [esi + 0x20]
mov ebx, eax
push ecx
push ebx
call fcn.004302c0
lea edx, [ebp + 1]
push edx
mov byte [ebx + edi], 0
call fcn.0042e62c
push ebp
lea ecx, [esi + edi + 0x20]
push ecx
push eax
mov dword [esp + 0x34], eax
call fcn.004302c0
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 0x410f3f
cmp eax, 0x12c
jne 0x410c26
mov ecx, dword [esi + 0x10]
add ecx, 1
push ecx
call fcn.0042e62c
mov edx, dword [esi + 0x10]
mov edi, eax
push edx
lea eax, [esi + 0x20]
push eax
push edi
call fcn.004302c0
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 0x410f3f
cmp eax, 0x1d
jne 0x410d3e
mov eax, dword [esi + 0x10]
push eax
lea ecx, [esi + 0x20]
push ecx
lea ecx, [esp + 0x24]
call fcn.0040f8a0
mov esi, dword [esi + 0x14]
mov ebx, 1
cmp esi, ebx
mov dword [esp + 0x60], ebp
jne 0x410c95
push str.PdaNet_update_available__click_here_to_download.
lea ecx, [esp + 0x3c]
call fcn.00406160
push 0xffffffffffffffff
push ebp
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], bl
call fcn.004054b0
lea ecx, [esp + 0x38]
call fcn.004053a0
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x410c8b
lea eax, [esp + 0x20]
push 0x8b54
jmp 0x410d24
mov edi, 2
cmp esi, edi
jne 0x410cfd
mov eax, dword [0x4e9b8c]
cmp eax, 0x64
mov dword [0x4e9b8c], 0x65
jne 0x410d30
push 0x14
call fcn.0042ed23
add esp, 4
cmp eax, ebp
je 0x410ce5
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.00402f90
lea ecx, [esp + 0x1c]
call fcn.004053a0
jmp 0x410f3f
xor eax, eax
push ebx
mov ecx, eax
call fcn.00402f90
lea ecx, [esp + 0x1c]
call fcn.004053a0
jmp 0x410f3f
cmp esi, 3
mov eax, dword [esp + 0x20]
jne 0x410d18
cmp dword [esp + 0x34], 0x10
jae 0x410d11
lea eax, [esp + 0x20]
push 0x8b55
jmp 0x410d24
cmp dword [esp + 0x34], 0x10
jae 0x410d23
lea eax, [esp + 0x20]
push ebp
push ebx
push eax
mov ecx, 0x4e9d38
call fcn.0040daa0
lea ecx, [esp + 0x1c]
call fcn.004053a0
jmp 0x410f3f
cmp eax, 0x1e
jne 0x410e24
mov edi, 2
cmp dword [esi + 4], edi
jne 0x410f3f
mov eax, dword [esi + 0x14]
cmp dword [ebx + 0x11c], eax
je 0x410db2
push ebp
mov dword [ebx + 0x11c], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
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 0x410db2
mov edx, dword [esp + 0x14]
push 4
lea ecx, [esp + 0x1c]
push ecx
push 4
push ebp
push str.PhoneVersion
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esi + 0x18]
push esi
mov dword [ebx + 0x120], esi
call fcn.004251e0
add esp, 4
test al, al
mov ebx, 1
je 0x410dd3
mov byte [0x4ea995], bl
mov eax, dword [0x4e9b8c]
cmp eax, 0x64
mov dword [0x4e9b8c], 0x66
jne 0x410f3f
push 0x14
call fcn.0042ed23
add esp, 4
cmp eax, ebp
je 0x410e15
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.00402f90
jmp 0x410f3f
xor eax, eax
push ebx
mov ecx, eax
call fcn.00402f90
jmp 0x410f3f
cmp eax, 0x1f
jne 0x410f31
mov ecx, dword [esi + 0x10]
push ecx
lea edx, [esi + 0x20]
push edx
lea ecx, [esp + 0x40]
call fcn.0040f8a0
mov esi, dword [esi + 4]
cmp esi, 3
mov dword [esp + 0x60], 2
jne 0x410e6e
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x40]
push eax
mov ecx, 0x4de458
call fcn.004054b0
lea ecx, [esp + 0x38]
call fcn.004053a0
jmp 0x410f3f
cmp esi, 4
jne 0x410e91
lea ecx, [esp + 0x38]
push ecx
lea ecx, [ebx + 0x100]
call fcn.00406140
lea ecx, [esp + 0x38]
call fcn.004053a0
jmp 0x410f3f
cmp esi, 5
je 0x410f08
cmp esi, 8
je 0x410f08
cmp esi, 6
jne 0x410f26
cmp dword [esp + 0x50], 0x10
mov esi, dword [esp + 0x3c]
jae 0x410eb3
lea esi, [esp + 0x3c]
push ebp
lea edx, [esp + 0x18]
push edx
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 0x410f26
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov eax, dword [esp + 0x18]
push esi
push 1
push ebp
push str.data6
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x38]
call fcn.004053a0
jmp 0x410f3f
push 0xffffffffffffffff
push ebp
lea edx, [esp + 0x40]
push edx
mov ecx, 0x4e9d18
call fcn.004054b0
mov eax, dword [0x4e9d14]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [esp + 0x38]
call fcn.004053a0
jmp 0x410f3f
mov ecx, dword [esp + 0x6c]
push ecx
push esi
call fcn.00426a20
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.0042e636
add esp, 0x50
ret 8