Function at 0x1404d7fd2
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
cdqe
mov al, r15b
jmp 0x1404d8003
mov qword [rsp + 0x18], rbp
movsx ax, sil
jmp 0x1404d8012
push rsi
push rdi
movzx ax, al
push r12
bswap rax
cdqe
push r14
movsxd rax, r13d
movzx ax, ah
push r15
xchg ah, al
cmovl ax, si
mov eax, 0x1470
call fcn.140444962
sub rsp, rax
shld r14w, r9w, 0x85
cmp spl, spl
mov rax, qword [0x1400b7288]
rol r10d, 0x16
xor rax, rsp
cmp r10w, 0x1a07
mov qword [rsp + 0x1460], rax
ror dil, cl
sal ax, 0x4f
bswap bx
movsxd r10, edx
sbb bh, 0x60
cbw
adc edx, 0xb376111
mov rbx, rcx
mov cl, r8b
rol al, cl
bts di, r9w
mov rax, r10
mov cx, dx
movsx r15w, r14b
ror r14w, 0xff
mov r14d, r9d
cdq
cmp dil, 0xdf
rcl dl, cl
sar rax, 6
btc r12d, 0xe4
lea rcx, [0x1400ba940]
sbb r15d, 0x2be80b36
test cx, 0x1428
not r12b
and r10d, 0x3f
cdq
shld r12w, r8w, 0x6f
lea r14, [r14 + r8]
sal rdx, 9
mov r15, r8
movsxd rdi, ebp
mov rdi, r8
mov rax, qword [rcx + rax*8]
shrd r12w, bp, 0x99
lea rdx, [r10 + r10*8]
mov r12, qword [rax + rdx*8 + 0x28]
jmp 0x1404d80f5
sub eax, eax
mov qword [rbx], rax
jmp 0x1404d8100
cmp r8, r14
jmp 0x1404d8108
mov dword [rbx + 8], eax
jmp 0x1404d8110
jae 0x1404d82da
lea rax, [rsp + 0x50]
jmp 0x1404d8121
cmp rdi, r14
jmp 0x1404d8129
jae 0x1404d817a
movzx ecx, word [rdi]
stc
clc
cmp r13d, r8d
add rdi, 2
cmp cx, 0xa
jmp 0x1404d8144
jne 0x1404d815a
mov edx, 0xd
mov word [rax], dx
test ax, 0x6413
add rax, 2
mov word [rax], cx
xor cx, 0x63bd
add rax, 2
lea rcx, [rsp + 0x6f8]
test r15b, cl
cmp rax, rcx
jb 0x1404d8121
and qword [rsp + 0x38], 0
sbb r8w, 0x93c
lea rcx, [rsp + 0x50]
sal r8w, cl
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x50]
shl r9b, cl
sub rax, rcx
movzx r9w, r14b
bts r9d, ecx
btr rcx, rbp
mov dword [rsp + 0x28], 0xd55
movzx r9d, r13w
cmp r10w, dx
lea rcx, [rsp + 0x700]
clc
movsx r9, sp
sar rax, 1
cmovl r9, r12
mov qword [rsp + 0x20], rcx
xor r9, rcx
sbb r9b, 0xd7
and cl, 0xb7
mov r9d, eax
ror cl, cl
shld ecx, r9d, 0xb7
and cl, 1
mov ecx, 0xfde9
stc
clc
cmp rax, 0x7dc01d85
sub edx, edx
jmp 0x1404d8202
call fcn.1404c5188
mov ebp, eax
cmp sil, 0x8f
test eax, eax
jmp 0x1404d8214
je 0x1404d82d2
xor esi, esi
jmp 0x1404d8225
test eax, eax
jmp 0x1404d822c
je 0x1404d82b1
and qword [rsp + 0x20], 0
cdq
movzx rcx, r11w
stc
lea rdx, [rsp + 0x700]
adc r9b, r13b
neg r8w
mov ecx, esi
btc r9, 0xf1
sub r9b, r8b
adc r9b, 0x95
lea r9, [rsp + 0x40]
btr r8w, 0x9a
shr r8b, 0x25
neg r8b
mov r8d, ebp
jmp 0x1404d8275
add rdx, rcx
rol cx, cl
mov rcx, r12
cmc
cmp cl, 0x57
sub r8d, esi
jmp 0x1404d828a
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1404d82d2
add esi, dword [rsp + 0x40]
cmp r10w, 0x1189
cmc
stc
cmp esi, ebp
jmp 0x1404d82ab
jb 0x1404d8232
mov eax, edi
cmp rsp, 0x355b7791
sub eax, r15d
clc
mov dword [rbx + 4], eax
test bp, si
stc
cmp rdi, r14
jmp 0x1404d82cd
jmp 0x1404d8110
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
mov rax, rbx
shr cx, cl
ror ch, 0x9d
mov rcx, qword [rsp + 0x1460]
stc
xor rcx, rsp
jmp 0x1404d82f4
call fcn.14049b928
lea r11, [rsp + 0x1470]
bswap r14w
mov ebx, r12d
mov rbx, qword [r11 + 0x30]
movsx bp, bl
movzx rbp, si
mov rbp, qword [r11 + 0x40]
bswap r15w
setnp dil
movzx r12, si
mov rsp, r11
pop r15
movsx r14d, r12w
movzx r12w, dl
pop r14
movsx si, dl
movsxd r12, r13d
pop r12
movsx di, bl
cmovo si, sp
pop rdi
pop rsi
jmp 0x1404d834c
ret