Function at 0x1404df56a
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
stc
jmp 0x1404df581
push rbp
push rsi
cmc
push rdi
movzx di, spl
push r12
clc
push r13
push r14
xor bpl, 0xd8
push r15
mov rbp, rsp
adc r12b, r8b
sub rsp, 0x60
xadd di, r12w
xor ebx, ebx
mov r14d, r8d
or r12b, r9b
or r12b, 0x98
movsx di, sil
movsxd r12, ecx
inc di
rol dil, 0x9e
shr edi, 0xa7
mov rdi, rdx
clc
stc
cmc
test r8d, r8d
jmp 0x1404df5d2
je 0x1404dface
test rdx, rdx
jmp 0x1404df5e0
jne 0x1404df614
call fcn.1404b960a
mov dword [rax], ebx
jmp 0x1404df5f2
call fcn.1404b95c8
mov dword [rax], 0x16
jmp 0x1404df602
call fcn.1404ba291
or eax, 0xffffffff
jmp 0x1404df60f
jmp 0x1404dfad0
mov rax, r12
sal r15, cl
movsxd rsi, esi
rcr r13, 0xf4
lea rcx, [0x1400ba940]
movzx rsi, r15w
movzx si, r9b
bsf r13w, r12w
and eax, 0x3f
shrd r13w, si, 0x38
xadd esi, esi
adc esi, r13d
mov r13, r12
bts rsi, rbx
bt r15w, 0x6f
sar r13, 6
btc r15w, 0xff
lea r15, [rax + rax*8]
mov rcx, qword [rcx + r13*8]
movsx esi, byte [rcx + r15*8 + 0x39]
cdqe
btr ax, bx
lea eax, [rsi - 1]
cmp al, 1
jmp 0x1404df67a
ja 0x1404df6a0
mov eax, r14d
cmc
cmp ecx, ebx
jmp 0x1404df68b
not eax
jmp 0x1404df693
test al, 1
jmp 0x1404df69a
je 0x1404df5e6
test byte [rcx + r15*8 + 0x38], 0x20
jmp 0x1404df6ab
je 0x1404df6cb
sub edx, edx
bswap cx
mov ecx, r12d
bswap r8w
lea r8d, [rdx + 2]
jmp 0x1404df6c6
call fcn.1401e9de4
mov ecx, r12d
jmp 0x1404df6d3
mov qword [rbp - 0x20], rbx
jmp 0x1404df6dc
call fcn.1404e55e1
test eax, eax
jmp 0x1404df6e8
je 0x1404df8ae
lea rax, [0x1400ba940]
clc
cmp r15w, r10w
mov rax, qword [rax + r13*8]
cmp byte [rax + r15*8 + 0x38], bl
jmp 0x1404df708
jge 0x1404df8ae
call fcn.1404cd9f1
mov rcx, qword [rax + 0x90]
clc
cmp qword [rcx + 0x138], rbx
jmp 0x1404df727
jne 0x1404df74e
lea rax, [0x1400ba940]
stc
cmp r14b, 0xd3
mov rax, qword [rax + r13*8]
cmc
cmp byte [rax + r15*8 + 0x39], bl
jmp 0x1404df748
je 0x1404df8ae
lea rax, [0x1400ba940]
movsx edx, r8w
movzx rdx, cx
mov rcx, qword [rax + r13*8]
lea rdx, [rbp - 0x10]
jmp 0x1404df76a
mov rcx, qword [rcx + r15*8 + 0x28]
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
jmp 0x1404df77c
je 0x1404df8ae
test sil, sil
je 0x1404df881
dec sil
test esi, r13d
jmp 0x1404df796
cmp sil, 1
ja 0x1404dfa05
lea r12, [rdi + r14]
cmp r10b, r9b
mov qword [rbp - 0x30], rbx
movzx r14, sp
mov r14, rdi
clc
test di, 0x37af
test r11w, di
cmp rdi, r12
jmp 0x1404df7c4
jae 0x1404df9e8
mov esi, dword [rbp - 0x2c]
movzx eax, word [r14]
xchg ch, cl
movsxd rcx, ebp
movzx ecx, ax
mov word [rbp - 0x10], ax
jmp 0x1404df7e2
call fcn.1404e9e1a
movzx ecx, word [rbp - 0x10]
clc
test dh, 0x92
jmp 0x1404df7f4
cmp ax, cx
jmp 0x1404df7fc
jne 0x1404df86e
add esi, 2
stc
mov dword [rbp - 0x2c], esi
test sp, 0x20c1
test r11b, dil
cmp cx, 0xa
jne 0x1404df857
mov ecx, 0xd
jmp 0x1404df825
call fcn.1404e9e1a
mov ecx, 0xd
jmp 0x1404df834
cmp ax, cx
jmp 0x1404df83c
jne 0x1404df86e
inc esi
jmp 0x1404df849
mov dword [rbp - 0x2c], esi
inc ebx
stc
clc
test r14, 0x34a7a40
add r14, 2
cmp r14, r12
jmp 0x1404df863
jae 0x1404df9e8
jmp 0x1404df7cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
jmp 0x1404df87c
jmp 0x1404df9e8
mov r9d, r14d
lea rcx, [rbp - 0x30]
movzx r8, dx
mov r8, rdi
xchg dh, dh
cmovne rdx, rdx
mov edx, r12d
call fcn.1404dfb04
movsd xmm0, qword [rax]
mov ebx, dword [rax + 8]
jmp 0x1404df8a9
jmp 0x1404df9f9
lea rax, [0x1400ba940]
setle ch
ror cx, 0x5b
cmp ecx, edi
mov rcx, qword [rax + r13*8]
cmp byte [rcx + r15*8 + 0x38], bl
jmp 0x1404df8cc
jge 0x1404df98b
mov ecx, esi
jmp 0x1404df8d9
test sil, sil
jmp 0x1404df8e1
je 0x1404df955
sub ecx, 1
jmp 0x1404df8ef
je 0x1404df92b
cmp ecx, 1
jmp 0x1404df8fd
jne 0x1404dfa05
mov r9d, r14d
seto ch
movzx rcx, dx
lea rcx, [rbp - 0x30]
mov r8, rdi
cmovne dx, r11w
mov edx, r12d
jmp 0x1404df921
call fcn.1404e07a5
jmp 0x1404df89d
mov r9d, r14d
lea rcx, [rbp - 0x30]
jmp 0x1404df93b
mov r8, rdi
jmp 0x1404df948
mov edx, r12d
call fcn.1404e0a38
jmp 0x1404df89d
mov r9d, r14d
mov cl, r12b
jmp 0x1404df961
lea rcx, [rbp - 0x30]
mov dl, 0x7b
movzx r8, r12w
movzx edx, r13w
mov r8, rdi
not dl
xchg edx, edx
mov dh, 0x1b
mov edx, r12d
jmp 0x1404df981
call fcn.1404e052d
jmp 0x1404df89d
mov rcx, qword [rcx + r15*8 + 0x28]
dec r9b
lea r9, [rbp - 0x2c]
rcr dx, cl
shld dx, ax, 0x56
sub eax, eax
bswap edx
xadd r8d, r8d
rol dh, 0x42
mov r8d, r14d
clc
and qword [rsp + 0x20], rax
mov rdx, rdi
jmp 0x1404df9bb
mov qword [rbp - 0x30], rax
jmp 0x1404df9c4
mov dword [rbp - 0x28], eax
jmp 0x1404df9cc
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1404df9e3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
mov ebx, dword [rbp - 0x28]
cbw
movsd xmm0, qword [rbp - 0x30]
bsr ax, r13w
dec ax
mov ax, 0x366
movsd qword [rbp - 0x20], xmm0
cdqe
test bpl, r9b
not ah
mov rax, qword [rbp - 0x20]
cmp r12b, bl
cmp r9w, 0x11f9
shr rax, 0x20
test eax, eax
jne 0x1404dfab3
mov eax, dword [rbp - 0x20]
cmp r15d, ecx
cmc
test cl, 0x45
test eax, eax
jmp 0x1404dfa2f
je 0x1404dfa6b
cmp eax, 5
jne 0x1404dfa59
call fcn.1404b95c8
mov dword [rax], 9
call fcn.1404b960a
mov dword [rax], 5
jmp 0x1404df607
mov ecx, dword [rbp - 0x20]
jmp 0x1404dfa61
call fcn.1404b964d
jmp 0x1404df607
lea rax, [0x1400ba940]
mov rax, qword [rax + r13*8]
stc
jmp 0x1404dfa7c
test byte [rax + r15*8 + 0x38], 0x40
je 0x1404dfa96
cmp byte [rdi], 0x1a
jmp 0x1404dfa90
je 0x1404dface
call fcn.1404b95c8
mov dword [rax], 0x1c
jmp 0x1404dfaa6
call fcn.1404b960a
and dword [rax], 0
jmp 0x1404df607
mov eax, dword [rbp - 0x1c]
test rsp, r13
test sil, 0x47
cmp di, 0x507d
sub eax, ebx
jmp 0x1404dfac9
jmp 0x1404dfad0
xor eax, eax
mov rbx, qword [rsp + 0xb8]
add rsp, 0x60
mov si, 0x152c
cmovg r13w, r15w
pop r15
setg dil
pop r14
mov r12, 0x45884cb8
pop r13
pop r12
movsx rdi, r12w
cmovge rdi, rax
pop rdi
pop rsi
pop rbp
ret