Function at 0x426f60
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 [0x565fa8]
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 0x426fb1
movaps xmm0, xmmword [0x5123e0]
mov dword [esp + 0x18], 0xffffffff
movaps xmmword [esp + 0x40], xmm0
cmp dword [edi], 3
je 0x426fdc
jmp 0x42712a
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 0x42712a
call fcn.004454b0
test al, al
jne 0x42712a
lea ecx, [esp + 0x448]
call fcn.004454e0
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.00406dd0
mov ecx, ebx
push 0x567238
call fcn.00418018
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x1c]
lea ecx, [esp + 0x40]
mov ebx, eax
call fcn.004099c2
movsx eax, bl
mov ecx, esi
push eax
call fcn.00407a70
mov ecx, esi
call fcn.00406cd0
lea ecx, [esp + 0x448]
push esi
call fcn.00445540
lea esi, [esp + 0x40]
mov ecx, esi
call fcn.00445580
mov ecx, esi
call fcn.00445650
test al, al
jne 0x42706c
lea ecx, [esp + 0x40]
push dword [esp + 8]
call fcn.00445660
call fcn.004300a0
test eax, eax
je 0x42712a
cmp dword [eax + 0x38], 0
mov ebx, eax
je 0x42712a
push 0x1d
push str.IPC_message_handler_context:
push dword [esp + 0x10]
call fcn.00401965
add esp, 0xc
lea esi, [esp + 0x2c]
mov dword [esp + 0xc], eax
push dword [ebx + 0x38]
push str.0x_08X
push esi
call fcn.0042ef30
add esp, 0xc
movzx eax, byte [esp + 0x37]
test al, al
jns 0x4270c2
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
push eax
push esi
push dword [esp + 0x14]
call fcn.00401965
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.00406dd0
mov ecx, esi
push 0x567238
call fcn.00418018
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x1c]
mov ecx, esi
mov byte [esp + 0xc], al
call fcn.004099c2
movsx eax, byte [esp + 0xc]
mov ecx, ebx
push eax
call fcn.00407a70
mov ecx, ebx
call fcn.00406cd0
cmp byte [esp + 0x37], 0
jns 0x42712a
push dword [esp + 0x2c]
call fcn.004e6856
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.00406dd0
mov ecx, edi
push 0x567238
call fcn.00418018
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 fcn.004099c2
movsx eax, bl
mov ecx, esi
push eax
call fcn.00407a70
mov ecx, esi
call fcn.00406cd0
lea ebx, [edi + 8]
lea esi, [esp + 0x2c]
mov ecx, ebx
push esi
call fcn.00403734
test byte [0x565490], 0x19
jne 0x4274c9
mov eax, dword [0x5678fc]
test eax, eax
je 0x4271cb
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 0x4271cb
cmp byte [esp + 0x37], 0
jns 0x427466
jmp 0x42745a
mov eax, dword [0x565150]
test al, 2
je 0x4271eb
cmp byte [esp + 0x37], 0
jns 0x4271df
mov esi, dword [esp + 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x565150]
test al, 4
jne 0x4271f9
cmp eax, 1
ja 0x42723d
cmp dword [edi], 2
jl 0x42723d
push 2
call fcn.004ebaef
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 fcn.004fd70a
add esp, 0x10
push 2
call fcn.004ebaef
add esp, 4
push eax
call fcn.004fd2ae
add esp, 4
mov eax, dword [0x565150]
test al, 1
je 0x427274
call fcn.00427670
test al, al
je 0x427274
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 [0x567908]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [edi], 3
jne 0x4272c0
mov ecx, dword [0x569cf8]
lea esi, [esp + 0x2c]
test ecx, ecx
je 0x4272a1
movzx eax, byte [esp + 0x37]
mov edx, esi
test al, al
jns 0x42729a
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
push eax
push edx
call fcn.004472c0
cmp byte [esi + 0xb], 0
mov dword [esp + 0x40], 0xbedead01
mov dword [esp + 0x444], 0x5050dead
jns 0x4272c9
mov eax, dword [esp + 0x2c]
jmp 0x4272cd
lea esi, [esp + 0x2c]
jmp 0x427454
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x44]
push 0x400
push eax
push ecx
call fcn.0042eee0
add esp, 0xc
lea eax, [esp + 0x40]
push eax
call fcn.00406cc0
add esp, 4
mov ecx, dword [0x569ccc]
mov edx, dword fs:[0x2c]
mov eax, dword [0x56791c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4275c6
mov eax, dword [0x567914]
cmp eax, dword [0x567918]
jne 0x427325
call fcn.004454c0
jmp 0x427454
mov ecx, dword [0x569ccc]
mov edx, dword fs:[0x2c]
mov eax, dword [0x56791c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x42761a
mov eax, dword [0x567918]
mov ecx, dword [0x567910]
test eax, eax
cmove eax, ecx
dec eax
cmp eax, ecx
mov dword [esp + 0x38], eax
jbe 0x42739a
lea eax, [esp + 0x38]
push str.i___capacity_
push 0x567910
push eax
call fcn.004039e4
add esp, 0xc
test eax, eax
je 0x42739a
lea ecx, [esp + 0x448]
push eax
push 0x55
push str..._.._base_containers_vector_buffer.h
call fcn.00427d80
lea ecx, [esp + 0x448]
call fcn.00426f60
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x24]
shl eax, 2
add eax, dword [0x56790c]
push eax
call fcn.0041ff10
mov eax, dword [esp + 0x24]
test eax, eax
je 0x42744b
cmp byte [esi + 0xb], 0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], eax
jns 0x4273d1
mov ebx, dword [esp + 0x2c]
jmp 0x4273d5
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 0x4273f3
push eax
call fcn.004ff010
add esp, 4
jmp 0x4273f5
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 fcn.0041fef0
cmp byte [esi + 0xb], 0
jns 0x427466
push dword [esp + 0x2c]
call fcn.004e6856
add esp, 4
lea ecx, [edi + 0x9c]
call fcn.00445490
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
mov dword [edi + eax + 4], 0x5124b8
mov dword [edi + 8], 0x5124c0
cmp byte [edi + 0x33], 0
lea edi, [edi + 0x3c]
jns 0x42749e
mov eax, dword [esp + 8]
push dword [eax + 0x24]
call fcn.004e6856
add esp, 4
mov ecx, ebx
call fcn.00406924
mov ecx, ebx
call fcn.00406cc0
mov ecx, edi
call fcn.0040691a
mov ecx, dword [esp + 0x838]
xor ecx, ebp
call fcn.004e6891
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 fcn.0042da10
add esp, 0x10
push 0x18
call fcn.004e6826
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 fcn.00447a10
call fcn.0041f010
mov dword [esp + 0x10], eax
lea eax, [esp + 0x448]
push eax
call fcn.00438930
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 0x565490
push 0x49
call fcn.004345f0
add esp, 0x30
mov al, byte [esp + 0x40]
test al, al
je 0x4275bd
xor ebx, ebx
cmp byte [esp + ebx + 0x41], 8
je 0x4275a9
inc ebx
movzx ecx, al
cmp ebx, ecx
jae 0x4275bd
cmp byte [esp + ebx + 0x41], 8
jne 0x42759a
mov ecx, dword [esp + ebx*8 + 0x50]
test ecx, ecx
je 0x42759a
mov eax, dword [ecx]
push 1
call dword [eax]
mov al, byte [esp + 0x40]
jmp 0x42759a
mov ebx, dword [esp + 0x14]
jmp 0x427194
push 0x56791c
call fcn.004e68d7
add esp, 4
cmp dword [0x56791c], 0xffffffff
jne 0x42730e
mov dword [0x567910], 0
mov dword [0x56790c], 0
mov dword [0x567918], 0
mov dword [0x567914], 0
push 0x56791c
call fcn.004e694d
add esp, 4
jmp 0x42730e
push 0x56791c
call fcn.004e68d7
add esp, 4
cmp dword [0x56791c], 0xffffffff
jne 0x427346
mov dword [0x567910], 0
mov dword [0x56790c], 0
mov dword [0x567918], 0
mov dword [0x567914], 0
push 0x56791c
call fcn.004e694d
add esp, 4
jmp 0x427346