Function at 0x1001bd21
Capabilities:
Print debug messages

Disassembly:
push 0x14c
mov eax, 0x1002cb3b
call fcn.1002a0fc
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x158], ebx
call fcn.1001fddd
test al, al
jne 0x1001bf74
mov edi, dword [ebp + 0xc]
mov ecx, 0x1003cde8
mov eax, edi
sub eax, 0x4a
je 0x1001bdfc
sub eax, 0x47f
je 0x1001bdeb
sub eax, 1
je 0x1001bdda
sub eax, 1
je 0x1001bdc5
dec eax
sub eax, 1
je 0x1001bdb0
sub eax, 1
je 0x1001bd9b
cmp byte [0x1003cde0], 0
je 0x1001be56
push esi
push edi
push str._ACTWin_ACTWindowsClient::SendMessage___u______0x_lx
push ecx
call fcn.1001fddd
add esp, 0x10
jmp 0x1001be14
cmp byte [0x1003cde0], 0
je 0x1001be56
push esi
push str._ACTWin_ACTWindowsClient::SendMessage__WM_ACFORCEQUIT______0x_lx
jmp 0x1001be0b
cmp byte [0x1003cde0], 0
je 0x1001be56
push esi
push str._ACTWin_ACTWindowsClient::SendMessage__WM_ACGETSESSIONCOUNT______0x_lx
jmp 0x1001be0b
cmp byte [0x1003cde0], 0
je 0x1001be56
push esi
push str._ACTWin_ACTWindowsClient::SendMessage__WM_ACPING______0x_lx
jmp 0x1001be0b
cmp byte [0x1003cde0], 0
je 0x1001be56
push esi
push str._ACTWin_ACTWindowsClient::SendMessage__WM_ACCLOSE______0x_lx
jmp 0x1001be0b
cmp byte [0x1003cde0], 0
je 0x1001be56
push esi
push str._ACTWin_ACTWindowsClient::SendMessage__WM_ACCONNECT______0x_lx
jmp 0x1001be0b
cmp byte [0x1003cde0], 0
je 0x1001be56
push esi
push str._ACTWin_ACTWindowsClient::SendMessage__WM_COPYDATA______0x_lx
push ecx
call fcn.1001fddd
add esp, 0xc
cmp byte [0x1003cde0], 0
je 0x1001be56
push 0x1003cde8
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cde0], 0
je 0x1001be56
push str._ACTWin_ACTWindowsClient::SendMessage_SendMessage_Start
push 0x1003cde8
call fcn.1001fddd
cmp byte [0x1003cde0], 0
pop ecx
pop ecx
je 0x1001be56
push 0x1003cde8
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
cmp byte [0x1003cde0], 0
mov esi, eax
je 0x1001be91
push esi
push str._ACTWin__::SendMessage_returned___ld
mov ebx, 0x1003cde8
push ebx
call fcn.1001fddd
add esp, 0xc
cmp byte [0x1003cde0], 0
je 0x1001be91
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
xor ebx, ebx
test esi, esi
jne 0x1001bf3b
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x158], eax
cmp byte [0x1003cde0], bl
je 0x1001bedb
push eax
push str._ACTWin__::SendMessage_failed_Lasterror___lu
push 0x1003cde8
call fcn.1001fddd
add esp, 0xc
cmp byte [0x1003cde0], bl
je 0x1001bed5
push 0x1003cde8
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x158]
push ebx
push ebx
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x154], ebx
push ecx
push 0x400
push eax
push ebx
push 0x1300
call dword [sym.imp.kernel32.dll_FormatMessageA]
cmp byte [0x1003cde0], bl
je 0x1001bf2f
push dword [ebp - 0x154]
push str._ACTWin_::SendMessage_failed_error_message_:__s
push 0x1003cde8
call fcn.1001fddd
add esp, 0xc
cmp byte [0x1003cde0], bl
je 0x1001bf2f
push 0x1003cde8
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push dword [ebp - 0x154]
call dword [sym.imp.kernel32.dll_LocalFree]
cmp byte [0x1003cde0], bl
je 0x1001c0b4
push str._ACTWin_ACTWindowsClient::SendMessage_SendMessage_End
push 0x1003cde8
call fcn.1001fddd
pop ecx
pop ecx
cmp byte [0x1003cde0], bl
je 0x1001c0b4
push 0x1003cde8
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
jmp 0x1001c0b4
push 0xffffffffffffffff
lea ecx, [ebp - 0xe0]
call fcn.1001afcf
xor ebx, ebx
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], ebx
call fcn.1001b07a
mov edi, dword [ebp + 0xc]
xorps xmm0, xmm0
mov eax, dword [ebp + 0x10]
movlpd qword [ebp - 0x150], xmm0
mov dword [ebp - 0xe4], ebx
mov byte [ebp - 0x148], bl
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], ebx
cmp edi, 0x4a
jne 0x1001c078
mov esi, dword [ebp - 0x158]
mov dword [ebp - 0x7c], ebx
mov eax, dword [esi]
mov dword [ebp - 0x80], eax
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 0x78], eax
call fcn.1001b987
mov dword [ebp - 0x154], eax
pop ecx
test eax, eax
je 0x1001c0a3
push dword [esi + 4]
mov ecx, dword [eax]
push ebx
push dword [esi + 8]
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x1002e5c4]
mov ecx, dword [ebp - 0x154]
call esi
mov ecx, dword [ebp - 0x154]
mov eax, dword [ecx]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x1002e5c4]
mov ecx, dword [ebp - 0x154]
call esi
push eax
lea eax, [ebp - 0x74]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0xe0]
call fcn.1001fddd
mov ecx, dword [ebp - 0x154]
push 1
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x1002e5c4]
mov ecx, dword [ebp - 0x154]
call esi
jmp 0x1001c0a3
mov eax, dword [ebp - 0x158]
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x84], ebx
push eax
call fcn.1001fddd
mov esi, dword [ebp - 0x150]
lea ecx, [ebp - 0xe0]
call fcn.1001b1d8
sub edi, 0x4c9
je 0x1001c0c9
sub edi, 1
jne 0x1001c0d0
mov byte [0x1003cde1], bl
jmp 0x1001c0d0
mov byte [0x1003cde1], 1
mov eax, esi
call fcn.1002a0a6
ret