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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov r13, rcx
cmp byte [0x14019a158], 0
jne 0x140090af7
call fcn.1400aa07f
test al, al
jne 0x140090af7
lea rsi, str.WARNING:_Logging_before_InitGoogleLogging___is_written_to_STDERR_n
lea rbx, [rbp - 0x40]
mov ecx, 8
mov rdi, rbx
rep movsq qword [rdi], qword [rsi]
mov word [rbx + 0x40], 0xa
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov edx, 0x41
mov r8d, 1
mov rcx, rbx
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov byte [0x14019a158], 1
mov al, byte [0x14018ae49]
mov cl, byte [0x14018ae45]
or cl, al
mov qword [rbp + 0x10], r13
jne 0x140090b5c
call fcn.1400aa07f
test al, al
je 0x140090b56
cmp byte [0x14018ae49], 0
jne 0x140090cbb
mov rax, qword [r13 + 8]
mov r15, qword [rax + 0x7670]
lea r12, [rax + 4]
mov dl, byte [rax + 0x7620]
movsx ecx, dl
cmp byte [0x14018ae45], 0
je 0x140090c44
mov rdx, r12
mov r8, r15
call fcn.140091576
jmp 0x140090cbb
mov al, byte [0x14018ae49]
test al, al
jne 0x140090b7b
mov rdx, qword [r13 + 8]
mov r8, qword [rdx + 0x7670]
movsx ecx, byte [rdx + 0x7620]
add rdx, 4
call fcn.140091576
mov rsi, qword [r13 + 8]
mov r12, qword [rsi + 0x7668]
mov rdi, r12
not rdi
mov eax, dword [rsi + 0x7624]
mov dword [rbp + 0x18], eax
mov r14, qword [rsi + 0x7680]
mov r15, qword [rsi + 0x7688]
movsx ebx, byte [rsi + 0x7620]
add rdi, qword [rsi + 0x7670]
lea rax, [0x14018b168]
mov qword [rbp - 0x40], rax
cmp byte [0x14018b190], 0
je 0x140090bd2
lea rcx, [0x14018b168]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x14018b160]
test rax, rax
je 0x140090e0e
add r12, rsi
add r12, 4
add rsi, 0x7640
mov r13, qword [rax + 8]
sub r13, qword [rax]
shr r13, 3
dec r13d
test r13d, r13d
js 0x140090e0e
mov rax, qword [0x14018b160]
mov ecx, r13d
mov rax, qword [rax]
mov rcx, qword [rax + rcx*8]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
dec r13d
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rsi
mov edx, dword [rbp + 0x18]
mov dword [rsp + 0x20], edx
mov edx, ebx
mov r8, r15
mov r9, r14
call rax
jmp 0x140090bfe
test dl, dl
js 0x140090cbb
mov r14, qword [rax + 0x7638]
mov esi, ecx
lea rax, [0x14018b1a0]
lea rbx, [rax + rsi*8]
movsxd rdi, dword [0x14018aed8]
mov rax, qword [rbx]
test rax, rax
jne 0x140090c8d
mov ecx, 0xc8
call fcn.1400b7270
mov qword [rbp + 0x18], rax
mov rcx, rax
mov edx, esi
xor r8d, r8d
call fcn.140090188
mov rax, qword [rbp + 0x18]
mov qword [rbx], rax
cmp rsi, rdi
setg dl
mov rcx, qword [rax + 0xc0]
mov rax, qword [rcx]
mov dword [rsp + 0x20], r15d
mov r8, r14
mov r9, r12
call qword [rax + 8]
lea rax, [rsi - 1]
add rbx, 0xfffffffffffffff8
test rsi, rsi
mov rsi, rax
jg 0x140090c5c
mov rdi, qword [r13 + 8]
mov rsi, qword [rdi + 0x7670]
movsx ecx, byte [rdi + 0x7620]
cmp dword [0x140182360], ecx
jle 0x140090cde
cmp byte [0x14018ae4d], 0
je 0x140090d3c
add rdi, 4
mov rdx, rdi
mov r8, rsi
call fcn.140091576
movaps xmm0, xmmword [section..rdata]
lea rbx, [rbp - 0x40]
movups xmmword [rbx + 0x10], xmm0
mov byte [rbx], 0
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call fcn.14000451c
cmp qword [rbx + 0x18], 0xf
jbe 0x140090d18
mov rbx, qword [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rbp - 0x40]
call fcn.140005a44
mov rdi, qword [r13 + 8]
mov rsi, qword [rdi + 0x7670]
movsx ecx, byte [rdi + 0x7620]
add rdi, 4
mov rdx, rdi
mov r8, rsi
call fcn.14009168a
mov rsi, qword [r13 + 8]
mov rbx, qword [rsi + 0x7668]
mov rdi, rbx
not rdi
mov eax, dword [rsi + 0x7624]
mov dword [rbp + 0x18], eax
mov r14, qword [rsi + 0x7680]
mov r15, qword [rsi + 0x7688]
movsx r12d, byte [rsi + 0x7620]
add rdi, qword [rsi + 0x7670]
lea rax, [0x14018b168]
mov qword [rbp - 0x40], rax
cmp byte [0x14018b190], 0
je 0x140090da3
lea rcx, [0x14018b168]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x14018b160]
test rax, rax
je 0x140090e0e
add rbx, rsi
add rbx, 4
add rsi, 0x7640
mov r13, qword [rax + 8]
sub r13, qword [rax]
shr r13, 3
dec r13d
test r13d, r13d
js 0x140090e0e
mov rax, qword [0x14018b160]
mov ecx, r13d
mov rax, qword [rax]
mov rcx, qword [rax + rcx*8]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
dec r13d
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rsi
mov edx, dword [rbp + 0x18]
mov dword [rsp + 0x20], edx
mov edx, r12d
mov r8, r15
mov r9, r14
call rax
jmp 0x140090dcb
lea rcx, [rbp - 0x40]
call fcn.140091120
mov r14, qword [rbp + 0x10]
mov rax, qword [r14 + 8]
cmp byte [rax + 0x7620], 3
jne 0x140090e31
cmp byte [0x14018236c], 0
jne 0x140090e45
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp byte [rax + 0x7691], 0
je 0x140090ee8
lea rax, [0x14018b310]
mov rcx, qword [0x140192998]
mov qword [0x14018b1f0], rcx
lea rcx, [0x14018b1f0]
mov edx, dword [0x140192934]
mov dword [0x14018b1f8], edx
mov rdx, qword [0x140192978]
add rax, rdx
add rax, 4
mov qword [0x14018b200], rax
mov dword [0x14018b308], 0
call fcn.1400aa2c1
mov rbx, r14
mov rdx, qword [r14 + 8]
mov rax, qword [rdx + 0x7670]
add rdx, 4
cmp eax, 0xff
cdqe
mov esi, 0xff
cmovl rsi, rax
lea rdi, [0x14019a050]
mov rcx, rdi
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rdi], 0
mov rax, qword [r14 + 8]
mov rax, qword [rax + 0x7638]
mov qword [0x14019a150], rax
mov al, byte [0x14018ae49]
or al, byte [0x14018ae45]
jne 0x140090f36
xor edi, edi
lea rbx, [0x14018b1a0]
lea rsi, [0x140130ceb]
mov rax, qword [rdi + rbx]
test rax, rax
je 0x140090f2c
mov rcx, qword [rax + 0xc0]
mov rax, qword [rcx]
mov dword [rsp + 0x20], 0
mov dl, 1
xor r8d, r8d
mov r9, rsi
call qword [rax + 8]
add rdi, 8
cmp rdi, 0x20
jne 0x140090f06
lea rcx, [0x14018b0d0]
call fcn.140091ade
mov rcx, qword [r14 + 8]
call fcn.1400914a6
lea rdx, str._Check_failure_stack_trace:__n
mov ecx, 2
mov r8d, 0x23
call sub.api_ms_win_crt_stdio_l1_1_0.dll__write
call qword [0x140182370]
int3