Function at 0x46b950
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dbea3
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x51cca4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
test edi, edi
jne 0x46b9c6
cmp dword [esi + 0x90], 0x10
lea eax, [esi + 0x7c]
lea ebx, [eax + 0x10]
jb 0x46b995
mov eax, dword [eax]
push 0
push 0x4e0600
push eax
call fcn.00464420
add esp, 0xc
test eax, eax
jne 0x46ba04
cmp dword [ebx], eax
ja 0x46ba04
push eax
push str.PdaNet_error
push str.To_connect_in_USB_mode:_make_sure_your_phone_is_attached_to_the_computer_and_USB_Debugging_is_enabled_on_the_phone.
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x46bd84
cmp edi, 2
jne 0x46b9ec
cmp dword [esi + 0xa8], 0
jbe 0x46b9dd
cmp dword [esi + 0xb0], 0
jne 0x46ba04
push 0
call fcn.00483d50
add esp, 4
jmp 0x46bd84
cmp edi, 1
jne 0x46ba04
cmp dword [esi + 0xdc], 0
jne 0x46ba04
call fcn.004681f0
jmp 0x46bd84
mov byte [esi + 0x144], 0
push 0
push str.BlockWinUpdate
mov dword [esi + 0x130], 0
mov dword [esi + 0x108], edi
call fcn.0046bed0
add esp, 8
mov dword [0x51f784], eax
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 1
test edi, edi
jne 0x46babd
push str.Connecting_to_your_phone__USB_...
lea ecx, [ebp - 0x58]
call fcn.00460690
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x46ba84
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00464490
lea eax, [ebp - 0x58]
mov dword [ebp - 0x14], 0xf
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00463e40
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x46bafe
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00464490
jmp 0x46bafe
cmp edi, 2
jne 0x46badb
cmp dword [esi + 0xac], 0x10
lea eax, [esi + 0x98]
jb 0x46bad3
mov eax, dword [eax]
push eax
push str.Connecting_to__s__WiFi_...
jmp 0x46baf2
cmp dword [esi + 0xe0], 0x10
lea eax, [esi + 0xcc]
jb 0x46baec
mov eax, dword [eax]
push eax
push str.Connecting_to__s__Bluetooth_...
lea eax, [ebp - 0x28]
push eax
call fcn.004645f0
add esp, 0xc
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov ecx, dword [0x51f4d4]
cmovae eax, dword [ebp - 0x28]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
test ecx, ecx
je 0x46bb2e
push 0
push eax
push 0x8066
push ecx
mov dword [0x51f550], 0
call ebx
push edi
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [esi + 0x24]
call fcn.0047e3b0
test edi, edi
jne 0x46bb7d
cmp eax, 0xfffffff9
jne 0x46bb7d
mov eax, dword [0x51f4d4]
test eax, eax
je 0x46bb61
push edi
push str.Connecting_to_your_phone__USB2_...
push 0x8066
push eax
mov dword [0x51f550], edi
call ebx
push 0
lea eax, [ebp - 0x40]
mov dword [esi + 0x5c], 1
push eax
lea ecx, [esi + 0x24]
call fcn.0047e3b0
mov dword [esi + 0x5c], 0
cmp eax, 1
je 0x46bbfd
lea eax, [ebp - 0x40]
push 0x4e6c28
push eax
call fcn.00468ff0
add esp, 8
test al, al
je 0x46bbb9
mov eax, dword [0x51f4d4]
test eax, eax
je 0x46bbe3
push 1
push str.PdaNet_fail_to_connect_due_to_USB_error__please_click_here_to_reinstall_the_Android_USB_driver
push 0x8066
mov dword [0x51f550], 0x885b
push eax
jmp 0x46bbe1
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov ecx, dword [0x51f4d4]
cmovae eax, dword [ebp - 0x40]
test ecx, ecx
je 0x46bbe3
push 1
push eax
push 0x8066
mov dword [0x51f550], 0
push ecx
call ebx
push 0
push 1
push 0x8065
push dword [0x51f490]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x46bd48
mov dword [esi + 0x104], 1
mov eax, dword [0x51f4d4]
test eax, eax
je 0x46bc29
push 0
push str.Setting_up_broadband...
push 0x8066
push eax
mov dword [0x51f550], 0
call ebx
push 0
push 0
push 0x8065
push dword [0x51f490]
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x30
call fcn.004897e6
add esp, 4
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x46bc5c
mov ecx, eax
call fcn.00468480
jmp 0x46bc5e
xor eax, eax
push 0x4c
mov byte [ebp - 4], 1
mov dword [esi + 0x134], eax
call fcn.004897e6
mov edi, eax
add esp, 4
mov dword [ebp - 0x5c], edi
mov byte [ebp - 4], 4
test edi, edi
je 0x46bc9b
push 0x4c
push 0
push edi
call fcn.0048e7f0
add esp, 0xc
mov ecx, edi
call fcn.00486560
mov dword [edi], vtable.WriteToPCThread.0
jmp 0x46bc9d
xor edi, edi
lea eax, [edi + 4]
mov byte [ebp - 4], 1
push eax
push 0
push edi
push 0x464130
push 0
push 0
mov byte [edi + 0xc], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x10
mov dword [edi + 8], eax
call fcn.004897e6
add esp, 4
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x46bcdd
push edi
mov ecx, eax
call fcn.00474f80
jmp 0x46bcdf
xor eax, eax
push 0
push 0x1f40
push 0x64
push dword [esi + 4]
mov byte [ebp - 4], 1
mov dword [esi + 0xfc], eax
call dword [sym.imp.USER32.dll_SetTimer]
push dword [0x51f6a4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xbb8
push dword [0x51f6a8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x46bd48
mov eax, dword [0x51f4d4]
test eax, eax
je 0x46bd41
push 1
push str.Network_driver_time_out_on_Windows._Please_try_rebooting._Error__13
push 0x8066
push eax
mov dword [0x51f550], 0
call ebx
mov ecx, esi
call fcn.004697c0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x46bd5d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00464490
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x46bd84
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00464490
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00489c7b
mov esp, ebp
pop ebp
ret 4