Function at 0x10001900
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 [0x100db010]
xor eax, ebp
mov dword [esi + 0xe8], eax
add ecx, 0x10
mov dword [esi + 0x20], ecx
call fcn.100444a0
push 0x20
call fcn.10099c14
add esp, 4
mov edi, eax
mov ecx, eax
push 0
push 0xc
call fcn.10001e40
mov ecx, edi
call fcn.100023d0
mov dword [eax], 1
mov dword [eax + 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov dword [esi + 0xdc], 0
lea eax, [esi + 0xdc]
push 0
push eax
push dword [edi + 8]
push dword [edi]
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10001a23
mov eax, dword [esi + 0xdc]
cmp eax, dword [edi + 8]
jne 0x10001a23
mov dword [esi + 4], edi
lea ecx, [esi + 0x28]
call fcn.1005475c
mov edx, dword [ebx + 4]
lea ecx, [esi + 0x24]
push 2
call fcn.10001700
add esp, 4
mov edi, dword [esi + 0x24]
test edi, edi
mov dword [esi], edi
je 0x10001a8f
mov ecx, edi
call fcn.10002600
cmp eax, 1
jne 0x10001a8f
lea eax, [esi + 0x30]
mov ecx, edi
push eax
call fcn.10002850
mov ecx, dword [esi + 0x30]
lea ebx, [esi + 0xe0]
push ebx
call fcn.100199f0
lea ecx, [esi + 0x28]
push ebx
call fcn.10054796
mov ecx, ebx
call fcn.100547e4
mov edi, dword [esi + 0x30]
test edi, edi
je 0x10001a81
mov ebx, dword [esi + 0x34]
cmp ebx, edi
je 0x10001a73
nop dword [eax + eax]
add ebx, 0xfffffff0
mov ecx, ebx
call fcn.10019980
cmp edi, ebx
jne 0x10001a10
mov eax, dword [esi + 0x30]
jmp 0x10001a75
push 2
call fcn.1003fbb0
add esp, 4
test al, al
je 0x10001a67
call fcn.10040550
lea ebx, [esi + 0x30]
mov ecx, ebx
push eax
push 2
push 0x8e
push str..._.._mojo_core_broker_win.cc
call fcn.10040680
lea eax, [esi + 0x38]
push 0x21
push str.Error_sending_sync_broker_message
push eax
call fcn.10001ba0
add esp, 0xc
mov ecx, ebx
call fcn.10040730
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.10040a30
jmp 0x10001ac2
mov eax, edi
mov dword [esi + 0x34], edi
push eax
call fcn.10099c44
add esp, 4
mov edi, dword [esi]
mov ecx, edi
call fcn.100025e0
cmp eax, 0x17
ja 0x10001af4
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.10040a30
mov edi, dword [esi + 4]
mov dword [esi + 0x24], 0
mov eax, dword [esi]
test eax, eax
je 0x10001aba
mov ecx, eax
call fcn.10002020
push dword [esi]
call fcn.10099c44
add esp, 4
lea ecx, [esi + 0x28]
call fcn.100547e4
mov ecx, edi
call fcn.10002020
push edi
call fcn.10099c44
add esp, 4
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [esi + 0xe8]
xor ecx, ebp
call fcn.10099c81
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov ecx, edi
call fcn.100023d0
mov dword [esi + 0x1c], esp
sub esp, 0x24
mov ecx, esp
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], esp
add ecx, 4
mov dword [esi + 0x10], ecx
sub esp, 0x14
mov ebx, esp
movups xmm0, xmmword [eax + 8]
sub esp, 0x14
movups xmmword [esp + 4], xmm0
lea eax, [esi + 0x30]
mov dword [esp], eax
call fcn.10042800
add esp, 0x14
mov dword [esi + 0xc], esp
lea eax, [ebx + 4]
mov dword [esi + 8], eax
sub esp, 0x14
mov edi, esp
lea ecx, [edi + 0xc]
call fcn.1005475c
lea ecx, [edi + 4]
lea eax, [esi + 0x28]
push eax
call fcn.1005476a
mov eax, dword [esi + 8]
mov dword [edi], eax
call fcn.10019c90
add esp, 0x14
mov esp, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
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.10045280
add esp, 0x14
mov esp, dword [esi + 0x14]
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 0x18]
mov dword [eax], ebx
call fcn.10040f40
add esp, 0x24
mov esp, dword [esi + 0x1c]
jmp 0x10001a99