Function at 0x423590
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x47a097
mov eax, dword fs:[0]
push eax
sub esp, 0x4b0
mov eax, dword [0x4a6eb0]
xor eax, esp
mov dword [esp + 0x4ac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a6eb0]
xor eax, esp
push eax
lea eax, [esp + 0x4c4]
mov dword fs:[0], eax
mov edx, dword [esp + 0x4d8]
mov esi, dword [esp + 0x4dc]
mov edi, dword [esp + 0x4e0]
mov ebp, ecx
mov ecx, dword [esp + 0x4d4]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], edi
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
xor ebx, ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x68], eax
push ebx
lea eax, [esp + 0x50]
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebp + 4]
push eax
push ecx
mov dword [esp + 0x4d8], 1
mov dword [esp + 0x58], 0x20
mov dword [esp + 0x5c], 5
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], edi
call dword [sym.imp.USER32.dll_RegisterDeviceNotificationW]
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x4237a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, vtable._com_error.0
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
push str.Cant_register_device_notification:
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4d0], 2
call fcn.00406310
mov esi, eax
mov bl, 3
lea ecx, [esp + 0x20]
mov byte [esp + 0x4cc], bl
call fcn.004069c0
push eax
lea edx, [esp + 0x18]
push esi
push edx
call fcn.00408c80
mov eax, dword [eax]
push eax
mov byte [esp + 0x4dc], 4
call fcn.00403170
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x4cc], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4236f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x4cc], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42371b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
mov byte [esp + 0x4cc], 1
mov dword [esp + 0x20], edi
test eax, eax
je 0x423737
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x423746
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0x4e4]
add eax, 0xfffffff0
mov byte [esp + 0x4cc], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423771
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x4e8]
add eax, 0xfffffff0
mov dword [esp + 0x4cc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42379f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x423b45
lea ecx, [esp + 0x14]
push ecx
lea ecx, [ebp + 0x3c]
call fcn.00426af0
push 0x12
push ebx
push ebx
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov ebx, eax
or edi, 0xffffffff
cmp ebx, edi
jne 0x423822
push str.SetupDiGetClassDevs____INVALID_HANDLE_VALUE
call fcn.00403170
mov eax, dword [esp + 0x4e8]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x4cc], 0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423802
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x4e8]
add eax, 0xfffffff0
mov dword [esp + 0x4cc], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jmp 0x423793
mov ecx, dword [ebp + 0x1e8]
xor eax, eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov eax, 0x1c
push ecx
xor esi, esi
push str.RegisterDeviceNotification_m_WiFiLaunch___d
mov dword [esp + 0x1c], esi
mov dword [esp + 0x90], eax
mov dword [esp + 0xac], eax
call fcn.00403170
add esp, 8
cmp dword [ebp + 0x1e8], 1
jne 0x4238d5
push ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov eax, dword [esp + 0x4e4]
add eax, 0xfffffff0
mov byte [esp + 0x4cc], 0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4238b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x4e8]
add eax, 0xfffffff0
mov dword [esp + 0x4cc], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jmp 0x423b34
mov edi, dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
lea ecx, [esp + 0x88]
push ecx
push 0
lea edx, [esp + 0x44]
push edx
push 0
push ebx
call edi
test eax, eax
je 0x423ae0
lea eax, [esp + 0xa4]
push eax
push esi
lea ecx, [esp + 0x44]
push ecx
push 0
push ebx
call edi
mov esi, dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailW]
push 0
lea edx, [esp + 0x20]
push edx
push 0
push 0
lea eax, [esp + 0xb4]
push eax
push ebx
mov dword [esp + 0x34], 0
call esi
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x423ab6
cmp ecx, 0x400
ja 0x423ab6
xor eax, eax
mov dword [esp + 0x6c], eax
lea edx, [esp + 0x6c]
push edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
lea eax, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0xcc]
push ecx
lea edx, [esp + 0xb4]
push edx
push ebx
mov dword [esp + 0xd8], 6
mov dword [esp + 0x84], 0x1c
call esi
test eax, eax
je 0x423ab6
lea eax, [esp + 0xc4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4239b3
sub eax, edx
sar eax, 1
lea edi, [eax + eax + 2]
lea eax, [edi + 0x20]
push eax
call dword [sym.imp.MSVCR90.dll_malloc]
mov esi, eax
push edi
lea ecx, [esp + 0xcc]
push ecx
lea ebp, [esi + 0x1c]
push ebp
call sub.MSVCR90.dll_memcpy
add esp, 0x10
push ebp
lea ecx, [esp + 0x1c]
mov dword [esi], 0x20
call fcn.00406310
lea ecx, [esp + 0x18]
mov byte [esp + 0x4cc], 5
call fcn.00408420
mov edi, eax
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jl 0x423a2b
push str.6AC27878_A6FA_4155_BA85_F98F491D4F33
push eax
call dword [sym.imp.MSVCR90.dll_wcsstr]
add esp, 8
test eax, eax
je 0x423a2b
sub eax, dword [edi]
sar eax, 1
jns 0x423a84
mov eax, dword [esp + 0x4e8]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x38], esp
mov edi, esp
push eax
call fcn.00401520
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x4ec]
add eax, 0xfffffff0
mov dword [esp + 0x40], esp
mov edi, esp
push eax
mov byte [esp + 0x4d8], 6
call fcn.00401520
mov ecx, dword [esp + 0x3c]
add esp, 4
add eax, 0x10
push 0x8000
mov dword [edi], eax
push esi
mov byte [esp + 0x4dc], 5
call fcn.00422760
push esi
call dword [sym.imp.MSVCR90.dll_free]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x4cc], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x423ab6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
mov edi, dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
lea ecx, [esp + 0x88]
push ecx
inc esi
push esi
lea edx, [esp + 0x44]
push edx
push 0
push ebx
mov dword [esp + 0x28], esi
call edi
test eax, eax
jne 0x4238f7
push ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov eax, dword [esp + 0x4e4]
add eax, 0xfffffff0
mov byte [esp + 0x4cc], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423b12
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x4e8]
add eax, 0xfffffff0
mov dword [esp + 0x4cc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423b40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x4c4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4ac]
xor ecx, esp
call fcn.004764f6
add esp, 0x4bc
ret 0x18