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

Disassembly:
push 0xffffffffffffffff
push 0x4bc91d
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x4e5a68]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e5a68]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x288]
mov esi, ecx
call fcn.0041cf10
xor ebx, ebx
test al, al
mov ecx, esi
je 0x41e84f
cmp byte [0x4f1250], bl
jne 0x41e842
call fcn.0041d390
mov ecx, 0xc
mov esi, str.adb.exe_process_terminating__please_connect_again.
lea edi, [esp + 0x74]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x5c]
movsb byte es:[edi], byte [esi]
call fcn.00405e70
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x60]
push ecx
mov ecx, ebp
mov dword [esp + 0x28c], ebx
call fcn.00405120
cmp dword [esp + 0x70], 0x10
jb 0x41ecda
mov edx, dword [esp + 0x5c]
push edx
call fcn.00431ad1
add esp, 4
jmp 0x41ecda
mov edi, 1
push edi
call fcn.0041d190
jmp 0x41e85a
push ebx
call fcn.0041d190
mov edi, 1
cmp byte [0x4f1250], bl
je 0x41e96f
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 edi
push 2
mov word [esp + 0x66], ax
call dword [sym.imp.WS2_32.dll_socket]
push 0x10
lea ecx, [esp + 0x5c]
push ecx
push eax
mov dword [esi + 0x2c], eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x41e8f8
push str.Conflict_with_HTC_Sync
lea ecx, [esp + 0x20]
call fcn.00405e70
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x24]
push edx
mov ecx, ebp
mov dword [esp + 0x28c], edi
call fcn.00405120
cmp dword [esp + 0x34], 0x10
jb 0x41ecda
mov eax, dword [esp + 0x20]
push eax
call fcn.00431ad1
add esp, 4
jmp 0x41ecda
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call edi
push 0xeeeeeeee
mov ecx, esi
call fcn.0041d410
push 0x3e8
call edi
push 0xeeeeeeee
mov ecx, esi
call fcn.0041d410
cmp al, bl
jne 0x41ea65
mov ecx, dword [esi + 0x2c]
push ecx
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.00405e70
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x24]
push edx
mov ecx, ebp
mov dword [esp + 0x28c], 2
call fcn.00405120
lea ecx, [esp + 0x1c]
call fcn.00405010
jmp 0x41ecda
push ebp
mov ecx, esi
mov dword [esi + 0x6c], edi
call fcn.0041e200
test al, al
mov ecx, esi
je 0x41ecd5
mov dword [esi + 0x70], ebx
call fcn.0041d2f0
test al, al
jne 0x41ea17
cmp dword [esi + 0x70], ebx
lea ecx, [esp + 0x1c]
je 0x41e9e8
push str.Please_select_allow_USB_connection_on_your_phone
call fcn.00405e70
mov dword [esp + 0x280], 3
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
call fcn.00405e50
lea ecx, [esp + 0x1c]
mov dword [esp + 0x280], 0xffffffff
call fcn.00405010
mov ecx, esi
call fcn.0041ca00
push ebx
push ebx
call fcn.00407920
add esp, 8
jmp 0x41ecda
push str.Fail_to_connect__please_reattach_your_phone
call fcn.00405e70
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
mov dword [esp + 0x284], 4
call fcn.00405e50
lea ecx, [esp + 0x1c]
call fcn.00405010
jmp 0x41ecd3
add dword [esi + 0x5c], edi
push ebx
push ebx
push ebx
lea edx, [esp + 0x64]
push edx
push 0x4e45504f
mov ecx, esi
mov dword [esp + 0x6c], str.tcp:8739
mov dword [esp + 0x70], 9
call fcn.0041cb30
test al, al
jne 0x41ea65
cmp dword [esi + 0x70], ebx
je 0x41ea65
push str.Please_select_allow_USB_connection_on_your_phone
lea ecx, [esp + 0x20]
call fcn.00405e70
mov dword [esp + 0x280], 5
jmp 0x41e9b2
mov ecx, esi
call fcn.0041d5a0
test al, al
je 0x41ec97
xor edi, edi
cmp dword [esp + 0x28c], ebx
je 0x41ea84
mov edi, 0x10
cmp dword [0x4f0cd8], ebx
je 0x41ea8f
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 0x1a1
mov dword [esp + 0x20], eax
call ebp
push edi
mov dword [esp + 0x24], eax
call ebp
push 0xfe
lea ecx, [esp + 0x17a]
push ebx
push ecx
mov dword [esp + 0x44], eax
mov word [esp + 0x180], bx
call fcn.00432df0
push 0xfe
lea edx, [esp + 0x86]
push ebx
push edx
mov word [esp + 0x8c], bx
call fcn.00432df0
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 0x18
lea eax, [esp + 0x14]
push eax
push 0x20019
push ebx
push str.SoftwarePdaNetAndroid
push connect
call edi
test eax, eax
jne 0x41eb66
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x60]
push eax
push ebx
push str.registration_code
push ecx
mov dword [esp + 0x70], 1
mov dword [esp + 0x30], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x74]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x41eb70
sub eax, edx
cmp eax, 0x23
jne 0x41eb99
xor eax, eax
mov cl, byte [esp + eax + 0x93]
mov byte [esp + eax + 0x174], cl
add eax, 1
cmp cl, bl
jne 0x41eb82
jmp 0x41ebf2
lea eax, [esp + 0x14]
push eax
push 0x20019
push ebx
push str.SoftwarePdaNetAndroid
push connect
call edi
test eax, eax
jne 0x41ebf2
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x178]
push edx
lea eax, [esp + 0x20]
push eax
push ebx
push str.data6
push ecx
mov dword [esp + 0x30], 1
mov dword [esp + 0x70], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x14]
push edx
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 0x41ec00
sub eax, edx
cmp eax, 4
jne 0x41ec22
mov eax, dword [esp + 0x174]
push eax
mov dword [esp + 0x38], eax
call ebp
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x58]
lea eax, [esp + 0x1c]
push ecx
mov ecx, esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x20
call fcn.0041d340
push 0x14
call fcn.004321b4
add esp, 4
cmp eax, ebx
je 0x41ec60
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 0x41ec62
xor edi, edi
lea edx, [edi + 4]
push edx
push ebx
push edi
push 0x401e40
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.0041d410
mov dword [esi + 0x30], ebx
call fcn.00416220
mov eax, 1
jmp 0x41ecdc
push str.Please_start_PdaNet_on_your_phone_and_enable_USB_Tether_Mode.
lea ecx, [esp + 0x40]
call fcn.00405e70
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x44]
push eax
mov ecx, ebp
mov dword [esp + 0x28c], 6
call fcn.00405120
cmp dword [esp + 0x54], 0x10
jb 0x41ecd3
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00431ad1
add esp, 4
mov ecx, esi
call fcn.0041ca00
xor eax, eax
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.0043236c
add esp, 0x270
ret 8