Function at 0x41cfee
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3530]
mov eax, 0x35b0
call fcn.00439e90
mov eax, dword [0x498b28]
xor eax, ebp
mov dword [ebp + 0x352c], eax
push esi
push edi
push 6
pop ecx
xor eax, eax
mov dword [ebp + 0x3210], 0x1c
lea edi, [ebp + 0x3214]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x64]
call fcn.0040d9b1
mov edi, reloc.WS2_32.dll_bind
lea ecx, [ebp - 0x64]
mov dword [ebp + 0x3b0], edi
call fcn.0040c026
push dword [ebp + 0x31e0]
push str.SetNetMtuForAllNetConn:_m_dwNetMtu_d_n
call fcn.0041b266
mov eax, dword [ebp + 0x31e0]
xor esi, esi
cmp eax, esi
pop ecx
pop ecx
mov dword [ebp - 0x70], 0x5c5
je 0x41d069
mov dword [ebp - 0x70], eax
push 2
push esi
push esi
push 0x47054c
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
cmp eax, esi
mov dword [ebp - 0x74], eax
jne 0x41d097
call dword [0x467358]
push eax
push str._SetNetMtuForAllNetConn:_SetupDiGetClassDevs_failed._err_d_n
call fcn.0041b266
pop ecx
pop ecx
jmp 0x41d38a
lea ecx, [ebp + 0x3210]
push ecx
push esi
push eax
mov dword [ebp - 0x78], esi
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x41d363
push ebx
mov ebx, 0x100
jmp 0x41d0bb
xor esi, esi
lea eax, [ebp - 0x68]
push eax
push ebx
lea eax, [ebp + 0x342c]
push eax
push esi
push 1
lea eax, [ebp + 0x3210]
push eax
push dword [ebp - 0x74]
mov dword [ebp - 0x68], ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyA]
test eax, eax
jne 0x41d0f2
call dword [0x467358]
push eax
push str._SetNetMtuForAllNetConn:_SetupDiGetDeviceRegistryProperty_failed._err_d_n
jmp 0x41d33d
lea eax, [ebp + 0x342c]
push ebx
push eax
call fcn.0043d3e1
lea eax, [ebp + 0x342c]
push 0x475748
push eax
call fcn.0043b820
add esp, 0x10
test eax, eax
jne 0x41d132
lea eax, [ebp + 0x342c]
push 0x475718
push eax
call fcn.0043b820
test eax, eax
pop ecx
pop ecx
je 0x41d344
push 0x20019
push 2
push esi
push 1
lea eax, [ebp + 0x3210]
push eax
push dword [ebp - 0x74]
call dword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41d173
lea eax, [ebp + 0x342c]
push eax
call dword [0x467358]
push eax
push str._SetNetMtuForAllNetConn:_SetupDiOpenDevRegKey_failed._err_d_HWID_hs_n
call fcn.0041b266
add esp, 0xc
jmp 0x41d344
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0
push 0
push str.NetLuidIndex
push esi
mov dword [ebp - 0x68], 4
call dword [0x467050]
test eax, eax
je 0x41d1b7
lea ecx, [ebp + 0x342c]
push ecx
push eax
push str.SetNetMtuForAllNetConn:_RegQueryValueEx_NetLuidIndex__failed._err_d_HWID_hs_n
call fcn.0041b266
add esp, 0xc
push esi
call dword [0x467004]
jmp 0x41d344
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x342c]
push eax
push 0
push 0
push str.NetCfgInstanceId
push esi
mov dword [ebp - 0x68], ebx
call dword [0x467050]
test eax, eax
je 0x41d1e8
push eax
push str.SetNetMtuForAllNetConn:_no_value_NetCfgInstanceId._RegQueryValueEx_returned__d_n
call fcn.0041b266
pop ecx
pop ecx
jmp 0x41d1ab
push esi
call dword [0x467004]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
lea eax, [ebp + 0x342c]
push eax
push str.SoftwareWidcommBTConfigNetMtu
push edi
mov dword [ebp - 0x68], 4
call dword [0x4673fc]
test eax, eax
jne 0x41d22b
lea eax, [ebp + 0x342c]
push eax
push dword [ebp - 0x80]
push str.SetNetMtuForAllNetConn:_already_set._previous_MTU0x_x__hs_n
jmp 0x41d166
cmp eax, 2
je 0x41d23d
push eax
push str._SetNetMtuForAllNetConn:_SHGetValue_failed._err_d_n
call fcn.0041b266
pop ecx
pop ecx
push dword [ebp - 0x7c]
push 0
call fcn.0041ce43
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x6c], eax
jne 0x41d25f
push str._SetNetMtuForAllNetConn:_GetNetMtu_IPv4__failed_n
call fcn.0041b266
jmp 0x41d343
push dword [ebp - 0x7c]
push 1
call fcn.0041ce43
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x41d278
push str._SetNetMtuForAllNetConn:_GetNetMtu_IPv6__failed_n
jmp 0x41d255
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0x6c], eax
jne 0x41d288
cmp esi, eax
je 0x41d30c
lea eax, [ebp + 0x342c]
push eax
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_hsConnection
lea eax, [ebp + 0x322c]
push ebx
push eax
call fcn.0043aa88
add esp, 0x10
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x322c]
push eax
push 0
push 0x46b9d0
push eax
push edi
mov dword [ebp - 0x68], 0x200
call dword [0x4673f8]
test eax, eax
je 0x41d2d1
push eax
push str._SetNetMtuForAllNetConn:_SHGetValue_Connection_Name__failed._err_d_n
jmp 0x41d33d
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0x6c], eax
jne 0x41d3a5
lea eax, [ebp + 0x322c]
push eax
push str.SetNetMtuForAllNetConn:_current_MTU_is_correct_for_IPv4.__ls_n
call fcn.0041b266
pop ecx
pop ecx
cmp esi, dword [ebp - 0x70]
lea eax, [ebp + 0x322c]
push eax
jne 0x41d3d0
push str.SetNetMtuForAllNetConn:_current_MTU_is_correct_for_IPv6.__ls_n
call fcn.0041b266
pop ecx
pop ecx
movzx eax, word [ebp - 0x6c]
push 4
shl esi, 0x10
or esi, eax
lea eax, [ebp - 0x6c]
push eax
push 4
lea eax, [ebp + 0x342c]
push eax
push str.SoftwareWidcommBTConfigNetMtu
push edi
mov dword [ebp - 0x6c], esi
call dword [0x467400]
test eax, eax
je 0x41d344
push eax
push str._SetNetMtuForAllNetConn:_SHSetValue_failed._err_d_n
call fcn.0041b266
pop ecx
pop ecx
inc dword [ebp - 0x78]
lea eax, [ebp + 0x3210]
push eax
push dword [ebp - 0x78]
push dword [ebp - 0x74]
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x41d0b9
pop ebx
mov esi, dword [0x467358]
call esi
cmp eax, 0x103
je 0x41d381
call esi
push eax
push str._SetNetMtuForAllNetConn:_SetupDiEnumDeviceInfo_failed._err_d_n
call fcn.0041b266
pop ecx
pop ecx
push dword [ebp - 0x74]
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov ecx, dword [ebp + 0x352c]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.004369c2
add ebp, 0x3530
leave
ret 4
lea ecx, [ebp + 0x322c]
push ecx
push eax
push 4
call fcn.0041ceda
add esp, 0xc
test al, al
jne 0x41d2f0
lea eax, [ebp + 0x322c]
push eax
push str._SetNetMtuForAllNetConn:_SetNetMtu_v4__failed.__ls_n
jmp 0x41d33d
push dword [ebp - 0x70]
push 6
call fcn.0041ceda
add esp, 0xc
test al, al
jne 0x41d30c
lea eax, [ebp + 0x322c]
push eax
push str._SetNetMtuForAllNetConn:_SetNetMtu_v6__failed.__ls_n
jmp 0x41d33d