Function at 0x1001c02d
Capabilities:
Print debug messages

Disassembly:
push 0x14c
mov eax, 0x1002db97
call fcn.1002b09b
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x158], ebx
call fcn.100257dd
test al, al
jne 0x1001c31c
mov edi, dword [ebp + 0xc]
mov ecx, 0x1003ce00
mov eax, edi
sub eax, 0x4a
je 0x1001c171
sub eax, 0x47f
je 0x1001c157
sub eax, 1
je 0x1001c139
sub eax, 1
je 0x1001c11b
dec eax
sub eax, 1
je 0x1001c0fd
sub eax, 1
je 0x1001c0dc
cmp byte [0x1003cdfb], 0
jne 0x1001c0a6
cmp byte [0x1003cdfa], 0
je 0x1001c1dd
push esi
push edi
push str._ACTWin_ACTWindowsClient::SendMessage___u______0x_p
push ecx
call fcn.100257dd
add esp, 0x10
cmp byte [0x1003cdfa], 0
je 0x1001c0ca
push 0x1003ce00
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x1001c1af
jmp 0x1001c1a6
cmp byte [0x1003cdfb], 0
jne 0x1001c0f2
cmp byte [0x1003cdfa], 0
je 0x1001c1dd
push esi
push str._ACTWin_ACTWindowsClient::SendMessage__WM_ACFORCEQUIT______0x_p
jmp 0x1001c189
cmp byte [0x1003cdfb], 0
jne 0x1001c113
cmp byte [0x1003cdfa], 0
je 0x1001c1dd
push esi
push str._ACTWin_ACTWindowsClient::SendMessage__WM_ACGETSESSIONCOUNT______0x_p
jmp 0x1001c189
cmp byte [0x1003cdfb], 0
jne 0x1001c131
cmp byte [0x1003cdfa], 0
je 0x1001c1dd
push esi
push str._ACTWin_ACTWindowsClient::SendMessage__WM_ACPING______0x_p
jmp 0x1001c189
cmp byte [0x1003cdfb], 0
jne 0x1001c14f
cmp byte [0x1003cdfa], 0
je 0x1001c1dd
push esi
push str._ACTWin_ACTWindowsClient::SendMessage__WM_ACCLOSE______0x_p
jmp 0x1001c189
cmp byte [0x1003cdfb], 0
jne 0x1001c169
cmp byte [0x1003cdfa], 0
je 0x1001c1dd
push esi
push str._ACTWin_ACTWindowsClient::SendMessage__WM_ACCONNECT______0x_p
jmp 0x1001c189
cmp byte [0x1003cdfb], 0
jne 0x1001c183
cmp byte [0x1003cdfa], 0
je 0x1001c1dd
push esi
push str._ACTWin_ACTWindowsClient::SendMessage__WM_COPYDATA______0x_p
push ecx
call fcn.100257dd
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x1001c1a6
push 0x1003ce00
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
jne 0x1001c1b8
cmp byte [0x1003cdfa], 0
je 0x1001c1dd
push str._ACTWin_ACTWindowsClient::SendMessage_SendMessage_Start
push 0x1003ce00
call fcn.100257dd
cmp byte [0x1003cdfa], 0
pop ecx
pop ecx
je 0x1001c1dd
push 0x1003ce00
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 [0x1003cdfb], 0
mov esi, eax
jne 0x1001c1fd
cmp byte [0x1003cdfa], 0
je 0x1001c221
push esi
push str._ACTWin__::SendMessage_returned___ld
mov ebx, 0x1003ce00
push ebx
call fcn.100257dd
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x1001c221
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
xor ebx, ebx
test esi, esi
jne 0x1001c2db
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x158], eax
cmp byte [0x1003cdfb], bl
jne 0x1001c247
cmp byte [0x1003cdfa], bl
je 0x1001c273
push eax
push str._ACTWin__::SendMessage_failed_Lasterror___lu
push 0x1003ce00
call fcn.100257dd
add esp, 0xc
cmp byte [0x1003cdfa], bl
je 0x1001c26d
push 0x1003ce00
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 [0x1003cdfb], bl
jne 0x1001c2a4
cmp byte [0x1003cdfa], bl
je 0x1001c2cf
push dword [ebp - 0x154]
push str._ACTWin_::SendMessage_failed_error_message_:__s
push 0x1003ce00
call fcn.100257dd
add esp, 0xc
cmp byte [0x1003cdfa], bl
je 0x1001c2cf
push 0x1003ce00
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push dword [ebp - 0x154]
call dword [sym.imp.kernel32.dll_LocalFree]
cmp byte [0x1003cdfb], bl
jne 0x1001c2ef
cmp byte [0x1003cdfa], bl
je 0x1001c45f
push str._ACTWin_ACTWindowsClient::SendMessage_SendMessage_End
push 0x1003ce00
call fcn.100257dd
pop ecx
pop ecx
cmp byte [0x1003cdfa], bl
je 0x1001c45f
push 0x1003ce00
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
jmp 0x1001c45f
push 0xffffffffffffffff
lea ecx, [ebp - 0xe0]
call fcn.1001b237
xor ebx, ebx
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], ebx
call fcn.1001b2e2
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 0x1001c423
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.1001bc5c
mov dword [ebp - 0x154], eax
pop ecx
test eax, eax
je 0x1001c44e
push dword [esi + 4]
mov ecx, dword [eax]
push ebx
push dword [esi + 8]
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x1002f5c0]
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 [0x1002f5c0]
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.100257dd
mov ecx, dword [ebp - 0x154]
push 1
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x1002f5c0]
mov ecx, dword [ebp - 0x154]
call esi
jmp 0x1001c44e
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.100257dd
mov esi, dword [ebp - 0x150]
lea ecx, [ebp - 0xe0]
call fcn.1001b449
sub edi, 0x4c9
je 0x1001c474
sub edi, 1
jne 0x1001c47b
mov byte [0x1003cdf8], bl
jmp 0x1001c47b
mov byte [0x1003cdf8], 1
mov eax, esi
call fcn.1002b045
ret