Function at 0x484ce0
Capabilities:
Write file on windows

Disassembly:
push ebp
sub esp, 0x68
lea eax, [esp + 0x1c]
mov dword [esp + 0x34], sym.___gxx_personality_sj0
mov dword [esp], eax
mov dword [esp + 0x38], 0x4f2234
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], 0x484ec0
mov dword [esp + 0x44], esp
call sym.__Unwind_SjLj_Register
cmp byte [0x4f4874], 0
jne 0x484e86
mov byte [0x4f4874], 1
call sym.___cxa_current_exception_type
test eax, eax
je 0x484e44
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 sym.___cxa_demangle
mov ecx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
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 sym._fwrite
mov edx, dword [esp + 0x5c]
mov dword [esp], 2
test edx, edx
je 0x484e2c
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 sym._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], 0x5628dd
call sym._fwrite
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x484e1f
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._free
mov dword [esp + 0x20], 1
call sym.___cxa_rethrow
mov ecx, dword [esp + 0x10]
call ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._fputs
jmp 0x484dd6
mov dword [esp], 2
mov dword [esp + 0x20], 0xffffffff
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
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 sym._fwrite
mov dword [esp + 0x20], 0xffffffff
call sym._abort
mov dword [esp], 2
mov dword [esp + 0x20], 0xffffffff
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov dword [esp + 8], 0x1d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_recursively_n
call sym._fwrite
call sym._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 0x484f71
mov eax, dword [esp + 0x14]
sub edx, 1
mov dword [esp], eax
jne 0x484f8f
call sym.___cxa_begin_catch
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 sym._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 sym._fputs
mov dword [esp], 2
mov eax, dword [esp + 0x10]
call eax
mov dword [esp + 4], eax
mov dword [esp], 0xa
call sym._fputc
call sym.___cxa_end_catch
jmp 0x484e79
sub eax, 1
jne 0x484fa6
call sym.___cxa_end_catch
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp], eax
call sym.__Unwind_SjLj_Resume
call sym.___cxa_begin_catch
mov dword [esp + 0x20], 0xffffffff
call sym.___cxa_end_catch
jmp 0x484e79
ud2