Function at 0x58e180
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ecx, 0x1a
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x80]
mov esi, 0x67246d
push ebx
sub esp, 0x9c
mov eax, dword [str.not_enough_space_for_format_expansion__Please_submit_full_bug_report_at_https:__gcc.gnu.org_bugs__:_n]
mov dword [ebp - 0x81], eax
mov eax, dword [0x6724d1]
mov dword [ebp - 0x1c], eax
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp + 8]
lea eax, [edx + 0x84]
and eax, 0xfffffff0
call fcn.00567260
mov ecx, 0x1a
sub esp, eax
lea esi, [ebp - 0x81]
mov dword [ebp - 0x8c], edx
lea ebx, [esp + 0x1b]
and ebx, 0xfffffff0
mov edi, ebx
lea eax, [ebx + 0x68]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x8c]
mov byte [ebx + edx + 0x68], 0
mov dword [esp], ebx
call fcn.0065ac80
nop
nop
nop
nop
nop
nop
nop
push ebp
sub esp, 0x68
lea eax, [esp + 0x1c]
mov dword [esp + 0x34], 0x6583c0
mov dword [esp], eax
mov dword [esp + 0x38], 0x65be08
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], 0x58e180
mov dword [esp + 0x44], esp
call fcn.005687c0
cmp byte [0x6627d4], 0
jne 0x58e146
mov byte [0x6627d4], 1
call fcn.00657770
test eax, eax
je 0x58e104
mov edx, dword [eax + 4]
xor eax, eax
cmp byte [edx], 0x2a
mov dword [esp + 8], 0
sete al
mov dword [esp + 4], 0
add edx, eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], 0xffffffff
call fcn.005661d0
mov ecx, dword [fcn.00580460]
mov dword [esp], 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
call ecx
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 + 0x5c]
mov dword [esp], 2
test edx, edx
je 0x58e0ec
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x10]
call eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sub.msvcrt.dll_fputs
mov dword [esp], 2
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call eax
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x671111
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x58e0df
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.0057fd88
mov dword [esp + 0x20], 1
call fcn.006581f0
mov ecx, dword [esp + 0x10]
call ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sub.msvcrt.dll_fputs
jmp 0x58e096
mov dword [esp], 2
mov dword [esp + 0x20], 0xffffffff
call dword [0x660d80]
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
mov dword [esp + 0x20], 0xffffffff
call sub.msvcrt.dll_abort
mov dword [esp], 2
mov dword [esp + 0x20], 0xffffffff
call dword [0x660d80]
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
call sub.msvcrt.dll_abort
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x58e231
mov eax, dword [esp + 0x14]
sub edx, 1
mov dword [esp], eax
jne 0x58e24f
call fcn.006574f0
mov ecx, eax
mov eax, dword [eax]
call dword [eax + 8]
mov dword [esp], 2
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], 2
call eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xb
mov dword [esp + 4], 1
mov dword [esp], str.__what__:
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
mov eax, dword [esp + 0x10]
call eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sub.msvcrt.dll_fputs
mov dword [esp], 2
mov eax, dword [esp + 0x10]
call eax
mov dword [esp + 4], eax
mov dword [esp], 0xa
call sub.msvcrt.dll_fputc
call fcn.006577c0
jmp 0x58e139
sub eax, 1
jne 0x58e266
call fcn.006577c0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp], eax
call fcn.00568c80
call fcn.006574f0
mov dword [esp + 0x20], 0xffffffff
call fcn.006577c0
jmp 0x58e139
ud2