Function at 0x4661c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c442b
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x4f67c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.PostInstall_started
call fcn.00465ef0
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.004768d0
lea eax, [ebp - 0x50]
push eax
call fcn.00464b30
add esp, 0x14
cmp eax, 5
jne 0x4662b5
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x2dc], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x466230
sub ecx, edx
je 0x46629f
mov esi, dword [str.Service_Pack]
mov edx, esi
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x466246
sub edx, edi
lea eax, [edx + 1]
cmp ecx, eax
jne 0x4662b5
lea eax, [ebp - 0x50]
push esi
push eax
call fcn.00476fb0
lea ecx, [ebp - 0x50]
add esp, 8
cmp eax, ecx
jne 0x4662b5
mov ecx, dword [str.Service_Pack]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x466273
lea eax, [ebp - 0x2dc]
sub ecx, edx
push eax
lea eax, [ebp - 0x50]
add eax, ecx
push 0x4c67f4
push eax
call fcn.0046b160
add esp, 0xc
cmp dword [ebp - 0x2dc], 2
jge 0x4662b5
push 0x38
push str.Please_update_Windows_XP_to_Service_Pack_2_or_above_first_before_installing_PdaNet
call fcn.00469520
add esp, 8
xor eax, eax
jmp 0x466de4
push str.PdaNet_Modem
push 0
call sub.RASAPI32.dll_RasDeleteEntryA
mov dword [ebp - 0x2e0], 0
push str.IsWow64Process
push 0x4c63ac
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x466453
lea eax, [ebp - 0x2dc]
mov dword [ebp - 0x2dc], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 0x2dc], 0
je 0x466453
lea eax, [ebp - 0x2e0]
push eax
push 0x4dfee0
push 0x15
push 0
push 0x4c62e4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x46643e
lea eax, [ebp - 0x270]
push 0x4ed150
push eax
call fcn.004696f0
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 1
jb 0x46635d
mov eax, dword [eax]
xor ecx, ecx
mov word [ebp - 0x2a8], cx
lea ecx, [ebp - 0x2a8]
push eax
call fcn.004620a0
mov eax, dword [ebp - 0x25c]
mov byte [ebp - 4], 3
cmp eax, 0x10
jb 0x466394
inc eax
lea ecx, [ebp - 0x270]
push eax
push dword [ebp - 0x270]
call fcn.0046a990
xor eax, eax
mov dword [ebp - 0x25c], 0xf
push str.PdaNet_Broadband_Adapter
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x260], 0
mov byte [ebp - 0x270], 0
mov word [ebp - 0x298], ax
call fcn.004620a0
lea eax, [ebp - 0x2f8]
mov byte [ebp - 4], 0
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x2f8], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x2f8]
push eax
push 2
lea eax, [ebp - 0x2a8]
push eax
push str.IsDriverInstalled2
lea ecx, [ebp - 0x2e0]
call fcn.00465e20
test eax, eax
js 0x466418
cmp word [ebp - 0x2f0], 0xffff
jne 0x466418
mov esi, 1
jmp 0x46641a
xor esi, esi
lea eax, [ebp - 0x2f8]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 0x45fdc0
push 2
push 0x10
lea eax, [ebp - 0x2a8]
push eax
call fcn.00471cf6
jmp 0x466469
push eax
push str.You_need_to_install_the_64_bit_version_of_PdaNet__err_x_._Please_download_it_from_our_website.
call fcn.00469520
add esp, 8
xor esi, esi
jmp 0x466dcb
push 0
push str.PdaNet_Broadband_Adapter
push 0x4ed150
call fcn.004647a0
add esp, 0xc
mov esi, eax
test esi, esi
je 0x46648c
push 0x10
push str.Installation_failed
push str.A_previous_installation_of_PdaNet_was_found_and_need_to_be_uninstalled_first__nplease_try_again_after_it_is_uninstalled._If_you_still_get_this_error_message__try_to_uninstall_PdaNet_Broadband_Adapter_from_Device_Manager.
push dword [0x4f7c70]
call dword [sym.imp.USER32.dll_MessageBoxA]
xor esi, esi
jmp 0x466dcb
push str.Please_setup_phone_side...
call fcn.00465ef0
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
add esp, 4
push 0
push 0
push 0x8001
push dword [0x4f7c70]
call esi
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
push 0x40
push str.Enable_USB_mode
push str.Please_open_PdaNet_on_your_phone__install_from_Play_Store_or_from_http:__pdanet.co_install__and_check__USB_Tether_.__n_nIf_you_only_connect_in_WiFi_mode_then_check__WiFi_Direct_Hotspot__instead._n_nSelect_OK_to_continue_after_PdaNet_is_turned_on.
push dword [0x4f7c70]
call edi
push str.Installing_USB_driver...
call fcn.00465ef0
add esp, 4
push 0
push 1
push 0x8001
push dword [0x4f7c70]
call esi
push 0xb8
call fcn.00471df6
add esp, 4
mov dword [ebp - 0x2e8], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x466514
mov ecx, eax
call fcn.0046b5f0
mov esi, eax
mov dword [ebp - 0x2e4], eax
jmp 0x46651c
xor esi, esi
mov dword [ebp - 0x2e4], esi
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.0046b8b0
test al, al
je 0x46655e
push 0x40
push str.PdaNet_Installation
push str.Process_adb.exe_is_running_on_your_PC._This_process_is_installed_by_other_software_to_communicate_with_your_Android_phone_through_USB_connection._Please_be_aware_it_may_cause_a_conflict_with_PdaNet._Select_OK_to_continue_anyway.
push dword [0x4f7c70]
call edi
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.0046b8b0
test al, al
je 0x46655e
push 1
mov ecx, esi
call fcn.0046e540
xor edi, edi
mov dword [ebp - 0x2ac], 0xf
mov dword [ebp - 0x2b0], edi
mov byte [ebp - 0x2c0], 0
push str.IsWow64Process
push 0x4c63ac
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x466709
lea eax, [ebp - 0x2dc]
mov dword [ebp - 0x2dc], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 0x2dc], edi
je 0x466709
lea eax, [ebp - 0x2f8]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x2f8], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 6
push 0x4ed308
push eax
call fcn.004696f0
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 7
jb 0x4665f9
mov eax, dword [eax]
xor ecx, ecx
mov word [ebp - 0x308], cx
lea ecx, [ebp - 0x308]
push eax
call fcn.004620a0
mov eax, dword [ebp - 0x25c]
mov byte [ebp - 4], 9
cmp eax, 0x10
jb 0x466630
inc eax
lea ecx, [ebp - 0x270]
push eax
push dword [ebp - 0x270]
call fcn.0046a990
lea eax, [ebp - 0x2f8]
mov dword [ebp - 0x25c], 0xf
push eax
lea eax, [ebp - 0x308]
mov dword [ebp - 0x260], 0
push eax
push str.InitCheckAttached
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 0x270], 0
call fcn.00465cc0
test eax, eax
jne 0x4666eb
mov edi, dword [ebp - 0x2f0]
mov dword [ebp - 0x2dc], 1
test edi, edi
je 0x4666b9
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x466686
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x4666a4
xor eax, eax
jmp 0x4666b9
add esi, esi
mov eax, esi
call fcn.004722a0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00463ef0
push eax
lea ecx, [ebp - 0x2a0]
call fcn.00463020
mov ecx, dword [ebp - 0x2e4]
lea eax, [ebp - 0x2a0]
push eax
add ecx, 0x24
call fcn.00463290
lea ecx, [ebp - 0x2a0]
call fcn.00463250
mov edi, dword [ebp - 0x2dc]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x308]
push eax
call esi
lea eax, [ebp - 0x2f8]
mov byte [ebp - 4], 5
push eax
call esi
jmp 0x46671e
mov ecx, dword [ebp - 0x2e4]
lea eax, [ebp - 0x2c0]
push eax
call fcn.0046c6f0
movzx edi, al
test edi, edi
jne 0x46673e
lea eax, [ebp - 0x2e0]
push str.usbwin_android_winusb2.inf
push eax
call fcn.00464e70
add esp, 8
test eax, eax
je 0x466d29
push 0
call fcn.004698a0
push dword [0x4f7c70]
call fcn.0046df00
add esp, 8
test edi, edi
jne 0x466a55
nop dword [eax + eax]
push str.IsWow64Process
push 0x4c63ac
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4669ff
lea eax, [ebp - 0x30c]
mov dword [ebp - 0x30c], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 0x30c], 0
je 0x4669ff
lea eax, [ebp - 0x308]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x308], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 0xa
push 0x4ed308
push eax
call fcn.004696f0
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xb
jb 0x4667e3
mov eax, dword [eax]
xor ecx, ecx
mov word [ebp - 0x268], cx
lea ecx, [ebp - 0x268]
push eax
call fcn.004620a0
mov eax, dword [ebp - 0x28c]
mov byte [ebp - 4], 0xd
cmp eax, 0x10
jb 0x46681a
inc eax
lea ecx, [ebp - 0x2a0]
push eax
push dword [ebp - 0x2a0]
call fcn.0046a990
mov eax, dword [ebp - 0x2e0]
lea edx, [ebp - 0x2e8]
push edx
push 0x400
push 1
lea edx, [ebp - 0x2dc]
mov dword [ebp - 0x2dc], str.InitCheckAttached
mov ecx, dword [eax]
push edx
push 0x4df2a0
push eax
mov dword [ebp - 0x28c], 0xf
mov dword [ebp - 0x290], 0
mov byte [ebp - 0x2a0], 0
call dword [ecx + 0x14]
test eax, eax
js 0x4668c5
push 0
push 0
lea edx, [ebp - 0x308]
mov dword [ebp - 0x2f4], 0
push edx
lea edx, [ebp - 0x2f8]
mov dword [ebp - 0x2f0], 1
push edx
push 1
lea eax, [ebp - 0x268]
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x2f8], eax
mov eax, dword [ebp - 0x2e0]
push 0x400
push 0x4df2a0
push dword [ebp - 0x2e8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jne 0x4669e1
mov edi, dword [ebp - 0x300]
mov dword [ebp - 0x2dc], 1
test edi, edi
jne 0x4668e3
xor eax, eax
jmp 0x466923
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4668f0
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x46690e
xor eax, eax
jmp 0x466923
add esi, esi
mov eax, esi
call fcn.004722a0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00463ef0
test eax, eax
mov dword [ebp - 0x2c4], 0xf
mov edx, 0x4c633a
mov dword [ebp - 0x2c8], 0
cmovne edx, eax
mov byte [ebp - 0x2d8], 0
cmp byte [edx], 0
jne 0x466951
xor ecx, ecx
jmp 0x46695f
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x466956
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2d8]
call fcn.0046a890
mov esi, dword [ebp - 0x2e4]
add esi, 0x24
lea eax, [ebp - 0x2d8]
cmp esi, eax
je 0x4669bd
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x466992
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.0046a990
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x4669aa
mov eax, dword [esi]
jmp 0x4669ac
mov eax, esi
mov byte [eax], 0
mov ecx, esi
lea eax, [ebp - 0x2d8]
push eax
call fcn.0046a4c0
mov eax, dword [ebp - 0x2c4]
cmp eax, 0x10
jb 0x4669db
inc eax
lea ecx, [ebp - 0x2d8]
push eax
push dword [ebp - 0x2d8]
call fcn.0046a990
mov edi, dword [ebp - 0x2dc]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x268]
push eax
call esi
lea eax, [ebp - 0x308]
mov byte [ebp - 4], 5
push eax
call esi
jmp 0x466a14
mov ecx, dword [ebp - 0x2e4]
lea eax, [ebp - 0x2c0]
push eax
call fcn.0046c6f0
movzx edi, al
test edi, edi
jne 0x466a55
push edi
push 0x464580
push dword [0x4f7c70]
push 0x6d
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp eax, 1
je 0x466760
cmp eax, 0x3f9
je 0x466a55
push 1
call fcn.004698a0
add esp, 4
xor esi, esi
jmp 0x466d92
push 1
call fcn.004698a0
push 0
call fcn.00468880
add esp, 8
lea eax, [ebp - 0x154]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push 0
call fcn.00464b30
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 4
cmp eax, 5
jne 0x466ad0
xor ecx, ecx
nop
mov al, byte [ebp + ecx - 0x154]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x259], al
test al, al
jne 0x466aa0
push str.ethernetpnetethx86.cat
lea eax, [ebp - 0x258]
push eax
call esi
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str.ethernetpneteth.inf
lea eax, [ebp - 0x154]
push eax
call esi
push str.Installing_Network_Driver...
call fcn.00465ef0
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
add esp, 4
push 0
push 2
push 0x8001
push dword [0x4f7c70]
call esi
xor edi, edi
call fcn.00465ea0
test eax, eax
je 0x466cce
lea eax, [ebp - 0x2a0]
push 0x4ed150
push eax
call fcn.004696f0
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xf
jb 0x466b31
mov eax, dword [eax]
xor ecx, ecx
mov word [ebp - 0x288], cx
lea ecx, [ebp - 0x288]
push eax
call fcn.004620a0
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0x11
call fcn.00463250
xor eax, eax
lea ecx, [ebp - 0x278]
mov word [ebp - 0x278], ax
lea eax, [ebp - 0x154]
push eax
call fcn.004620a0
push dword [0x4ed21c]
xor eax, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x268]
mov word [ebp - 0x268], ax
call fcn.004620a0
lea eax, [ebp - 0x308]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x308], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x308]
mov byte [ebp - 4], 0x14
push eax
push 3
lea eax, [ebp - 0x288]
push eax
push str.Install64Driver2
lea ecx, [ebp - 0x2e0]
call fcn.00465e20
test eax, eax
js 0x466c98
push dword [ebp - 0x300]
lea ecx, [ebp - 0x2e8]
call fcn.00462ff0
mov esi, dword [ebp - 0x2e8]
push esi
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x466c84
test esi, esi
jne 0x466c19
xor eax, eax
push eax
push eax
call fcn.00469520
add esp, 8
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x466ca6
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x466c20
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jle 0x466c53
xor eax, eax
push eax
push eax
call fcn.00469520
add esp, 8
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x466ca6
lea edi, [ecx + ecx]
mov eax, edi
call fcn.004722a0
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.00463ef0
xor edi, edi
push edi
push eax
call fcn.00469520
add esp, 8
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x466ca6
push esi
mov edi, 1
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x466ca6
push eax
push str.Install_64_bit_driver_failure__err_x_
call fcn.00469520
add esp, 8
lea eax, [ebp - 0x308]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 0x45fdc0
push 3
push 0x10
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 5
push eax
call fcn.00471cf6
jmp 0x466cec
push 1
push dword [0x4ed21c]
lea eax, [ebp - 0x154]
push eax
push 0x4ed150
call fcn.004650a0
add esp, 0x10
mov edi, eax
push 0x104
lea eax, [ebp - 0x154]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
test edi, edi
jne 0x466d2d
push 0x10
push str.Installation_Failed
push str.Fail_to_install_PdaNet_Broadband_Driver
push dword [0x4f7c70]
call dword [sym.imp.USER32.dll_MessageBoxA]
xor esi, esi
jmp 0x466d92
call fcn.004688f0
mov ecx, dword [ebp - 0x2e0]
test ecx, ecx
je 0x466d4c
mov dword [ebp - 0x2e0], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push str.Installing_PdaNet_to_phone...
call fcn.00465ef0
add esp, 4
push 0
push 3
push 0x8001
push dword [0x4f7c70]
call esi
mov ecx, dword [ebp - 0x2e4]
test ecx, ecx
je 0x466d7b
mov eax, dword [ecx]
push 1
call dword [eax + 4]
call fcn.00466e10
push str.Installation_done
call fcn.00465ef0
add esp, 4
mov esi, 1
mov eax, dword [ebp - 0x2ac]
cmp eax, 0x10
jb 0x466db0
inc eax
lea ecx, [ebp - 0x2c0]
push eax
push dword [ebp - 0x2c0]
call fcn.0046a990
mov dword [ebp - 0x2ac], 0xf
mov dword [ebp - 0x2b0], 0
mov byte [ebp - 0x2c0], 0
mov ecx, dword [ebp - 0x2e0]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x466de2
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
lea esp, [ebp - 0x318]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472286
mov esp, ebp
pop ebp
ret