Function at 0x1404d926b
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
test r8b, 0xad
test bpl, sil
push rbp
push rsi
bt bp, 0x29
push rdi
push r12
push r13
cmp r12w, cx
movsxd rbp, r11d
bts r12w, r13w
push r14
cmp r10d, edx
push r15
sal r14b, 0x93
sar dil, 0xc6
xor di, di
mov rbp, rsp
sub rsp, 0x60
rcl r14b, 8
clc
rcl r14w, cl
xor ebx, ebx
rol r12b, cl
sar dil, 0x97
mov r14d, r8d
movsxd r12, ecx
ror dil, 0xe6
neg di
mov rdi, rdx
test r8d, r8d
je 0x1404d97d6
test rdx, rdx
jmp 0x1404d92db
jne 0x1404d930a
call fcn.1404b36c9
mov dword [rax], ebx
jmp 0x1404d92ed
call fcn.1404b368d
mov dword [rax], 0x16
call fcn.1404b4310
or eax, 0xffffffff
jmp 0x1404d9305
jmp 0x1404d97dc
mov rax, r12
add sil, 0x7f
shl sil, 0x17
test r12b, 0x49
lea rcx, [0x1400ba940]
not r13w
add r13w, r11w
and eax, 0x3f
mov r13, r12
btr si, dx
sar r13, 6
lea r15, [rax + rax*8]
clc
mov rcx, qword [rcx + r13*8]
sal ax, 0x63
movsx esi, byte [rcx + r15*8 + 0x39]
shl ah, 0xb7
sub eax, r15d
sar ax, 0x3b
lea eax, [rsi - 1]
cmp al, 1
jmp 0x1404d935d
ja 0x1404d937c
mov eax, r14d
not eax
cmp r9w, 0x1571
stc
test al, 1
jmp 0x1404d9376
je 0x1404d92e1
test byte [rcx + r15*8 + 0x38], 0x20
jmp 0x1404d9387
je 0x1404d93ab
sub edx, edx
mov ecx, 0x28ef38ad
mov cl, dil
mov ecx, r12d
bswap r8
lea r8d, [rdx + 2]
jmp 0x1404d93a6
call fcn.1400f3350
mov ecx, r12d
jmp 0x1404d93b3
mov qword [rbp - 0x20], rbx
call fcn.1404df29f
test eax, eax
jmp 0x1404d93c3
je 0x1404d95bf
lea rax, [0x1400ba940]
stc
test bpl, 0xc6
mov rax, qword [rax + r13*8]
cmp bpl, 0x3f
cmc
cmp byte [rax + r15*8 + 0x38], bl
jge 0x1404d95bf
call fcn.1404c79ec
mov rcx, qword [rax + 0x90]
cmp qword [rcx + 0x138], rbx
jmp 0x1404d9401
jne 0x1404d942a
lea rax, [0x1400ba940]
mov rax, qword [rax + r13*8]
test r9d, 0x30cf0783
clc
cmp byte [rax + r15*8 + 0x39], bl
jmp 0x1404d9424
je 0x1404d95bf
lea rax, [0x1400ba940]
mov rcx, qword [rax + r13*8]
movzx edx, cx
lea rdx, [rbp - 0x10]
jmp 0x1404d9441
mov rcx, qword [rcx + r15*8 + 0x28]
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
jmp 0x1404d9453
je 0x1404d95bf
test sil, sil
jmp 0x1404d9461
je 0x1404d9582
dec sil
stc
cmp sil, 1
jmp 0x1404d9474
ja 0x1404d9703
lea r12, [rdi + r14]
bts r14, rcx
btr r14w, r14w
movsx r14, r8w
mov qword [rbp - 0x30], rbx
btr r14, r9
btr r14w, 0xb7
mov r14, rdi
cmp dl, r9b
test r11w, r14w
cmp r13b, 0x63
cmp rdi, r12
jmp 0x1404d94af
jae 0x1404d96f3
mov esi, dword [rbp - 0x2c]
cdqe
movzx cx, al
movsx rcx, si
movzx eax, word [r14]
cmovl cx, r13w
jmp 0x1404d94d3
movzx ecx, ax
jmp 0x1404d94db
mov word [rbp - 0x10], ax
jmp 0x1404d94e4
call fcn.1404e3b6a
movzx ecx, word [rbp - 0x10]
jmp 0x1404d94f2
cmp ax, cx
jmp 0x1404d94fa
jne 0x1404d956f
add esi, 2
stc
mov dword [rbp - 0x2c], esi
cmp r10, 0x5ba40cc6
cmp cx, 0xa
jmp 0x1404d9517
jne 0x1404d954f
mov ecx, 0xd
call fcn.1404e3b6a
mov ecx, 0xd
stc
clc
cmc
cmp ax, cx
jne 0x1404d956f
inc esi
jmp 0x1404d953f
mov dword [rbp - 0x2c], esi
jmp 0x1404d9547
inc ebx
stc
jmp 0x1404d954f
add r14, 2
jmp 0x1404d955c
cmp r14, r12
jmp 0x1404d9564
jae 0x1404d96f3
jmp 0x1404d94c2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
jmp 0x1404d957d
jmp 0x1404d96f3
mov r9d, r14d
movzx dx, r8b
movzx r8d, ax
cqo
lea rcx, [rbp - 0x30]
mov r8, rdi
movsxd rdx, esi
movzx edx, bp
mov edx, r12d
call fcn.1404d981e
movsd xmm0, qword [rax]
movsx bx, sil
movzx bx, bh
mov ebx, dword [rax + 8]
jmp 0x1404d95ba
jmp 0x1404d96f8
lea rax, [0x1400ba940]
add rcx, 0x66526679
mov rcx, qword [rax + r13*8]
cmp byte [rcx + r15*8 + 0x38], bl
jmp 0x1404d95db
jge 0x1404d9683
mov ecx, esi
test sil, sil
jmp 0x1404d95eb
je 0x1404d9658
sub ecx, 1
jmp 0x1404d95f9
je 0x1404d9634
cmp ecx, 1
jmp 0x1404d9607
jne 0x1404d9703
mov r9d, r14d
not r8b
cmovns edx, esi
lea rcx, [rbp - 0x30]
mov r8, rdi
movzx edx, r13w
cwd
movzx rdx, bp
mov edx, r12d
call fcn.1404da463
jmp 0x1404d95a5
mov r9d, r14d
movsxd rcx, edi
lea rcx, [rbp - 0x30]
cdq
mov r8, rdi
xchg dl, dl
cwd
mov edx, r12d
jmp 0x1404d964e
call fcn.1404da6cf
jmp 0x1404d95a5
mov r9d, r14d
lea rcx, [rbp - 0x30]
cwd
mov r8, rdi
mov dx, 0xd54
movzx edx, r12w
jmp 0x1404d9671
mov edx, r12d
jmp 0x1404d9679
call fcn.1404da24e
jmp 0x1404d95a5
mov rcx, qword [rcx + r15*8 + 0x28]
jmp 0x1404d9695
lea r9, [rbp - 0x2c]
sub eax, eax
movsx dx, dil
xor r8w, bx
mov r8d, r14d
sub dh, 0xf9
and qword [rsp + 0x20], rax
movzx rdx, ax
mov rdx, rdi
jmp 0x1404d96bb
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], eax
jmp 0x1404d96c7
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jmp 0x1404d96d4
jne 0x1404d96ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
lahf
ror ax, 0xfb
btr eax, r9d
mov ebx, dword [rbp - 0x28]
cwde
add al, r14b
movsd xmm0, qword [rbp - 0x30]
movsd qword [rbp - 0x20], xmm0
inc rax
clc
nop
mov rax, qword [rbp - 0x20]
stc
clc
shr rax, 0x20
cmc
test eax, eax
jmp 0x1404d9715
jne 0x1404d97c0
mov eax, dword [rbp - 0x20]
jmp 0x1404d9726
test eax, eax
je 0x1404d9773
cmp eax, 5
jmp 0x1404d9736
jne 0x1404d9761
call fcn.1404b368d
mov dword [rax], 9
jmp 0x1404d974c
call fcn.1404b36c9
mov dword [rax], 5
jmp 0x1404d975c
jmp 0x1404d92fd
mov ecx, dword [rbp - 0x20]
jmp 0x1404d9769
call fcn.1404b3703
jmp 0x1404d92fd
lea rax, [0x1400ba940]
mov rax, qword [rax + r13*8]
stc
test byte [rax + r15*8 + 0x38], 0x40
jmp 0x1404d978a
je 0x1404d979e
cmp byte [rdi], 0x1a
jmp 0x1404d9798
je 0x1404d97d6
call fcn.1404b368d
mov dword [rax], 0x1c
jmp 0x1404d97ae
call fcn.1404b36c9
and dword [rax], 0
jmp 0x1404d97bb
jmp 0x1404d92fd
mov eax, dword [rbp - 0x1c]
cmp r13, r9
cmp r10b, 0xd5
sub eax, ebx
jmp 0x1404d97d1
jmp 0x1404d97dc
xor eax, eax
sal r12b, 0x75
mov rbx, qword [rsp + 0xb8]
add rsp, 0x60
movsxd rbp, r8d
movsx rbp, bx
pop r15
pop r14
movzx r13, bx
movzx di, bl
pop r13
jmp 0x1404d9809
pop r12
movzx esi, bx
pop rdi
pop rsi
movsx ebp, sp
sets bpl
pop rbp
jmp 0x1404d981d
ret