Function at 0x436b80
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, dword [ebp + 0xc]
mov eax, dword [0x7a8498]
xor eax, ebp
mov dword [esi + 0xe8], eax
mov dword [esi + 4], ecx
lea edi, [ecx + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x436e7b
mov dword [esi + 0x20], edi
mov dword [esi + 0x34], 0xffffffff
lea eax, [esi + 0x34]
push 0
push 0xc
push eax
call fcn.00412550
add esp, 0xc
mov ecx, dword [esi + 0x34]
call fcn.00412d30
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 + 8], 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 + 8]
push eax
mov edi, dword [esi + 4]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x436cf7
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
cmp eax, dword [ecx + 4]
jne 0x436cf7
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x2c], 0xffffffff
lea ecx, [esi + 0x28]
call fcn.004867fc
mov dword [esi + 0x24], 0xffffffff
mov edx, dword [edi + 4]
lea ecx, [esi + 0x24]
push 2
call fcn.00436890
add esp, 4
mov ebx, dword [esi + 0x24]
test ebx, ebx
je 0x436d60
mov ecx, ebx
call fcn.00412fc0
cmp eax, 1
jne 0x436d60
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x44], 0xffffffff
mov dword [esi + 0x48], 0xffffffff
mov eax, dword [ebx]
mov edi, dword [eax + 0x1c]
mov ecx, edi
call dword [section..00cfg]
lea eax, [esi + 0x40]
mov dword [esi + 4], ebx
mov ecx, ebx
push eax
call edi
mov ecx, dword [esi + 0x40]
lea edi, [esi + 0x38]
push edi
call fcn.0042f200
lea ecx, [esi + 0x28]
push edi
call fcn.00486836
mov ecx, edi
call fcn.00486890
mov ebx, dword [esi + 0x40]
test ebx, ebx
je 0x436d51
mov edi, dword [esi + 0x44]
cmp edi, ebx
je 0x436d45
nop dword [eax]
add edi, 0xffffffec
mov ecx, edi
call fcn.0042f190
cmp edi, ebx
jne 0x436ce0
mov eax, dword [esi + 0x40]
mov dword [esi + 0x44], ebx
push eax
jmp 0x436d49
push 4
call fcn.0045ff80
add esp, 4
test al, al
je 0x436d3b
call fcn.00460c10
lea edi, [esi + 0x40]
mov ecx, edi
push eax
push 4
push 0x8e
push str..._.._mojo_core_broker_win.cc
call fcn.00460db0
lea eax, [esi + 0x48]
push 0x21
push str.Error_sending_sync_broker_message
push eax
call fcn.00402ac0
add esp, 0xc
mov ecx, edi
call fcn.00460e60
mov ecx, dword [ebp + 8]
call fcn.00464270
jmp 0x436d86
mov dword [esi + 0x44], ebx
push ebx
call fcn.006c90e6
add esp, 4
mov ebx, dword [esi + 4]
mov ecx, ebx
call fcn.00412f60
cmp eax, 0x17
ja 0x436dc9
mov ecx, dword [ebp + 8]
call fcn.00464270
test ebx, ebx
je 0x436d7e
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.00486890
mov edi, dword [esi + 0x34]
mov dword [esi + 0x34], 0
test edi, edi
je 0x436da6
mov eax, dword [edi]
mov ebx, dword [eax]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push 1
call ebx
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [esi + 0xe8]
xor ecx, ebp
call fcn.006c9121
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov ecx, ebx
call fcn.00412d30
mov dword [esi + 8], 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 edi, esp
movups xmm0, xmmword [eax + 8]
sub esp, 0x14
movups xmmword [esp + 4], xmm0
lea eax, [esi + 0x40]
mov dword [esp], eax
call fcn.0046d5c0
add esp, 0x14
mov dword [esi + 0x10], esp
lea eax, [edi + 4]
mov dword [esi + 0xc], eax
sub esp, 0x14
mov ebx, esp
lea ecx, [ebx + 0xc]
call fcn.004867fc
lea ecx, [ebx + 4]
lea eax, [esi + 0x28]
push eax
call fcn.0048680a
mov eax, dword [esi + 0xc]
mov dword [ebx], eax
mov ebx, dword [esi + 4]
call fcn.0042f590
add esp, 0x14
mov esp, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
mov dword [edi], eax
mov dword [edi + 8], 1
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc], eax
lea eax, [esi + 0x40]
mov dword [edi + 0x10], eax
call fcn.00474f40
add esp, 0x14
mov esp, dword [esi + 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x1c]
mov dword [ecx], eax
call fcn.00464ae0
add esp, 0x24
mov esp, dword [esi + 8]
test ebx, ebx
jne 0x436d6c
jmp 0x436d7e
mov ecx, edi
call fcn.00474260
jmp 0x436bb6