Function at 0x140038450
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140038471
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14003849e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400384a0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400384f9
test ecx, ecx
jle 0x1400384d9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1400384f9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400384f9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
jne 0x1401b5ebb
push rbp
jo 0x1401b5f2a
imul ebp, dword [rdi + rbp*2 + 0x6e], 0x69685003
add eax, dword [rbx + 0x68]
imul eax, dword [rbx], 0xc697350
push rax
jae str.gamma
or al, 0x49
outsd dx, dword [rsi]
add edx, dword [rax + 0x68]
imul eax, dword [rbx], 0x3696843
push rax
jae str.gamma
or al, 0x49
outsd dx, dword [rsi]
je 0x1401b5f2d
imul esp, dword fs:[rbp + 0x72], 0x73697365
andnps xmm6, xmmword [rax + 0x73]
push rbp
jo 0x1401b5f4b
imul ebp, dword [rdi + rbp*2 + 0x6e], 0x72656964
jae 0x1401b5f4c
jae 0x1401b5eef
invalid
or al, 0x65
jo 0x1401b5f66
imul ebp, dword [rdi + rbp*2 + 0x6e], 0x6f6e6f74
jae 0x1401b5f05
je 0x1401b5f61
je 0x1401b5f71
outsb dx, byte [rsi]
outsd dx, dword [rsi]
jae 0x1401b5f0f
or dword [rcx + 0x6f], ebp
je 0x1401b5f6b
imul ebp, dword [rdi + 0x74], 0x6e6f7461
je 0x1401b5f7b
outsb dx, byte [rsi]
outsd dx, dword [rsi]
jae 0x1401b5f24
adc al, 0x75
jne 0x1401b5f82
invalid
jne 0x1401b5f82
jae 0x1401b5f7d
imul ebp, dword [rdi + rbp*2 + 0x6e], 0x72656964
jae 0x1401b5f87
insb byte [rdi], dx
outsd dx, dword [rsi]
outsb dx, byte [rsi]
imul esp, dword fs:[rbp + 0x72], 0x73697365
je 0x1401b5f90
jae 0x1401b5f94
outsd dx, dword [rsi]
outsb dx, byte [rsi]
outsd dx, dword [rsi]
jae 0x1401b5f2a
add eax, 0x68706c61
invalid
insb byte [rdi], dx
jo 0x1401b5f91
invalid
invalid
add al, 0x62
invalid
je 0x1401b5f90
je 0x1401b5f90
add eax, 0x6d6d6167
invalid
invalid
insd dword [rdi], dx
insd dword [rdi], dx
invalid
invalid
add eax, 0x74656874
je 0x1401b5fb7
je 0x1401b5fb3
invalid
jne 0x1401b5f6a
js 0x1401b5fd3
invalid
outsd dx, dword [rsi]
insd dword [rdi], dx
imul esp, dword [rbx + 0x72], 0x72036e6f
push 0x6973066f
jae 0x1401b5fe2
insd dword [edi], dx
outsb dx, byte [rsi]
add esi, dword [rdx + 0x68]
outsd dx, dword [rsi]
invalid
invalid
add eax, 0x6d676973
jae 0x1401b5fe9
insd dword [edi], dx
invalid
jne 0x1401b5f8f
invalid
jne 0x1401b5ffa
jae 0x1401b5ff5
insb byte [rdi], dx
outsd dx, dword [rsi]
outsb dx, byte [rsi]
add esi, dword [rax + 0x68]
jo 0x1401b5ffa
imul eax, dword [rbx], 0x3696863
jo 0x1401b600d
invalid
imul eax, dword [0x1a780cd13], 0x6f690c61
outsd dx, dword [rsi]
insd dword [rdi], dx
invalid
invalid
invalid
or al, 0x69
outsd dx, dword [rsi]
je str.ffk_bzero.osf_aone.osf_atwo.osf_tthree.osf_bfour.osf_bfive.osf_asix.osf_tseven.osf_teight.osf_bnine.osf
imul esp, dword fs:[rbp + 0x72], 0x73697365
pcmpeqw mm6, qword [rax + 0x73]
jne 0x1401b6021
jae 0x1401b601c
insb byte [rdi], dx
outsd dx, dword [rsi]
outsb dx, byte [rsi]
invalid
invalid
jb 0x1401b6020
jae 0x1401b6026
jae 0x1401b5fcb
outsd dx, dword [rsi]
insd dword [rdi], dx
imul esp, dword [rbx + 0x72], 0x6f746e6f
outsb dx, byte [rsi]
outsd dx, dword [rsi]
jae 0x1401b5fd8
or al, 0x75
jo 0x1401b6042
jne 0x1401b603e
jae 0x1401b6039
imul ebp, dword [rdi + rbp*2 + 0x6e], 0x6f6e6f74
insb byte [rdi], dx
outsd dx, dword [rsi]
outsb dx, byte [rsi]
je 0x1401b6044
outsb dx, byte [rsi]
outsd dx, dword [rsi]
jae 0x1401b5fe3
or ch, byte [rdi + 0x6d]
outsd dx, dword [rsi]
insd dword [rdi], dx
invalid
add esp, dword [rsi + 0x66]
imul eax, dword [rbx], 0x26c6666
add ah, byte [rsi + 0x6a]
add esp, dword [rsi + 0x66]
push 2
invalid
add ah, byte [rsi + 0x62]
add esp, dword [rsi + 0x66]
invalid
invalid
imul cx, word [rax], 0x7a
jb 0x1401b607e
jb 0x1401b607e
outsd dx, dword cs:[rsi]
jae 0x1401b6079
invalid
jb 0x1401b608d
outsd dx, dword cs:[rsi]
jae 0x1401b6093
or byte [rsi + 0x6f], ah
jne 0x1401b60a4
outsd dx, dword cs:[rsi]
jae 0x1401b609c
or byte [rsi + 0x69], ah
jbe str.k.alt_nkcomma.alt
outsd dx, dword cs:[rsi]
jae 0x1401b60a5
invalid
invalid
js 0x1401b6072
outsd dx, dword [rsi]
jae 0x1401b60ad
or dword [rbx + 0x65], esi
jbe str.germandbls.cap
outsb dx, byte [rsi]
outsd dx, dword cs:[rsi]
jae 0x1401b60b7
or dword [rbp + 0x69], esp
push 0x736f2e74
or byte [rsi + 0x69], ch
outsb dx, byte [rsi]
outsd dx, dword cs:[rsi]
jae 0x1401b60ca
add eax, 0x6c612e67
invalid
invalid
invalid
insb byte [rdi], dx
je 0x1401b607a
invalid
insb byte [rdi], dx
js 0x1401b60a5
invalid
je 0x1401b6085
or ah, byte [rdi + 0x62]
jb 0x1401b60e4
vblendmps zmm13 {k6}, zmm19, dword [esi]{1to16}
invalid
jbe 0x1401b60e6
jbe 0x1401b60e6
invalid
invalid
outsb dx, byte gs:[rsi]
je 0x1401b60bf
invalid
je 0x1401b609f
invalid
invalid
add eax, 0x6c612e6b
imul ebp, dword [rsi], 0x61
insb byte [rdi], dx
imul ebp, dword [rsi], 0x61
insb byte [rdi], dx
je 0x1401b60b0
or ch, byte [rbx + 0x63]
outsd dx, dword [rsi]
insd dword [rdi], dx
imul esp, dword [rbx + 0x6f], 0x6d
insd dword [rdi], dx
invalid
invalid
invalid
jb 0x1401b6122
invalid
invalid
add byte [rax], al
add byte [rax], al
add edi, edi
inc dword [rax]
add al, byte [rax]
add dword [rax], eax
add byte [rax], al
or al, 0
add byte [rax], al
add byte [rax + rax], cl
add byte [rax], al
invalid
add byte [rax], al
add byte [rax], al
add byte [rcx], al
add byte [rax], al
add byte [rdx], cl
add byte [rax], ch
add byte [rdx], ch
add byte [rcx], al
insb byte [rdi], dx
invalid
je 0x1401b6192
add byte [rax], cl
add byte [rdx], cl
add byte [rcx], al
jp 0x1401b61a6
xor byte [rcx], dh
add byte [rax + rax], bl
add bh, bh
inc dword [rax]
invalid
xor byte [0x1401be398], dh
add byte [rcx], al
add byte [rax], al
add byte [rax], al
add byte [rcx], al
add byte [rcx], al
add byte [rax], al
add byte [rdx], al
add byte [rdx], al
add byte [rbx], al
add byte [rax], al
add byte [rcx], al
add byte [rdx], al
add byte [rax], al
add byte [rcx], al
add byte [rbx], al
add byte [rax], al
add byte [rcx], al
add byte [rax + rax], al
add byte [rax], al
add dword [rax], eax
add byte [rax], al
add byte [rax], al
add dword [rax], eax
add dword [rax], eax
add byte [rax], al
add dword [rax], eax
add al, byte [rax]
add byte [rax], al
add dword [rax], eax
add eax, dword [rax]
add byte [rax], al
add dword [rax], eax
add al, 0
add eax, 0x14000c00
add byte [rax + rax], bl
and al, 0
sub al, 0
add al, 0
add byte [rax], al
add dword [rax], eax
sub byte [rax], al
add dword [rax], eax
add byte [rax], al
add dword [rax], eax
movsb byte [rdi], byte [rsi]
add byte [rcx], al
add byte [rax], al
add byte [rcx], al
add al, al
add byte [rcx], al
add byte [rax], al
add byte [rcx], al
add dl, ch
add byte [rcx], al
add byte [rax], al
add byte [rcx], al
add ah, dh
add byte [rcx], al
add byte [rsi], bh
add dword [rax], eax
or byte [rax], al
or eax, 0x22001c00
and al, byte [rax]
sub al, byte [rax]
xor byte [rax], al
cmp byte [rax], al
add byte ds:[rsi], al
add byte [rax + rax + 0x5a], r10b
add byte [rdx], ah
push 0xffffffffee007000
add byte [rdx], al
add byte [rcx + rax - 8], cl
add byte [rbx], al
add byte [rcx], cl
add dil, r13b
add byte [rdx], al
add byte [rdi + 1], cl
stc
add byte [rbx], al
add byte [rcx], cl
add r11, r15
add byte [rdx], al
add byte [rbp + 1], cl
cld
add byte [rbx], al
add byte [rcx], cl
add r13, r15
add byte [rdx], al
add byte [rbp + 1], al
inc byte [rax]
add eax, dword [rax]
add byte [r13 + 1], al
inc dword [rax]
add al, byte [rax]
add al, byte [r8]
add byte [rbx], al
add byte [rcx], cl
add al, byte [r9]
add byte [rdx], al
add byte [rsi + 2], cl
add al, byte [rax]
add eax, dword [rax]
add byte [r14 + 1], cl
cli
add byte [rdx], al
add byte [rcx], cl
add dword [rax], eax
add dword [rax], eax
add byte [r10], al
add byte [rdx], bl
add byte [rdx], cl
add al, byte [rbx]
add al, byte [rdx + rax]
add eax, 0x7020602
add cl, byte [rax]
add cl, byte [rcx]
add cl, byte [rdx]
add cl, byte [rbx]
add cl, byte [rax + rax]
add al, byte [rax]
add dword [rax], eax
adc eax, dword [rax]
sbb al, 0
add byte [rax], al
add al, byte [rax]
adc byte [rax], al
add eax, 0xe020d02
add cl, byte [rdi]
add dl, byte [rax]
add dl, byte [rcx]
add byte [rdx], al
add byte [0x18a1bacce], al
add byte [rax], al
add dword [rsi], esp
add dword [rsi], esp
add byte [rcx], al
add dword [rax], ebp
add dword [rax], ebp
add byte [rdx], al
add dword [rdx], ebp
add dword [rdx], ebp
add byte [rbx], al
add dword [rcx + rax], ebp
sub al, 0
add al, 0
add al, byte [rax]
or al, byte [rax]
add al, byte [rdx]
adc al, byte [rdx]
adc eax, dword [rax]
add dword [rax], eax
add al, byte [rax]
add qword [rdi], r15
add byte [rdx], al
add byte [rax], cl
add byte [rcx], al
add dl, byte [rax + rax]
add dword [rax], eax
add dword [rax], eax
mov dword [0x19f61a851], ecx
or eax, 0x5f464544
pop rcx
push rax
and byte [rdx], spl
insb byte [edi], dx
jns 0x1401b6388
push 0x49202230
and byte [rax], r14b
and byte [rcx + rbx*2 + 0x50], dl
and byte [r10 + 0x41], r8b
push rbx
and byte [r13 + 0x4e], r8b
pop rdi
pop rcx
push rax
or rax, 0x5f464544
pop rcx
push rax
and byte [rdx], spl
insb byte [edi], dx
jns 0x1401b63b4
push 0x49202231
and byte [rcx], r14b
and byte [rcx + rbx*2 + 0x50], dl
and byte [r10 + 0x41], r8b
push rbx
and byte [r13 + 0x4e], r8b
pop rdi
pop rcx
push rax
or rax, 0x5f464544
pop rcx
push rax
and byte [rdx], spl
insb byte [edi], dx
jns 0x1401b63e0
push 0x49202232
and byte [rdx], r14b
and byte [rcx + rbx*2 + 0x50], dl
and byte [r10 + 0x41], r8b
push rbx
and byte [r13 + 0x4e], r8b
pop rdi
pop rcx
pop rcx
push rax
or rax, 0x5f464544
pop rcx
push rax
and byte [rdx], spl
insb byte [edi], dx
jns 0x1401b640c
push 0x49202233
and byte [rbx], r14b
and byte [rbp + 0x4e], dl
and byte [r11], r14b
xor ah, byte [rax]
push rsp
pop rcx
push rax
and byte [r10 + 0x41], r8b
and byte [rdx + 0x41], al
push rbx
and byte [r13 + 0x4e], r8b
pop rdi
pop rcx
push rax
or rax, 0x5f464544
pop rcx
push rax
and byte [rdx], spl
insb byte [edi], dx
jns 0x1401b6443
push 0x49202234
and byte [rax + riz], r14b
push rbp
and byte [r11], r14b
and byte [r11], r14b
xor esp, dword [rax]
push rsp
pop rcx
push rax
and byte [r10 + 0x41], r8b
push rbx
and byte [r13 + 0x4e], r8b
pop rdi
pop rcx
push rax
or rax, 0x5f464544
pop rcx
push rax
and byte [rdx], spl
insb byte [edi], dx
jns 0x1401b647a
push 0x49202235
and byte [0x18969b936], r14b
and ah, byte [rax]
and byte [0x18969b936], r14b
and byte [r11], r14b
xor al, 0x20
push rsp
pop rcx
push rax
and byte [r10 + 0x41], r8b
push rbx
and byte [r13 + 0x4e], r8b
pop rdi
pop rcx
push rax
or rax, 0x5f464544
pop rcx
push rax
and byte [rdx], spl
insb byte [edi], dx
jns 0x1401b64b1
push 0x49202236
and byte [rsi], r14b
and ah, byte [rax]
and byte [rsi], r14b
and byte [rbp + 0x4e], dl
and byte [r11], r14b
xor eax, 0x50595420
and byte [r10 + 0x41], r8b
push rbx
and byte [r13 + 0x4e], r8b
pop rdi
pop rcx
push rax
or rax, 0x5f464544
pop rcx
push rax
and byte [rdx], spl
insb byte [edi], dx
jns 0x1401b64e8
push 0x49202237
and byte [rdi], r14b
and ah, byte [rax]
and byte [rdi], r14b
and byte [rbp + 0x4e], dl
and byte [r11], r14b
and byte ss:[rcx + rbx*2 + 0x50], dl
and byte [r10 + 0x41], r8b
push rbx
and byte [r13 + 0x4e], r8b
pop rdi
pop rcx
push rax
or rax, 0x5f464544
pop rcx
push rax
and byte [rdx], spl
insb byte [edi], dx
jns 0x1401b651f
push 0x49202238
and byte [rax], r15b
and ah, byte [rax]
and byte [rax], r15b
and byte [rbp + 0x4e], dl
and byte [r11], r14b
invalid
and ah, byte [rax]
and byte [rcx], r15b
and byte [rbp + 0x4e], dl
and byte [r11], r14b
cmp byte [rax], ah
push rsp
pop rcx
push rax
and byte [r10 + 0x41], r8b
push rbx
and byte [r13 + 0x4e], r8b
pop rdi
pop rcx
push rax
or rax, 0x5f464544
pop rcx
push rax
and byte [rdx], spl
insb byte [edi], dx
jns 0x1401b658d
push 0x20223031
and byte [rcx], r14b
xor byte [rdx], ah
and byte [rcx + 0x44], cl
and byte [rcx], dh
xor byte [rax], ah
push rbp
and byte [r11], r14b
cmp dword [rax], esp
push rsp
pop rcx
push rax
and byte [r10 + 0x41], r8b
push rbx
and byte [r13 + 0x4e], r8b
pop rdi
pop rcx
push rax
or rax, 0x5f464544
pop rcx
push rax
and byte [rdx], spl
insb byte [edi], dx
jns 0x1401b65c6
push 0x20223131
and byte [rcx], r14b
xor dword [rax], esp
push rbp
and byte [r8 + rsi], r14b
and byte [rcx + rbx*2 + 0x50], dl
and byte [r10 + 0x41], r8b
push rbx
and byte [r13 + 0x4e], r8b
pop rdi
pop rcx
push rax
or rax, 0x5f464544
pop rcx
push rax
and byte [rdx], spl
insb byte [edi], dx
jns 0x1401b65ff
push 0x20223231
and byte [rcx], r14b
xor ah, byte [rax]
push rbp
and byte [r9 + rsi], r14b
and byte [rcx + rbx*2 + 0x50], dl
and byte [r10 + 0x41], r8b
push rbx
and byte [r13 + 0x4e], r8b
pop rdi
pop rcx
push rax
or rax, 0x5f464544
pop rcx
push rax
and byte [rdx], spl
insb byte [edi], dx
jns 0x1401b6638
push 0x20223331
and byte [rcx], r14b
xor esp, dword [rax]
push rbp
and byte [r10 + rsi], r14b
and byte [rcx + rbx*2 + 0x50], dl
push rsp
pop rcx
push rax