Function at 0x463a69
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 0x463b16
mov byte [esi + 0x107c], bl
cmp dword [ebp + 8], ebx
je 0x463b6d
cmp dword [ebp + 0xc], ebx
je 0x463b6d
cmp dword [esi + 0x10ac], ebx
jne 0x463acc
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 0x463adc
lea ecx, [ebp - 0xb4]
and ebx, 0xffffffef
call edi
lea ecx, [esi + 0x109c]
call fcn.00463fd5
mov ecx, dword [eax]
lea eax, [esi + 0x109c]
sub dword [eax + 0x10], 1
mov dword [ebp + 8], ecx
jne 0x463afe
and dword [eax + 0xc], 0
jmp 0x463b01
inc dword [eax + 0xc]
test ecx, ecx
je 0x463b16
call fcn.00464d35
push 0xc
push dword [ebp + 8]
call fcn.00466591
pop ecx
pop ecx
cmp dword [esi + 0x10ac], 0
je 0x463cab
push dword [esi + 0x1080]
call fcn.00440b52
pop ecx
test al, al
je 0x463bc6
lea ecx, [esi + 0x109c]
call fcn.00463fd5
mov eax, dword [eax]
mov dword [ebp + 8], eax
test bl, 0x20
je 0x463b5a
lea ecx, [ebp - 0xb4]
and ebx, 0xffffffdf
call edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
test ecx, ecx
je 0x463bcd
mov eax, dword [ecx + 4]
mov edx, dword [eax]
add edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
jmp 0x463bd0
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 0x463bb5
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 0x463bc6
lea ecx, [ebp - 0xb4]
call dword [sym.imp.infra.dll_public:_void___thiscall_logging::LogMessage::destructor_void_]
xor al, al
jmp 0x463cad
mov edx, dword [eax + 8]
test ecx, ecx
je 0x463bd9
mov ecx, dword [ecx + 4]
jmp 0x463bdc
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 0x463c8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0xc], eax
cmp eax, 0x3e5
jne 0x463c31
mov eax, dword [ebp + 8]
mov byte [esi + 0x107c], 1
cmp dword [eax], 0
je 0x463cab
test bl, 0x40
je 0x463cab
lea ecx, [ebp - 0xb4]
call edi
jmp 0x463cab
push 2
call dword [sym.imp.infra.dll_bool___cdecl_logging::ShouldCreateLogMessage_int_]
pop ecx
test al, al
je 0x463c77
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 0x463bc6
lea ecx, [ebp - 0xb4]
call edi
jmp 0x463bc6
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x463ca4
test ebx, 0x100
je 0x463ca4
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