Function at 0x407a10
Capabilities:
Print debug messages
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4478e8
mov eax, dword fs:[0]
push eax
sub esp, 0x4d0
mov eax, dword [0x45b680]
xor eax, esp
mov dword [esp + 0x4c8], eax
push ebx
push esi
push edi
mov eax, dword [0x45b680]
xor eax, esp
push eax
lea eax, [esp + 0x4e0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 2
xor edi, edi
push edi
push edi
push 0x44e668
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], ecx
mov byte [esp + 0x2f], 0
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov esi, eax
push str.CheckNDISPort::EnumDeviceInfo
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea edx, [esp + 0xb8]
push edx
push edi
push esi
mov dword [esp + 0xc4], 0x1c
mov dword [esp + 0x3c], edi
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x407f6a
lea esp, [esp]
push 0x1fe
lea ecx, [esp + 0x2da]
xor eax, eax
push edi
push ecx
mov dword [esp + 0x38], edi
mov word [esp + 0x2e0], ax
call fcn.004308e0
add esp, 0xc
lea edx, [esp + 0x3c]
push edx
push 0x200
lea eax, [esp + 0x2dc]
push eax
lea ecx, [esp + 0x38]
push ecx
push 1
lea edx, [esp + 0xcc]
push edx
push esi
mov dword [esp + 0x58], 0x200
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
lea eax, [esp + 0x2d4]
push eax
lea ecx, [esp + 0x18]
call fcn.00404930
mov dword [esp + 0x4e8], edi
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x407b42
push esi
lea ecx, [esp + 0x18]
call fcn.00404750
mov edx, dword [esp + 0x14]
lea ecx, [esi + 1]
push ecx
push edx
call fcn.0042e6a0
add esp, 8
cmp esi, edi
jl 0x40811d
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x40811d
mov dword [eax - 0xc], esi
mov eax, dword [esp + 0x14]
xor edx, edx
mov word [eax + esi*2], dx
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], edi
jl 0x407f9f
push str.USBVID_19D2
push esi
call fcn.0042df32
mov esi, dword [esp + 0x1c]
add esp, 8
cmp eax, edi
je 0x407f9f
sub eax, esi
sar eax, 1
js 0x407f9f
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
call eax
cmp dword [esi + 0xc], edi
lea ecx, [esi + 0xc]
jl 0x407bd3
cmp eax, dword [esi]
jne 0x407bd3
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x407c0e
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
cmp ebx, edi
je 0x408118
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.0042deb5
add esp, 0x10
add ebx, 0x10
mov dword [esp + 0x18], ebx
mov byte [esp + 0x4e8], 1
cmp dword [ebx - 0xc], edi
jl 0x407d23
push str.REV_
push ebx
call fcn.0042df32
add esp, 8
cmp eax, edi
je 0x407d23
sub eax, ebx
sar eax, 1
cmp eax, 0xffffffff
je 0x407d23
push 4
add eax, 4
push eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x24]
call fcn.00402d00
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4ec], 2
call fcn.00404270
mov byte [esp + 0x4e8], 1
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407c97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.F_E_C__A:
push 0x44efe0
lea ecx, [esp + 0x20]
push ecx
call fcn.00402500
push 0x44efe4
push 0x44efe8
lea edx, [esp + 0x20]
push edx
call fcn.00402500
push 0x44ee94
push 0x44efec
lea eax, [esp + 0x20]
push eax
call fcn.00402500
push 0x44eff0
push 0x44eff4
lea ecx, [esp + 0x20]
push ecx
call fcn.00402500
push str.BDMS
push 0x44eff8
lea edx, [esp + 0x20]
push edx
call fcn.00402500
push 0x44effc
push 0x44f000
lea eax, [esp + 0x20]
push eax
call fcn.00402500
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x18]
add ecx, 0xe8
push edx
call fcn.00404270
xor eax, eax
mov word [esp + 0x64], ax
mov ebx, 7
push 8
mov eax, str.PID_1403
lea esi, [esp + 0x64]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], edi
call fcn.00404f90
mov byte [esp + 0x4e8], 3
xor ecx, ecx
push 0xd
mov eax, str.RNDISPORT_PID
lea esi, [esp + 0x48]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], edi
mov word [esp + 0x4c], cx
call fcn.00404f90
mov byte [esp + 0x4e8], 4
xor edx, edx
push 0xa
mov eax, str.APP_CONFIG
lea esi, [esp + 0x80]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x94], edi
mov word [esp + 0x84], dx
call fcn.00404f90
mov eax, esi
push eax
push 0x45f98c
lea ecx, [esp + 0x68]
lea edx, [esp + 0x4c]
lea ebx, [esp + 0xa4]
mov byte [esp + 0x4f0], 5
call fcn.0040ca40
mov edi, 8
mov byte [esp + 0x4e8], 6
cmp dword [eax + 0x18], edi
jb 0x407ddc
mov eax, dword [eax + 4]
jmp 0x407ddf
add eax, 4
push eax
lea ecx, [esp + 0x28]
call fcn.00404930
cmp dword [esp + 0xb4], edi
jb 0x407e02
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.00411e4d
add esp, 4
mov esi, 7
xor ebx, ebx
xor edx, edx
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], dx
cmp dword [esp + 0x94], edi
jb 0x407e3a
mov eax, dword [esp + 0x80]
push eax
call fcn.00411e4d
add esp, 4
xor ecx, ecx
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], cx
cmp dword [esp + 0x5c], edi
jb 0x407e65
mov edx, dword [esp + 0x48]
push edx
call fcn.00411e4d
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], ax
mov byte [esp + 0x4e8], 0xb
cmp dword [esp + 0x78], edi
jb 0x407e8f
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00411e4d
add esp, 4
mov eax, dword [esp + 0x24]
xor edx, edx
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], dx
cmp eax, ebx
je 0x407ecd
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], ebx
jl 0x407ecd
push eax
push ecx
call fcn.0042df32
add esp, 8
cmp eax, ebx
je 0x407ec9
sub eax, dword [esp + 0x14]
sar eax, 1
jns 0x407fcb
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x4e8], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407ef1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4e8], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407f18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x4e8], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407f43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor edi, edi
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0xb8]
inc eax
push ecx
push eax
push esi
mov dword [esp + 0x3c], eax
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x407ab0
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov al, byte [esp + 0x1f]
mov ecx, dword [esp + 0x4e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c8]
xor ecx, esp
call fcn.0042de55
mov esp, ebp
pop ebp
ret 4
lea eax, [esi - 0x10]
mov dword [esp + 0x4e8], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407f45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x407f45
push 0x1fe
lea eax, [esp + 0xda]
xor edx, edx
push ebx
push eax
mov word [esp + 0xe0], dx
call fcn.004308e0
mov edi, dword [esp + 0x34]
mov esi, dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
push 0x100
lea edx, [esp + 0xdc]
push edx
lea eax, [esp + 0x38]
push eax
push 0xc
lea ecx, [esp + 0xcc]
push ecx
push edi
mov dword [esp + 0x3c], 0x100
call esi
cmp word [esp + 0xd4], bx
jne 0x40804e
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0xdc]
push ecx
lea edx, [esp + 0x38]
push edx
push ebx
lea eax, [esp + 0xcc]
push eax
push edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [esp + 0xd4]
push ecx
mov byte [esp + 0x23], 1
call esi
push str.CheckNDISPort::Find_ZTE_NetAdapter
call esi
lea eax, [esp + 0xd4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x408074
mov ecx, dword [esp + 0x40]
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xd8]
push edx
call fcn.00404800
mov byte [esp + 0x4e8], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4080bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4e8], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4080e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x4e8], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407f6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x407f6a
call fcn.00404700
push 0x80070057
call fcn.00404ab0
int3