Function at 0x4344d0
Capabilities:
Check os version
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4baafb
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebx], vtable.AnEventListener.0
mov dword [ebp - 4], 0
mov dword [ebx + 4], vtable.ReconnectionListener.0
lea esi, [ebx + 8]
lea eax, [esi + 8]
mov dword [esi], vtable.Thread.0
push eax
push 4
push esi
push 0x46f030
push 0
mov byte [esi + 0xc], 0
push 0
mov byte [esi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
mov byte [ebp - 4], 2
lea ecx, [ebx + 0x18]
mov edi, dword [ebp + 0x14]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00438190
mov byte [ebp - 4], 3
push 0x4d3d44
push edi
mov dword [ebx], vtable.DesktopClientImpl.1.0
mov dword [ebx + 4], vtable.DesktopClientImpl.0
mov dword [ebx + 8], vtable.DesktopClientImpl.2.0
mov dword [ebx + 0x18], vtable.DesktopClientImpl.6.0
mov dword [ebx + 0x1c], vtable.DesktopClientImpl.4.0
mov dword [ebx + 0x20], vtable.DesktopClientImpl.3.0
mov dword [ebx + 0x24], vtable.DesktopClientImpl.5.0
mov dword [ebx + 0xa0], 0
mov dword [ebx + 0xa4], 0
mov dword [ebx + 0xa8], 0
mov dword [ebx + 0xac], 0
mov dword [ebx + 0xb0], 0
mov dword [ebx + 0xb4], 0
mov dword [ebx + 0xb8], 0
mov dword [ebx + 0xbc], 0
mov dword [ebx + 0xc0], 0
mov dword [ebx + 0xc4], edi
call fcn.004054f0
mov byte [ebp - 4], 4
push str.DesktopClientImpl:_Try_to_initialize_DesktopServerWatcher
push dword [ebx + 0xc4]
call fcn.00405550
add esp, 0x10
push 0x1c
call fcn.00497cd4
add esp, 4
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 5
lea ecx, [ebx + 4]
push dword [ebx + 0xc4]
push ecx
mov ecx, eax
call fcn.00439220
mov byte [ebp - 4], 4
push str.DesktopClientImpl:_Initializing_ReconnectingChannel_s_...
push dword [ebx + 0xc4]
mov dword [ebx + 0xb0], eax
call fcn.00405550
add esp, 8
push 0x44
call fcn.00497cd4
add esp, 4
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 6
push dword [ebx + 0xc4]
push ecx
mov ecx, eax
call fcn.00476a90
mov byte [ebp - 4], 4
push 0x44
mov dword [ebx + 0xa0], eax
call fcn.00497cd4
add esp, 4
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 7
push dword [ebx + 0xc4]
push ecx
mov ecx, eax
call fcn.00476a90
mov byte [ebp - 4], 4
push str.DesktopClientImpl:_Resuming_DesktopServerWatcher
push dword [ebx + 0xc4]
mov dword [ebx + 0xa4], eax
call fcn.00405550
mov esi, dword [ebx + 0xb0]
add esp, 8
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
push str.DesktopClientImpl:_Creating_BlockingGate_wrappers_for_the_ReconnectingChannel_s_
setne al
mov byte [esi + 0xc], al
push dword [ebx + 0xc4]
call fcn.00405550
add esp, 8
push 0x2c
call fcn.00497cd4
mov esi, dword [ebx + 0xa0]
mov edi, eax
add esp, 4
lea ecx, [edi + 4]
mov dword [edi], vtable.LocalMutex.0
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, esi
lea eax, [esi + 4]
neg ecx
push 0x2c
sbb ecx, ecx
and ecx, eax
mov dword [edi + 0x20], ecx
mov dword [edi + 0x28], esi
mov dword [edi], vtable.BlockingGate.2.0
mov dword [edi + 0x1c], vtable.BlockingGate.0
mov dword [edi + 0x24], vtable.BlockingGate.1.0
mov dword [ebx + 0xa8], edi
call fcn.00497cd4
mov esi, dword [ebx + 0xa4]
mov edi, eax
add esp, 4
lea ecx, [edi + 4]
mov dword [edi], vtable.LocalMutex.0
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, esi
lea eax, [esi + 4]
neg ecx
push str.DesktopClientImpl:_Initializing_DesktopSrvDispatcher
sbb ecx, ecx
and ecx, eax
mov dword [edi + 0x20], ecx
mov dword [edi + 0x28], esi
mov dword [edi], vtable.BlockingGate.2.0
mov dword [edi + 0x1c], vtable.BlockingGate.0
mov dword [edi + 0x24], vtable.BlockingGate.1.0
push dword [ebx + 0xc4]
mov dword [ebx + 0xac], edi
call fcn.00405550
add esp, 8
push 0x28
call fcn.00497cd4
add esp, 4
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 8
push dword [ebx + 0xc4]
push ebx
push dword [ebx + 0xac]
mov ecx, eax
call fcn.0042e970
mov byte [ebp - 4], 4
push str.DesktopClientImpl:_Initializing_UpdateHandlerClient...
push dword [ebx + 0xc4]
mov dword [ebx + 0xb4], eax
call fcn.00405550
add esp, 8
push 0x98
call fcn.00497cd4
add esp, 4
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 9
lea ecx, [ebx + 0x1c]
push dword [ebx + 0xc4]
push ecx
push dword [ebx + 0xb4]
mov ecx, eax
push dword [ebx + 0xa8]
call fcn.00475bd0
mov byte [ebp - 4], 4
push str.DesktopClientImpl:_Initializing_UserInputClient...
push dword [ebx + 0xc4]
mov dword [ebx + 0x54], eax
call fcn.00405550
add esp, 8
push 0x18
call fcn.00497cd4
mov edi, eax
add esp, 4
mov dword [ebp + 0x14], edi
mov edx, dword [ebx + 0xb4]
mov ecx, dword [ebx + 0xa8]
mov dword [edi + 8], ecx
lea eax, [edi + 0xc]
mov byte [ebp - 4], 0xd
lea ecx, [ebx + 0x20]
push eax
mov dword [edi + 0x14], ecx
mov ecx, edx
push 0x1e
mov dword [edi], vtable.UserInputClient.2.0
mov dword [edi + 4], vtable.UserInputClient.1.0
mov dword [eax], vtable.UserInputClient.0
mov byte [edi + 0x10], 0
call fcn.0042ece0
mov byte [ebp - 4], 4
push str.DesktopClientImpl:_Initializing_SasUserInput...
push dword [ebx + 0xc4]
mov dword [ebx + 0xbc], edi
call fcn.00405550
add esp, 8
push 0x10
call fcn.00497cd4
mov ecx, dword [ebx + 0xc4]
mov esi, eax
add esp, 4
mov dword [esi], vtable.SasUserInput.0
mov dword [esi + 4], edi
mov word [esi + 8], 0
mov byte [esi + 0xa], 0
mov dword [esi + 0xc], ecx
cmp dword [0x4fed30], 0
jne 0x4348cf
push 0x4fed30
mov dword [0x4fed30], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
neg eax
sbb eax, eax
and dword [0x4fed30], eax
cmp dword [0x4fed34], 6
push str.DesktopClientImpl:_Initializing_DesktopConfigClient...
setae al
mov byte [esi + 0xa], al
push dword [ebx + 0xc4]
mov dword [ebx + 0x60], esi
call fcn.00405550
add esp, 8
push 0x10
call fcn.00497cd4
mov ecx, dword [ebx + 0xa8]
add esp, 4
mov dword [eax + 4], ecx
mov dword [eax], vtable.DesktopConfigClient.0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
push str.DesktopClientImpl:_Initializing_GateKicker...
push dword [ebx + 0xc4]
mov dword [ebx + 0xc0], eax
call fcn.00405550
add esp, 8
push 0x1c
call fcn.00497cd4
mov edi, eax
add esp, 4
mov dword [ebp + 0x14], edi
mov esi, dword [ebx + 0xa8]
lea eax, [edi + 8]
push eax
push 4
push edi
push 0x46f030
push 0
mov dword [edi], vtable.Thread.0
mov byte [edi + 0xc], 0
push 0
mov byte [edi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 4], eax
mov byte [ebp - 4], 0xf
push ecx
lea ecx, [edi + 0x14]
mov dword [edi], vtable.GateKicker.0
mov dword [edi + 0x10], esi
call fcn.0041de80
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
mov byte [ebp - 4], 4
push str.DesktopClientImpl:_Resuming_DesktopSrvDispatcher
setne al
mov byte [edi + 0xc], al
push dword [ebx + 0xc4]
mov dword [ebx + 0xb8], edi
call fcn.00405550
mov esi, dword [ebx + 0xb4]
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [esi + 4]
call edi
cmp eax, 0xffffffff
push str.DesktopClientImpl:_Calling_onConfigReload_0_
setne al
mov byte [esi + 0xc], al
push dword [ebx + 0xc4]
call fcn.00405550
mov eax, dword [ebx + 0x18]
lea ecx, [ebx + 0x18]
add esp, 8
call dword [eax + 0x40]
push str.DesktopClientImpl:_Registering_as_a_listener_in_the_Configurator
push dword [ebx + 0xc4]
call fcn.00405550
mov eax, dword [vtable.LocalMutex.0]
add esp, 8
mov ecx, 0x4fb558
call dword [eax + 4]
mov esi, dword [0x4fee8c]
mov byte [ebp - 4], 0x10
mov ecx, 0x4fb558
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 8]
lea eax, [ebx + 0x24]
mov byte [ebp - 4], 4
push eax
lea ecx, [esi + 4]
call fcn.00410e30
mov dword [ebp - 4], 3
push str.DesktopClientImpl:_Resuming_self_thread
push dword [ebx + 0xc4]
call fcn.00405550
add esp, 8
push dword [ebx + 0xc]
call edi
cmp eax, 0xffffffff
setne al
mov byte [ebx + 0x14], al
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10