Function at 0x1404e08eb
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
cbw
movsx ax, r12b
push rsi
push rdi
movsxd rax, esi
push r12
movsxd rax, r9d
not ah
push r14
mov rax, r12
cbw
push r15
mov eax, 0x1470
call fcn.14044cb06
sub rsp, rax
cbw
cmp r14, r12
mov rax, qword [0x1400b7288]
adc r14b, cl
btc bx, si
xor rax, rsp
sub r14, 0x145b2d
or r14b, bpl
mov qword [rsp + 0x1460], rax
rcl r10b, cl
clc
movsxd r10, edx
test rax, r14
rcl dil, 0x6d
mov rbx, rcx
bts r15w, r13w
mov rax, r10
shld edi, ecx, 0x34
and r12b, r14b
mov r14d, r9d
xor r15w, ax
xadd dil, r15b
sar rax, 6
mov dil, 0xa8
cwd
test bx, sp
lea rcx, [0x1400ba940]
xadd r12w, dx
movsx rdi, cx
shrd di, r10w, 0xd1
and r10d, 0x3f
add r14, r8
sar r15d, 0x79
add dl, 0xa5
mov r12d, 0x5db068ce
mov r15, r8
cmc
cwd
mov rdi, r8
cmp r13b, 0xfe
adc r12b, r12b
mov rax, qword [rcx + rax*8]
cdq
xchg rdx, r12
lea rdx, [r10 + r10*8]
shrd r12w, cx, 0xf3
mov r12, qword [rax + rdx*8 + 0x28]
clc
xor eax, eax
cmc
stc
jmp 0x1404e09d8
mov qword [rbx], rax
jmp 0x1404e09e2
cmp r8, r14
mov dword [rbx + 8], eax
jmp 0x1404e09ed
jae 0x1404e0bc2
lea rax, [rsp + 0x50]
test rcx, 0x677f5256
cmp rsp, 0x1a696e95
cmp rdi, r14
jmp 0x1404e0a0e
jae 0x1404e0a8d
movzx ecx, word [rdi]
cmp bp, 0x30b8
test r15d, 0x866656c
add rdi, 2
stc
test bpl, 0x57
cmp cx, 0xa
jmp 0x1404e0a35
jne 0x1404e0a59
mov edx, 0xd
test al, spl
cmc
mov word [rax], dx
stc
add rax, 2
jmp 0x1404e0a59
mov word [rax], cx
movsx rcx, r13w
add rax, 2
add cl, 0xdf
adc rcx, 0x89039cf
lea rcx, [rsp + 0x6f8]
jmp 0x1404e0a7f
cmp rax, rcx
jmp 0x1404e0a87
jb 0x1404e0a06
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x50]
cmp dx, 0x393c
and qword [rsp + 0x30], 0
not r9
lea r8, [rsp + 0x50]
sub rax, rcx
shl cx, cl
jmp 0x1404e0aba
mov dword [rsp + 0x28], 0xd55
lea rcx, [rsp + 0x700]
btr r9d, edx
sbb r9b, r9b
sar rax, 1
xchg r9d, r9d
rol r9w, 0x91
bt r9d, r10d
mov qword [rsp + 0x20], rcx
xchg ch, ch
shl ecx, cl
mov r9d, eax
sets ch
rol ch, cl
movzx ecx, r10w
mov ecx, 0xfde9
cmp cl, al
xor edx, edx
jmp 0x1404e0b03
call fcn.1404cd8ec
mov ebp, eax
cmp rdx, rcx
test eax, eax
jmp 0x1404e0b14
je 0x1404e0bb0
xor esi, esi
clc
test eax, eax
jmp 0x1404e0b24
je 0x1404e0b84
and qword [rsp + 0x20], 0
neg r9b
lea rdx, [rsp + 0x700]
seto r8b
mov ecx, esi
lea r9, [rsp + 0x40]
adc r8, 0x5dbb2db8
mov r8d, ebp
add rdx, rcx
sar cl, cl
mov rcx, r12
sub r8d, esi
jmp 0x1404e0b60
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1404e0bb0
add esi, dword [rsp + 0x40]
test sil, bl
cmc
cmp r10w, 0x14d9
cmp esi, ebp
jb 0x1404e0b2a
mov eax, edi
clc
test rbp, 0x5ab04221
stc
sub eax, r15d
test cl, 0x48
cmp r9w, si
mov dword [rbx + 4], eax
test r11, r15
test ax, 0x60d2
jmp 0x1404e0ba8
cmp rdi, r14
jmp 0x1404e09ed
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
sub ax, 0x1105
and ah, 1
rcl ch, 0xd3
mov rax, rbx
stc
movsx ecx, ax
xchg rcx, rcx
mov rcx, qword [rsp + 0x1460]
cmp r12w, dx
xor rcx, rsp
jmp 0x1404e0be0
call fcn.1404a3da6
lea r11, [rsp + 0x1470]
movzx r12w, r13b
mov rbx, qword [r11 + 0x30]
seto bpl
mov rbp, qword [r11 + 0x40]
mov r14b, 0x13
mov rsp, r11
movzx r14d, dx
pop r15
bswap di
not sil
pop r14
pop r12
movsx rsi, si
pop rdi
not sil
movsx si, bpl
pop rsi
ret