Function at 0x1404db7c6
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
shrd bp, r14w, 0xc
push rsi
push rdi
push r12
cmp r9b, 0x4b
push r13
push r14
xor r14b, al
xchg r14b, r14b
movsxd rdi, edi
push r15
mov rbp, rsp
ror r14w, cl
sub rsp, 0x60
bsf r12, rcx
sbb r14d, ebx
bts r12w, r9w
xor ebx, ebx
adc edi, ebp
btc r12w, ax
mov r14d, r8d
movsxd r12, ecx
mov rdi, rdx
cmp r8b, 0xff
test r8d, r8d
jmp 0x1404db81e
je 0x1404dbd1a
test rdx, rdx
jmp 0x1404db82c
jne 0x1404db860
call fcn.1404b5f28
mov dword [rax], ebx
jmp 0x1404db83e
call fcn.1404b5eee
mov dword [rax], 0x16
jmp 0x1404db84e
call fcn.1404b6b68
or eax, 0xffffffff
jmp 0x1404db85b
jmp 0x1404dbd21
mov rax, r12
btr r15w, r15w
lea rcx, [0x1400ba940]
and eax, 0x3f
sbb si, 0x7e07
mov r13, r12
and r15b, bl
sar r13, 6
or sil, bl
bswap r15
jmp 0x1404db88c
lea r15, [rax + rax*8]
bswap si
bt si, 0xf8
mov rcx, qword [rcx + r13*8]
or al, 0xb4
movsx esi, byte [rcx + r15*8 + 0x39]
lea eax, [rsi - 1]
jmp 0x1404db8ac
cmp al, 1
jmp 0x1404db8b3
ja 0x1404db8d3
mov eax, r14d
stc
test esp, ebx
not eax
test bp, 0x49df
test al, 1
jmp 0x1404db8cd
je 0x1404db832
test byte [rcx + r15*8 + 0x38], 0x20
jmp 0x1404db8de
je 0x1404db903
xor edx, edx
movzx r8, bx
setge r8b
mov ecx, r12d
setne r8b
lea r8d, [rdx + 2]
jmp 0x1404db8fe
call fcn.1402512b4
mov ecx, r12d
jmp 0x1404db90b
mov qword [rbp - 0x20], rbx
jmp 0x1404db914
call fcn.1404e1759
test eax, eax
jmp 0x1404db920
je 0x1404dbb07
lea rax, [0x1400ba940]
mov rax, qword [rax + r13*8]
cmp byte [rax + r15*8 + 0x38], bl
jge 0x1404dbb07
call fcn.1404c9f00
mov rcx, qword [rax + 0x90]
cmp qword [rcx + 0x138], rbx
jne 0x1404db979
lea rax, [0x1400ba940]
mov rax, qword [rax + r13*8]
cmp r9b, 0xcf
jmp 0x1404db969
cmp byte [rax + r15*8 + 0x39], bl
jmp 0x1404db973
je 0x1404dbb07
lea rax, [0x1400ba940]
movsx ecx, r11w
mov rcx, qword [rax + r13*8]
lea rdx, [rbp - 0x10]
jmp 0x1404db991
mov rcx, qword [rcx + r15*8 + 0x28]
jmp 0x1404db99b
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
jmp 0x1404db9a8
je 0x1404dbb07
test sil, sil
jmp 0x1404db9b6
je 0x1404dbaca
dec sil
test edi, 0x75921fbe
test r12w, r8w
cmp sil, 1
jmp 0x1404db9d2
ja 0x1404dbc45
lea r12, [rdi + r14]
rcr r14b, 0xd7
btc r14d, 0x4a
setns r14b
mov qword [rbp - 0x30], rbx
btc r14w, ax
mov r14, rdi
jmp 0x1404db9fa
cmp rdi, r12
jmp 0x1404dba02
jae 0x1404dbc30
mov esi, dword [rbp - 0x2c]
movzx eax, word [r14]
mov cl, 0x92
mov ecx, esp
movzx cx, r12b
movzx ecx, ax
jmp 0x1404dba20
mov word [rbp - 0x10], ax
jmp 0x1404dba29
call fcn.1404e609e
movzx ecx, word [rbp - 0x10]
cmp r11b, bl
test bpl, bpl
clc
cmp ax, cx
jne 0x1404dbab7
add esi, 2
jmp 0x1404dba4b
mov dword [rbp - 0x2c], esi
test r10b, 0x5f
stc
cmp cx, 0xa
jmp 0x1404dba5c
jne 0x1404dba99
mov ecx, 0xd
jmp 0x1404dba6c
call fcn.1404e609e
mov ecx, 0xd
jmp 0x1404dba7f
cmp ax, cx
jmp 0x1404dba87
jne 0x1404dbab7
inc esi
jmp 0x1404dba94
mov dword [rbp - 0x2c], esi
inc ebx
add r14, 2
test rdx, r14
cmp r12w, r10w
cmp r14, r12
jmp 0x1404dbaac
jae 0x1404dbc30
jmp 0x1404dba0b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
jmp 0x1404dbac5
jmp 0x1404dbc30
mov r9d, r14d
cwd
movsx r8d, dx
setnp dl
lea rcx, [rbp - 0x30]
mov r8, rdi
mov dh, 0x56
movzx dx, r9b
xchg edx, edx
mov edx, r12d
jmp 0x1404dbaef
call fcn.1404dbd65
movsd xmm0, qword [rax]
mov bl, 0xe5
mov ebx, dword [rax + 8]
jmp 0x1404dbb02
jmp 0x1404dbc35
lea rax, [0x1400ba940]
stc
cmp esp, 0x2c7f4007
mov rcx, qword [rax + r13*8]
cmc
cmp byte [rcx + r15*8 + 0x38], bl
jmp 0x1404dbb24
jge 0x1404dbbce
mov ecx, esi
test sil, sil
jmp 0x1404dbb34
je 0x1404dbb9f
sub ecx, 1
jmp 0x1404dbb42
je 0x1404dbb76
cmp ecx, 1
jmp 0x1404dbb50
jne 0x1404dbc45
mov r9d, r14d
cwd
lea rcx, [rbp - 0x30]
cwd
mov r8, rdi
mov edx, r12d
jmp 0x1404dbb6c
call fcn.1404dc974
jmp 0x1404dbaf4
mov r9d, r14d
xchg cl, r8b
mov ecx, r11d
lea rcx, [rbp - 0x30]
movsx rdx, r15w
cwd
mov r8, rdi
cdq
mov edx, r12d
jmp 0x1404dbb95
call fcn.1404dcbed
jmp 0x1404dbaf4
mov r9d, r14d
lea rcx, [rbp - 0x30]
setne r8b
mov r8w, r11w
movzx rdx, sp
mov r8, rdi
bswap dx
cmovns edx, r10d
mov edx, r12d
jmp 0x1404dbbc4
call fcn.1404dc732
jmp 0x1404dbaf4
mov rcx, qword [rcx + r15*8 + 0x28]
lea r9, [rbp - 0x2c]
mov edx, eax
bts rdx, rbx
and dx, 0x31a
xor eax, eax
cwd
xchg dx, dx
setle r8b
mov r8d, r14d
and qword [rsp + 0x20], rax
movzx edx, sp
mov rdx, rdi
jmp 0x1404dbc00
mov qword [rbp - 0x30], rax
jmp 0x1404dbc09
mov dword [rbp - 0x28], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jmp 0x1404dbc19
jne 0x1404dbc2d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
add bx, sp
sbb ah, al
mov ebx, dword [rbp - 0x28]
movsd xmm0, qword [rbp - 0x30]
movsd qword [rbp - 0x20], xmm0
bsr rax, rsi
movzx eax, r14w
sbb al, r11b
mov rax, qword [rbp - 0x20]
test r14b, 0xda
shr rax, 0x20
jmp 0x1404dbc57
test eax, eax
jne 0x1404dbd03
mov eax, dword [rbp - 0x20]
stc
jmp 0x1404dbc6d
test eax, eax
je 0x1404dbcb5
cmp eax, 5
jmp 0x1404dbc7d
jne 0x1404dbca8
call fcn.1404b5eee
mov dword [rax], 9
jmp 0x1404dbc93
call fcn.1404b5f28
mov dword [rax], 5
jmp 0x1404dbca3
jmp 0x1404db853
mov ecx, dword [rbp - 0x20]
call fcn.1404b5f64
jmp 0x1404db853
lea rax, [0x1400ba940]
cmp bpl, r15b
test dil, cl
mov rax, qword [rax + r13*8]
clc
test byte [rax + r15*8 + 0x38], 0x40
jmp 0x1404dbcd2
je 0x1404dbce1
cmp byte [rdi], 0x1a
je 0x1404dbd1a
call fcn.1404b5eee
mov dword [rax], 0x1c
jmp 0x1404dbcf1
call fcn.1404b5f28
and dword [rax], 0
jmp 0x1404dbcfe
jmp 0x1404db853
mov eax, dword [rbp - 0x1c]
cmp r10b, 0x75
test spl, 0x4f
sub eax, ebx
jmp 0x1404dbd15
jmp 0x1404dbd21
xor eax, eax
sub bx, 0x6e23
mov rbx, qword [rsp + 0xb8]
inc bpl
test r14w, 0x59a
xor r12d, r13d
add rsp, 0x60
bswap r14
movzx rbp, r13w
mov edi, r8d
pop r15
pop r14
pop r13
pop r12
movzx esi, bp
pop rdi
movsx bp, cl
movzx esi, bp
pop rsi
seto bpl
movsx ebp, cx
pop rbp
jmp 0x1404dbd64
ret