Function at 0x4034d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
lea ebx, [edi + 4]
push ebx
push 0x41cc84
call fcn.00404060
lea edx, [edi + 0x240]
mov dword [esp + 0x30], 0x5dc
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c], 4
call fcn.00403170
lea edx, [edi + 0x240]
mov byte [esp + 0x2c], 6
lea ecx, [esp + 0x2c]
call fcn.00403170
push ebx
push str.___QMICL_SetDefaultMTU_for___s__n
call fcn.00404060
push dword [edi + 0x340]
push str.Start_V4_MTU_notification_thread_with_handle_0x_x_n
call fcn.00404060
mov ebx, dword [edi + 0x340]
push 0x10
call fcn.00407b4f
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x1c
mov dword [esp + 0x14], eax
test eax, eax
jne 0x40356f
push str.Error:_NOTIFICATION_CONTEXT_memory_allocation_failure._n
call fcn.00404060
add esp, 4
or ebx, 0xffffffff
call esi
push eax
push str.Unable_to_register_IPV4_MTU_notification__error__d_n
jmp 0x4035ca
lea ecx, [esp + 0x1c]
mov dword [eax], ebx
push ecx
push 0
push eax
push 0x403d50
push 0
push 0
mov byte [eax + 4], 4
mov dword [eax + 8], 0x403c70
mov dword [eax + 0xc], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4035c4
call esi
push eax
push str.Error:_Unable_to_register_notification__error__d_n
call fcn.00404060
push dword [esp + 0x1c]
call fcn.00407b32
add esp, 0xc
cmp ebx, ebx
jne 0x4035c4
call esi
push eax
push str.Unable_to_register_IPV4_MTU_notification__error__d_n
jmp 0x4035ca
push ebx
push str.V4_MTU_notification_thread_handle_0x_x_n
call fcn.00404060
add esp, 8
push dword [edi + 0x340]
push str.Start_V6_MTU_notification_thread_with_handle_0x_x_n
call fcn.00404060
mov esi, dword [edi + 0x340]
push 0x10
call fcn.00407b4f
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x403618
push str.Error:_NOTIFICATION_CONTEXT_memory_allocation_failure._n
call fcn.00404060
add esp, 4
or esi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Unable_to_register_IPV6_MTU_notification__error__d_n
jmp 0x40367b
lea ecx, [esp + 0x20]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x403d50
push 0
push 0
mov byte [eax + 4], 6
mov dword [eax + 8], 0x403ce0
mov dword [eax + 0xc], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
cmp esi, 0xffffffff
jne 0x403675
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error:_Unable_to_register_notification__error__d_n
call fcn.00404060
push dword [esp + 0x1c]
call fcn.00407b32
add esp, 0xc
cmp esi, esi
jne 0x403675
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Unable_to_register_IPV6_MTU_notification__error__d_n
jmp 0x40367b
push esi
push str.V6_MTU_notification_thread_handle_0x_x_n
call fcn.00404060
add esp, 8
push dword [edi + 0x340]
push str.Start_removal_notification_thread_with_handle_0x_x_n
call fcn.00404060
mov eax, dword [edi + 0x340]
push 0xc
mov dword [esp + 0x20], eax
call fcn.00407b4f
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4036d2
push str.Error:_NOTIFICATION_CONTEXT_memory_allocation_failure._n
call fcn.00401010
add esp, 4
mov dword [esp + 0x10], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Unable_to_register_notification__error__d_n
jmp 0x40373c
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
lea ecx, [esp + 0x24]
push ecx
push 0
push eax
push 0x403f10
push 0
push 0
mov dword [eax + 4], 0x4034a0
mov dword [eax + 8], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x403736
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error:_Unable_to_register_notification__error__d_n
call fcn.00401010
push dword [esp + 0x20]
call fcn.00407b32
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp eax, 0xffffffff
jne 0x403736
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Unable_to_register_notification__error__d_n
jmp 0x40373c
push eax
push str.Removal_notification_thread_handle_0x_x_n
call fcn.00404060
add esp, 8
lea eax, [edi + 4]
push eax
push str.Start_main_thread_for___s__n
call fcn.00404060
add esp, 8
lea eax, [esp + 0x2c]
push eax
push 0
push edi
push 0x4037e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x4037b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Unable_to_launch_MTU_thread__error__d_n
call fcn.00404060
mov ecx, dword [esp + 0x18]
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
cmp ebx, 0xffffffff
je 0x40379e
push ebx
call edi
cmp esi, 0xffffffff
je 0x4037a6
push esi
call edi
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x34c], ebx
mov dword [edi + 0x350], esi
mov dword [edi + 0x348], ecx
mov dword [edi + 0x344], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret