Function at 0x4104f0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4b63ed
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4de8bc]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4de8bc]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov eax, dword [esp + 0xac]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, ecx
lea ecx, [esp + 0x14]
push ecx
push 0x20019
xor ebx, ebx
push ebx
push str.SoftwarePdaNetAndroid
mov byte [esi + 0x13c], bl
push connect
mov dword [0x4e9bb0], ebx
mov dword [0x4e9b3c], eax
call edi
test eax, eax
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jne 0x4105a4
mov eax, 4
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esi + 0x128]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebx
push str.InterceptSMS
push edx
call ebp
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push ebx
push str.SoftwarePdaNetAndroid
push connect
call edi
test eax, eax
jne 0x4105f3
mov ecx, dword [esp + 0x14]
mov eax, 4
lea edx, [esp + 0x18]
push edx
push 0x4ea990
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x24]
push eax
push ebx
push str.HideTetherUsage
push ecx
call ebp
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x14]
push eax
push 0x20019
push ebx
push str.SoftwarePdaNetAndroid
push connect
call edi
test eax, eax
jne 0x410642
lea ecx, [esp + 0x18]
push ecx
push 0x4ea124
lea edx, [esp + 0x24]
push edx
mov eax, 4
push ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
push str.BlockWinUpdate
push eax
call ebp
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x3e
lea edx, [esp + 0x5e]
push ebx
push edx
mov dword [esi + 0x124], ebx
mov word [esp + 0x64], bx
call fcn.0042f980
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push 0x20019
push ebx
push str.SYSTEMCurrentControlSetEnumRootPNETMDM0000
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x4106af
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x24]
push eax
push ebx
push str.HardwareID
push ecx
mov dword [esp + 0x34], 1
mov dword [esp + 0x30], pe_nt_image_headers32
call ebp
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x58]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4106b6
sub eax, edx
xor ecx, ecx
cmp ecx, eax
sbb eax, eax
neg eax
mov dword [esi + 0xf4], eax
je 0x4106ff
push ebx
push 0x40000080
push 3
push ebx
push ebx
push 0x2000000
push str..PNet
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x4106f8
mov dword [esi + 0xf4], ebx
jmp 0x4106ff
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x4e9f74], ebx
je 0x410721
mov edx, dword [esi + 4]
push ebx
push str.Dial_up_error
push str.We_are_sorry__it_seems_like_the_previous_connection_hasnt_been_cleaned_up_properly.__n_nRestarting_your_computer_should_clear_it_up__err24_.
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x410afb
mov ebp, 0xf
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov edi, dword [esp + 0xac]
cmp edi, ebx
mov dword [esp + 0xa4], ebx
jne 0x410790
mov eax, dword [esi + 0x84]
push ebx
lea ecx, [esi + 0x70]
push 0x4b8da8
push eax
push ebx
call fcn.004030f0
test eax, eax
jne 0x410790
mov ecx, dword [esi + 4]
push ebx
push str.PdaNet_error
push str.Please_make_sure_your_phone_is_attached_to_the_computer_and_USB_Debugging_is_enabled_on_the_phone.
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [esp + 0x38], 0x10
jb 0x410afb
mov edx, dword [esp + 0x24]
push edx
call fcn.0042e631
add esp, 4
jmp 0x410afb
mov eax, str.Connecting_to_your_phone__USB_...
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4107a4
sub eax, edx
push eax
push str.Connecting_to_your_phone__USB_...
lea ecx, [esp + 0x44]
call fcn.00405590
cmp edi, ebx
mov byte [esp + 0xa4], 1
je 0x4107f4
cmp dword [esi + 0xc8], 0x10
jb 0x4107db
mov eax, dword [esi + 0xb4]
jmp 0x4107e1
lea eax, [esi + 0xb4]
push eax
lea eax, [esp + 0x40]
push str.Connecting_to__s__Bluetooth_...
push eax
call fcn.00405d70
add esp, 0xc
cmp dword [esp + 0x54], 0x10
mov ecx, dword [esp + 0x40]
jae 0x410803
lea ecx, [esp + 0x40]
mov eax, dword [0x4e9d8c]
cmp eax, ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
je 0x410822
push ebx
push ecx
push 0x8066
push eax
mov dword [0x4e9e10], ebx
call ebp
cmp edi, ebx
je 0x410855
mov edi, 0x10
cmp dword [esi + 0xe4], edi
jb 0x41083b
mov eax, dword [esi + 0xd0]
jmp 0x410841
lea eax, [esi + 0xd0]
push ebx
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esi + 0xa4]
call fcn.00408eb0
jmp 0x4108a3
push ebx
lea edx, [esp + 0x24]
lea edi, [esi + 0x2c]
push edx
mov ecx, edi
call fcn.0041ea00
cmp eax, 0xfffffff9
jne 0x41089e
mov eax, dword [0x4e9d8c]
cmp eax, ebx
je 0x410887
push ebx
push str.Connecting_to_your_phone__USB2_...
push 0x8066
push eax
mov dword [0x4e9e10], ebx
call ebp
push ebx
lea eax, [esp + 0x24]
push eax
mov ecx, edi
mov dword [esi + 0x60], 1
call fcn.0041ea00
mov dword [esi + 0x60], ebx
mov edi, 0x10
cmp eax, 1
je 0x41095e
mov ecx, dword [esp + 0x34]
push 1
push 0x4bad50
push ecx
push ebx
lea ecx, [esp + 0x30]
call fcn.004030f0
test eax, eax
jne 0x4108e2
mov eax, dword [0x4e9d8c]
cmp eax, ebx
je 0x41090a
push 1
mov dword [0x4e9e10], 0x885b
push str.PdaNet_fail_to_connect_due_to_USB_error__please_click_here_to_reinstall_the_Android_USB_driver
jmp 0x410902
cmp dword [esp + 0x38], edi
mov ecx, dword [esp + 0x24]
jae 0x4108f0
lea ecx, [esp + 0x24]
mov eax, dword [0x4e9d8c]
cmp eax, ebx
je 0x41090a
push 1
mov dword [0x4e9e10], ebx
push ecx
push 0x8066
push eax
call ebp
mov edx, dword [0x4e9d48]
push ebx
push 1
push 0x8065
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [esp + 0x54], edi
jb 0x410932
mov eax, dword [esp + 0x40]
push eax
call fcn.0042e631
add esp, 4
cmp dword [esp + 0x38], edi
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
jb 0x410afb
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0042e631
add esp, 4
jmp 0x410afb
mov ecx, dword [esi + 0x24]
cmp ecx, ebx
je 0x41096c
push 1
call fcn.00419750
mov dword [esi + 0xf0], 1
mov eax, dword [0x4e9d8c]
cmp eax, ebx
je 0x410993
push ebx
push str.Setting_up_broadband...
push 0x8066
push eax
mov dword [0x4e9e10], ebx
call ebp
mov edx, dword [0x4e9d48]
push ebx
push ebx
push 0x8065
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [esi + 0xf4], ebx
jne 0x4109c1
mov eax, dword [esi + 4]
push ebx
push 0x1f40
push 0x64
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [0x4e9f78]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [0x4e9f7c]
push 0x9c4
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x410a23
cmp dword [esi + 0xf4], ebx
push ebx
mov ecx, 0x4e9d38
push 1
je 0x410a0d
push str.PdaNet_Modem_Driver_Error__14
call fcn.0040daa0
mov ecx, esi
call fcn.0040efb0
jmp 0x410ae9
push str.PdaNet_Broadband_Driver_Error__13
call fcn.0040daa0
mov ecx, esi
call fcn.0040efb0
jmp 0x410ae9
push 0x30
call fcn.0042ed23
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0xa4], 2
je 0x410a46
mov ecx, eax
call fcn.0040b910
jmp 0x410a48
xor eax, eax
cmp dword [esi + 0xf4], ebx
mov byte [esp + 0xa4], 1
mov dword [esi + 0x12c], eax
je 0x410a85
push edi
call fcn.0042ed23
add esp, 4
cmp eax, ebx
je 0x410a7a
mov dword [eax + 8], ebx
mov byte [eax + 0xc], 1
mov dword [eax], vtable.CDialThread.0
mov ebx, eax
push 1
mov ecx, ebx
call fcn.00402f90
jmp 0x410ae9
push 0x4c
call fcn.0042ed23
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0xa4], 3
je 0x410aaa
mov ecx, eax
call fcn.0040d650
mov edi, eax
jmp 0x410aac
xor edi, edi
push 1
mov ecx, edi
mov byte [esp + 0xa8], 1
call fcn.00402f90
push 0x10
call fcn.0042ed23
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0xa4], 4
je 0x410ae1
push edi
mov ecx, eax
call fcn.004234f0
jmp 0x410ae3
xor eax, eax
mov dword [esi + 0xe8], eax
lea ecx, [esp + 0x3c]
call fcn.004053a0
lea ecx, [esp + 0x20]
call fcn.004053a0
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.0042e636
add esp, 0x94
ret 4