Function at 0x1404dbbd5
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
cmc
test r12d, r14d
push rbp
btc bp, 0xc6
push rsi
bsr rbp, r10
sub bpl, r13b
mov bpl, 0x79
push rdi
sal dil, 0x54
push r12
push r13
push r14
ror bpl, 0x1e
adc r12w, ax
push r15
movzx edi, r11w
mov rbp, rsp
shld di, di, 0xa3
btr di, 3
sub rsp, 0x60
ror r14, 0xe1
xor ebx, ebx
movsx r14d, r15w
inc edi
bsf di, r11w
mov r14d, r8d
adc r12, 0x75276bf4
or r12, r10
movzx r12d, r10w
movsxd r12, ecx
mov rdi, rdx
cmc
test r8d, r8d
je 0x1404dc10f
test rdx, rdx
jmp 0x1404dbc53
jne 0x1404dbc7d
call fcn.1404b618d
mov dword [rax], ebx
jmp 0x1404dbc65
call fcn.1404b615c
mov dword [rax], 0x16
call fcn.1404b6dc7
or eax, 0xffffffff
jmp 0x1404dc11f
mov rax, r12
test r8b, 0x39
ror cl, cl
lea rcx, [0x1400ba940]
bsf r13d, r10d
sar r13b, 0x66
sub r13b, 0xb1
and eax, 0x3f
shr r15d, cl
sub si, si
mov r13, r12
inc si
sar r13, 6
bsf esi, edx
rcl r15b, 0x19
and sil, r15b
lea r15, [rax + rax*8]
rcr al, cl
cmp bpl, 0x55
bt si, 0xb9
mov rcx, qword [rcx + r13*8]
mov sil, al
movsx esi, byte [rcx + r15*8 + 0x39]
rcl eax, cl
shr ah, cl
lea eax, [rsi - 1]
cmp al, 1
jmp 0x1404dbce0
ja 0x1404dbcff
mov eax, r14d
not eax
test eax, r9d
clc
cmp r10b, sil
test al, 1
jmp 0x1404dbcf9
je 0x1404dbc59
test byte [rcx + r15*8 + 0x38], 0x20
jmp 0x1404dbd0a
je 0x1404dbd26
sub edx, edx
mov ecx, r12d
movzx r8d, r14w
movsx r8, r10w
lea r8d, [rdx + 2]
call fcn.1401a18e1
mov ecx, r12d
mov qword [rbp - 0x20], rbx
call fcn.1404e1bd6
test eax, eax
jmp 0x1404dbd39
je 0x1404dbef6
lea rax, [0x1400ba940]
clc
mov rax, qword [rax + r13*8]
stc
test r10, r13
cmc
cmp byte [rax + r15*8 + 0x38], bl
jge 0x1404dbef6
call fcn.1404ca1d7
mov rcx, qword [rax + 0x90]
cmp qword [rcx + 0x138], rbx
jne 0x1404dbd8b
lea rax, [0x1400ba940]
mov rax, qword [rax + r13*8]
stc
cmp byte [rax + r15*8 + 0x39], bl
je 0x1404dbef6
lea rax, [0x1400ba940]
movsxd rdx, ebx
mov rcx, qword [rax + r13*8]
cqo
lea rdx, [rbp - 0x10]
jmp 0x1404dbda4
mov rcx, qword [rcx + r15*8 + 0x28]
jmp 0x1404dbdae
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
jmp 0x1404dbdbb
je 0x1404dbef6
test sil, sil
jmp 0x1404dbdc9
je 0x1404dbebb
dec sil
clc
stc
cmp sil, 1
jmp 0x1404dbddd
ja 0x1404dc045
lea r12, [rdi + r14]
mov qword [rbp - 0x30], rbx
mov r14, rdi
cmc
cmp rdi, r12
jmp 0x1404dbdf7
jae 0x1404dc036
mov esi, dword [rbp - 0x2c]
not cx
setae ch
movzx ax, r8b
movzx eax, word [r14]
movsx cx, r13b
bswap cx
movsxd rcx, r12d
movzx ecx, ax
mov word [rbp - 0x10], ax
jmp 0x1404dbe26
call fcn.1404e64e9
movzx ecx, word [rbp - 0x10]
cmp ax, cx
jmp 0x1404dbe37
jne 0x1404dbea8
add esi, 2
cmc
cmp r9d, r11d
mov dword [rbp - 0x2c], esi
test r8, r13
cmc
cmp ax, cx
cmp cx, 0xa
jne 0x1404dbe92
mov ecx, 0xd
jmp 0x1404dbe62
call fcn.1404e64e9
mov ecx, 0xd
cmp r9b, 0x5a
cmp r10b, spl
cmp ax, cx
jne 0x1404dbea8
inc esi
jmp 0x1404dbe83
mov dword [rbp - 0x2c], esi
jmp 0x1404dbe8b
inc ebx
jmp 0x1404dbe92
add r14, 2
test r14b, 0x36
cmp r14, r12
jae 0x1404dc036
jmp 0x1404dbe0b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
jmp 0x1404dbeb6
jmp 0x1404dc036
mov r9d, r14d
mov r8w, r9w
lea rcx, [rbp - 0x30]
mov r8, rdi
movzx rdx, r11w
movsx rdx, dx
jmp 0x1404dbed6
mov edx, r12d
call fcn.1404dc17c
movsd xmm0, qword [rax]
movsx ebx, dx
movzx rbx, r15w
mov ebx, dword [rax + 8]
jmp 0x1404dbef1
jmp 0x1404dc040
lea rax, [0x1400ba940]
mov cl, 0xbc
mov rcx, qword [rax + r13*8]
jmp 0x1404dbf08
cmp byte [rcx + r15*8 + 0x38], bl
jmp 0x1404dbf12
jge 0x1404dbfc9
mov ecx, esi
jmp 0x1404dbf23
test sil, sil
jmp 0x1404dbf2b
je 0x1404dbf98
sub ecx, 1
jmp 0x1404dbf39
je 0x1404dbf69
cmp ecx, 1
jne 0x1404dc045
mov r9d, r14d
bswap cx
lea rcx, [rbp - 0x30]
mov r8, rdi
cqo
mov edx, r12d
jmp 0x1404dbf5f
call fcn.1404dcd95
jmp 0x1404dbede
mov r9d, r14d
movsxd rdx, esp
xchg r8w, cx
cwd
lea rcx, [rbp - 0x30]
cqo
movsx r8d, r9w
mov r8, rdi
mov dx, 0x41a3
mov edx, r12d
jmp 0x1404dbf8e
call fcn.1404dd020
jmp 0x1404dbede
mov r9d, r14d
movzx cx, r9b
jmp 0x1404dbfa5
lea rcx, [rbp - 0x30]
movsx dx, r9b
mov r8, rdi
mov rdx, r13
seto dl
mov edx, r12d
jmp 0x1404dbfbf
call fcn.1404dcb4c
jmp 0x1404dbede
mov rcx, qword [rcx + r15*8 + 0x28]
lea r9, [rbp - 0x2c]
ror r8b, cl
and edx, r12d
stc
sub eax, eax
mov r8d, r14d
movsx dx, bh
movzx edx, r10w
and qword [rsp + 0x20], rax
movzx rdx, r8w
bswap dx
mov rdx, rdi
mov qword [rbp - 0x30], rax
jmp 0x1404dbffe
mov dword [rbp - 0x28], eax
jmp 0x1404dc006
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jmp 0x1404dc013
jne 0x1404dc02b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
add ebx, r10d
xchg bl, bl
movzx eax, r13w
mov ebx, dword [rbp - 0x28]
cmovnp rax, rsp
ror ax, 0xa
movsd xmm0, qword [rbp - 0x30]
movsx ax, spl
movsd qword [rbp - 0x20], xmm0
mov rax, qword [rbp - 0x20]
shr rax, 0x20
jmp 0x1404dc052
test eax, eax
jmp 0x1404dc059
jne 0x1404dc105
mov eax, dword [rbp - 0x20]
cmp r10b, 0xc3
test r10, rdi
test eax, eax
jmp 0x1404dc070
je 0x1404dc0b1
cmp eax, 5
jmp 0x1404dc07e
jne 0x1404dc0a4
call fcn.1404b615c
mov dword [rax], 9
jmp 0x1404dc094
call fcn.1404b618d
mov dword [rax], 5
jmp 0x1404dbc75
mov ecx, dword [rbp - 0x20]
call fcn.1404b61d2
jmp 0x1404dbc75
lea rax, [0x1400ba940]
cmp r11b, r15b
cmc
mov rax, qword [rax + r13*8]
cmp dil, 0x2f
test byte [rax + r15*8 + 0x38], 0x40
jmp 0x1404dc0cf
je 0x1404dc0e3
cmp byte [rdi], 0x1a
jmp 0x1404dc0dd
je 0x1404dc10f
call fcn.1404b615c
mov dword [rax], 0x1c
jmp 0x1404dc0f3
call fcn.1404b618d
and dword [rax], 0
jmp 0x1404dc100
jmp 0x1404dbc75
mov eax, dword [rbp - 0x1c]
sub eax, ebx
jmp 0x1404dc11f
xor eax, eax
test r9, 0x5f8b382d
stc
shld si, r8w, 0x63
mov rbx, qword [rsp + 0xb8]
bts di, ax
or r12b, dil
add rsp, 0x60
sete r13b
pop r15
movzx r14w, r11b
movsx r13w, spl
pop r14
mov r13b, 0xec
cmovns r12d, r14d
pop r13
movsx bp, r10b
jmp 0x1404dc15b
pop r12
pop rdi
jmp 0x1404dc16a
pop rsi
movzx bp, r9b
not ebp
movsxd rbp, esi
pop rbp
jmp 0x1404dc17b
ret