Function at 0xac6f60
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x840
mov eax, dword [0xc05fa8]
mov edi, ecx
xor eax, ebp
mov dword [esp + 0x838], eax
lea eax, [ecx + 4]
mov dword [esp + 8], eax
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
test byte [ecx + eax + 0x14], 5
je 0xac6fb1
movaps xmm0, xmmword [0xbb23e0]
mov dword [esp + 0x18], 0xffffffff
movaps xmmword [esp + 0x40], xmm0
cmp dword [edi], 3
je 0xac6fdc
jmp 0xac712a
mov ecx, dword [esp + 8]
lea edx, [esp + 0x40]
mov ecx, dword [ecx + eax + 0x18]
mov eax, dword [ecx]
push 0x10
push 1
push 0
push 0
push edx
call dword [eax + 0xc]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
cmp dword [edi], 3
jne 0xac712a
call 0xae54b0
test al, al
jne 0xac712a
lea ecx, [esp + 0x448]
call 0xae54e0
mov esi, dword [esp + 8]
lea ebx, [esp + 0x40]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
push ebx
call fcn.00aa6dd0
mov ecx, ebx
push 0xc07238
call 0xab8018
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x1c]
lea ecx, [esp + 0x40]
mov ebx, eax
call 0xaa99c2
movsx eax, bl
mov ecx, esi
push eax
call 0xaa7a70
mov ecx, esi
call fcn.00aa6cd0
lea ecx, [esp + 0x448]
push esi
call 0xae5540
lea esi, [esp + 0x40]
mov ecx, esi
call 0xae5580
mov ecx, esi
call 0xae5650
test al, al
jne 0xac706c
lea ecx, [esp + 0x40]
push dword [esp + 8]
call 0xae5660
call fcn.00ad00a0
test eax, eax
je 0xac712a
cmp dword [eax + 0x38], 0
mov ebx, eax
je 0xac712a
push 0x1d
push str.IPC_message_handler_context:
push dword [esp + 0x10]
call fcn.00aa1965
add esp, 0xc
lea esi, [esp + 0x2c]
mov dword [esp + 0xc], eax
push dword [ebx + 0x38]
push str.0x_08X
push esi
call fcn.00acef30
add esp, 0xc
movzx eax, byte [esp + 0x37]
test al, al
jns 0xac70c2
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
push eax
push esi
push dword [esp + 0x14]
call fcn.00aa1965
add esp, 0xc
mov ebx, eax
mov eax, dword [eax]
lea esi, [esp + 0x38]
mov ecx, dword [eax + 4]
add ecx, ebx
push esi
call fcn.00aa6dd0
mov ecx, esi
push 0xc07238
call 0xab8018
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x1c]
mov ecx, esi
mov byte [esp + 0xc], al
call 0xaa99c2
movsx eax, byte [esp + 0xc]
mov ecx, ebx
push eax
call 0xaa7a70
mov ecx, ebx
call fcn.00aa6cd0
cmp byte [esp + 0x37], 0
jns 0xac712a
push dword [esp + 0x2c]
call fcn.00b86896
add esp, 4
mov eax, dword [edi + 4]
mov esi, dword [esp + 8]
mov dword [esp + 0xc], edi
lea edi, [esp + 0x40]
mov ecx, dword [eax + 4]
add ecx, esi
push edi
call fcn.00aa6dd0
mov ecx, edi
push 0xc07238
call 0xab8018
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x1c]
mov ecx, edi
mov edi, dword [esp + 0xc]
mov ebx, eax
call 0xaa99c2
movsx eax, bl
mov ecx, esi
push eax
call 0xaa7a70
mov ecx, esi
call fcn.00aa6cd0
lea ebx, [edi + 8]
lea esi, [esp + 0x2c]
mov ecx, ebx
push esi
call fcn.00aa3734
test byte [0xc05490], 0x19
jne 0xac74c9
mov eax, dword [0xc078fc]
test eax, eax
je 0xac71cb
push esi
push dword [edi + 0x8c]
push dword [edi + 0x94]
push dword [edi + 0x90]
push dword [edi]
call eax
add esp, 0x14
test al, al
je 0xac71cb
cmp byte [esp + 0x37], 0
jns 0xac7466
jmp 0xac745a
mov eax, dword [0xc05150]
test al, 2
je 0xac71eb
cmp byte [esp + 0x37], 0
jns 0xac71df
mov esi, dword [esp + 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0xc05150]
test al, 4
jne 0xac71f9
cmp eax, 1
ja 0xac723d
cmp dword [edi], 2
jl 0xac723d
push 2
call fcn.00b8bb2f
add esp, 4
movzx ecx, byte [esp + 0x37]
lea edx, [esp + 0x2c]
test cl, cl
cmovs ecx, dword [esp + 0x30]
cmovs edx, dword [esp + 0x2c]
push eax
push 1
push ecx
push edx
call 0xb9d74a
add esp, 0x10
push 2
call fcn.00b8bb2f
add esp, 4
push eax
call 0xb9d2ee
add esp, 4
mov eax, dword [0xc05150]
test al, 1
je 0xac7274
call fcn.00ac7670
test al, al
je 0xac7274
movzx eax, byte [esp + 0x37]
lea ecx, [esp + 0x2c]
test al, al
cmovs eax, dword [esp + 0x30]
cmovs ecx, dword [esp + 0x2c]
push 0
lea edx, [esp + 0x44]
push edx
push eax
push ecx
push dword [0xc07908]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [edi], 3
jne 0xac72c0
mov ecx, dword [0xc09cf8]
lea esi, [esp + 0x2c]
test ecx, ecx
je 0xac72a1
movzx eax, byte [esp + 0x37]
mov edx, esi
test al, al
jns 0xac729a
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
push eax
push edx
call 0xae72c0
cmp byte [esi + 0xb], 0
mov dword [esp + 0x40], 0xbedead01
mov dword [esp + 0x444], 0x5050dead
jns 0xac72c9
mov eax, dword [esp + 0x2c]
jmp 0xac72cd
lea esi, [esp + 0x2c]
jmp 0xac7454
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x44]
push 0x400
push eax
push ecx
call 0xaceee0
add esp, 0xc
lea eax, [esp + 0x40]
push eax
call fcn.00aa6cc0
add esp, 4
mov ecx, dword [0xc09ccc]
mov edx, dword fs:[0x2c]
mov eax, dword [0xc0791c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0xac75c6
mov eax, dword [0xc07914]
cmp eax, dword [0xc07918]
jne 0xac7325
call 0xae54c0
jmp 0xac7454
mov ecx, dword [0xc09ccc]
mov edx, dword fs:[0x2c]
mov eax, dword [0xc0791c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0xac761a
mov eax, dword [0xc07918]
mov ecx, dword [0xc07910]
test eax, eax
cmove eax, ecx
dec eax
cmp eax, ecx
mov dword [esp + 0x38], eax
jbe 0xac739a
lea eax, [esp + 0x38]
push str.i___capacity_
push 0xc07910
push eax
call fcn.00aa39e4
add esp, 0xc
test eax, eax
je 0xac739a
lea ecx, [esp + 0x448]
push eax
push 0x55
push str..._.._base_containers_vector_buffer.h
call fcn.00ac7d80
lea ecx, [esp + 0x448]
call fcn.00ac6f60
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x24]
shl eax, 2
add eax, dword [0xc0790c]
push eax
call 0xabff10
mov eax, dword [esp + 0x24]
test eax, eax
je 0xac744b
cmp byte [esi + 0xb], 0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], eax
jns 0xac73d1
mov ebx, dword [esp + 0x2c]
jmp 0xac73d5
lea ebx, [esp + 0x2c]
mov eax, dword [esp + 0x18]
test ebx, ebx
mov dword [esp + 0x10], esi
lea eax, [ebx + eax]
mov dword [esp + 0x1c], eax
je 0xac73f3
push eax
call fcn.00b9f050
add esp, 4
jmp 0xac73f5
xor eax, eax
mov ecx, dword [edi + 0x8c]
mov esi, dword [esp + 0x18]
mov edx, dword [edi + 0x94]
sub esi, ecx
add ebx, ecx
mov ecx, dword [edi + 0x90]
mov dword [esp + 0x448], ebx
mov dword [esp + 0x44c], esi
mov esi, dword [esp + 0x1c]
lea ebx, [esp + 0x448]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
push eax
push ebx
push edx
push ecx
mov eax, dword [esp + 0x30]
push eax
call dword [eax + 4]
add esp, 0x14
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x24]
call 0xabfef0
cmp byte [esi + 0xb], 0
jns 0xac7466
push dword [esp + 0x2c]
call fcn.00b86896
add esp, 4
lea ecx, [edi + 0x9c]
call 0xae5490
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
mov dword [edi + eax + 4], 0xbb24b8
mov dword [edi + 8], 0xbb24c0
cmp byte [edi + 0x33], 0
lea edi, [edi + 0x3c]
jns 0xac749e
mov eax, dword [esp + 8]
push dword [eax + 0x24]
call fcn.00b86896
add esp, 4
mov ecx, ebx
call fcn.00aa6924
mov ecx, ebx
call fcn.00aa6cc0
mov ecx, edi
call fcn.00aa691a
mov ecx, dword [esp + 0x838]
xor ecx, ebp
call fcn.00b868d1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [esp + 0x37]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], ebx
test al, al
cmovs eax, dword [esp + 0x30]
cmovns ecx, esi
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
push 0xffffffffffffffff
push dword [edi + 0x8c]
push eax
push ecx
call 0xacda10
add esp, 0x10
push 0x18
call fcn.00b86866
add esp, 4
mov ebx, eax
mov ecx, eax
push dword [edi + 0x94]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [edi + 0x90]
call 0xae7a10
call 0xabf010
mov dword [esp + 0x10], eax
lea eax, [esp + 0x448]
push eax
call fcn.00ad8930
add esp, 4
mov word [esp + 0x40], 0x801
mov dword [esp + 0x44], str.message
mov dword [esp + 0x50], ebx
push 0x8010
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x450]
push eax
push dword [esp + 0x1c]
push 0
push 0
push 0
push 0
push 0
push str.LogMessage
push 0xc05490
push 0x49
call 0xad45f0
add esp, 0x30
mov al, byte [esp + 0x40]
test al, al
je 0xac75bd
xor ebx, ebx
cmp byte [esp + ebx + 0x41], 8
je 0xac75a9
inc ebx
movzx ecx, al
cmp ebx, ecx
jae 0xac75bd
cmp byte [esp + ebx + 0x41], 8
jne 0xac759a
mov ecx, dword [esp + ebx*8 + 0x50]
test ecx, ecx
je 0xac759a
mov eax, dword [ecx]
push 1
call dword [eax]
mov al, byte [esp + 0x40]
jmp 0xac759a
mov ebx, dword [esp + 0x14]
jmp 0xac7194
push 0xc0791c
call fcn.00b86917
add esp, 4
cmp dword [0xc0791c], 0xffffffff
jne 0xac730e
mov dword [0xc07910], 0
mov dword [0xc0790c], 0
mov dword [0xc07918], 0
mov dword [0xc07914], 0
push 0xc0791c
call fcn.00b8698d
add esp, 4
jmp 0xac730e
push 0xc0791c
call fcn.00b86917
add esp, 4
cmp dword [0xc0791c], 0xffffffff
jne 0xac7346
mov dword [0xc07910], 0
mov dword [0xc0790c], 0
mov dword [0xc07918], 0
mov dword [0xc07914], 0
push 0xc0791c
call fcn.00b8698d
add esp, 4
jmp 0xac7346