Function at 0x4e3370
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7452d3
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x8312b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 0x60]
mov dword [ebp - 0x288], ecx
mov eax, dword [ecx + 0xc]
cmp eax, dword [edi + 0x64]
jl 0x4e34a6
jg 0x4e33c2
cmp dword [ecx + 8], edx
jb 0x4e34a6
mov al, byte [edi + 0x8c]
push 0
push 0x989680
push dword [ecx + 0xc]
mov dword [ebp - 0x284], eax
push dword [ecx + 8]
call fcn.006f5d60
mov dword [ebp - 0x290], eax
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x2b4]
mov dword [ebp - 0x28c], edx
push eax
call fcn.00716397
movups xmm0, xmmword [ebp - 0x2b4]
mov eax, dword [ebp - 0x294]
lea edx, [edi + 0x3c]
mov dword [ebp - 0x2b8], eax
lea ecx, [ebp - 0x28]
movups xmmword [ebp - 0x2d8], xmm0
lea eax, [ebp - 0x2d8]
movups xmm0, xmmword [ebp - 0x2a4]
push eax
movups xmmword [ebp - 0x2c8], xmm0
call fcn.004e3dd0
add esp, 0xc
push dword [ebp - 0x284]
lea ecx, [edi + 0x68]
mov dword [ebp - 4], 0
push eax
call fcn.004e3750
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4e348d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4e3483
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e356b
push edx
push ecx
call fcn.006f4f2f
add esp, 8
lea eax, [ebp - 0x290]
mov ecx, edi
push eax
call fcn.004e40b0
mov ecx, dword [eax]
mov dword [edi + 0x60], ecx
mov eax, dword [eax + 4]
mov dword [edi + 0x64], eax
lea eax, [ebp - 0x270]
mov dword [ebp - 0x278], 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 - 0x27c], eax
mov dword [ebp - 0x274], 0x1f4
mov dword [ebp - 4], 1
lea edx, [ebp - 0x280]
mov ecx, dword [edi + 8]
push edx
push dword [ebp - 0x288]
mov eax, dword [ecx]
call dword [eax + 4]
push dword [edi + 0x70]
mov esi, dword [ebp - 0x278]
push esi
push 1
push dword [ebp - 0x27c]
call fcn.007182f7
add esp, 0x10
cmp eax, esi
jne 0x4e3570
mov ecx, dword [ebp - 0x27c]
lea eax, [ebp - 0x270]
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 0x4e354e
mov edx, dword [ebp - 0x274]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e3544
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e35b3
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 - 0x10]
xor ecx, ebp
call fcn.006f4f1e
mov esp, ebp
pop ebp
ret 4
call fcn.00710a9c
call fcn.00717f7f
lea edx, [edi + 0x74]
lea ecx, [ebp - 0x64]
mov esi, dword [eax]
call fcn.004e3730
push eax
mov edx, str.Failed_writing_to_file
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call fcn.004d5e00
add esp, 4
push esi
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.004e9ee0
push 0x8257d8
lea eax, [ebp - 0x4c]
push eax
call fcn.0070d163
call fcn.00710a9c
int3