Function at 0x10019866
Capabilities:
Print debug messages

Disassembly:
push 0x150
mov eax, 0x10028c36
call fcn.100265a9
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x154], esi
mov dword [ebp - 0x158], edi
call fcn.1001dcdf
test al, al
jne 0x10019b09
mov ebx, dword [ebp + 0xc]
mov ecx, 0x10036f00
mov esi, dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov eax, ebx
mov edi, dword [sym.imp.MSVCR120.dll_sprintf]
sub eax, 0x4a
je 0x1001997f
sub eax, 0x47f
je 0x10019969
dec eax
je 0x10019953
dec eax
je 0x10019939
dec eax
dec eax
je 0x1001991f
dec eax
je 0x100198fc
cmp byte [0x10036ee8], 0
je 0x100199d9
push dword [ebp - 0x154]
push dword [ebp - 0x158]
push dword [ebp + 0x10]
push ebx
push str._ACTWin_ACTWindowsClient::SendMessage___u_0x_x_0x_lx______0x_lx
push ecx
call edi
add esp, 0x18
jmp 0x100199a2
cmp byte [0x10036ee8], 0
je 0x100199d9
push dword [ebp - 0x154]
push str._ACTWin_ACTWindowsClient::SendMessage__WM_ACFORCEQUIT______0x_lx
push ecx
call edi
add esp, 0xc
jmp 0x100199a2
cmp byte [0x10036ee8], 0
je 0x100199d9
push dword [ebp - 0x154]
push str._ACTWin_ACTWindowsClient::SendMessage__WM_ACGETSESSIONCOUNT______0x_lx
jmp 0x10019914
cmp byte [0x10036ee8], 0
je 0x100199d9
push dword [ebp - 0x154]
push str._ACTWin_ACTWindowsClient::SendMessage__WM_ACPING______0x_lx
jmp 0x10019914
cmp byte [0x10036ee8], 0
je 0x100199d9
push dword [ebp - 0x154]
push str._ACTWin_ACTWindowsClient::SendMessage__WM_ACCLOSE______0x_lx
jmp 0x10019914
cmp byte [0x10036ee8], 0
je 0x100199d9
push dword [ebp - 0x154]
push str._ACTWin_ACTWindowsClient::SendMessage__WM_ACCONNECT______0x_lx
jmp 0x10019914
cmp byte [0x10036ee8], 0
je 0x100199d9
push dword [ebp - 0x154]
push dword [ebp - 0x158]
push dword [ebp + 0x10]
push str._ACTWin_ACTWindowsClient::SendMessage__WM_COPYDATA__0x_x__0x_lx______0x_lx
push ecx
call edi
add esp, 0x14
cmp byte [0x10036ee8], 0
je 0x100199d9
push 0x10036f00
call esi
cmp byte [0x10036ee8], 0
je 0x100199d9
push str._ACTWin_ACTWindowsClient::SendMessage_SendMessage_Start
push 0x10036f00
call edi
cmp byte [0x10036ee8], 0
pop ecx
pop ecx
je 0x100199d9
push 0x10036f00
call esi
push dword [ebp - 0x158]
push dword [ebp + 0x10]
push ebx
push dword [ebp - 0x154]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp byte [0x10036ee8], 0
mov ebx, eax
mov dword [ebp - 0x154], ebx
je 0x10019a1d
push ebx
push str._ACTWin__::SendMessage_returned___ld
mov ebx, 0x10036f00
push ebx
call edi
add esp, 0xc
cmp byte [0x10036ee8], 0
je 0x10019a1d
push ebx
call esi
xor ebx, ebx
cmp dword [ebp - 0x154], ebx
jne 0x10019abd
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x15c], eax
cmp byte [0x10036ee8], bl
je 0x10019a64
push eax
push str._ACTWin__::SendMessage_failed_Lasterror___ul
push 0x10036f00
call edi
add esp, 0xc
cmp byte [0x10036ee8], bl
je 0x10019a5e
push 0x10036f00
call esi
mov eax, dword [ebp - 0x15c]
push ebx
push ebx
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x158], ebx
push ecx
push 0x400
push eax
push ebx
push 0x1300
call dword [sym.imp.kernel32.dll_FormatMessageA]
cmp byte [0x10036ee8], bl
je 0x10019ab1
push dword [ebp - 0x158]
push str._ACTWin_::SendMessage_failed_error_message_:__s
push 0x10036f00
call edi
add esp, 0xc
cmp byte [0x10036ee8], bl
je 0x10019ab1
push 0x10036f00
call esi
push dword [ebp - 0x158]
call dword [sym.imp.kernel32.dll_LocalFree]
cmp byte [0x10036ee8], bl
je 0x10019ae2
push str._ACTWin_ACTWindowsClient::SendMessage_SendMessage_End
push 0x10036f00
call edi
pop ecx
pop ecx
cmp byte [0x10036ee8], bl
je 0x10019ae2
push 0x10036f00
call esi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp - 0x154]
sub esi, 0x4c9
je 0x10019c0a
dec esi
jne 0x10019c11
mov byte [0x10036eeb], bl
jmp 0x10019c11
push 0xffffffffffffffff
lea ecx, [ebp - 0xe0]
call fcn.10018bce
xor ebx, ebx
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], ebx
call fcn.10018c71
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0xa0], esi
mov esi, dword [ebp + 0xc]
movlpd qword [ebp - 0x150], xmm0
mov dword [ebp - 0xe4], ebx
mov byte [ebp - 0x148], bl
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], ebx
cmp esi, 0x4a
jne 0x10019bcf
mov eax, dword [edi]
mov dword [ebp - 0x80], eax
mov eax, dword [edi + 4]
push eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], eax
call fcn.100194d2
mov dword [ebp - 0x15c], eax
pop ecx
test eax, eax
je 0x10019bf4
push dword [edi + 4]
mov edx, dword [eax]
mov ecx, eax
push ebx
push dword [edi + 8]
call dword [edx + 4]
mov edi, dword [ebp - 0x15c]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x18]
push eax
lea eax, [ebp - 0x74]
push eax
call sub.MSVCR120.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0xe0]
call fcn.1001dcdf
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
jmp 0x10019bf4
lea eax, [ebp - 0x150]
mov dword [ebp - 0x88], edi
push eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x84], ebx
push eax
lea ecx, [ebp - 0xe0]
call fcn.1001dcdf
mov edi, dword [ebp - 0x150]
lea ecx, [ebp - 0xe0]
call fcn.10018dc6
jmp 0x10019aeb
mov byte [0x10036eeb], 1
mov eax, edi
call fcn.10026558
ret