Function at 0x463225
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [sym.imp.infra.dll_public:_void___thiscall_logging::LogMessage::destructor_void_]
mov dword [ebp - 4], ebx
cmp byte [esi + 0x107c], bl
je 0x4632d2
mov byte [esi + 0x107c], bl
cmp dword [ebp + 8], ebx
je 0x463329
cmp dword [ebp + 0xc], ebx
je 0x463329
cmp dword [esi + 0x10ac], ebx
jne 0x463288
push 0x10
pop ebx
push str._output_queue_.empty__
push 0x1df
push str.ipc_channel_win.cc
lea ecx, [ebp - 0xb4]
call dword [sym.imp.infra.dll_public:_void___thiscall_logging::LogMessage::constructor_char_const___int__char_const__]
test bl, 0x10
je 0x463298
lea ecx, [ebp - 0xb4]
and ebx, 0xffffffef
call edi
lea ecx, [esi + 0x109c]
call fcn.004637b5
mov ecx, dword [eax]
lea eax, [esi + 0x109c]
sub dword [eax + 0x10], 1
mov dword [ebp + 8], ecx
jne 0x4632ba
and dword [eax + 0xc], 0
jmp 0x4632bd
inc dword [eax + 0xc]
test ecx, ecx
je 0x4632d2
call fcn.00464573
push 0xc
push dword [ebp + 8]
call fcn.00465d6f
pop ecx
pop ecx
cmp dword [esi + 0x10ac], 0
je 0x463467
push dword [esi + 0x1080]
call fcn.00440c81
pop ecx
test al, al
je 0x463382
lea ecx, [esi + 0x109c]
call fcn.004637b5
mov eax, dword [eax]
mov dword [ebp + 8], eax
test bl, 0x20
je 0x463316
lea ecx, [ebp - 0xb4]
and ebx, 0xffffffdf
call edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
test ecx, ecx
je 0x463389
mov eax, dword [ecx + 4]
mov edx, dword [eax]
add edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
jmp 0x46338c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 2
mov esi, eax
call dword [sym.imp.infra.dll_bool___cdecl_logging::ShouldCreateLogMessage_int_]
pop ecx
test al, al
je 0x463371
push 8
pop ebx
push 2
push 0x1db
push str.ipc_channel_win.cc
lea ecx, [ebp - 0xb4]
call dword [sym.imp.infra.dll_public:_void___thiscall_logging::LogMessage::constructor_char_const___int__int_]
push esi
add eax, ebx
push str.pipe_error:
push eax
call fcn.00402252
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
test bl, 8
je 0x463382
lea ecx, [ebp - 0xb4]
call dword [sym.imp.infra.dll_public:_void___thiscall_logging::LogMessage::destructor_void_]
xor al, al
jmp 0x463469
mov edx, dword [eax + 8]
test ecx, ecx
je 0x463395
mov ecx, dword [ecx + 4]
jmp 0x463398
mov ecx, dword [eax + 4]
lea eax, [esi + 0x1064]
push eax
push 0
push edx
push ecx
push dword [esi + 0x1080]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x463448
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0xc], eax
cmp eax, 0x3e5
jne 0x4633ed
mov eax, dword [ebp + 8]
mov byte [esi + 0x107c], 1
cmp dword [eax], 0
je 0x463467
test bl, 0x40
je 0x463467
lea ecx, [ebp - 0xb4]
call edi
jmp 0x463467
push 2
call dword [sym.imp.infra.dll_bool___cdecl_logging::ShouldCreateLogMessage_int_]
pop ecx
test al, al
je 0x463433
push 2
push 0x200
push str.ipc_channel_win.cc
lea ecx, [ebp - 0xb4]
or ebx, 0x80
call dword [sym.imp.infra.dll_public:_void___thiscall_logging::LogMessage::constructor_char_const___int__int_]
push dword [ebp + 0xc]
add eax, 8
push str.pipe_error:
push eax
call fcn.00402252
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
test bl, bl
jns 0x463382
lea ecx, [ebp - 0xb4]
call edi
jmp 0x463382
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x463460
test ebx, 0x100
je 0x463460
lea ecx, [ebp - 0xb4]
call edi
mov byte [esi + 0x107c], 1
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8