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

Disassembly:
push 0xffffffffffffffff
push 0x477f67
mov eax, dword fs:[0]
push eax
sub esp, 0x4b0
mov eax, dword [0x4a4eb0]
xor eax, esp
mov dword [esp + 0x4ac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4eb0]
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 [0x47f528]
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x4210b6
call dword [0x47f224]
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.004062c0
mov esi, eax
mov bl, 3
lea ecx, [esp + 0x20]
mov byte [esp + 0x4cc], bl
call fcn.00406820
push eax
lea edx, [esp + 0x18]
push esi
push edx
call fcn.004087e0
mov eax, dword [eax]
push eax
mov byte [esp + 0x4dc], 4
call fcn.00403140
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 0x421003
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 0x42102b
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 0x421047
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x421056
push eax
call dword [0x47f164]
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 0x421081
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 0x4210af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x421455
lea ecx, [esp + 0x14]
push ecx
lea ecx, [ebp + 0x3c]
call fcn.0044c540
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 0x421132
push str.SetupDiGetClassDevs____INVALID_HANDLE_VALUE
call fcn.00403140
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 0x421112
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 0x4210a3
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.00403140
add esp, 8
cmp dword [ebp + 0x1e8], 1
jne 0x4211e5
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 0x4211c5
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 0x421444
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 0x4213f0
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 0x4213c6
cmp ecx, 0x400
ja 0x4213c6
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 0x4213c6
lea eax, [esp + 0xc4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4212c3
sub eax, edx
sar eax, 1
lea edi, [eax + eax + 2]
lea eax, [edi + 0x20]
push eax
call dword [0x47f3ec]
mov esi, eax
push edi
lea ecx, [esp + 0xcc]
push ecx
lea ebp, [esi + 0x1c]
push ebp
call fcn.004748d2
add esp, 0x10
push ebp
lea ecx, [esp + 0x1c]
mov dword [esi], 0x20
call fcn.004062c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x4cc], 5
call fcn.00408060
mov edi, eax
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jl 0x42133b
push str.6AC27878_A6FA_4155_BA85_F98F491D4F33
push eax
call dword [0x47f37c]
add esp, 8
test eax, eax
je 0x42133b
sub eax, dword [edi]
sar eax, 1
jns 0x421394
mov eax, dword [esp + 0x4e8]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x38], esp
mov edi, esp
push eax
call fcn.00401530
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.00401530
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.004200b0
push esi
call dword [0x47f370]
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 0x4213c6
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 0x421207
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 0x421422
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 0x421450
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.004747ca
add esp, 0x4bc
ret 0x18