Function at 0x433297
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x80]
mov dword [rbp - 0x40], ecx
mov eax, dword [rbp - 0x40]
and eax, 1
test eax, eax
je 0x4332d9
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x30
mov r9, rax
mov r8d, 9
mov edx, 1
lea rcx, str._n_tDSP_ASE
call sub.msvcrt.dll_fwrite
mov eax, dword [rbp - 0x40]
and eax, 2
test eax, eax
je 0x43330a
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x30
mov r9, rax
mov r8d, 0xc
mov edx, 1
lea rcx, str._n_tDSP_R2_ASE
call sub.msvcrt.dll_fwrite
mov eax, dword [rbp - 0x40]
and eax, 0x2000
test eax, eax
je 0x43333d
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x30
mov r9, rax
mov r8d, 0xc
mov edx, 1
lea rcx, str._n_tDSP_R3_ASE
call sub.msvcrt.dll_fwrite
mov eax, dword [rbp - 0x40]
and eax, 4
test eax, eax
je 0x43336e
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x30
mov r9, rax
mov r8d, 0x14
mov edx, 1
lea rcx, str._n_tEnhanced_VA_Scheme
call sub.msvcrt.dll_fwrite
mov eax, dword [rbp - 0x40]
and eax, 8
test eax, eax
je 0x43339f
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x30
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rcx, str._n_tMCU__MicroController__ASE
call sub.msvcrt.dll_fwrite
mov eax, dword [rbp - 0x40]
and eax, 0x10
test eax, eax
je 0x4333d0
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x30
mov r9, rax
mov r8d, 0xa
mov edx, 1
lea rcx, str._n_tMDMX_ASE
call sub.msvcrt.dll_fwrite
mov eax, dword [rbp - 0x40]
and eax, 0x20
test eax, eax
je 0x433401
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x30
mov r9, rax
mov r8d, 0xd
mov edx, 1
lea rcx, str._n_tMIPS_3D_ASE
call sub.msvcrt.dll_fwrite
mov eax, dword [rbp - 0x40]
and eax, 0x40
test eax, eax
je 0x433432
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x30
mov r9, rax
mov r8d, 8
mov edx, 1
lea rcx, str._n_tMT_ASE
call sub.msvcrt.dll_fwrite
mov eax, dword [rbp - 0x40]
and eax, 0x80
test eax, eax
je 0x433465
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x30
mov r9, rax
mov r8d, 0xf
mov edx, 1
lea rcx, str._n_tSmartMIPS_ASE
call sub.msvcrt.dll_fwrite
mov eax, dword [rbp - 0x40]
and eax, 0x100
test eax, eax
je 0x433498
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x30
mov r9, rax
mov r8d, 8
mov edx, 1
lea rcx, str._n_tVZ_ASE
call sub.msvcrt.dll_fwrite
mov eax, dword [rbp - 0x40]
and eax, 0x200
test eax, eax
je 0x4334cb
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x30
mov r9, rax
mov r8d, 9
mov edx, 1
lea rcx, str._n_tMSA_ASE
call sub.msvcrt.dll_fwrite
mov eax, dword [rbp - 0x40]
and eax, 0x400
test eax, eax
je 0x4334fe
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x30
mov r9, rax
mov r8d, 0xc
mov edx, 1
lea rcx, str._n_tMIPS16_ASE
call sub.msvcrt.dll_fwrite
mov eax, dword [rbp - 0x40]
and eax, 0x800
test eax, eax
je 0x433531
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x30
mov r9, rax
mov r8d, 0xf
mov edx, 1
lea rcx, str._n_tMICROMIPS_ASE
call sub.msvcrt.dll_fwrite
mov eax, dword [rbp - 0x40]
and eax, 0x1000
test eax, eax
je 0x433564
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x30
mov r9, rax
mov r8d, 9
mov edx, 1
lea rcx, str._n_tXPA_ASE
call sub.msvcrt.dll_fwrite
mov eax, dword [rbp - 0x40]
and eax, 0x4000
test eax, eax
je 0x433597
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x30
mov r9, rax
mov r8d, 0xe
mov edx, 1
lea rcx, str._n_tMIPS16e2_ASE
call sub.msvcrt.dll_fwrite
mov eax, dword [rbp - 0x40]
and eax, 0x8000
test eax, eax
je 0x4335ca
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x30
mov r9, rax
mov r8d, 9
mov edx, 1
lea rcx, str._n_tCRC_ASE
call sub.msvcrt.dll_fwrite
mov eax, dword [rbp - 0x40]
and eax, 0x20000
test eax, eax
je 0x4335fd
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x30
mov r9, rax
mov r8d, 0xa
mov edx, 1
lea rcx, str._n_tGINV_ASE
call sub.msvcrt.dll_fwrite
mov eax, dword [rbp - 0x40]
and eax, 0x40000
test eax, eax
je 0x433630
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x30
mov r9, rax
mov r8d, 0x12
mov edx, 1
lea rcx, str._n_tLoongson_MMI_ASE
call sub.msvcrt.dll_fwrite
mov eax, dword [rbp - 0x40]
and eax, 0x80000
test eax, eax
je 0x433663
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x30
mov r9, rax
mov r8d, 0x12
mov edx, 1
lea rcx, str._n_tLoongson_CAM_ASE
call sub.msvcrt.dll_fwrite
mov eax, dword [rbp - 0x40]
and eax, 0x100000
test eax, eax
je 0x433696
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x30
mov r9, rax
mov r8d, 0x12
mov edx, 1
lea rcx, str._n_tLoongson_EXT_ASE
call sub.msvcrt.dll_fwrite
mov eax, dword [rbp - 0x40]
and eax, 0x200000
test eax, eax
je 0x4336c9
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x30
mov r9, rax
mov r8d, 0x13
mov edx, 1
lea rcx, str._n_tLoongson_EXT2_ASE
call sub.msvcrt.dll_fwrite
cmp dword [rbp - 0x40], 0
jne 0x4336f4
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x30
lea r8, str.None
lea rdx, str._n_t_s
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x433730
mov eax, dword [rbp - 0x40]
and eax, 0xffc10000
test eax, eax
je 0x433730
mov eax, dword [rbp - 0x40]
and eax, 0xffc10000
mov ebx, eax
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x30
mov r9d, ebx
lea r8, str.Unknown
lea rdx, str._n_t_s___x_
mov rcx, rax
call sub.msvcrt.dll_fprintf
nop
add rsp, 0x28
pop rbx
pop rbp
ret