Function at 0x1404d73d6
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
cmp r12w, cx
test ax, r9w
push rbp
push rsi
cmovs bp, r9w
push rdi
bts rdi, r15
btr di, 0xa8
sbb bpl, 0x3c
push r12
btc bp, 0xd8
inc bpl
btc rdi, rdi
push r13
and r12w, r13w
sub di, ax
xchg r12b, r12b
push r14
rcr r12b, 0xbe
or bpl, al
btc bp, 0x84
push r15
mov rbp, rsp
sub rsp, 0x60
xor ebx, ebx
mov r14d, r8d
sub r12w, si
shl dil, cl
movsxd r12, ecx
bts rdi, r10
mov rdi, rdx
test r9, rsp
clc
stc
test r8d, r8d
jmp 0x1404d744c
je 0x1404d797e
test rdx, rdx
jmp 0x1404d745a
jne 0x1404d748e
call fcn.1404b1749
mov dword [rax], ebx
jmp 0x1404d746c
call fcn.1404b1712
mov dword [rax], 0x16
jmp 0x1404d747c
call fcn.1404b2420
or eax, 0xffffffff
jmp 0x1404d7489
jmp 0x1404d7985
mov rax, r12
sbb rsi, 0x5c2430db
rcl r15w, cl
lea rcx, [0x1400ba940]
and eax, 0x3f
mov r13, r12
movzx si, al
sar r13, 6
bt esi, 0xda
xor r15d, edx
lea r15, [rax + rax*8]
add ax, r11w
xadd ah, al
xor sil, 0x35
mov rcx, qword [rcx + r13*8]
and sil, 0xef
shl si, 0x92
jmp 0x1404d74d8
movsx esi, byte [rcx + r15*8 + 0x39]
movsxd rax, edx
lea eax, [rsi - 1]
cmp al, 1
ja 0x1404d750b
mov eax, r14d
test r9w, r13w
test r9b, 0xb7
jmp 0x1404d74fc
not eax
test al, 1
jmp 0x1404d7505
je 0x1404d7460
test byte [rcx + r15*8 + 0x38], 0x20
jmp 0x1404d7516
je 0x1404d753a
xor edx, edx
movsx r8, dx
mov ecx, r12d
setnp r8b
movzx r8, r12w
movsx r8d, r8w
lea r8d, [rdx + 2]
call fcn.1401b04d5
mov ecx, r12d
mov qword [rbp - 0x20], rbx
jmp 0x1404d7546
call fcn.1404dd336
test eax, eax
jmp 0x1404d7552
je 0x1404d772d
lea rax, [0x1400ba940]
stc
mov rax, qword [rax + r13*8]
cmp byte [rax + r15*8 + 0x38], bl
jmp 0x1404d756e
jge 0x1404d772d
call fcn.1404c59a7
mov rcx, qword [rax + 0x90]
cmp qword [rcx + 0x138], rbx
jmp 0x1404d758c
jne 0x1404d75ae
lea rax, [0x1400ba940]
mov rax, qword [rax + r13*8]
clc
jmp 0x1404d75a3
cmp byte [rax + r15*8 + 0x39], bl
je 0x1404d772d
lea rax, [0x1400ba940]
movsx cx, r12b
mov rcx, qword [rax + r13*8]
not dl
movsx edx, sp
lea rdx, [rbp - 0x10]
jmp 0x1404d75cc
mov rcx, qword [rcx + r15*8 + 0x28]
jmp 0x1404d75d6
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
jmp 0x1404d75e3
je 0x1404d772d
test sil, sil
jmp 0x1404d75f1
je 0x1404d76f1
dec sil
jmp 0x1404d7603
cmp sil, 1
jmp 0x1404d760c
ja 0x1404d78a2
lea r12, [rdi + r14]
mov qword [rbp - 0x30], rbx
and r14w, r14w
mov r14, rdi
stc
jmp 0x1404d762a
cmp rdi, r12
jmp 0x1404d7632
jae 0x1404d788e
mov esi, dword [rbp - 0x2c]
lahf
movsx cx, r8b
movzx eax, word [r14]
movsx ecx, di
jmp 0x1404d764d
movzx ecx, ax
mov word [rbp - 0x10], ax
jmp 0x1404d7659
call fcn.1404e1b73
movzx ecx, word [rbp - 0x10]
cmp al, 0x84
cmp ax, cx
jmp 0x1404d766c
jne 0x1404d76de
add esi, 2
mov dword [rbp - 0x2c], esi
test r14, 0x21fb75cd
cmp cx, 0xa
jmp 0x1404d7688
jne 0x1404d76c5
mov ecx, 0xd
jmp 0x1404d7698
call fcn.1404e1b73
mov ecx, 0xd
clc
cmp ax, cx
jmp 0x1404d76ab
jne 0x1404d76de
inc esi
jmp 0x1404d76b8
mov dword [rbp - 0x2c], esi
jmp 0x1404d76c0
inc ebx
cmp r14b, dil
add r14, 2
clc
cmc
cmp r14, r12
jmp 0x1404d76d3
jae 0x1404d788e
jmp 0x1404d7641
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
jmp 0x1404d76ec
jmp 0x1404d788e
mov r9d, r14d
lea rcx, [rbp - 0x30]
movzx dx, spl
movsx r8, bp
mov r8, rdi
cmovae rdx, r8
mov edx, r12d
jmp 0x1404d7710
call fcn.1404d79d5
movsd xmm0, qword [rax]
movsx bx, r9b
not bh
mov ebx, dword [rax + 8]
jmp 0x1404d7728
jmp 0x1404d7893
lea rax, [0x1400ba940]
and rcx, 0x45fa5100
or ecx, esp
mov cx, 0x352b
mov rcx, qword [rax + r13*8]
test bx, r13w
cmp byte [rcx + r15*8 + 0x38], bl
jmp 0x1404d7753
jge 0x1404d7806
mov ecx, esi
test sil, sil
jmp 0x1404d7763
je 0x1404d77d3
sub ecx, 1
jmp 0x1404d7771
je 0x1404d77a7
cmp ecx, 1
jmp 0x1404d777f
jne 0x1404d78a2
mov r9d, r14d
xchg dx, cx
lea rcx, [rbp - 0x30]
movsx r8w, r11b
mov r8, rdi
setno dh
mov edx, r12d
call fcn.1404d860d
jmp 0x1404d7715
mov r9d, r14d
bswap cx
cwd
lea rcx, [rbp - 0x30]
cqo
cwd
mov rdx, rdx
mov r8, rdi
xchg dl, dh
movzx edx, si
movsx rdx, r13w
mov edx, r12d
call fcn.1404d8874
jmp 0x1404d7715
mov r9d, r14d
movzx rcx, r10w
movzx edx, bp
not r8b
lea rcx, [rbp - 0x30]
movzx dx, dl
not r8
mov r8, rdi
mov dh, 0x6a
setne dh
mov edx, r12d
jmp 0x1404d77fc
call fcn.1404d83ee
jmp 0x1404d7715
mov rcx, qword [rcx + r15*8 + 0x28]
lea r9, [rbp - 0x2c]
btr edx, r10d
sal r8w, cl
xor eax, eax
sub rdx, 0x67ef6e98
clc
mov r8d, r14d
rol dl, 0x54
sar rdx, 0x36
movzx rdx, r15w
and qword [rsp + 0x20], rax
jmp 0x1404d783d
mov rdx, rdi
jmp 0x1404d7845
mov qword [rbp - 0x30], rax
jmp 0x1404d784e
mov dword [rbp - 0x28], eax
jmp 0x1404d7856
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jmp 0x1404d7863
jne 0x1404d787e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
shrd ax, r8w, 0xcf
shr ah, 0x32
rcr bh, 0xd3
mov ebx, dword [rbp - 0x28]
shl ah, 4
bsr ax, r15w
movsx ax, r14b
movsd xmm0, qword [rbp - 0x30]
movsd qword [rbp - 0x20], xmm0
shr al, cl
bts rax, rbp
movzx ax, ch
mov rax, qword [rbp - 0x20]
jmp 0x1404d78b0
shr rax, 0x20
clc
test eax, eax
jmp 0x1404d78bc
jne 0x1404d796c
mov eax, dword [rbp - 0x20]
test r15w, 0x3f23
test eax, eax
jmp 0x1404d78d2
je 0x1404d7918
cmp eax, 5
jne 0x1404d7906
call fcn.1404b1712
mov dword [rax], 9
jmp 0x1404d78f1
call fcn.1404b1749
mov dword [rax], 5
jmp 0x1404d7901
jmp 0x1404d7481
mov ecx, dword [rbp - 0x20]
jmp 0x1404d790e
call fcn.1404b177f
jmp 0x1404d7481
lea rax, [0x1400ba940]
mov rax, qword [rax + r13*8]
clc
cmp r14d, 0x2ebb450b
test byte [rax + r15*8 + 0x38], 0x40
jmp 0x1404d7936
je 0x1404d794a
cmp byte [rdi], 0x1a
jmp 0x1404d7944
je 0x1404d797e
call fcn.1404b1712
mov dword [rax], 0x1c
jmp 0x1404d795a
call fcn.1404b1749
and dword [rax], 0
jmp 0x1404d7967
jmp 0x1404d7481
mov eax, dword [rbp - 0x1c]
cmp r10d, 0x45c4607b
cmc
sub eax, ebx
jmp 0x1404d7985
xor eax, eax
btc rbp, 0x4f
mov rbx, qword [rsp + 0xb8]
inc r13w
xor r12d, edx
add rsp, 0x60
pop r15
mov r14b, r15b
movzx rdi, r14w
mov r12d, 0x6c2336b0
pop r14
xchg bpl, dil
pop r13
movsx r12d, r15w
jmp 0x1404d79b7
pop r12
mov bpl, 0x36
movsx rsi, r15w
pop rdi
not bpl
pop rsi
movzx ebp, r10w
movsx bp, r10b
pop rbp
jmp 0x1404d79d4
ret