Function at 0x1d318c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xf0
mov esi, esp
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x1f07010]
xor eax, ebp
mov dword [esi + 0xe8], eax
mov dword [esi + 0xc], ecx
lea edi, [ecx + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x1d318f9
mov ecx, edi
call fcn.01d85ec0
mov dword [esi + 0x28], edi
mov dword [esi + 0x3c], 0xffffffff
lea eax, [esi + 0x3c]
push 0
push 0xc
push eax
call fcn.01d02df0
add esp, 0xc
mov ecx, dword [esi + 0x3c]
call fcn.01d037a0
mov dword [eax], 1
mov dword [eax + 4], 0
mov dword [eax + 8], ebx
mov dword [esi + 0x38], 0
mov edi, dword [esi + 0x3c]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esi + 0x10], ecx
mov ebx, dword [eax + 8]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
lea ecx, [esi + 0x38]
push 0
push ecx
push dword [esi + 0x10]
push eax
mov edi, dword [esi + 0xc]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1d31ab0
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
cmp eax, dword [ecx + 4]
jne 0x1d31ab0
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x34], 0xffffffff
lea ecx, [esi + 0x30]
call fcn.01d36330
mov dword [esi + 0x2c], 0xffffffff
mov edx, dword [edi + 4]
lea ecx, [esi + 0x2c]
push 2
call fcn.01d31540
add esp, 4
mov ebx, dword [esi + 0x2c]
test ebx, ebx
je 0x1d31b1a
lea edx, [esi + 0x30]
mov ecx, ebx
call fcn.01d31770
test al, al
je 0x1d31afe
mov ecx, ebx
call fcn.01d039d0
cmp eax, 0x17
jbe 0x1d31afe
mov ecx, ebx
call fcn.01d037a0
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x40], xmm0
mov dword [esi + 0x54], 0xffffffff
mov dword [esi + 0x50], 0xffffffff
movups xmm0, xmmword [eax + 8]
sub esp, 0x14
movups xmmword [esp + 4], xmm0
lea eax, [esi + 0x40]
mov dword [esp], eax
call fcn.01d91740
add esp, 0x14
cmp byte [esi + 0x50], 0
je 0x1d31afe
mov dword [esi + 0x10], esp
push eax
sub esp, 0x20
mov eax, esp
mov dword [esi + 0x24], esp
sub esp, 0x14
mov edi, esp
cmp byte [esi + 0x50], 0
je 0x1d31b6d
mov dword [esi + 0x20], esp
mov edx, eax
add edx, 4
mov dword [esi + 0x1c], edx
mov edx, edi
add edx, 4
mov dword [esi + 0x14], edx
sub esp, 0x14
mov edx, esp
mov dword [esi + 0xc], edx
lea ecx, [edx + 0xc]
mov dword [esi + 0x18], eax
call fcn.01d36330
mov eax, dword [esi + 0xc]
lea ecx, [eax + 4]
lea eax, [esi + 0x30]
push eax
call fcn.01dc2b58
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
mov dword [ecx], eax
call fcn.01d2a470
add esp, 0x14
mov esp, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
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.01d8b390
add esp, 0x14
mov esp, dword [esi + 0x24]
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x18]
mov dword [ecx], eax
call fcn.01da1360
add esp, 0x24
mov esp, dword [esi + 0x10]
jmp 0x1d31b06
push 2
call fcn.01da24f0
add esp, 4
test al, al
je 0x1d31af4
call fcn.01da3130
lea ebx, [esi + 0x40]
mov ecx, ebx
push eax
push 2
push 0x8e
push str.....mojocore_broker_win.cc
call fcn.01da32d0
lea eax, [esi + 0x48]
push 0x21
push str.Error_sending_sync_broker_message
push eax
call fcn.01cdcc16
add esp, 0xc
mov ecx, ebx
call fcn.01da3380
mov ecx, dword [ebp + 8]
call fcn.01da14a0
jmp 0x1d31b2a
mov ecx, dword [ebp + 8]
call fcn.01da14a0
mov eax, dword [ebx]
mov edi, dword [eax]
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
push 1
call edi
jmp 0x1d31b22
mov ecx, dword [ebp + 8]
call fcn.01da14a0
lea ecx, [esi + 0x30]
call fcn.01dc2be0
mov ebx, dword [esi + 0x3c]
mov dword [esi + 0x3c], 0
test ebx, ebx
je 0x1d31b4a
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 + 0x28]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [esi + 0xe8]
xor ecx, ebp
call fcn.01e60425
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
call fcn.01cfb534
int3