Function at 0x1404d37c6
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
cbw
nop
mov qword [rsp + 0x18], rbp
cdqe
bswap ax
push rsi
movzx eax, si
push rdi
cdqe
cmovle eax, r13d
push r12
bswap ax
cmovb rax, r14
push r14
bswap ax
movzx rax, r9w
push r15
movzx eax, r15w
setno ah
movsxd rax, eax
mov eax, 0x1470
jmp 0x1404d380c
call fcn.14043f7af
sub rsp, rax
inc r14b
mov rax, qword [0x1400b7288]
xor rax, rsp
mov qword [rsp + 0x1460], rax
movsxd r10, edx
xor al, 0xa7
ror r15b, cl
mov rbx, rcx
cmc
sar r14b, 0x16
mov rax, r10
mov r14d, r9d
btc rdx, rcx
sar rax, 6
lea rcx, [0x1400ba940]
rol dil, 0xca
sete r15b
shr edx, cl
and r10d, 0x3f
mov r12w, 0x13c9
movsx r12w, r14b
bsr dx, cx
add r14, r8
dec r12
sbb edi, r12d
mov r15, r8
btr di, r10w
test r11d, 0x6fc056c4
ror dil, cl
mov rdi, r8
adc r12w, 0x6d05
shr r12b, 0xc
mov rax, qword [rcx + rax*8]
add rdx, r14
lea rdx, [r10 + r10*8]
sal r12, cl
mov r12, qword [rax + rdx*8 + 0x28]
cmc
xor eax, eax
cmp cl, r15b
mov qword [rbx], rax
cmc
cmp r15w, r11w
cmp r8, r14
jmp 0x1404d38bb
mov dword [rbx + 8], eax
jae 0x1404d3a87
lea rax, [rsp + 0x50]
cmp rdi, r14
jmp 0x1404d38d1
jae 0x1404d392a
movzx ecx, word [rdi]
stc
clc
test r11d, 0x1448167f
add rdi, 2
cmc
test r12b, 0xe
cmp cx, 0xa
jne 0x1404d3909
mov edx, 0xd
clc
mov word [rax], dx
jmp 0x1404d3904
add rax, 2
clc
mov word [rax], cx
add rax, 2
shr rcx, 0x90
lea rcx, [rsp + 0x6f8]
cmp rax, rcx
jmp 0x1404d3924
jb 0x1404d38c9
and qword [rsp + 0x38], 0
bsf rcx, r10
movzx r8d, r8w
lea rcx, [rsp + 0x50]
sal r9b, cl
and qword [rsp + 0x30], 0
sub r8, rax
btr r8w, 0xc7
sal r9b, 0x52
lea r8, [rsp + 0x50]
shld r9w, bp, 6
sbb r9d, ebx
sub rax, rcx
xchg r9b, cl
sar cl, cl
mov dword [rsp + 0x28], 0xd55
rcl r9b, 0x1c
rcr r9b, cl
lea rcx, [rsp + 0x700]
btc r9w, si
xchg r9w, r9w
sar rax, 1
rol r9, 7
mov qword [rsp + 0x20], rcx
or r9, rsp
sbb cx, di
mov r9d, eax
neg cx
add ch, 0x21
mov cl, r11b
mov ecx, 0xfde9
test edi, 0x235908ed
sub edx, edx
jmp 0x1404d39b9
call fcn.1404c0740
mov ebp, eax
cmp dx, dx
test rcx, r9
jmp 0x1404d39cb
test eax, eax
je 0x1404d3a74
sub esi, esi
cmp al, r13b
test r15b, r10b
test eax, eax
jmp 0x1404d39e2
je 0x1404d3a4c
and qword [rsp + 0x20], 0
setae r8b
bt cx, 0xfd
lea rdx, [rsp + 0x700]
sub ch, 0xdb
stc
mov ecx, esi
rcl r8b, cl
bt r9w, 0xc7
lea r9, [rsp + 0x40]
xor r8w, 0x6d5e
sbb r8b, 0x23
sal r8w, cl
mov r8d, ebp
add rdx, rcx
mov rcx, r12
sub r8d, esi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1404d3a74
add esi, dword [rsp + 0x40]
cmp esi, ebp
jmp 0x1404d3a46
jb 0x1404d39e8
mov eax, edi
test r15w, r8w
jmp 0x1404d3a57
sub eax, r15d
test bl, 0xe3
cmp al, r9b
mov dword [rbx + 4], eax
test r14b, dl
clc
cmp rdi, r14
jmp 0x1404d3a6f
jmp 0x1404d38be
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
btc ax, 0xf5
bt cx, 0xe4
cmc
mov rax, rbx
cmove rcx, rdx
mov rcx, qword [rsp + 0x1460]
test bx, r11w
cmp rcx, r11
xor rcx, rsp
jmp 0x1404d3aa5
call fcn.140496cc6
lea r11, [rsp + 0x1470]
mov rbx, qword [r11 + 0x30]
movsx r12, di
movzx r14w, al
mov r15b, r13b
mov rbp, qword [r11 + 0x40]
xchg esi, esi
mov rsp, r11
movsxd r12, r14d
setg r15b
pop r15
bswap r12w
movzx r12, r8w
pop r14
pop r12
movsx di, r10b
pop rdi
not sil
pop rsi
jmp 0x1404d3aef
ret