Function at 0x1404dd318
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
cmc
cmp bl, r12b
stc
push rbp
push rsi
adc bpl, 0x59
bts bp, r10w
push rdi
push r12
push r13
xchg r12d, edi
cmp r10w, r9w
push r14
clc
add r14b, 0xfb
push r15
mov rbp, rsp
movsx di, cl
sub rsp, 0x60
movzx edi, ax
sub ebx, ebx
bts r12, rbx
shl r12w, 0x82
and r12, r13
mov r14d, r8d
xadd edi, edi
and dil, 0xdf
bts r12w, r14w
movsxd r12, ecx
bts rdi, r15
movsx di, bl
add di, 0x7bf2
mov rdi, rdx
test r8d, r8d
jmp 0x1404dd388
je 0x1404dd89d
test rdx, rdx
jne 0x1404dd3c5
call fcn.1404b7657
mov dword [rax], ebx
jmp 0x1404dd3a3
call fcn.1404b7622
mov dword [rax], 0x16
jmp 0x1404dd3b3
call fcn.1404b8312
or eax, 0xffffffff
jmp 0x1404dd3c0
jmp 0x1404dd8a1
mov rax, r12
shrd cx, r14w, 0xd9
ror r13b, 0xb8
mov cl, 0xda
lea rcx, [0x1400ba940]
btc r13w, 0xb8
shld si, r11w, 0xa8
and eax, 0x3f
bts si, bp
sal r15b, cl
mov r13, r12
inc rsi
adc r15b, 0x25
sar r13, 6
shr r15b, cl
inc esi
lea r15, [rax + rax*8]
and rax, rbp
xchg esi, eax
shr sil, cl
mov rcx, qword [rcx + r13*8]
stc
movsx esi, byte [rcx + r15*8 + 0x39]
inc ah
btr eax, ebp
lea eax, [rsi - 1]
test r10b, r8b
cmc
jmp 0x1404dd42b
cmp al, 1
ja 0x1404dd44a
mov eax, r14d
clc
cmp r10, 0x3f5a4893
not eax
clc
stc
test al, 1
je 0x1404dd397
test byte [rcx + r15*8 + 0x38], 0x20
jmp 0x1404dd455
je 0x1404dd478
xor edx, edx
mov ecx, r12d
jmp 0x1404dd46a
lea r8d, [rdx + 2]
jmp 0x1404dd473
call fcn.1401135c4
mov ecx, r12d
jmp 0x1404dd480
mov qword [rbp - 0x20], rbx
jmp 0x1404dd489
call fcn.1404e3381
test eax, eax
je 0x1404dd661
lea rax, [0x1400ba940]
mov rax, qword [rax + r13*8]
cmp byte [rax + r15*8 + 0x38], bl
jmp 0x1404dd4ab
jge 0x1404dd661
call fcn.1404cba1b
mov rcx, qword [rax + 0x90]
stc
cmc
cmp qword [rcx + 0x138], rbx
jmp 0x1404dd4cb
jne 0x1404dd4f5
lea rax, [0x1400ba940]
jmp 0x1404dd4dd
mov rax, qword [rax + r13*8]
cmp rdx, rsp
clc
cmp byte [rax + r15*8 + 0x39], bl
jmp 0x1404dd4ef
je 0x1404dd661
lea rax, [0x1400ba940]
setb cl
mov rcx, qword [rax + r13*8]
movzx dx, r8b
movsx dx, r11b
lea rdx, [rbp - 0x10]
jmp 0x1404dd516
mov rcx, qword [rcx + r15*8 + 0x28]
jmp 0x1404dd520
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
jmp 0x1404dd52d
je 0x1404dd661
test sil, sil
je 0x1404dd630
dec sil
cmp sil, 1
jmp 0x1404dd548
ja 0x1404dd7cb
lea r12, [rdi + r14]
clc
btr r14d, esp
mov qword [rbp - 0x30], rbx
shr r14b, 0xc2
mov r14, rdi
cmp r8d, esi
cmp rdi, r12
jmp 0x1404dd56d
jae 0x1404dd7be
mov esi, dword [rbp - 0x2c]
movsxd rcx, ebp
cdqe
movzx eax, word [r14]
movsx cx, r11b
mov ch, 0x79
cmove cx, r13w
movzx ecx, ax
jmp 0x1404dd594
mov word [rbp - 0x10], ax
jmp 0x1404dd59d
call fcn.1404e7bcb
movzx ecx, word [rbp - 0x10]
cmp ch, 0xb1
jmp 0x1404dd5ae
cmp ax, cx
jne 0x1404dd622
add esi, 2
mov dword [rbp - 0x2c], esi
test rbx, r14
cmp cx, 0xa
jmp 0x1404dd5c9
jne 0x1404dd605
mov ecx, 0xd
jmp 0x1404dd5d9
call fcn.1404e7bcb
mov ecx, 0xd
test esp, r11d
cmp ax, cx
jmp 0x1404dd5ee
jne 0x1404dd622
inc esi
jmp 0x1404dd5fb
mov dword [rbp - 0x2c], esi
jmp 0x1404dd603
inc ebx
add r14, 2
cmp r13w, 0x33bb
cmp r14, r12
jmp 0x1404dd617
jae 0x1404dd7be
jmp 0x1404dd57b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
jmp 0x1404dd7be
mov r9d, r14d
not r8b
movzx r8, r15w
lea rcx, [rbp - 0x30]
jmp 0x1404dd647
mov r8, rdi
mov edx, r12d
call fcn.1404dd8e9
movsd xmm0, qword [rax]
movsxd rbx, r10d
mov ebx, dword [rax + 8]
jmp 0x1404dd7c6
lea rax, [0x1400ba940]
bt rcx, 0xb8
bsr cx, di
mov rcx, qword [rax + r13*8]
stc
cmp byte [rcx + r15*8 + 0x38], bl
jmp 0x1404dd680
jge 0x1404dd747
mov ecx, esi
cmp bpl, bl
cmc
test sil, sil
je 0x1404dd715
sub ecx, 1
jmp 0x1404dd69d
je 0x1404dd6d8
cmp ecx, 1
jmp 0x1404dd6ab
jne 0x1404dd7cb
mov r9d, r14d
lea rcx, [rbp - 0x30]
movsx rdx, bp
mov r8, rdi
jmp 0x1404dd6c6
mov edx, r12d
jmp 0x1404dd6ce
call fcn.1404de58f
jmp 0x1404dd652
mov r9d, r14d
movzx edx, dx
cdq
setno r8b
lea rcx, [rbp - 0x30]
jmp 0x1404dd6f4
mov r8, rdi
movzx edx, r13w
not dx
movzx dx, r9b
mov edx, r12d
jmp 0x1404dd70b
call fcn.1404de80a
jmp 0x1404dd652
mov r9d, r14d
lea rcx, [rbp - 0x30]
mov rdx, rbp
movsx r8, r8w
movzx r8, di
mov r8, rdi
cmovne rdx, rsp
movsx dx, r10b
cwd
mov edx, r12d
jmp 0x1404dd73d
call fcn.1404de326
jmp 0x1404dd652
mov rcx, qword [rcx + r15*8 + 0x28]
cmc
shr edx, cl
lea r9, [rbp - 0x2c]
bts rdx, r10
movsxd rdx, ebx
sub eax, eax
bt dx, 0xe4
cmovp dx, cx
mov r8d, r14d
rol dl, 0x90
shr rdx, cl
and qword [rsp + 0x20], rax
jmp 0x1404dd77b
mov rdx, rdi
jmp 0x1404dd783
mov qword [rbp - 0x30], rax
jmp 0x1404dd78c
mov dword [rbp - 0x28], eax
jmp 0x1404dd794
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jmp 0x1404dd7a1
jne 0x1404dd7bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
and al, r11b
sal ax, 0x57
movsx eax, r8w
mov ebx, dword [rbp - 0x28]
movsd xmm0, qword [rbp - 0x30]
neg al
cwde
movsd qword [rbp - 0x20], xmm0
mov rax, qword [rbp - 0x20]
test rdi, 0x5f1979a8
shr rax, 0x20
test rbp, rdi
cmp r12b, r13b
clc
test eax, eax
jmp 0x1404dd7e8
jne 0x1404dd893
mov eax, dword [rbp - 0x20]
test eax, eax
jmp 0x1404dd7f8
je 0x1404dd843
cmp eax, 5
jmp 0x1404dd806
jne 0x1404dd831
call fcn.1404b7622
mov dword [rax], 9
jmp 0x1404dd81c
call fcn.1404b7657
mov dword [rax], 5
jmp 0x1404dd82c
jmp 0x1404dd3b8
mov ecx, dword [rbp - 0x20]
jmp 0x1404dd839
call fcn.1404b7695
jmp 0x1404dd3b8
lea rax, [0x1400ba940]
mov rax, qword [rax + r13*8]
jmp 0x1404dd857
test byte [rax + r15*8 + 0x38], 0x40
jmp 0x1404dd862
je 0x1404dd876
cmp byte [rdi], 0x1a
jmp 0x1404dd870
je 0x1404dd89d
call fcn.1404b7622
mov dword [rax], 0x1c
jmp 0x1404dd886
call fcn.1404b7657
and dword [rax], 0
jmp 0x1404dd3b8
mov eax, dword [rbp - 0x1c]
sub eax, ebx
jmp 0x1404dd8a1
xor eax, eax
rol edi, cl
mov rbx, qword [rsp + 0xb8]
rol rdi, cl
ror r13, 0x3a
add rsp, 0x60
movsx r13d, r14w
bswap r13w
pop r15
movzx ebp, si
pop r14
movsxd r13, r10d
xchg r12b, sil
pop r13
bswap ebp
movzx r12, r8w
pop r12
pop rdi
movsx bp, r13b
movzx bp, bl
movzx rbp, r11w
pop rsi
pop rbp
jmp 0x1404dd8e8
ret