Function at 0x4370f0
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 0x517bcb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x31c
mov eax, dword [0x56e754]
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.004fa842
add esp, 4
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2f4], edx
lea edi, [esi + 0x68]
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 0x437152
cmp ecx, edx
jne 0x437152
mov eax, dword [ebp - 0x2f8]
mov edx, eax
mov dword [ebp - 0x2d4], eax
sub edx, esi
mov eax, dword [ebp - 0x2f4]
mov dword [ebp - 0x2d8], eax
sbb eax, ecx
mov dword [ebp - 0x2e4], eax
js 0x43735e
jg 0x4371a0
cmp edx, 0x3c
jb 0x43735e
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 0x4371a0
cmp dword [ebp - 0x2e4], edx
jne 0x4371a0
lea eax, [ebp - 0x2f8]
push eax
lea eax, [ebp - 0x328]
push eax
call fcn.004f9995
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.004f92ff
mov esi, dword [ebp - 0x2dc]
push 2
call fcn.004eb1d5
mov ecx, dword [ebp - 0x2fc]
mov edi, eax
add esp, 0x1c
mov dword [ebp - 0x94], ecx
cmp dword [esi + 0x1c], 0x10
lea eax, [ebp - 0x80]
mov dword [ebp - 0x98], eax
lea ecx, [esi + 8]
jb 0x437252
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 0x43726e
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x2e8], eax
lea eax, [ebp - 0x2c8]
mov dword [ebp - 0x2cc], eax
lea eax, [ebp - 0x2b8]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x2f0], 0xbba
mov dword [ebp - 0x2ec], 0
mov dword [ebp - method.fmt::BasicMemoryWriter_char__class_std::allocator_char__.virtual_0], vtable.fmt::BasicMemoryWriter_char__class_std::allocator_char__.0
mov dword [ebp - 0x2c4], eax
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 0x1f4
mov dword [ebp - method.fmt::internal::MemoryBuffer_char__500__class_std::allocator_char__.virtual_0], vtable.fmt::internal::MemoryBuffer_char__500__class_std::allocator_char__.0
sub esp, 0x10
mov dword [ebp - 4], 0
movups xmm0, xmmword [ebp - 0x2f0]
mov eax, esp
lea ecx, [ebp - 0x2d0]
push str.__LOG_ERROR__________n
movups xmmword [eax], xmm0
call fcn.004190b0
mov eax, dword [ebp - 0x2cc]
push edi
push dword [eax + 8]
push 1
push dword [eax + 4]
call fcn.004efb0c
mov ecx, dword [ebp - 0x2c4]
lea eax, [ebp - 0x2b8]
add esp, 0x10
mov dword [ebp - method.fmt::internal::MemoryBuffer_char__500__class_std::allocator_char__.virtual_0], vtable.fmt::internal::MemoryBuffer_char__500__class_std::allocator_char__.0
cmp ecx, eax
je 0x43735e
mov edx, dword [ebp - 0x2bc]
mov eax, ecx
cmp edx, 0x1000
jb 0x437354
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43737e
push edx
push ecx
call fcn.004ca782
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.004ca771
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.004eefc0
int3