Function at 0x6e04085c
Capabilities:
Print debug messages

Disassembly:
push 0x14c
mov eax, 0x6e04fceb
call fcn.6e04acac
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x158], ebx
call fcn.6e01daf9
test al, al
jne 0x6e040b4b
mov edi, dword [ebp + 0xc]
mov ecx, 0x6e0728a0
mov eax, edi
sub eax, 0x4a
je 0x6e0409a0
sub eax, 0x47f
je 0x6e040986
sub eax, 1
je 0x6e040968
sub eax, 1
je 0x6e04094a
dec eax
sub eax, 1
je 0x6e04092c
sub eax, 1
je 0x6e04090b
cmp byte [0x6e07289b], 0
jne 0x6e0408d5
cmp byte [0x6e07289a], 0
je 0x6e040a0c
push esi
push edi
push str._ACTWin_ACTWindowsClient::SendMessage___u______0x_p
push ecx
call fcn.6e01daf9
add esp, 0x10
cmp byte [0x6e07289a], 0
je 0x6e0408f9
push 0x6e0728a0
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07289b], 0
je 0x6e0409de
jmp 0x6e0409d5
cmp byte [0x6e07289b], 0
jne 0x6e040921
cmp byte [0x6e07289a], 0
je 0x6e040a0c
push esi
push str._ACTWin_ACTWindowsClient::SendMessage__WM_ACFORCEQUIT______0x_p
jmp 0x6e0409b8
cmp byte [0x6e07289b], 0
jne 0x6e040942
cmp byte [0x6e07289a], 0
je 0x6e040a0c
push esi
push str._ACTWin_ACTWindowsClient::SendMessage__WM_ACGETSESSIONCOUNT______0x_p
jmp 0x6e0409b8
cmp byte [0x6e07289b], 0
jne 0x6e040960
cmp byte [0x6e07289a], 0
je 0x6e040a0c
push esi
push str._ACTWin_ACTWindowsClient::SendMessage__WM_ACPING______0x_p
jmp 0x6e0409b8
cmp byte [0x6e07289b], 0
jne 0x6e04097e
cmp byte [0x6e07289a], 0
je 0x6e040a0c
push esi
push str._ACTWin_ACTWindowsClient::SendMessage__WM_ACCLOSE______0x_p
jmp 0x6e0409b8
cmp byte [0x6e07289b], 0
jne 0x6e040998
cmp byte [0x6e07289a], 0
je 0x6e040a0c
push esi
push str._ACTWin_ACTWindowsClient::SendMessage__WM_ACCONNECT______0x_p
jmp 0x6e0409b8
cmp byte [0x6e07289b], 0
jne 0x6e0409b2
cmp byte [0x6e07289a], 0
je 0x6e040a0c
push esi
push str._ACTWin_ACTWindowsClient::SendMessage__WM_COPYDATA______0x_p
push ecx
call fcn.6e01daf9
add esp, 0xc
cmp byte [0x6e07289a], 0
je 0x6e0409d5
push 0x6e0728a0
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07289b], 0
jne 0x6e0409e7
cmp byte [0x6e07289a], 0
je 0x6e040a0c
push str._ACTWin_ACTWindowsClient::SendMessage_SendMessage_Start
push 0x6e0728a0
call fcn.6e01daf9
cmp byte [0x6e07289a], 0
pop ecx
pop ecx
je 0x6e040a0c
push 0x6e0728a0
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 [0x6e07289b], 0
mov esi, eax
jne 0x6e040a2c
cmp byte [0x6e07289a], 0
je 0x6e040a50
push esi
push str._ACTWin__::SendMessage_returned___ld
mov ebx, 0x6e0728a0
push ebx
call fcn.6e01daf9
add esp, 0xc
cmp byte [0x6e07289a], 0
je 0x6e040a50
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
xor ebx, ebx
test esi, esi
jne 0x6e040b0a
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x158], eax
cmp byte [0x6e07289b], bl
jne 0x6e040a76
cmp byte [0x6e07289a], bl
je 0x6e040aa2
push eax
push str._ACTWin__::SendMessage_failed_Lasterror___lu
push 0x6e0728a0
call fcn.6e01daf9
add esp, 0xc
cmp byte [0x6e07289a], bl
je 0x6e040a9c
push 0x6e0728a0
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 [0x6e07289b], bl
jne 0x6e040ad3
cmp byte [0x6e07289a], bl
je 0x6e040afe
push dword [ebp - 0x154]
push str._ACTWin_::SendMessage_failed_error_message_:__s
push 0x6e0728a0
call fcn.6e01daf9
add esp, 0xc
cmp byte [0x6e07289a], bl
je 0x6e040afe
push 0x6e0728a0
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push dword [ebp - 0x154]
call dword [sym.imp.kernel32.dll_LocalFree]
cmp byte [0x6e07289b], bl
jne 0x6e040b1e
cmp byte [0x6e07289a], bl
je 0x6e040c8e
push str._ACTWin_ACTWindowsClient::SendMessage_SendMessage_End
push 0x6e0728a0
call fcn.6e01daf9
pop ecx
pop ecx
cmp byte [0x6e07289a], bl
je 0x6e040c8e
push 0x6e0728a0
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
jmp 0x6e040c8e
push 0xffffffffffffffff
lea ecx, [ebp - 0xe0]
call fcn.6e03fa62
xor ebx, ebx
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], ebx
call fcn.6e03fb0b
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 0x6e040c52
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.6e04048c
mov dword [ebp - 0x154], eax
pop ecx
test eax, eax
je 0x6e040c7d
push dword [esi + 4]
mov ecx, dword [eax]
push ebx
push dword [esi + 8]
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x6e052870]
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 [0x6e052870]
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.6e01daf9
mov ecx, dword [ebp - 0x154]
push 1
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x6e052870]
mov ecx, dword [ebp - 0x154]
call esi
jmp 0x6e040c7d
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.6e01daf9
mov esi, dword [ebp - 0x150]
lea ecx, [ebp - 0xe0]
call fcn.6e03fc69
sub edi, 0x4c9
je 0x6e040ca3
sub edi, 1
jne 0x6e040caa
mov byte [0x6e072898], bl
jmp 0x6e040caa
mov byte [0x6e072898], 1
mov eax, esi
call fcn.6e04ac56
ret