Function at 0x1404dac3c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
cmp bpl, 0xad
test spl, r12b
push rbp
mov bp, r11w
xor bpl, r14b
cmc
push rsi
add bpl, 0xb5
movsxd rbp, esp
ror bpl, 0xf6
push rdi
or bpl, 0xfd
push r12
push r13
inc r12
btc r12d, eax
push r14
add bp, dx
bt ebp, 0x32
push r15
and r12b, r8b
mov rbp, rsp
or r12w, 0x7526
adc dil, 0x4e
sub rsp, 0x60
not r12w
xadd r14b, r12b
mov dil, dil
xor ebx, ebx
and r14b, 0x39
mov r14d, r8d
btc di, sp
shr r12b, cl
seta r12b
movsxd r12, ecx
btr rdi, r9
mov rdi, rdx
test dl, 0x83
cmp r11b, r11b
test r8d, r8d
jmp 0x1404dacc3
je 0x1404db16c
test rdx, rdx
jmp 0x1404dacd1
jne 0x1404dad05
call fcn.1404b5073
mov dword [rax], ebx
jmp 0x1404dace3
call fcn.1404b5034
mov dword [rax], 0x16
jmp 0x1404dacf3
call fcn.1404b5d4e
or eax, 0xffffffff
jmp 0x1404dad00
jmp 0x1404db171
mov rax, r12
lea rcx, [0x1400ba940]
xor sil, bpl
test sp, 0x2cdf
rcl sil, cl
and eax, 0x3f
shl r13b, 0x48
mov si, 0x570
mov r13, r12
sar r13, 6
bt r15w, r11w
lea r15, [rax + rax*8]
mov rcx, qword [rcx + r13*8]
rcl ah, cl
xor ax, 0x7215
cdqe
movsx esi, byte [rcx + r15*8 + 0x39]
sub ah, 0xc1
lea eax, [rsi - 1]
jmp 0x1404dad52
cmp al, 1
ja 0x1404dad6c
mov eax, r14d
not eax
test al, 1
jmp 0x1404dad66
je 0x1404dacd7
test byte [rcx + r15*8 + 0x38], 0x20
jmp 0x1404dad77
je 0x1404dad9b
xor edx, edx
not r8
mov ecx, r12d
jmp 0x1404dad92
lea r8d, [rdx + 2]
call fcn.140117b68
mov ecx, r12d
jmp 0x1404dada3
mov qword [rbp - 0x20], rbx
jmp 0x1404dadac
call fcn.1404e0cef
test eax, eax
jmp 0x1404dadb8
je 0x1404daf7e
lea rax, [0x1400ba940]
cmp spl, r9b
cmc
cmp r14, 0x792932c0
mov rax, qword [rax + r13*8]
stc
cmp r11b, spl
cmp byte [rax + r15*8 + 0x38], bl
jmp 0x1404dade2
jge 0x1404daf7e
call fcn.1404c931e
mov rcx, qword [rax + 0x90]
clc
cmp qword [rcx + 0x138], rbx
jne 0x1404dae24
lea rax, [0x1400ba940]
cmp r10b, 0xc5
test sil, r13b
mov rax, qword [rax + r13*8]
cmp byte [rax + r15*8 + 0x39], bl
jmp 0x1404dae1e
je 0x1404daf7e
lea rax, [0x1400ba940]
mov rcx, qword [rax + r13*8]
lea rdx, [rbp - 0x10]
jmp 0x1404dae38
mov rcx, qword [rcx + r15*8 + 0x28]
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
jmp 0x1404dae4a
je 0x1404daf7e
test sil, sil
je 0x1404daf46
dec sil
cmp r12b, r12b
jmp 0x1404dae64
cmp sil, 1
jmp 0x1404dae6d
ja 0x1404db0a6
lea r12, [rdi + r14]
mov qword [rbp - 0x30], rbx
adc r14d, eax
rol r14w, cl
mov r14, rdi
test r9, rsi
cmp rdi, r12
jmp 0x1404dae90
jae 0x1404db09c
mov esi, dword [rbp - 0x2c]
movzx cx, sil
cmovl ax, r8w
setg al
movzx eax, word [r14]
cmovne cx, r13w
xchg cl, ch
movzx ecx, ax
mov word [rbp - 0x10], ax
jmp 0x1404daebd
call fcn.1404e5435
movzx ecx, word [rbp - 0x10]
cmp ax, cx
jne 0x1404daf38
add esi, 2
test bpl, 0xe6
mov dword [rbp - 0x2c], esi
jmp 0x1404daee1
cmp cx, 0xa
jne 0x1404daf1e
mov ecx, 0xd
jmp 0x1404daef5
call fcn.1404e5435
mov ecx, 0xd
clc
test r10b, 0x6a
cmp ax, cx
jmp 0x1404daf0c
jne 0x1404daf38
inc esi
mov dword [rbp - 0x2c], esi
jmp 0x1404daf1c
inc ebx
add r14, 2
test sp, di
cmp r14, r12
jmp 0x1404daf2d
jae 0x1404db09c
jmp 0x1404daea6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
jmp 0x1404db09c
mov r9d, r14d
not rdx
lea rcx, [rbp - 0x30]
movzx edx, cx
mov r8, rdi
movsx dx, r13b
mov edx, r12d
jmp 0x1404daf63
call fcn.1404db1a8
movsd xmm0, qword [rax]
jmp 0x1404daf71
mov ebx, dword [rax + 8]
jmp 0x1404daf79
jmp 0x1404db0a1
lea rax, [0x1400ba940]
movsx ecx, r10w
mov rcx, qword [rax + r13*8]
stc
test r10w, r14w
cmp byte [rcx + r15*8 + 0x38], bl
jge 0x1404db025
mov ecx, esi
stc
test sil, sil
je 0x1404db004
sub ecx, 1
je 0x1404dafea
cmp ecx, 1
jmp 0x1404dafba
jne 0x1404db0a6
mov r9d, r14d
mov r8d, 0x36be50d3
movzx ecx, r10w
movsx rcx, di
lea rcx, [rbp - 0x30]
mov r8, rdi
mov edx, r12d
jmp 0x1404dafe0
call fcn.1404dbdc5
jmp 0x1404daf68
mov r9d, r14d
movsx ecx, di
lea rcx, [rbp - 0x30]
mov r8, rdi
mov edx, r12d
call fcn.1404dbff3
jmp 0x1404daf68
mov r9d, r14d
cmovle r8w, r15w
lea rcx, [rbp - 0x30]
mov r8, rdi
mov edx, r12d
jmp 0x1404db01b
call fcn.1404dbb97
jmp 0x1404daf68
mov rcx, qword [rcx + r15*8 + 0x28]
mov dl, 0x71
btc rdx, rdx
lea r9, [rbp - 0x2c]
bt dx, bp
adc dl, 0x52
neg rdx
xor eax, eax
cmp r12d, 0xd8876ca
rol dl, cl
bsf dx, r14w
mov r8d, r14d
clc
and qword [rsp + 0x20], rax
jmp 0x1404db064
mov rdx, rdi
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], eax
jmp 0x1404db073
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1404db08d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
or bh, 0x45
mov ebx, dword [rbp - 0x28]
rcr ax, cl
shrd eax, r14d, 0x73
cmove ax, ax
movsd xmm0, qword [rbp - 0x30]
movsd qword [rbp - 0x20], xmm0
mov rax, qword [rbp - 0x20]
clc
stc
shr rax, 0x20
test eax, eax
jmp 0x1404db0b7
jne 0x1404db159
mov eax, dword [rbp - 0x20]
stc
clc
test cx, r8w
test eax, eax
jmp 0x1404db0cd
je 0x1404db10e
cmp eax, 5
jne 0x1404db0fc
call fcn.1404b5034
mov dword [rax], 9
call fcn.1404b5073
mov dword [rax], 5
jmp 0x1404db0f7
jmp 0x1404dacf8
mov ecx, dword [rbp - 0x20]
jmp 0x1404db104
call fcn.1404b50b2
jmp 0x1404dacf8
lea rax, [0x1400ba940]
cmp r8b, r11b
mov rax, qword [rax + r13*8]
clc
test byte [rax + r15*8 + 0x38], 0x40
jmp 0x1404db128
je 0x1404db13c
cmp byte [rdi], 0x1a
jmp 0x1404db136
je 0x1404db16c
call fcn.1404b5034
mov dword [rax], 0x1c
jmp 0x1404db14c
call fcn.1404b5073
and dword [rax], 0
jmp 0x1404dacf8
mov eax, dword [rbp - 0x1c]
cmp r14b, bl
clc
sub eax, ebx
jmp 0x1404db167
jmp 0x1404db171
xor eax, eax
shl r14b, cl
mov rbx, qword [rsp + 0xb8]
movzx r15, ax
add rsp, 0x60
movsxd r12, r9d
movsx r13, ax
not edi
pop r15
pop r14
pop r13
pop r12
movsxd rdi, ecx
pop rdi
mov esi, 0x7cd95c41
jmp 0x1404db1a0
pop rsi
pop rbp
jmp 0x1404db1a7
ret