Function at 0x4088a0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4496e9
mov eax, dword fs:[0]
push eax
sub esp, 0x4d0
mov eax, dword [0x45e680]
xor eax, esp
mov dword [esp + 0x4c8], eax
push ebx
push esi
push edi
mov eax, dword [0x45e680]
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 0x450678
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
lea ecx, [esp + 0x28]
mov dword [esp + 0x30], esi
call fcn.00404a10
lea ecx, [esp + 0x24]
mov dword [esp + 0x4e8], edi
call fcn.00409a70
mov dword [esp + 0x4e8], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408950
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xb8]
push ecx
push edi
push esi
mov dword [esp + 0xc4], 0x1c
mov dword [esp + 0x2c], edi
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x408e33
jmp 0x408980
push 0x1fe
lea eax, [esp + 0x2da]
xor edx, edx
push edi
push eax
mov dword [esp + 0x3c], edi
mov word [esp + 0x2e0], dx
call fcn.00432320
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
push 0x200
lea edx, [esp + 0x2dc]
push edx
lea eax, [esp + 0x3c]
push eax
push 1
lea ecx, [esp + 0xcc]
push ecx
push esi
mov dword [esp + 0x58], 0x200
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
lea edx, [esp + 0x2d4]
push edx
lea ecx, [esp + 0x1c]
call fcn.00404a10
mov dword [esp + 0x4e8], 1
mov edx, dword [esp + 0x18]
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 0x408a16
push esi
lea ecx, [esp + 0x1c]
call fcn.00404830
mov edx, dword [esp + 0x18]
lea eax, [esi + 1]
push eax
push edx
call fcn.004300dd
add esp, 8
cmp esi, edi
jl 0x409069
mov eax, dword [esp + 0x18]
cmp esi, dword [eax - 8]
jg 0x409069
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov word [edx + esi*2], cx
mov esi, dword [esp + 0x18]
cmp dword [esi - 0xc], edi
jl 0x408eb5
push str.USBVID_19D2
push esi
call fcn.0042f96f
mov esi, dword [esp + 0x20]
add esp, 8
cmp eax, edi
je 0x408eb5
sub eax, esi
sar eax, 1
js 0x408eb5
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add esi, 0xfffffff0
call edx
cmp dword [esi + 0xc], edi
lea ecx, [esi + 0xc]
jl 0x408a9c
cmp eax, dword [esi]
jne 0x408a9c
mov ebx, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x408ad7
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 0x409064
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.0042f8f2
add esp, 0x10
add ebx, 0x10
mov dword [esp + 0x14], ebx
mov byte [esp + 0x4e8], 2
cmp dword [ebx - 0xc], edi
jl 0x408bec
push str.REV_
push ebx
call fcn.0042f96f
add esp, 8
cmp eax, edi
je 0x408bec
sub eax, ebx
sar eax, 1
cmp eax, 0xffffffff
je 0x408bec
push 4
add eax, 4
push eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x20]
call fcn.00402db0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4ec], 3
call fcn.00404320
mov byte [esp + 0x4e8], 2
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 0x408b60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.F_E_C__A:
push 0x450ff0
lea ecx, [esp + 0x1c]
push ecx
call fcn.00402590
push 0x450ff4
push 0x450ff8
lea edx, [esp + 0x1c]
push edx
call fcn.00402590
push 0x450ea4
push 0x450ffc
lea eax, [esp + 0x1c]
push eax
call fcn.00402590
push 0x451000
push 0x451004
lea ecx, [esp + 0x1c]
push ecx
call fcn.00402590
push str.BDMS
push 0x451008
lea edx, [esp + 0x1c]
push edx
call fcn.00402590
push 0x45100c
push 0x451010
lea eax, [esp + 0x1c]
push eax
call fcn.00402590
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x14]
add ecx, 0xe8
push edx
call fcn.00404320
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.00405070
mov byte [esp + 0x4e8], 4
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.00405070
mov byte [esp + 0x4e8], 5
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.00405070
mov eax, esi
push eax
push 0x46298c
lea ecx, [esp + 0x68]
lea edx, [esp + 0x4c]
lea ebx, [esp + 0xa4]
mov byte [esp + 0x4f0], 6
call fcn.0040e1e0
mov ebx, 7
mov edi, 8
mov byte [esp + 0x4e8], bl
cmp dword [eax + 0x18], edi
jb 0x408ca9
mov eax, dword [eax + 4]
jmp 0x408cac
add eax, 4
push eax
lea ecx, [esp + 0x28]
call fcn.00404a10
cmp dword [esp + 0xb4], edi
jb 0x408ccf
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.00413858
add esp, 4
xor esi, esi
xor edx, edx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb0], esi
mov word [esp + 0xa0], dx
cmp dword [esp + 0x94], edi
jb 0x408d02
mov eax, dword [esp + 0x80]
push eax
call fcn.00413858
add esp, 4
xor ecx, ecx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], esi
mov word [esp + 0x80], cx
cmp dword [esp + 0x5c], edi
jb 0x408d2d
mov edx, dword [esp + 0x48]
push edx
call fcn.00413858
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], esi
mov word [esp + 0x48], ax
mov byte [esp + 0x4e8], 0xc
cmp dword [esp + 0x78], edi
jb 0x408d57
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00413858
add esp, 4
mov eax, dword [esp + 0x24]
xor edx, edx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], esi
mov word [esp + 0x64], dx
cmp eax, esi
je 0x408d95
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], esi
jl 0x408d95
push eax
push ecx
call fcn.0042f96f
add esp, 8
cmp eax, esi
je 0x408d91
sub eax, dword [esp + 0x18]
sar eax, 1
jns 0x408ee5
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x4e8], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408db9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4e8], 1
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 0x408de1
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 + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408e0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor edi, edi
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0xb8]
inc eax
push ecx
push eax
push esi
mov dword [esp + 0x2c], eax
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x408980
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
push str.CheckNDISPort::EnumDeviceInfo_end
lea ecx, [esp + 0x24]
call fcn.00404a10
lea ecx, [esp + 0x20]
mov dword [esp + 0x4e8], 0xe
call fcn.00409a70
mov dword [esp + 0x4e8], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408e8b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.0042f892
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 0x408e0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x408e0e
push 0x1fe
lea eax, [esp + 0xda]
xor edx, edx
push esi
push eax
mov word [esp + 0xe0], dx
call fcn.00432320
mov ebx, dword [esp + 0x38]
mov edi, dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
push 0x100
lea edx, [esp + 0xdc]
push edx
lea eax, [esp + 0x3c]
push eax
push 0xc
lea ecx, [esp + 0xcc]
push ecx
push ebx
mov dword [esp + 0x44], 0x100
call edi
cmp word [esp + 0xd4], si
jne 0x408f68
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0xdc]
push ecx
lea edx, [esp + 0x3c]
push edx
push esi
lea eax, [esp + 0xcc]
push eax
push ebx
call edi
mov bl, 1
push str.CheckNDISPort::Find_ZTE_NetAdapter
lea ecx, [esp + 0x24]
mov byte [esp + 0x23], bl
call fcn.00404a10
lea ecx, [esp + 0x20]
mov byte [esp + 0x4e8], 0xd
call fcn.00409a70
mov byte [esp + 0x4e8], 0xc
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408fb5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0xd4]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x408fc0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xd8]
push ecx
mov ecx, dword [esp + 0x48]
call fcn.004048e0
mov byte [esp + 0x4e8], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409009
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 + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409030
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 + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408e33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x408e33
call fcn.004047e0
push 0x80070057
call fcn.00404b90
int3