Function at 0x1404e000d
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sal di, cl
movzx rdi, bp
cmp dh, 0x1d
push r12
rcr r12b, 0x76
adc dil, 0x42
push r13
push r14
test r13d, 0x1c9c41d1
xor r12b, 0x5a
push r15
dec dil
mov rbp, rsp
ror r12d, cl
shl r14d, cl
rol r14, 0x6c
sub rsp, 0x60
sub ebx, ebx
mov r14d, r8d
test edi, esi
bt r12w, 0xeb
sar edi, 0x39
movsxd r12, ecx
cmova di, r10w
and edi, 0x469067b3
clc
mov rdi, rdx
cmc
stc
test r8d, r8d
je 0x1404e056a
test rdx, rdx
jmp 0x1404e0083
jne 0x1404e00b7
call fcn.1404ba04b
mov dword [rax], ebx
jmp 0x1404e0095
call fcn.1404ba009
mov dword [rax], 0x16
jmp 0x1404e00a5
call fcn.1404bac79
or eax, 0xffffffff
jmp 0x1404e00b2
jmp 0x1404e056f
mov rax, r12
adc r15, 0x47904ab
inc r15b
sbb r15, r12
lea rcx, [0x1400ba940]
and eax, 0x3f
stc
bt r15w, di
mov r13, r12
ror r15b, cl
bt r15, 0x5a
sar r13, 6
adc sil, dl
bsr r15d, r14d
lea r15, [rax + rax*8]
mov rcx, qword [rcx + r13*8]
rol rax, 0x3b
inc sil
jmp 0x1404e0101
movsx esi, byte [rcx + r15*8 + 0x39]
rol eax, cl
sar ah, cl
movsx ax, bpl
lea eax, [rsi - 1]
cmp al, 1
jmp 0x1404e011a
ja 0x1404e013b
mov eax, r14d
cmp bpl, 0xeb
cmc
not eax
cmp r10w, cx
test al, 1
jmp 0x1404e0135
je 0x1404e0089
test byte [rcx + r15*8 + 0x38], 0x20
jmp 0x1404e0146
je 0x1404e016e
sub edx, edx
movsx r8w, spl
movsxd rcx, ebp
movsx r8, di
mov ecx, r12d
not r8b
jmp 0x1404e0165
lea r8d, [rdx + 2]
call fcn.1401d47cc
mov ecx, r12d
mov qword [rbp - 0x20], rbx
jmp 0x1404e017a
call fcn.1404e5fc4
test eax, eax
jmp 0x1404e0186
je 0x1404e0355
lea rax, [0x1400ba940]
clc
jmp 0x1404e019c
mov rax, qword [rax + r13*8]
cmp byte [rax + r15*8 + 0x38], bl
jmp 0x1404e01aa
jge 0x1404e0355
call fcn.1404ce37c
mov rcx, qword [rax + 0x90]
cmc
cmp qword [rcx + 0x138], rbx
jne 0x1404e01e8
lea rax, [0x1400ba940]
test r14b, sil
mov rax, qword [rax + r13*8]
cmp byte [rax + r15*8 + 0x39], bl
jmp 0x1404e01e2
je 0x1404e0355
lea rax, [0x1400ba940]
mov rcx, qword [rax + r13*8]
movsx edx, r12w
movsx rdx, si
jmp 0x1404e0200
lea rdx, [rbp - 0x10]
jmp 0x1404e0209
mov rcx, qword [rcx + r15*8 + 0x28]
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
jmp 0x1404e021b
je 0x1404e0355
test sil, sil
je 0x1404e0324
dec sil
jmp 0x1404e0233
cmp sil, 1
jmp 0x1404e023c
ja 0x1404e04ad
lea r12, [rdi + r14]
sub r14b, 0x23
mov qword [rbp - 0x30], rbx
mov r14, rdi
cmp esi, 0x23e58f6
stc
clc
cmp rdi, r12
jmp 0x1404e0261
jae 0x1404e049e
mov esi, dword [rbp - 0x2c]
movzx rcx, si
movzx eax, word [r14]
jmp 0x1404e027a
movzx ecx, ax
jmp 0x1404e0282
mov word [rbp - 0x10], ax
jmp 0x1404e028b
call fcn.1404ea762
movzx ecx, word [rbp - 0x10]
cmp r9b, r15b
test dh, 0x37
cmp ax, cx
jne 0x1404e0316
add esi, 2
mov dword [rbp - 0x2c], esi
cmp cx, 0xa
jmp 0x1404e02b2
jne 0x1404e02f1
mov ecx, 0xd
jmp 0x1404e02c2
call fcn.1404ea762
mov ecx, 0xd
cmp ax, cx
jmp 0x1404e02d4
jne 0x1404e0316
inc esi
jmp 0x1404e02e1
mov dword [rbp - 0x2c], esi
inc ebx
cmp edi, 0x52ce3d68
jmp 0x1404e02f1
add r14, 2
test rdi, 0x1e662561
test r10b, r10b
cmp r11b, 0xa1
cmp r14, r12
jmp 0x1404e030b
jae 0x1404e049e
jmp 0x1404e026e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
jmp 0x1404e049e
mov r9d, r14d
lea rcx, [rbp - 0x30]
mov r8, rdi
movzx rdx, r15w
movsx rdx, r9w
not dx
mov edx, r12d
jmp 0x1404e0341
call fcn.1404e05b5
movsd xmm0, qword [rax]
movsx ebx, cx
mov ebx, dword [rax + 8]
jmp 0x1404e04a3
lea rax, [0x1400ba940]
cmovp cx, di
mov rcx, qword [rax + r13*8]
test rcx, 0x74492013
test al, dh
cmp byte [rcx + r15*8 + 0x38], bl
jmp 0x1404e0377
jge 0x1404e0425
mov ecx, esi
test sil, sil
jmp 0x1404e0387
je 0x1404e03f2
sub ecx, 1
jmp 0x1404e0395
je 0x1404e03ca
cmp ecx, 1
jmp 0x1404e03a3
jne 0x1404e04ad
mov r9d, r14d
lea rcx, [rbp - 0x30]
mov r8, rdi
mov dx, 0x42f
movsx dx, al
cqo
mov edx, r12d
call fcn.1404e1228
jmp 0x1404e0346
mov r9d, r14d
not ecx
lea rcx, [rbp - 0x30]
mov r8w, bx
mov r8d, 0x5bde2542
mov r8, rdi
mov edx, r12d
jmp 0x1404e03e8
call fcn.1404e148d
jmp 0x1404e0346
mov r9d, r14d
movsx dx, r15b
cqo
movsx edx, r12w
lea rcx, [rbp - 0x30]
mov r8, rdi
mov dx, 0x3f07
mov dl, r12b
jmp 0x1404e0413
mov edx, r12d
jmp 0x1404e041b
call fcn.1404e0fe3
jmp 0x1404e0346
mov rcx, qword [rcx + r15*8 + 0x28]
movsx r8w, bpl
lea r9, [rbp - 0x2c]
btc r8w, bp
rol r8b, cl
sar r8, 0xfa
sub eax, eax
shr edx, cl
and edx, 0x57ca5178
mov r8d, r14d
cmovb rdx, r11
add dl, dil
and qword [rsp + 0x20], rax
cmovbe rdx, rbp
mov rdx, rdi
jmp 0x1404e0464
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jmp 0x1404e0478
jne 0x1404e048f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
btc ebx, 0x60
movzx ax, al
mov ebx, dword [rbp - 0x28]
setne al
shld eax, r11d, 0x16
btc rax, rsi
movsd xmm0, qword [rbp - 0x30]
movsd qword [rbp - 0x20], xmm0
btc ax, 0x8f
mov rax, qword [rbp - 0x20]
clc
stc
shr rax, 0x20
cmc
clc
test eax, eax
jne 0x1404e0551
mov eax, dword [rbp - 0x20]
stc
test eax, eax
jmp 0x1404e04cc
je 0x1404e050d
cmp eax, 5
jne 0x1404e04fb
call fcn.1404ba009
mov dword [rax], 9
jmp 0x1404e04eb
call fcn.1404ba04b
mov dword [rax], 5
jmp 0x1404e00aa
mov ecx, dword [rbp - 0x20]
jmp 0x1404e0503
call fcn.1404ba084
jmp 0x1404e00aa
lea rax, [0x1400ba940]
mov rax, qword [rax + r13*8]
cmc
cmp r14w, 0x5f4
test byte [rax + r15*8 + 0x38], 0x40
je 0x1404e0539
cmp byte [rdi], 0x1a
jmp 0x1404e0533
je 0x1404e056a
call fcn.1404ba009
mov dword [rax], 0x1c
call fcn.1404ba04b
and dword [rax], 0
jmp 0x1404e00aa
mov eax, dword [rbp - 0x1c]
jmp 0x1404e055e
sub eax, ebx
jmp 0x1404e0565
jmp 0x1404e056f
xor eax, eax
test r13b, r14b
mov rbx, qword [rsp + 0xb8]
or r13d, edi
add rsp, 0x60
pop r15
movzx esi, cx
movsxd r13, ebp
pop r14
pop r13
pop r12
movzx bp, dil
movsx di, dl
xchg sil, dil
pop rdi
movsx si, sil
not si
cmove esi, edi
pop rsi
xchg bpl, bpl
not rbp
cmovs ebp, edx
pop rbp
jmp 0x1404e05b4
ret