Function at 0x4a9110
Capabilities:
Write file on windows

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x88
mov edi, dword [ecx]
mov esi, dword [ecx + 4]
mov eax, dword [0x5ec348]
mov dword [ebp - 0x1c], eax
xor eax, eax
movdqu xmm0, xmmword [str.not_enough_space_for_format_expansion__Please_submit_full_bug_report_at_https:__gcc.gnu.org_bugsrg_bugs__:_n]
movdqu xmm1, xmmword [0x593220]
movdqu xmm2, xmmword [0x593230]
sub esi, edi
movdqu xmm3, xmmword [0x593240]
lea eax, [esi + 0x84]
movups xmmword [ebp - 0x85], xmm0
movdqu xmm4, xmmword [0x593250]
movdqu xmm5, xmmword [0x593260]
movdqu xmm6, xmmword [0x593270]
shr eax, 4
movups xmmword [ebp - 0x75], xmm1
shl eax, 4
movups xmmword [ebp - 0x35], xmm5
movups xmmword [ebp - 0x65], xmm2
movups xmmword [ebp - 0x55], xmm3
movups xmmword [ebp - 0x45], xmm4
movups xmmword [ebp - 0x2c], xmm6
call fcn.00491680
mov edx, dword [ebp - 0x21]
sub esp, eax
mov eax, dword [ebp - 0x25]
lea ebx, [esp + 0x1b]
and ebx, 0xfffffff0
movups xmmword [ebx + 0x40], xmm4
movdqu xmm4, xmmword [ebp - 0x35]
mov dword [ebx + 0x60], eax
lea eax, [ebx + 0x68]
mov dword [ebx + 0x64], edx
movups xmmword [ebx], xmm0
movups xmmword [ebx + 0x10], xmm1
movups xmmword [ebx + 0x20], xmm2
movups xmmword [ebx + 0x30], xmm3
movups xmmword [ebx + 0x50], xmm4
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov byte [ebx + esi + 0x68], 0
mov eax, dword [ebp - 0x1c]
sub eax, dword [0x5ec348]
jne 0x4a90fc
mov dword [esp], ebx
call fcn.00552460
call fcn.00497000
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push edi
push esi
push ebx
sub esp, 0x20
mov eax, dword [0x5ec348]
mov dword [esp + 0x1c], eax
xor eax, eax
cmp byte [0x560150], 0
jne 0x4a9241
mov byte [0x560150], 1
call fcn.0054fdb0
test eax, eax
je 0x4a920f
mov ebx, dword [eax + 4]
xor eax, eax
cmp byte [ebx], 0x2a
mov dword [esp + 8], 0
sete al
mov dword [esp + 4], 0
add ebx, eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call fcn.00490550
mov dword [esp], 2
mov esi, dword [fcn.004a03d0]
mov edi, eax
call esi
mov dword [esp + 8], 0x30
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_after_throwing_an_instance_of_
call sub.msvcrt.dll_fwrite
mov edx, dword [esp + 0x18]
mov dword [esp], 2
test edx, edx
je 0x4a91ff
call esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
mov dword [esp], 2
call esi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x59206d
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x5513ec
jmp 0x5513e4
call esi
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
jmp 0x4a91c5
mov dword [esp], 2
call dword [0x55efb0]
mov dword [esp + 8], 0x2d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_without_an_active_exception_n
call sub.msvcrt.dll_fwrite
jmp 0x5513d3
mov dword [esp], 2
call dword [0x55efb0]
mov dword [esp + 8], 0x1d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_recursively_n
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x1c]
sub eax, dword [0x5ec348]
jne 0x4a927f
call sub.msvcrt.dll_abort
call fcn.00497000
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebx
mov ebx, ecx
sub esp, 0x18
mov dword [ecx], 0x59b8f0
call fcn.00548300
mov dword [esp], ebx
mov dword [esp + 4], 4
call fcn.0054fb40
add esp, 0x18
pop ebx
ret
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x537cf9
lock sub dword [ecx + 4], 1
jne 0x537cf6
mov eax, dword [ecx]
mov eax, dword [eax + 4]
cmp eax, 0x537e80
jne 0x537d98
mov dword [esp], ecx
call fcn.0054fb30
mov eax, dword [ebx + 4]
add esi, 1
cmp esi, dword [ebx + 8]
jb 0x537cd0
test eax, eax
je 0x537d0d
mov dword [esp], eax
call fcn.0054fb20
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x537d59
mov edx, dword [ebx + 8]
test edx, edx
je 0x537d51
xor esi, esi
lea esi, [esi]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x537d45
lock sub dword [ecx + 4], 1
jne 0x537d42
mov eax, dword [ecx]
mov eax, dword [eax + 4]
cmp eax, 0x537e80
jne 0x537da0
mov dword [esp], ecx
call fcn.0054fb30
mov eax, dword [ebx + 0xc]
add esi, 1
cmp esi, dword [ebx + 8]
jb 0x537d20
test eax, eax
je 0x537d59
mov dword [esp], eax
call fcn.0054fb20
mov edx, dword [ebx + 0x10]
xor esi, esi
test edx, edx
je 0x537d8e
lea esi, [esi]
mov eax, dword [edx + esi]
test eax, eax
je 0x537d7a
mov dword [esp], eax
call fcn.0054fb20
mov edx, dword [ebx + 0x10]
add esi, 4
cmp esi, 0x18
jne 0x537d68
test edx, edx
je 0x537d8e
mov dword [esp], edx
call fcn.0054fb20
add esp, 0x14
pop ebx
pop esi
ret
call eax
jmp 0x537cf6
call eax
jmp 0x537d42
mov eax, dword [esp + 0x1c]
sub eax, dword [0x5ec348]
jne 0x551410
call sub.msvcrt.dll_abort
mov dword [esp], edi
call fcn.004a0a88
mov eax, dword [esp + 0x1c]
sub eax, dword [0x5ec348]
jne 0x551410
call fcn.00550160
mov ebx, eax
call fcn.0054fde0
mov eax, dword [esp + 0x1c]
sub eax, dword [0x5ec348]
je 0x551421
call fcn.00497000
call fcn.0054fc90
call fcn.0054fde0
jmp 0x5513d3
mov dword [esp], ebx
call fcn.00494760
nop
nop
nop
mov dword [ebx], 0x59cc78
mov ecx, ebx
call fcn.00537e90
mov dword [esp], esi
call fcn.00494760
nop
nop
nop
mov dword [ebx], 0x59cca4
mov ecx, ebx
call fcn.00537e90
mov dword [esp], esi
call fcn.00494760
nop
nop
nop
mov dword [ebx], 0x59cca4
mov ecx, ebx
call fcn.00537e90
mov dword [esp], ebx
call fcn.0054fb30
mov dword [esp], esi
call fcn.00494760
nop
nop
nop
mov dword [ebx], 0x59cc78
mov ecx, ebx
call fcn.00537e90
mov dword [esp], ebx
call fcn.0054fb30
mov dword [esp], esi
call fcn.00494760
nop
nop
nop
mov dword [ebx], 0x59cc78
mov ecx, ebx
call fcn.00537e90
mov dword [esp], esi
call fcn.00494760
nop
nop
nop
mov dword [ebx], 0x59cca4
mov ecx, ebx
call fcn.00537e90
mov dword [esp], esi
call fcn.00494760
nop
nop
nop
add edx, 1
mov dword [esp], eax
jne 0x5514d9
call fcn.0054fd60
call fcn.00494760
nop
nop
add edx, 1
mov dword [esp], eax
jne 0x5514ed
call fcn.0054fd60
call fcn.00494760
nop
nop
mov ecx, ebx
call fcn.00539180
mov dword [esp], esi
call fcn.00494760
nop
lea ecx, [ebp - 0x34]
call fcn.00539180
mov eax, ebx
mov edx, esi
add edx, 1
jne 0x551528
mov edx, dword [ebp - 0x1c]
sub edx, dword [0x5ec348]
jne 0x55153b
mov dword [esp], eax
call fcn.0054fd60
mov edx, dword [ebp - 0x1c]
sub edx, dword [0x5ec348]
jne 0x551540
mov dword [esp], eax
call fcn.00494760
call fcn.00497000
call fcn.00497000
nop
nop
nop
mov dword [esp], eax
call fcn.0054fc90
call fcn.0054fde0
mov eax, dword [ebx + 4]
jmp 0x537cf9