Function at 0x100aeb70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xf0
mov esi, esp
mov ebx, ecx
mov eax, dword [0x102b0014]
xor eax, ebp
mov dword [esi + 0xe8], eax
lea edi, [ecx + 0x10]
push edi
call dword [sym.imp.kernel32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x100aee4b
mov dword [esi + 8], edi
mov dword [esi + 0xdc], 0xffffffff
lea eax, [esi + 0xdc]
push 0
push 0xc
push eax
call fcn.1008e4e0
add esp, 0xc
mov ecx, dword [esi + 0xdc]
call fcn.1008e9c0
mov dword [eax], 1
mov dword [eax + 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov dword [esi + 0xd8], 0
mov ecx, dword [esi + 0xdc]
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
call dword [eax + 8]
lea ecx, [esi + 0xd8]
push 0
push ecx
push edi
push eax
push dword [ebx + 4]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x100aece3
mov eax, dword [esi + 0xd8]
mov ecx, dword [esi + 0xdc]
cmp eax, dword [ecx + 4]
jne 0x100aece3
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x24], 0xffffffff
mov edx, dword [ebx + 4]
lea ecx, [esi + 0x24]
push 2
call fcn.100ae910
add esp, 4
mov eax, dword [esi + 0x24]
mov dword [esi + 4], eax
test eax, eax
je 0x100aed54
mov ecx, dword [esi + 4]
call fcn.1008eb60
mov ecx, dword [esi + 4]
cmp eax, 1
jne 0x100aed54
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x34], 0xffffffff
mov dword [esi + 0x38], 0xffffffff
mov eax, dword [ecx]
lea edx, [esi + 0x30]
push edx
call dword [eax + 0x1c]
mov eax, dword [esi + 0x30]
add eax, 4
lea edi, [esi + 0xe0]
mov ecx, edi
push eax
call fcn.1018bd8a
lea ecx, [esi + 0x28]
push edi
call fcn.1018bdb6
lea ecx, [esi + 0xe4]
call fcn.1002e208
mov ebx, dword [esi + 0x30]
test ebx, ebx
je 0x100aed45
mov edi, dword [esi + 0x34]
cmp edi, ebx
je 0x100aed37
nop
nop
nop
nop
nop
nop
nop
nop
add edi, 0xffffffec
mov ecx, edi
call fcn.100a80b0
cmp ebx, edi
jne 0x100aecd0
mov eax, dword [esi + 0x30]
jmp 0x100aed39
push 2
call fcn.1014e420
add esp, 4
test al, al
je 0x100aed28
call dword [sym.imp.kernel32.dll_GetLastError]
lea edi, [esi + 0x30]
mov ecx, edi
push eax
push 2
push 0x8d
push str..._.._mojo_core_broker_win.cc
call fcn.1014edf0
lea eax, [esi + 0x38]
push 0x21
push str.Error_sending_sync_broker_message
push eax
call fcn.1002e338
add esp, 0xc
mov ecx, edi
call fcn.1014eea0
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.10151970
mov edi, dword [esi + 8]
jmp 0x100aed76
mov eax, ebx
mov dword [esi + 0x34], ebx
push eax
call fcn.10205096
add esp, 4
mov edi, dword [esi + 4]
mov ecx, edi
call fcn.1008eb20
cmp eax, 0x17
ja 0x100aedb0
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.10151970
mov edi, dword [esi + 8]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x100aed6e
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esi + 0x2c]
call fcn.1002e208
mov ecx, dword [esi + 0xdc]
mov dword [esi + 0xdc], 0
test ecx, ecx
je 0x100aed90
mov eax, dword [ecx]
push 1
call dword [eax]
push edi
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [esi + 0xe8]
xor ecx, ebp
call fcn.10205d16
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov ecx, edi
call fcn.1008e9c0
mov dword [esi + 0x20], esp
sub esp, 0x24
mov ecx, esp
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x18], esp
add ecx, 4
mov dword [esi + 0x14], ecx
sub esp, 0x14
mov ebx, esp
mov dword [esi + 0x10], esp
movups xmm0, xmmword [eax + 8]
movups xmmword [esi + 0x30], xmm0
lea eax, [ebx + 4]
mov dword [esi + 0xc], eax
sub esp, 0x14
mov edi, esp
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
lea ecx, [edi + 4]
lea eax, [esi + 0x28]
push eax
call fcn.1018bd8a
mov eax, dword [esi + 0xc]
mov dword [edi], eax
call fcn.100a8370
add esp, 0x14
mov esp, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
mov dword [ebx], eax
mov dword [ebx + 8], 1
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0xc], eax
lea eax, [esi + 0x30]
mov dword [ebx + 0x10], eax
call fcn.10171850
add esp, 0x14
mov esp, dword [esi + 0x18]
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 0x1c]
mov dword [eax], ebx
call fcn.10152170
add esp, 0x24
mov esp, dword [esi + 0x20]
jmp 0x100aed5e
mov ecx, edi
call fcn.1016d1b0
jmp 0x100aeba2