Function at 0x4e5ee0
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74571b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x31c
mov eax, dword [0x8312b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2dc], esi
push 0
call fcn.00715b19
add esp, 4
mov dword [ebp - 0x2d0], eax
mov dword [ebp - 0x2cc], edx
lea edi, [esi + 0x60]
mov esi, dword [edi]
mov eax, esi
mov ecx, dword [edi + 4]
mov edx, ecx
push ebx
mov ebx, esi
lock cmpxchg8b qword [edi]
pop ebx
cmp esi, eax
jne 0x4e5cc2
cmp ecx, edx
jne 0x4e5cc2
mov eax, dword [ebp - 0x2d0]
mov edx, eax
mov dword [ebp - 0x2d4], eax
sub edx, esi
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d8], eax
sbb eax, ecx
mov dword [ebp - 0x2e4], eax
js 0x4e5eb4
jg 0x4e5d10
cmp edx, 0x3c
jb 0x4e5eb4
mov esi, dword [edi]
mov eax, esi
mov ecx, dword [edi + 4]
mov edx, ecx
mov dword [ebp - 0x2e4], ecx
mov ecx, dword [ebp - 0x2d8]
push ebx
mov ebx, dword [ebp - 0x2d4]
lock cmpxchg8b qword [edi]
pop ebx
cmp esi, eax
jne 0x4e5d10
cmp dword [ebp - 0x2e4], edx
jne 0x4e5d10
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x328]
push eax
call fcn.00716397
mov eax, dword [ebp - 0x308]
movups xmm0, xmmword [ebp - 0x328]
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0xbc]
push eax
movups xmmword [ebp - 0xbc], xmm0
push str._Y__m__d__H:_M:_S
movups xmm0, xmmword [ebp - 0x318]
lea eax, [ebp - 0x80]
push 0x64
push eax
movups xmmword [ebp - 0xac], xmm0
call fcn.0071ea26
mov esi, dword [ebp - 0x2dc]
push 2
call fcn.0071805a
mov edi, eax
lea ecx, [esi + 8]
add esp, 0x1c
lea eax, [ebp - 0x80]
cmp dword [esi + 0x1c], 0x10
mov dword [ebp - 0x98], eax
jb 0x4e5db6
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x90], ecx
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4e5dd2
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x2f8], eax
lea eax, [ebp - 0x2b8]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x300], 0xbba
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x2c0], 0
mov dword [ebp - method.fmt::v5::basic_memory_buffer_char__500__class_std::allocator_char__.virtual_0], vtable.fmt::v5::basic_memory_buffer_char__500__class_std::allocator_char__.0
mov dword [ebp - 0x2c4], eax
mov dword [ebp - 0x2bc], 0x1f4
sub esp, 0x10
mov dword [ebp - 4], 0
movups xmm0, xmmword [ebp - 0x300]
mov eax, esp
lea edx, [ebp - 0x2c8]
lea ecx, [ebp - 0x2ec]
push 0x21
push str.__LOG_ERROR__________n
movups xmmword [eax], xmm0
call fcn.0046e910
push edi
push dword [ebp - 0x2c0]
push 1
push dword [ebp - 0x2c4]
call fcn.007182f7
mov ecx, dword [ebp - 0x2c4]
lea eax, [ebp - 0x2b8]
add esp, 0x28
mov dword [ebp - method.fmt::v5::basic_memory_buffer_char__500__class_std::allocator_char__.virtual_0], vtable.fmt::v5::basic_memory_buffer_char__500__class_std::allocator_char__.0
cmp ecx, eax
je 0x4e5eb4
mov edx, dword [ebp - 0x2bc]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e5eaa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e5ed4
push edx
push ecx
call fcn.006f4f2f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006f4f1e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.00710a9c
int3
push ebp
mov ebp, esp
mov ecx, dword [ecx + 4]
pop ebp
jmp 0x4e5c60