Function at 0x406fa0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x595b23
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62d414]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x20], edi
mov dword [edi], vtable.CTunnellerDevLink.0
mov dword [edi + method.CTunnellerDevLink.1.virtual_0], vtable.CTunnellerDevLink.1.0
mov dword [esp + 0x40], 0x17
mov ecx, dword [0x63dd80]
push str..TunnellerDevLink.cpp
push 0x177
push str.CTunnellerDevLink::CTunnellerDevLink
call fcn.0041ac10
mov ecx, dword [edi + 0x2fc]
test ecx, ecx
je 0x407017
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [edi + 0x300]
test ecx, ecx
je 0x407029
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [edi + 0x3cc]
test ecx, ecx
je 0x40703a
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov eax, dword [edi + 0x394]
mov esi, dword [eax]
mov ebp, dword [edi + 0x37c]
lea ebx, [edi + 0x37c]
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ebp
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx]
test ebp, ebp
je 0x407067
cmp ebp, eax
je 0x40706d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp esi, dword [esp + 0x1c]
je 0x4070e8
test ebp, ebp
jne 0x4070de
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x40708a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x40709d
lea esi, [eax + 8]
call fcn.00417580
mov esi, dword [esp + 0x28]
test ebp, ebp
jne 0x4070e3
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x4070b4
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
push esi
push ebp
lea ecx, [esp + 0x34]
push ecx
push ebx
mov dword [esi + 0x10], 0
call fcn.00411540
lea esi, [esp + 0x24]
call fcn.0046cc30
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
jmp 0x407056
mov eax, dword [ebp]
jmp 0x40707f
mov eax, dword [ebp]
jmp 0x4070a9
mov edx, dword [ebx + 0x18]
mov ebp, dword [edx + 4]
cmp byte [ebp + 0x15], 0
mov esi, ebp
jne 0x407114
mov eax, dword [esi + 8]
push eax
mov ecx, ebx
call fcn.00430800
mov esi, dword [esi]
push ebp
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esi + 0x15], 0
mov ebp, esi
je 0x4070f6
mov eax, dword [ebx + 0x18]
mov dword [eax + 4], eax
mov eax, dword [ebx + 0x18]
xor ebp, ebp
mov dword [ebx + 0x1c], ebp
mov dword [eax], eax
mov eax, dword [ebx + 0x18]
mov dword [eax + 8], eax
mov cl, byte [edi + 0x368]
test cl, cl
je 0x40716d
call fcn.004458c0
mov edx, eax
and edx, 0x80000000
cmp edx, 0x80000000
jne 0x407166
mov ecx, dword [0x63dd80]
mov edx, dword [ecx]
push eax
mov eax, dword [edx]
push str.ERROR:_Failed_to_deinitialize_communications._code__0x_X_
push str.CTunnellerDevLink::CTunnellerDevLink
push 1
push ecx
call eax
add esp, 0x14
mov byte [edi + 0x368], 0
mov ecx, dword [0x68cb4c]
cmp ecx, ebp
je 0x40717e
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov esi, dword [edi + 0x304]
cmp esi, ebp
je 0x4071a0
lea ecx, [esi + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebp
jne 0x4071a0
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov esi, dword [edi + 0x308]
cmp esi, ebp
je 0x4071c2
lea ecx, [esi + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebp
jne 0x4071c2
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov ecx, dword [0x63dd80]
push ebp
push 0x5d1d25
push str..TunnellerDevLink.cpp
push 0x1aa
push str.CTunnellerDevLink::CTunnellerDevLink
mov dword [edi + 0x304], ebp
mov dword [edi + 0x308], ebp
call fcn.0041aca0
mov byte [esp + 0x40], 0x16
lea ecx, [edi + 0x51c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0x40], 0x15
lea ecx, [edi + 0x500]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0x40], 0x14
lea esi, [edi + 0x4e0]
mov dword [esp + 0x18], esi
mov byte [esp + 0x40], 0x19
mov ecx, esi
call fcn.00412e80
mov byte [esp + 0x40], 0x14
mov esi, dword [esi]
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov byte [esp + 0x40], 0x13
lea esi, [edi + 0x4c0]
mov dword [esp + 0x24], esi
mov byte [esp + 0x40], 0x1e
mov eax, dword [esi + 0x14]
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [esi + 0x14]
mov dword [eax + 4], eax
mov dword [esi + 0x18], ebp
cmp ecx, dword [esi + 0x14]
je 0x40727c
mov edx, dword [ecx]
push ecx
mov dword [esp + 0x1c], edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x1c]
add esp, 4
cmp ecx, dword [esi + 0x14]
jne 0x407264
mov eax, dword [esi + 0x14]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov dword [esi + 0x14], ebp
mov byte [esp + 0x44], 0x13
mov esi, dword [esi]
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 8
mov byte [esp + 0x40], 0x12
lea eax, [edi + 0x4a0]
push eax
call fcn.00430910
mov byte [esp + 0x40], 0x11
lea esi, [edi + 0x484]
mov dword [esp + 0x24], esi
mov byte [esp + 0x40], 0x23
mov eax, dword [esi + 0x14]
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [esi + 0x14]
mov dword [eax + 4], eax
mov dword [esi + 0x18], ebp
cmp ecx, dword [esi + 0x14]
je 0x4072ea
mov edx, dword [ecx]
push ecx
mov dword [esp + 0x1c], edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x1c]
add esp, 4
cmp ecx, dword [esi + 0x14]
jne 0x4072d2
mov eax, dword [esi + 0x14]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov dword [esi + 0x14], ebp
mov byte [esp + 0x44], 0x11
mov esi, dword [esi]
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 8
mov byte [esp + 0x40], 0x10
lea ecx, [edi + 0x460]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0x40], 0xf
lea esi, [edi + 0x430]
mov dword [esp + 0x24], esi
mov byte [esp + 0x40], 0x28
mov ecx, esi
call fcn.004127b0
mov byte [esp + 0x40], 0xf
mov esi, dword [esi]
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov byte [esp + 0x40], 0xe
lea ecx, [edi + 0x40c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0x40], 0xd
mov eax, dword [edi + 0x3f4]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebp
mov ecx, dword [edi + 0x3f8]
push ecx
call ebp
mov edx, dword [edi + 0x3fc]
push edx
call ebp
mov byte [esp + 0x40], 0xc
lea esi, [edi + 0x3d0]
mov dword [esp + 0x24], esi
mov byte [esp + 0x40], 0x2e
call fcn.00412d70
mov byte [esp + 0x40], 0xc
mov esi, dword [esi]
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov byte [esp + 0x40], 0xb
lea esi, [edi + 0x3ac]
mov dword [esp + 0x24], esi
mov byte [esp + 0x40], 0x34
call fcn.00412db0
mov byte [esp + 0x40], 0xb
mov esi, dword [esi]
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov byte [esp + 0x40], 0xa
mov esi, ebx
mov dword [esp + 0x24], esi
mov byte [esp + 0x40], 0x3a
call fcn.00412db0
mov byte [esp + 0x40], 0xa
mov esi, dword [esi]
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov byte [esp + 0x40], 9
lea ecx, [edi + 0x34c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0x40], 8
lea ecx, [edi + 0x330]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0x40], 7
lea ecx, [edi + 0x314]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov bl, 6
mov byte [esp + 0x40], bl
lea esi, [edi + 0x2dc]
mov dword [esp + 0x24], esi
mov byte [esp + 0x40], 0x40
call fcn.00412d70
mov byte [esp + 0x40], bl
mov esi, dword [esi]
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov byte [esp + 0x40], 5
lea ecx, [edi + 0x2b8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0x40], 4
lea ecx, [edi + 0x274]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov bl, 3
mov byte [esp + 0x40], bl
lea esi, [edi + 0x220]
mov dword [esp + 0x24], esi
mov byte [esp + 0x40], 0x46
call fcn.004129c0
mov byte [esp + 0x40], bl
mov esi, dword [esi]
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov byte [esp + 0x40], 2
mov eax, dword [edi + 0x204]
push eax
call ebp
mov ecx, dword [edi + 0x208]
push ecx
call ebp
mov edx, dword [edi + 0x20c]
push edx
call ebp
mov byte [esp + 0x40], 1
lea eax, [edi + 0x1e8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov byte [esp + 0x40], 0
mov dword [edi + method.pxpil::CHistoryDevLink.virtual_0], vtable.pxpil::CHistoryDevLink.0
mov dword [esp + 0x40], 0xffffffff
mov ecx, edi
call fcn.00462780
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret