Function at 0x18029e990
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x218
movaps xmmword [rsp + 0x200], xmm6
mov rbx, r8
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x1803b6038]
xor rax, rsp
mov qword [rsp + 0x1f8], rax
lea rdi, [rcx + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x18029e9df
mov rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
movabs r12, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0x80]
mov qword [r15], r12
xor r13d, r13d
mov edx, 0xc
mov rcx, r15
xor r8d, r8d
call fcn.18028e160
mov rcx, qword [r15]
call fcn.1801d5f90
mov qword [rax], 1
mov rcx, rbx
shr rcx, 0x20
jne 0x18029eb9c
mov r13d, ebx
mov dword [rax + 8], r13d
lea r15, [rsp + 0x7c]
mov dword [r15], 0
mov rcx, qword [rsp + 0x80]
mov ebp, dword [rcx + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1803f5008]
mov rcx, qword [r14 + 8]
mov qword [rsp + 0x20], 0
mov rdx, rax
mov r8d, ebp
mov r9, r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x18029ea84
mov eax, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0x80]
cmp qword [rcx + 8], rax
je 0x18029eb4f
mov ecx, 2
call fcn.180109be0
test al, al
jne 0x18029eafc
mov rcx, rsi
call fcn.180180790
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x80], 0
test rcx, rcx
je 0x18029eac4
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x1803f5008]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0x1f8]
xor rcx, rsp
call fcn.1801e6610
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x200]
add rsp, 0x218
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....mojocore_broker_win.cc
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov r8d, 0x8e
mov r9d, 2
call fcn.1801815d0
lea rcx, [rsp + 0xc0]
lea rdx, str.Error_sending_sync_broker_message
mov r8d, 0x21
call fcn.1800d33a5
mov rcx, rbx
call fcn.180181650
jmp 0x18029ea92
movaps xmm6, xmmword [0x1803467d0]
lea rcx, [rsp + 0x60]
movaps xmmword [rcx], xmm6
call fcn.18010ef60
lea r15, [rsp + 0x58]
mov qword [r15], r12
mov rdx, qword [r14 + 8]
mov rcx, r15
mov r8d, 2
call fcn.18023a1a0
mov r14, qword [r15]
test r14, r14
jne 0x18029eba2
mov rcx, rsi
call fcn.180180790
lea rcx, [rsp + 0x60]
call fcn.18010f130
jmp 0x18029ea9a
int3
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.18029e800
test al, al
je 0x18029ebc1
mov rcx, r14
call fcn.1801d6a00
cmp rax, 0x17
ja 0x18029ebdf
mov rcx, rsi
call fcn.180180790
mov rax, qword [r14]
mov rax, qword [rax]
mov rcx, r14
mov edx, 1
call qword [0x1803f5008]
jmp 0x18029eb8d
mov rcx, r14
call fcn.1801d5f90
lea r15, [rsp + 0xb0]
mov qword [r15 + 0x10], r12
movaps xmmword [r15], xmm6
mov rdx, qword [rax + 8]
mov r8, qword [rax + 0x10]
mov rcx, r15
call fcn.180100160
cmp byte [r15 + 0x10], 0
je 0x18029ebc1
lea r12, [rsp + 0x40]
mov rcx, r12
call fcn.18010ef60
lea r13, [rsp + 0x30]
lea rdx, [rsp + 0x60]
mov rcx, r13
call fcn.18010ef72
lea rbp, [rsp + 0x50]
mov rcx, rbp
mov rdx, r13
mov r8, r12
call fcn.1801dace0
mov qword [rsp + 0x20], r15
lea r15, [rsp + 0x88]
mov rcx, r15
mov rdx, rbp
mov r8d, 1
mov r9, rbx
call fcn.1801dad20
mov rcx, rsi
mov rdx, r15
call fcn.1801806f0
jmp 0x18029ebc9