Function at 0x43150d
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov dword [rbp + 0x10], ecx
cmp dword [rbp + 0x10], 0
je 0x43189f
mov dword [rbp - 4], 1
mov eax, dword [rbp + 0x10]
and eax, 1
test eax, eax
je 0x431561
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x30
mov r9, rax
mov r8d, 5
mov edx, 1
lea rcx, str.mul32
call sub.msvcrt.dll_fwrite
mov dword [rbp - 4], 0
mov eax, dword [rbp + 0x10]
and eax, 2
test eax, eax
je 0x431597
cmp dword [rbp - 4], 0
je 0x43157a
lea rax, [0x00488d34]
jmp 0x431581
lea rax, [0x0048d6eb]
mov rdx, rax
lea rcx, str._sdiv32
call sub.msvcrt.dll_printf
mov dword [rbp - 4], 0
mov eax, dword [rbp + 0x10]
and eax, 4
test eax, eax
je 0x4315cd
cmp dword [rbp - 4], 0
je 0x4315b0
lea rax, [0x00488d34]
jmp 0x4315b7
lea rax, [0x0048d6eb]
mov rdx, rax
lea rcx, str._sfsmuld
call sub.msvcrt.dll_printf
mov dword [rbp - 4], 0
mov eax, dword [rbp + 0x10]
and eax, 8
test eax, eax
je 0x431603
cmp dword [rbp - 4], 0
je 0x4315e6
lea rax, [0x00488d34]
jmp 0x4315ed
lea rax, [0x0048d6eb]
mov rdx, rax
lea rcx, str._sv8plus
call sub.msvcrt.dll_printf
mov dword [rbp - 4], 0
mov eax, dword [rbp + 0x10]
and eax, 0x10
test eax, eax
je 0x431639
cmp dword [rbp - 4], 0
je 0x43161c
lea rax, [0x00488d34]
jmp 0x431623
lea rax, [0x0048d6eb]
mov rdx, rax
lea rcx, str._spopc
call sub.msvcrt.dll_printf
mov dword [rbp - 4], 0
mov eax, dword [rbp + 0x10]
and eax, 0x20
test eax, eax
je 0x43166f
cmp dword [rbp - 4], 0
je 0x431652
lea rax, [0x00488d34]
jmp 0x431659
lea rax, [0x0048d6eb]
mov rdx, rax
lea rcx, str._svis
call sub.msvcrt.dll_printf
mov dword [rbp - 4], 0
mov eax, dword [rbp + 0x10]
and eax, 0x40
test eax, eax
je 0x4316a5
cmp dword [rbp - 4], 0
je 0x431688
lea rax, [0x00488d34]
jmp 0x43168f
lea rax, [0x0048d6eb]
mov rdx, rax
lea rcx, str._svis2
call sub.msvcrt.dll_printf
mov dword [rbp - 4], 0
mov eax, dword [rbp + 0x10]
and eax, 0x80
test eax, eax
je 0x4316dd
cmp dword [rbp - 4], 0
je 0x4316c0
lea rax, [0x00488d34]
jmp 0x4316c7
lea rax, [0x0048d6eb]
mov rdx, rax
lea rcx, str._sASIBlkInit
call sub.msvcrt.dll_printf
mov dword [rbp - 4], 0
mov eax, dword [rbp + 0x10]
and eax, 0x100
test eax, eax
je 0x431715
cmp dword [rbp - 4], 0
je 0x4316f8
lea rax, [0x00488d34]
jmp 0x4316ff
lea rax, [0x0048d6eb]
mov rdx, rax
lea rcx, str._sfmaf
call sub.msvcrt.dll_printf
mov dword [rbp - 4], 0
mov eax, dword [rbp + 0x10]
and eax, 0x400
test eax, eax
je 0x43174d
cmp dword [rbp - 4], 0
je 0x431730
lea rax, [0x00488d34]
jmp 0x431737
lea rax, [0x0048d6eb]
mov rdx, rax
lea rcx, str._svis3
call sub.msvcrt.dll_printf
mov dword [rbp - 4], 0
mov eax, dword [rbp + 0x10]
and eax, 0x800
test eax, eax
je 0x431785
cmp dword [rbp - 4], 0
je 0x431768
lea rax, [0x00488d34]
jmp 0x43176f
lea rax, [0x0048d6eb]
mov rdx, rax
lea rcx, str._shpc
call sub.msvcrt.dll_printf
mov dword [rbp - 4], 0
mov eax, dword [rbp + 0x10]
and eax, 0x1000
test eax, eax
je 0x4317bd
cmp dword [rbp - 4], 0
je 0x4317a0
lea rax, [0x00488d34]
jmp 0x4317a7
lea rax, [0x0048d6eb]
mov rdx, rax
lea rcx, str._srandom
call sub.msvcrt.dll_printf
mov dword [rbp - 4], 0
mov eax, dword [rbp + 0x10]
and eax, 0x2000
test eax, eax
je 0x4317f5
cmp dword [rbp - 4], 0
je 0x4317d8
lea rax, [0x00488d34]
jmp 0x4317df
lea rax, [0x0048d6eb]
mov rdx, rax
lea rcx, str._strans
call sub.msvcrt.dll_printf
mov dword [rbp - 4], 0
mov eax, dword [rbp + 0x10]
and eax, 0x4000
test eax, eax
je 0x43182d
cmp dword [rbp - 4], 0
je 0x431810
lea rax, [0x00488d34]
jmp 0x431817
lea rax, [0x0048d6eb]
mov rdx, rax
lea rcx, str._sfjfmau
call sub.msvcrt.dll_printf
mov dword [rbp - 4], 0
mov eax, dword [rbp + 0x10]
and eax, 0x8000
test eax, eax
je 0x431865
cmp dword [rbp - 4], 0
je 0x431848
lea rax, [0x00488d34]
jmp 0x43184f
lea rax, [0x0048d6eb]
mov rdx, rax
lea rcx, str._sima
call sub.msvcrt.dll_printf
mov dword [rbp - 4], 0
mov eax, dword [rbp + 0x10]
and eax, 0x10000
test eax, eax
je 0x4318b9
cmp dword [rbp - 4], 0
je 0x431880
lea rax, [0x00488d34]
jmp 0x431887
lea rax, [0x0048d6eb]
mov rdx, rax
lea rcx, str._scspare
call sub.msvcrt.dll_printf
mov dword [rbp - 4], 0
jmp 0x4318b9
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x30
mov rdx, rax
mov ecx, 0x30
call sub.msvcrt.dll_fputc
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x30
mov rdx, rax
mov ecx, 0xa
call sub.msvcrt.dll_fputc
nop
add rsp, 0x30
pop rbp
ret