Function at 0x10037620
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe8
mov esi, esp
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x10123014]
xor eax, ebp
mov dword [esi + 0xe0], eax
mov dword [esi + 8], ecx
lea edi, [ecx + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x100378d8
mov dword [esi + 0x20], edi
mov dword [esi + 0x34], 0xffffffff
lea eax, [esi + 0x34]
push 0
push 0xc
push eax
call fcn.10012f40
add esp, 0xc
mov ecx, dword [esi + 0x34]
call fcn.10013760
mov dword [eax], 1
mov dword [eax + 4], 0
mov dword [eax + 8], ebx
mov dword [esi + 0x30], 0
mov edi, dword [esi + 0x34]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov ebx, dword [eax + 8]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
lea ecx, [esi + 0x30]
push 0
push ecx
push dword [esi + 4]
push eax
mov edi, dword [esi + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10037731
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
cmp eax, dword [ecx + 4]
jne 0x10037731
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x2c], 0xffffffff
lea ecx, [esi + 0x28]
call fcn.10080e18
mov dword [esi + 0x24], 0xffffffff
mov edx, dword [edi + 4]
lea ecx, [esi + 0x24]
push 2
call fcn.10037190
add esp, 4
mov ebx, dword [esi + 0x24]
test ebx, ebx
je 0x100377ba
lea edx, [esi + 0x28]
mov ecx, ebx
call fcn.10037420
test al, al
je 0x10037724
mov ecx, ebx
call fcn.10013990
cmp eax, 0x17
ja 0x100377d3
mov ecx, dword [ebp + 8]
call fcn.10065340
jmp 0x1003787b
push 2
call fcn.10060f70
add esp, 4
test al, al
je 0x10037775
call fcn.10061ac0
lea ebx, [esi + 0x38]
mov ecx, ebx
push eax
push 2
push 0x9f
push str.....mojocore_broker_win.cc
call fcn.10061c60
lea eax, [esi + 0x40]
push 0x21
push str.Error_sending_sync_broker_message
push eax
call fcn.10015340
add esp, 0xc
mov ecx, ebx
call fcn.10061d10
mov ecx, dword [0x10127bd8]
test ecx, ecx
jne 0x100377a5
push str.chrome_elf.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100377c7
push str.ExitProcessOnCrash
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
mov dword [0x10127bd8], eax
test ecx, ecx
je 0x100377ad
call dword [section..00cfg]
call ecx
mov ecx, dword [ebp + 8]
call fcn.10065340
jmp 0x10037895
mov ecx, dword [ebp + 8]
call fcn.10065340
jmp 0x1003788d
mov ecx, dword [0x10127bd8]
test ecx, ecx
jne 0x100377a5
jmp 0x100377ad
mov ecx, ebx
call fcn.10013760
mov dword [esi + 8], esp
sub esp, 0x24
mov ecx, esp
mov dword [esi + 4], ecx
mov dword [esi + 0x1c], esp
add ecx, 4
mov dword [esi + 0x18], ecx
sub esp, 0x14
mov edi, esp
mov dword [esi + 0x10], edi
movups xmm0, xmmword [eax + 8]
sub esp, 0x14
movups xmmword [esp + 4], xmm0
lea eax, [esi + 0x38]
mov dword [esp], eax
call fcn.10069d70
add esp, 0x14
mov dword [esi + 0x14], esp
lea eax, [edi + 4]
mov dword [esi + 0xc], eax
sub esp, 0x14
mov edi, esp
lea ecx, [edi + 0xc]
call fcn.10080e18
lea ecx, [edi + 4]
lea eax, [esi + 0x28]
push eax
call fcn.10080e26
mov eax, dword [esi + 0xc]
mov dword [edi], eax
call fcn.100304e0
add esp, 0x14
mov esp, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x18]
mov dword [ecx], eax
mov dword [ecx + 8], 1
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0xc], eax
lea eax, [esi + 0x38]
mov dword [ecx + 0x10], eax
call fcn.1006d9d0
add esp, 0x14
mov esp, dword [esi + 0x1c]
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 4]
mov dword [ecx], eax
call fcn.10065b50
add esp, 0x24
mov esp, dword [esi + 8]
mov eax, dword [ebx]
mov edi, dword [eax]
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
push 1
call edi
lea ecx, [esi + 0x28]
call fcn.10080ea0
mov ebx, dword [esi + 0x34]
mov dword [esi + 0x34], 0
test ebx, ebx
je 0x100378b5
mov eax, dword [ebx]
mov edi, dword [eax]
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
push 1
call edi
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [esi + 0xe0]
xor ecx, ebp
call fcn.100dea63
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov ecx, edi
call fcn.1006ca90
jmp 0x10037656