Function at 0x41ea00
Capabilities:
Connect socket
Create thread
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4b6f1d
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x4de8bc]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4de8bc]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov edi, dword [esp + 0x288]
mov esi, ecx
call fcn.0041d130
test al, al
mov ecx, esi
je 0x41ea9f
mov ebp, 1
push ebp
call fcn.0041d3b0
xor ebx, ebx
cmp eax, ebx
jge 0x41eaaa
push str.Your_computer_is_running_adb.exe._It_is_not_compatible_with_PdaNet.
lea ecx, [esp + 0x5c]
call fcn.00406160
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x60]
push eax
mov ecx, edi
mov dword [esp + 0x28c], ebx
call fcn.004054b0
cmp dword [esp + 0x70], 0x10
jb 0x41ea98
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0042e631
add esp, 4
xor eax, eax
jmp 0x41ef5a
xor ebx, ebx
push ebx
call fcn.0041d3b0
lea ebp, [ebx + 1]
cmp byte [0x4ea120], bl
je 0x41ebc1
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
push 0x2223
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x60], 0x100007f
mov word [esp + 0x5c], 2
call dword [sym.imp.WS2_32.dll_ntohs]
push ebx
push ebp
push 2
mov word [esp + 0x66], ax
call dword [sym.imp.WS2_32.dll_socket]
push 0x10
lea edx, [esp + 0x5c]
push edx
push eax
mov dword [esi + 0x2c], eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x41eb4a
push str.Conflict_with_adb.exe._Please_make_sure_it_is_not_running_on_your_computer
lea ecx, [esp + 0x20]
call fcn.00406160
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x24]
push eax
mov ecx, edi
mov dword [esp + 0x28c], ebp
call fcn.004054b0
cmp dword [esp + 0x34], 0x10
jb 0x41ea98
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0042e631
add esp, 4
xor eax, eax
jmp 0x41ef5a
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call ebp
push 0xeeeeeeee
mov ecx, esi
call fcn.0041d650
push 0x3e8
call ebp
push 0xeeeeeeee
mov ecx, esi
call fcn.0041d650
cmp al, bl
jne 0x41ece0
mov edx, dword [esi + 0x2c]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
push str.Please_start_PdaNet_on_your_phone_and_enable_USB_Tether_Mode.
lea ecx, [esp + 0x20]
mov dword [esi + 0x2c], ebx
call fcn.00406160
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x24]
push eax
mov ecx, edi
mov dword [esp + 0x28c], 2
call fcn.004054b0
lea ecx, [esp + 0x1c]
call fcn.004053a0
jmp 0x41ef55
push edi
mov ecx, esi
mov dword [esi + 0x70], ebp
call fcn.0041e470
test al, al
mov ecx, esi
je 0x41ec68
mov dword [esi + 0x74], ebx
call fcn.0041d530
test al, al
jne 0x41ec74
cmp dword [esi + 0x74], ebx
lea ecx, [esp + 0x1c]
je 0x41ec3c
push str.Please_select_allow_USB_connection_on_your_phone
call fcn.00406160
mov dword [esp + 0x280], 3
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.00406140
lea ecx, [esp + 0x1c]
mov dword [esp + 0x280], 0xffffffff
call fcn.004053a0
mov ecx, esi
call fcn.0041cc20
push ebx
push ebx
call fcn.00407c40
add esp, 8
xor eax, eax
jmp 0x41ef5a
push str.Fail_to_connect__please_reattach_your_phone
call fcn.00406160
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
mov dword [esp + 0x284], 4
call fcn.00406140
lea ecx, [esp + 0x1c]
call fcn.004053a0
mov ecx, esi
call fcn.0041cc20
xor eax, eax
jmp 0x41ef5a
cmp dword [esi + 0x34], ebx
mov eax, str.localabstract:pdanet
jne 0x41ec83
mov eax, str.tcp:8739
mov dword [esp + 0x58], eax
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x41ec90
add dword [esi + 0x60], ebp
push ebx
sub eax, edx
add eax, 1
push ebx
mov dword [esp + 0x64], eax
push ebx
lea eax, [esp + 0x64]
push eax
push 0x4e45504f
mov ecx, esi
call fcn.0041cd50
test al, al
jne 0x41ece0
cmp dword [esi + 0x74], ebx
je 0x41ece0
push str.Please_select_allow_USB_connection_on_your_phone
lea ecx, [esp + 0x20]
call fcn.00406160
mov dword [esp + 0x280], 5
jmp 0x41ec04
mov ecx, esi
call fcn.0041d7e0
test al, al
je 0x41ef12
cmp dword [0x4e9b88], ebx
mov edi, 2
je 0x41ed01
mov edi, 3
cmp dword [esp + 0x28c], ebx
je 0x41ed0d
or edi, 0x10
cmp dword [0x4e9bb8], ebx
je 0x41ed18
or edi, 8
mov ebp, dword [sym.imp.WS2_32.dll_ntohl]
xor eax, eax
push 0xf
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call ebp
push 0x1a3
mov dword [esp + 0x20], eax
call ebp
push edi
mov dword [esp + 0x24], eax
call ebp
push 0xfe
lea edx, [esp + 0x7a]
push ebx
push edx
mov dword [esp + 0x44], eax
mov word [esp + 0x80], bx
call fcn.0042f980
push 0xfe
lea eax, [esp + 0x186]
push ebx
push eax
mov word [esp + 0x18c], bx
call fcn.0042f980
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 0x18
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push ebx
push str.SoftwarePdaNetAndroid
push connect
call edi
test eax, eax
jne 0x41edef
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x178]
push eax
lea ecx, [esp + 0x60]
push ecx
push ebx
push str.registration_code
push edx
mov dword [esp + 0x70], 1
mov dword [esp + 0x30], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x174]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x41ee00
sub eax, edx
cmp eax, 0x23
jne 0x41ee26
xor eax, eax
mov cl, byte [esp + eax + 0x193]
mov byte [esp + eax + 0x74], cl
add eax, 1
cmp cl, bl
jne 0x41ee12
jmp 0x41ee7c
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push ebx
push str.SoftwarePdaNetAndroid
push connect
call edi
test eax, eax
jne 0x41ee7c
lea edx, [esp + 0x58]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebx
push str.data6
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x70], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x74]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x41ee83
sub eax, edx
cmp eax, 4
jne 0x41eea2
mov eax, dword [esp + 0x74]
push eax
mov dword [esp + 0x38], eax
call ebp
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x58]
mov dword [esp + 0x58], ecx
push edx
mov ecx, esi
mov dword [esp + 0x60], 0x20
call fcn.0041d580
push 0x14
call fcn.0042ed23
add esp, 4
cmp eax, ebx
je 0x41eee0
mov dword [eax + 8], ebx
mov byte [eax + 0xc], 1
mov dword [eax], vtable.UsbReadThread.0
mov dword [eax + 0x10], esi
mov edi, eax
jmp 0x41eee2
xor edi, edi
lea eax, [edi + 4]
push eax
push ebx
push edi
push 0x402000
push ebx
push ebx
mov byte [edi + 0xc], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xeeeeeeee
mov ecx, esi
mov dword [edi + 8], eax
call fcn.0041d650
mov dword [esi + 0x30], ebx
mov eax, 1
jmp 0x41ef5a
push str.Please_start_PdaNet_on_your_phone_and_enable_USB_Tether_Mode.
lea ecx, [esp + 0x40]
call fcn.00406160
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x44]
push ecx
mov ecx, edi
mov dword [esp + 0x28c], 6
call fcn.004054b0
cmp dword [esp + 0x54], 0x10
jb 0x41ef4e
mov edx, dword [esp + 0x40]
push edx
call fcn.0042e631
add esp, 4
mov ecx, esi
call fcn.0041cc20
mov eax, 0xfffffff9
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.0042e636
add esp, 0x270
ret 8