Function at 0x1001c36c
Capabilities:
Print debug messages

Disassembly:
push 0x14c
mov eax, 0x1002dda1
call fcn.1002b28b
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x158], ebx
call fcn.1001cd9a
test al, al
jne 0x1001c65b
mov edi, dword [ebp + 0xc]
mov ecx, 0x1003ce10
mov eax, edi
sub eax, 0x4a
je 0x1001c4b0
sub eax, 0x47f
je 0x1001c496
sub eax, 1
je 0x1001c478
sub eax, 1
je 0x1001c45a
dec eax
sub eax, 1
je 0x1001c43c
sub eax, 1
je 0x1001c41b
cmp byte [0x1003ce0b], 0
jne 0x1001c3e5
cmp byte [0x1003ce0a], 0
je 0x1001c51c
push esi
push edi
push str._ACTWin_ACTWindowsClient::SendMessage___u______0x_p
push ecx
call fcn.1001cd9a
add esp, 0x10
cmp byte [0x1003ce0a], 0
je 0x1001c409
push 0x1003ce10
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003ce0b], 0
je 0x1001c4ee
jmp 0x1001c4e5
cmp byte [0x1003ce0b], 0
jne 0x1001c431
cmp byte [0x1003ce0a], 0
je 0x1001c51c
push esi
push str._ACTWin_ACTWindowsClient::SendMessage__WM_ACFORCEQUIT______0x_p
jmp 0x1001c4c8
cmp byte [0x1003ce0b], 0
jne 0x1001c452
cmp byte [0x1003ce0a], 0
je 0x1001c51c
push esi
push str._ACTWin_ACTWindowsClient::SendMessage__WM_ACGETSESSIONCOUNT______0x_p
jmp 0x1001c4c8
cmp byte [0x1003ce0b], 0
jne 0x1001c470
cmp byte [0x1003ce0a], 0
je 0x1001c51c
push esi
push str._ACTWin_ACTWindowsClient::SendMessage__WM_ACPING______0x_p
jmp 0x1001c4c8
cmp byte [0x1003ce0b], 0
jne 0x1001c48e
cmp byte [0x1003ce0a], 0
je 0x1001c51c
push esi
push str._ACTWin_ACTWindowsClient::SendMessage__WM_ACCLOSE______0x_p
jmp 0x1001c4c8
cmp byte [0x1003ce0b], 0
jne 0x1001c4a8
cmp byte [0x1003ce0a], 0
je 0x1001c51c
push esi
push str._ACTWin_ACTWindowsClient::SendMessage__WM_ACCONNECT______0x_p
jmp 0x1001c4c8
cmp byte [0x1003ce0b], 0
jne 0x1001c4c2
cmp byte [0x1003ce0a], 0
je 0x1001c51c
push esi
push str._ACTWin_ACTWindowsClient::SendMessage__WM_COPYDATA______0x_p
push ecx
call fcn.1001cd9a
add esp, 0xc
cmp byte [0x1003ce0a], 0
je 0x1001c4e5
push 0x1003ce10
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003ce0b], 0
jne 0x1001c4f7
cmp byte [0x1003ce0a], 0
je 0x1001c51c
push str._ACTWin_ACTWindowsClient::SendMessage_SendMessage_Start
push 0x1003ce10
call fcn.1001cd9a
cmp byte [0x1003ce0a], 0
pop ecx
pop ecx
je 0x1001c51c
push 0x1003ce10
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 [0x1003ce0b], 0
mov esi, eax
jne 0x1001c53c
cmp byte [0x1003ce0a], 0
je 0x1001c560
push esi
push str._ACTWin__::SendMessage_returned___ld
mov ebx, 0x1003ce10
push ebx
call fcn.1001cd9a
add esp, 0xc
cmp byte [0x1003ce0a], 0
je 0x1001c560
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
xor ebx, ebx
test esi, esi
jne 0x1001c61a
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x158], eax
cmp byte [0x1003ce0b], bl
jne 0x1001c586
cmp byte [0x1003ce0a], bl
je 0x1001c5b2
push eax
push str._ACTWin__::SendMessage_failed_Lasterror___lu
push 0x1003ce10
call fcn.1001cd9a
add esp, 0xc
cmp byte [0x1003ce0a], bl
je 0x1001c5ac
push 0x1003ce10
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 [0x1003ce0b], bl
jne 0x1001c5e3
cmp byte [0x1003ce0a], bl
je 0x1001c60e
push dword [ebp - 0x154]
push str._ACTWin_::SendMessage_failed_error_message_:__s
push 0x1003ce10
call fcn.1001cd9a
add esp, 0xc
cmp byte [0x1003ce0a], bl
je 0x1001c60e
push 0x1003ce10
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push dword [ebp - 0x154]
call dword [sym.imp.kernel32.dll_LocalFree]
cmp byte [0x1003ce0b], bl
jne 0x1001c62e
cmp byte [0x1003ce0a], bl
je 0x1001c79e
push str._ACTWin_ACTWindowsClient::SendMessage_SendMessage_End
push 0x1003ce10
call fcn.1001cd9a
pop ecx
pop ecx
cmp byte [0x1003ce0a], bl
je 0x1001c79e
push 0x1003ce10
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
jmp 0x1001c79e
push 0xffffffffffffffff
lea ecx, [ebp - 0xe0]
call fcn.1001b572
xor ebx, ebx
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], ebx
call fcn.1001b61b
mov edi, dword [ebp + 0xc]
mov eax, esi
cdq
xorps xmm0, xmm0
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x10]
movlpd qword [ebp - 0x150], xmm0
mov dword [ebp - 0xe4], ebx
mov byte [ebp - 0x148], bl
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], ebx
cmp edi, 0x4a
jne 0x1001c762
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.1001bf9c
mov dword [ebp - 0x154], eax
pop ecx
test eax, eax
je 0x1001c78d
push dword [esi + 4]
mov ecx, dword [eax]
push ebx
push dword [esi + 8]
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x1002f5c8]
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 [0x1002f5c8]
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.1001cd9a
mov ecx, dword [ebp - 0x154]
push 1
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x1002f5c8]
mov ecx, dword [ebp - 0x154]
call esi
jmp 0x1001c78d
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.1001cd9a
mov esi, dword [ebp - 0x150]
lea ecx, [ebp - 0xe0]
call fcn.1001b779
sub edi, 0x4c9
je 0x1001c7b3
sub edi, 1
jne 0x1001c7ba
mov byte [0x1003ce08], bl
jmp 0x1001c7ba
mov byte [0x1003ce08], 1
mov eax, esi
call fcn.1002b235
ret