Function at 0x44ae60
Capabilities:
Lock the desktop

Disassembly:
mov eax, 0x48e504
call fcn.004874e0
sub esp, 0x44
and dword [ebp - 0x1c], 0
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x20], esi
cmp byte [esi + 0x18], 0
mov dword [ebp - 0x10], esp
jne 0x44ae9a
push ecx
mov ecx, 0x4c25c8
mov eax, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00429a4a
mov ecx, esi
call fcn.00421eb0
movsx eax, word [esi + 0x80]
push eax
push str.TrClient::Run__1_id_d
push str.S:Ammyy_sources_targetTrClient.cpp
mov ebx, 0x4c2700
push 2
push ebx
call fcn.00420f3e
mov eax, dword [esi + 0xc]
add esp, 0x14
mov dword [esi + 0x210], eax
mov dword [esi + 0xc8], eax
mov eax, dword [0x4c2ddc]
and dword [ebp - 4], 0
mov dword [esi + 0xcc], eax
lea eax, [esi + 0x34]
push eax
lea eax, [ebp - 0x24]
lea edi, [esi + 8]
push eax
push edi
mov ecx, esi
and dword [edi], 0
call fcn.00421b90
mov ecx, dword [esi + 0xc]
lea eax, [ebp - 0x18]
push eax
call fcn.0042d38b
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00435b75
push eax
push dword [edi]
push str.TrClient_ReadInitMsg___remoteId_u___s
push ebx
call fcn.004319df
and byte [ebp - 4], 0
add esp, 0x10
lea ecx, [ebp - 0x18]
call fcn.00433d8a
mov eax, dword [esi]
push 4
mov ecx, esi
call dword [eax + 0x10]
push 0
mov ecx, 0x4c25c8
mov byte [ebp - 4], 2
call fcn.004288eb
jmp 0x44af5c
xor edi, edi
cmp byte [esi + 0x18], 0
mov dword [ebp - 4], edi
je 0x44af74
mov eax, dword [esi + 0xc]
mov ecx, esi
push dword [eax + 8]
call fcn.00421045
mov ecx, esi
call fcn.0044a2d3
mov ecx, esi
call fcn.0044a9dd
test al, al
je 0x44b2f8
push 0x4c26ac
lea ecx, [esi + 0x44]
mov word [esi + 0x44e], di
call fcn.0043553d
mov eax, dword [esi]
push 5
mov ecx, esi
call dword [eax + 0x10]
push 2
mov ecx, esi
call fcn.0044c2c9
mov ecx, esi
call fcn.0044ac6e
and byte [ebp - 0x11], 0
and byte [ebp - 0x12], 0
call fcn.0044d435
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x12]
mov ecx, esi
push eax
call fcn.00421ae4
mov bl, al
cmp bl, 0x18
mov byte [ebp - 0x18], bl
jne 0x44b01e
mov ecx, dword [esi + 0xc]
lea eax, [ebp - 0x17]
push 2
push eax
call fcn.0042d73e
movzx eax, word [ebp - 0x17]
push eax
push str.get_close_message_with_code_d
push str.S:Ammyy_sources_targetTrClient.cpp
push 2
push 0x4c2700
call fcn.00420f3e
mov byte [esi + 0xc0], 1
add esp, 0x14
mov dword [esi + 0x20c], 1
jmp 0x44b2a4
cmp bl, 0x2f
jne 0x44b02f
mov ecx, esi
call fcn.0044b3e9
jmp 0x44b2a4
cmp bl, 0x30
jne 0x44b03d
mov ecx, esi
call fcn.0044a5d0
jmp 0x44afc7
cmp bl, 0x31
jne 0x44b04e
mov ecx, esi
call fcn.0044a7b0
jmp 0x44b2a4
cmp bl, 0x2d
je 0x44b067
cmp bl, 0x34
je 0x44b067
cmp bl, 0x2e
je 0x44b067
cmp bl, 0xe
je 0x44b067
cmp bl, 0x28
jne 0x44b089
cmp byte [ebp - 0x11], 0
jne 0x44b07d
push edi
lea ecx, [esi + 0x23c]
mov byte [ebp - 0x11], 1
call fcn.0044d466
push edi
lea ecx, [esi + 0x23c]
call fcn.0044d586
movzx ecx, bl
cmp ecx, 0x33
jg 0x44b1ab
je 0x44b17c
cmp ecx, 0x2a
jg 0x44b0fd
je 0x44b0f1
mov eax, ecx
sub eax, 0xa
je 0x44afc7
sub eax, 3
je 0x44b0e5
dec eax
je 0x44b0d9
sub eax, 0x1a
je 0x44b0cd
dec eax
jne 0x44b216
mov ecx, esi
call fcn.0044b5c1
jmp 0x44afc7
mov ecx, esi
call fcn.0044b4a4
jmp 0x44afc7
mov ecx, esi
call fcn.0044bc5c
jmp 0x44afc7
mov ecx, esi
call fcn.0044b307
jmp 0x44afc7
mov ecx, esi
call fcn.0044b602
jmp 0x44afc7
mov eax, ecx
sub eax, 0x2b
je 0x44b170
dec eax
je 0x44b164
dec eax
je 0x44b155
dec eax
je 0x44b149
sub eax, 4
jne 0x44b216
cmp byte [esi + 0x61], 0
jne 0x44b13a
lea eax, [ebp - 0x38]
push str.aaPopupAmmyy_is_forbidden
push eax
call fcn.00430892
pop ecx
lea eax, [ebp - 0x38]
pop ecx
push 0x49c754
push eax
call sub.MSVCRT.dll__CxxThrowException
mov ecx, 0x4c1e90
call fcn.00408deb
jmp 0x44afc7
mov ecx, esi
call fcn.0044ba01
jmp 0x44afc7
push dword [ebp - 0x18]
mov ecx, esi
call fcn.0044b718
jmp 0x44afc7
mov ecx, esi
call fcn.0044b665
jmp 0x44afc7
mov ecx, esi
call fcn.0044b632
jmp 0x44afc7
cmp byte [esi + 0x61], 0
jne 0x44b1a0
lea eax, [ebp - 0x44]
push str.aaComputerLock_is_forbidden
push eax
call fcn.00430892
pop ecx
lea eax, [ebp - 0x44]
pop ecx
push 0x49c754
push eax
call sub.MSVCRT.dll__CxxThrowException
call dword [sym.imp.USER32.dll_LockWorkStation]
jmp 0x44afc7
cmp ecx, 0x3f
jg 0x44b203
je 0x44b1f7
mov eax, ecx
sub eax, 0x34
je 0x44b155
dec eax
je 0x44b1eb
sub eax, 7
je 0x44b1df
dec eax
je 0x44b1d3
dec eax
jne 0x44b216
mov ecx, esi
call fcn.004558ea
jmp 0x44afc7
mov ecx, esi
call fcn.00455afe
jmp 0x44afc7
mov ecx, esi
call fcn.004552fa
jmp 0x44afc7
mov ecx, esi
call fcn.0044b6f1
jmp 0x44afc7
mov ecx, esi
call fcn.00455c51
jmp 0x44afc7
mov eax, ecx
sub eax, 0x40
je 0x44b25f
dec eax
je 0x44b253
dec eax
je 0x44b246
dec eax
je 0x44b242
dec eax
je 0x44b236
push ecx
lea eax, [ebp - 0x50]
push str.invalid_message_received_:__u
push eax
call fcn.00430892
add esp, 0xc
lea eax, [ebp - 0x50]
push 0x49c754
push eax
call sub.MSVCRT.dll__CxxThrowException
mov ecx, esi
call fcn.0045666c
jmp 0x44afc7
push 1
jmp 0x44b247
push edi
mov ecx, esi
call fcn.0045624a
jmp 0x44afc7
mov ecx, esi
call fcn.00455eb3
jmp 0x44afc7
mov ecx, esi
call fcn.00456375
jmp 0x44afc7
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], 0
je 0x44b2d7
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_SetThreadDesktop]
test eax, eax
jne 0x44b2d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x1c]
push str.ERROR_SetThreadDesktop__u___u
push 0x4c2700
call fcn.004319c7
add esp, 0x10
movsx eax, word [esi + 0x80]
push eax
push str.TrClient::Run__end_id_d
push str.S:Ammyy_sources_targetTrClient.cpp
push 2
push 0x4c2700
call fcn.00420f3e
add esp, 0x14
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret