Function at 0x1404de6f8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
clc
test r8, 0x6515058
push rbp
or rbp, 0x75806318
push rsi
sub bp, sp
rcl bpl, cl
or bp, 0x3768
push rdi
bsf bp, r9w
ror ebp, cl
push r12
ror bp, cl
xor bpl, 0xb2
push r13
push r14
rol rbp, 0x7e
push r15
mov rbp, rsp
sub rsp, 0x60
jmp 0x1404de745
xor ebx, ebx
rcr r14b, cl
movsxd r14, esp
mov r14d, r8d
xor r12w, 0x6b3a
movsxd r12, ecx
shrd di, r12w, 0x4f
mov rdi, rdx
cmp bpl, dil
cmc
test r8d, r8d
jmp 0x1404de76e
je 0x1404dec31
test rdx, rdx
jmp 0x1404de77c
jne 0x1404de7b0
call fcn.1404b8b90
mov dword [rax], ebx
jmp 0x1404de78e
call fcn.1404b8b59
mov dword [rax], 0x16
jmp 0x1404de79e
call fcn.1404b9845
or eax, 0xffffffff
jmp 0x1404de7ab
jmp 0x1404dec38
mov rax, r12
dec r13w
sar cl, 0xf5
lea rcx, [0x1400ba940]
add r13w, dx
and eax, 0x3f
test r9b, 0x75
mov r13, r12
sar r13, 6
sub r15b, 0x61
xor r15, r9
lea r15, [rax + rax*8]
mov rcx, qword [rcx + r13*8]
movsx esi, byte [rcx + r15*8 + 0x39]
lahf
adc rax, rdx
lea eax, [rsi - 1]
cmp al, 1
ja 0x1404de80f
mov eax, r14d
cmc
stc
test ah, 0xe1
not eax
cmc
test al, 1
jmp 0x1404de809
je 0x1404de782
test byte [rcx + r15*8 + 0x38], 0x20
jmp 0x1404de81a
je 0x1404de836
sub edx, edx
mov r8b, 0x14
mov ecx, r12d
lea r8d, [rdx + 2]
jmp 0x1404de831
call fcn.140258a7d
mov ecx, r12d
jmp 0x1404de83e
mov qword [rbp - 0x20], rbx
jmp 0x1404de847
call fcn.1404e4708
test eax, eax
je 0x1404dea12
lea rax, [0x1400ba940]
mov rax, qword [rax + r13*8]
jmp 0x1404de864
cmp byte [rax + r15*8 + 0x38], bl
jge 0x1404dea12
call fcn.1404ccd41
mov rcx, qword [rax + 0x90]
cmp qword [rcx + 0x138], rbx
jmp 0x1404de887
jne 0x1404de8ae
lea rax, [0x1400ba940]
cmp r11b, bl
mov rax, qword [rax + r13*8]
cmp bpl, cl
cmp byte [rax + r15*8 + 0x39], bl
jmp 0x1404de8a8
je 0x1404dea12
lea rax, [0x1400ba940]
movzx ecx, cx
movzx rdx, r11w
bswap dx
mov rcx, qword [rax + r13*8]
mov dl, 0x2c
xchg rdx, rdx
lea rdx, [rbp - 0x10]
jmp 0x1404de8d1
mov rcx, qword [rcx + r15*8 + 0x28]
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
jmp 0x1404de8e3
je 0x1404dea12
test sil, sil
jmp 0x1404de8f1
je 0x1404de9dc
dec sil
cmp sil, 1
ja 0x1404deb60
lea r12, [rdi + r14]
mov qword [rbp - 0x30], rbx
cmp dx, si
sal r14w, cl
movzx r14w, r12b
mov r14, rdi
cmp rdi, r12
jmp 0x1404de923
jae 0x1404deb42
mov esi, dword [rbp - 0x2c]
bswap ax
movzx eax, word [r14]
movzx rcx, r10w
movzx ecx, ax
jmp 0x1404de93f
mov word [rbp - 0x10], ax
jmp 0x1404de948
call fcn.1404e908d
movzx ecx, word [rbp - 0x10]
cmc
test r8b, al
cmp ax, cx
jmp 0x1404de95d
jne 0x1404de9c9
add esi, 2
clc
test r13b, 0xda
mov dword [rbp - 0x2c], esi
cmp cx, 0xa
jmp 0x1404de977
jne 0x1404de9af
mov ecx, 0xd
jmp 0x1404de987
call fcn.1404e908d
mov ecx, 0xd
cmc
cmp rdx, 0x1afb1064
cmp ax, cx
jmp 0x1404de9a1
jne 0x1404de9c9
inc esi
mov dword [rbp - 0x2c], esi
inc ebx
cmc
add r14, 2
jmp 0x1404de9bb
cmp r14, r12
jae 0x1404deb42
jmp 0x1404de92f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
jmp 0x1404de9d7
jmp 0x1404deb42
mov r9d, r14d
not r8b
cmovs dx, dx
lea rcx, [rbp - 0x30]
movsx dx, dh
mov r8, rdi
movsx dx, r14b
setnp dh
mov edx, r12d
call fcn.1404deca8
movsd xmm0, qword [rax]
mov ebx, dword [rax + 8]
jmp 0x1404dea0d
jmp 0x1404deb51
lea rax, [0x1400ba940]
mov rcx, qword [rax + r13*8]
cmp byte [rcx + r15*8 + 0x38], bl
jmp 0x1404dea27
jge 0x1404deada
mov ecx, esi
test sil, sil
jmp 0x1404dea37
je 0x1404deab1
sub ecx, 1
jmp 0x1404dea45
je 0x1404dea86
cmp ecx, 1
jmp 0x1404dea53
jne 0x1404deb60
mov r9d, r14d
movsxd rcx, esi
lea rcx, [rbp - 0x30]
cqo
cmovl dx, r8w
mov r8, rdi
setge dl
movzx edx, r13w
mov edx, r12d
jmp 0x1404dea7c
call fcn.1404df8d3
jmp 0x1404dea01
mov r9d, r14d
bswap dx
cwd
movsx ecx, di
lea rcx, [rbp - 0x30]
cqo
mov r8, rdi
cqo
bswap rdx
mov edx, r12d
jmp 0x1404deaa7
call fcn.1404dfb24
jmp 0x1404dea01
mov r9d, r14d
movsx edx, sp
movsx rdx, bx
lea rcx, [rbp - 0x30]
movsx rdx, dx
cqo
mov r8, rdi
mov edx, r12d
jmp 0x1404dead0
call fcn.1404df6ab
jmp 0x1404dea01
mov rcx, qword [rcx + r15*8 + 0x28]
movsx r8d, r8w
movzx r8, ax
cwd
lea r9, [rbp - 0x2c]
dec r8w
xor eax, eax
and edx, 0xfd51102
neg r8w
mov r8d, r14d
bsf dx, si
and qword [rsp + 0x20], rax
mov rdx, rdi
mov qword [rbp - 0x30], rax
jmp 0x1404deb15
mov dword [rbp - 0x28], eax
jmp 0x1404deb1d
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jmp 0x1404deb2a
jne 0x1404deb3f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
xchg bh, bl
btc eax, r12d
mov ebx, dword [rbp - 0x28]
movsd xmm0, qword [rbp - 0x30]
neg al
jmp 0x1404deb51
movsd qword [rbp - 0x20], xmm0
movzx eax, bx
adc rax, 0xa4a58b4
mov rax, qword [rbp - 0x20]
test r14b, 0x47
jmp 0x1404deb71
shr rax, 0x20
test eax, eax
jmp 0x1404deb7c
jne 0x1404dec21
mov eax, dword [rbp - 0x20]
test eax, eax
jmp 0x1404deb8c
je 0x1404debcd
cmp eax, 5
jmp 0x1404deb9a
jne 0x1404debbb
call fcn.1404b8b59
mov dword [rax], 9
call fcn.1404b8b90
mov dword [rax], 5
jmp 0x1404de7a3
mov ecx, dword [rbp - 0x20]
jmp 0x1404debc3
call fcn.1404b8bcb
jmp 0x1404de7a3
lea rax, [0x1400ba940]
test r15w, 0x4f4f
test r12b, bl
mov rax, qword [rax + r13*8]
stc
cmp bh, 0x9f
test byte [rax + r15*8 + 0x38], 0x40
jmp 0x1404debf0
je 0x1404dec04
cmp byte [rdi], 0x1a
jmp 0x1404debfe
je 0x1404dec31
call fcn.1404b8b59
mov dword [rax], 0x1c
jmp 0x1404dec14
call fcn.1404b8b90
and dword [rax], 0
jmp 0x1404de7a3
mov eax, dword [rbp - 0x1c]
cmc
sub eax, ebx
jmp 0x1404dec2c
jmp 0x1404dec38
xor eax, eax
bt bx, 0xe9
mov rbx, qword [rsp + 0xb8]
sar rdi, cl
test r15d, r15d
btc r12, 0x7e
add rsp, 0x60
jmp 0x1404dec5b
pop r15
movsx rbp, r13w
movsx ebp, dx
movzx r14w, r8b
pop r14
cmovle r13w, sp
movzx esi, r15w
pop r13
movzx di, r9b
bswap ebp
movsx rdi, r15w
pop r12
movzx di, spl
setge sil
pop rdi
movzx bp, r8b
cmovae rsi, rsp
pop rsi
not bpl
movsx bp, al
movsxd rbp, ecx
pop rbp
jmp 0x1404deca7
ret