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

Disassembly:
push 0xffffffffffffffff
push 0x47669c
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x49ef38]
xor eax, esp
mov dword [esp + 0x4a4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49ef38]
xor eax, esp
push eax
lea eax, [esp + 0x4bc]
mov dword fs:[0], eax
mov edx, dword [esp + 0x4d0]
mov esi, dword [esp + 0x4d4]
mov ebx, dword [esp + 0x4d8]
mov ebp, ecx
mov ecx, dword [esp + 0x4cc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], ebx
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
xor edi, edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x60], eax
push edi
lea eax, [esp + 0x48]
mov dword [esp + 0x54], ecx
mov ecx, dword [ebp + 4]
push eax
push ecx
mov dword [esp + 0x4d0], 1
mov dword [esp + 0x50], 0x20
mov dword [esp + 0x54], 5
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], ebx
call dword [sym.imp.USER32.dll_RegisterDeviceNotificationW]
mov dword [esp + 0x14], eax
cmp eax, edi
jne 0x41de42
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, vtable._com_error.0
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
push str.Cant_register_device_notification:
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c8], 2
call fcn.00406330
mov esi, eax
mov bl, 3
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c4], bl
call fcn.00406880
push eax
lea edx, [esp + 0x1c]
push esi
push edx
call fcn.004084d0
mov eax, dword [eax]
push eax
mov byte [esp + 0x4d4], 4
call fcn.004031a0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x4c4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dd8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x4c4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ddb7
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 + 0x4c4], 1
mov dword [esp + 0x20], ebp
cmp eax, edi
je 0x41ddd3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x41dde2
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0x4dc]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x4c4], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41de0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x4e0]
add eax, 0xfffffff0
mov dword [esp + 0x4c4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41de3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x41e0d0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [ebp + 0x24]
call fcn.00410f30
push 0x12
push edi
push edi
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41de77
push str.SetupDiGetClassDevs____INVALID_HANDLE_VALUE
call fcn.004031a0
add esp, 4
jmp 0x41dde2
mov ecx, dword [ebp + 0x1b4]
xor eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov eax, 0x1c
push ecx
xor esi, esi
push str.RegisterDeviceNotification_m_WiFiLaunch___d
mov dword [esp + 0x20], esi
mov dword [esp + 0x6c], eax
mov dword [esp + 0xa4], eax
call fcn.004031a0
add esp, 8
cmp dword [ebp + 0x1b4], 1
je 0x41e06f
lea ecx, [esp + 0x64]
push ecx
push edi
lea edx, [esp + 0x3c]
push edx
push edi
push ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
cmp eax, edi
je 0x41e06f
jmp 0x41dee7
xor edi, edi
lea eax, [esp + 0x9c]
push eax
push esi
lea ecx, [esp + 0x3c]
push ecx
push edi
push ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
push edi
lea edx, [esp + 0x20]
push edx
push edi
push edi
lea eax, [esp + 0xac]
push eax
mov dword [esp + 0x30], edi
mov edi, dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailW]
push ebx
call edi
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x41e04e
cmp ecx, 0x400
ja 0x41e04e
xor eax, eax
mov dword [esp + 0x80], eax
lea edx, [esp + 0x80]
push edx
mov dword [esp + 0x88], 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
lea eax, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0xc4]
push ecx
lea edx, [esp + 0xac]
push edx
push ebx
mov dword [esp + 0xd0], 6
mov dword [esp + 0x98], 0x1c
call edi
test eax, eax
je 0x41e04e
lea eax, [esp + 0xbc]
lea ecx, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x41dfb0
sub eax, ecx
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 + 0xc4]
push ecx
lea edx, [esi + 0x1c]
push edx
call sub.MSVCR90.dll_memcpy
mov dword [esi], 0x20
mov eax, dword [esp + 0x4f0]
add esp, 0xc
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov edi, esp
push eax
call fcn.00401530
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x4e4]
add eax, 0xfffffff0
mov dword [esp + 0x38], esp
mov edi, esp
push eax
mov byte [esp + 0x4d0], 5
call fcn.00401530
add esp, 4
add eax, 0x10
push 0x8000
mov dword [edi], eax
push esi
mov ecx, ebp
mov byte [esp + 0x4d4], 1
call fcn.0041ced0
push esi
call dword [sym.imp.MSVCR90.dll_free]
mov esi, dword [esp + 0x1c]
add esp, 4
lea eax, [esp + 0x64]
push eax
inc esi
push esi
lea ecx, [esp + 0x3c]
push ecx
push 0
push ebx
mov dword [esp + 0x2c], esi
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
test eax, eax
jne 0x41dee5
push ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov eax, dword [esp + 0x4dc]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
mov byte [esp + 0x4c4], 0
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e0a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x4e0]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x4c4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e0cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x4bc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4a4]
xor ecx, esp
call fcn.00471f66
add esp, 0x4b4
ret 0x18