Function at 0x180141500
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
movzx eax, r14w
sete ah
push rsi
cbw
movsxd rax, eax
cmovnp rax, r8
push rdi
lahf
push r12
movzx rax, di
mov al, sil
push r14
cmovge ax, bx
push r15
mov eax, 0x1470
jmp 0x180141538
call fcn.18014493f
sub rsp, rax
and r14, 0x13096d59
movzx edi, r9w
shr edi, 0x78
mov rax, qword [0x180085010]
cmovp di, di
xor rax, rsp
not r12w
mov qword [rsp + 0x1460], rax
cmp r11d, 0x3f8373b5
movsx di, r10b
bsf di, r12w
movsxd r10, edx
movzx r14d, r12w
sar ax, cl
mov rbx, rcx
rcl rax, 0x36
cmova eax, edi
mov rax, r10
rol cl, 0x9e
movzx r14d, r14w
mov r14d, r9d
or dil, 0x73
stc
adc r12w, 0x630b
sar rax, 6
ror edx, cl
bt cx, 0x29
lea rcx, [0x180087a10]
cdq
movzx r12, bp
test r15d, esp
and r10d, 0x3f
cwd
bts r12w, cx
lea r14, [r14 + r8]
sbb dx, 0x5b49
mov r15, r8
rol rdi, cl
add dil, 0x37
mov rdi, r8
mov rax, qword [rcx + rax*8]
ror r12, 0x88
cmp r13d, r8d
lea rdx, [r10 + r10*8]
mov r12, qword [rax + rdx*8 + 0x28]
test r13w, r10w
cmc
xor eax, eax
test r10b, r10b
test r11w, 0x41b1
cmc
mov qword [rbx], rax
cmc
jmp 0x18014160e
cmp r8, r14
jmp 0x180141616
mov dword [rbx + 8], eax
jmp 0x18014161e
jae 0x1801417d8
lea rax, [rsp + 0x50]
cmp rdi, r14
jae 0x180141696
movzx ecx, word [rdi]
add rdi, 2
cmp r14, r15
cmc
cmp cx, 0xa
jmp 0x180141646
jne 0x180141663
mov edx, 0xd
cmc
mov word [rax], dx
jmp 0x18014165a
add rax, 2
jmp 0x180141663
mov word [rax], cx
rol cl, 0xe2
movsx cx, ch
rcl ecx, 0xc5
add rax, 2
movzx ecx, r8w
lea rcx, [rsp + 0x6f8]
jmp 0x180141688
cmp rax, rcx
jmp 0x180141690
jb 0x180141629
and qword [rsp + 0x38], 0
setns r8b
jmp 0x1801416a5
lea rcx, [rsp + 0x50]
movsx r8, r15w
movzx r9w, bpl
rcl r9w, 0x65
and qword [rsp + 0x30], 0
ror r9b, cl
lea r8, [rsp + 0x50]
rol r9b, 0x7b
shr r9w, 0xe9
sub rax, rcx
mov dword [rsp + 0x28], 0xd55
rcl ch, 2
lea rcx, [rsp + 0x700]
sar rax, 1
movsx r9, sp
or r9d, 0x5ea73c10
inc r9b
mov qword [rsp + 0x20], rcx
bt cx, dx
add ecx, ecx
mov r9d, eax
xadd ch, cl
or cx, 0x2f3b
test bp, ax
mov ecx, 0xfde9
sub edx, edx
jmp 0x18014171b
call fcn.18013a97f
mov ebp, eax
clc
test edi, eax
test eax, eax
jmp 0x18014172c
je 0x1801417c3
sub esi, esi
test eax, eax
je 0x1801417a6
and qword [rsp + 0x20], 0
btc r8, 0x5a
sal ch, cl
lea rdx, [rsp + 0x700]
rol r8w, 0x90
mov ecx, esi
adc r9b, 0x33
lea r9, [rsp + 0x40]
mov r8d, ebp
jmp 0x18014176a
add rdx, rcx
sar ch, 0x8d
adc cl, bl
mov rcx, r12
sub r8d, esi
jmp 0x18014177d
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jmp 0x18014178a
je 0x1801417c3
add esi, dword [rsp + 0x40]
clc
cmp ecx, r15d
stc
cmp esi, ebp
jmp 0x1801417a0
jb 0x18014173c
mov eax, edi
sub eax, r15d
test r13d, 0x441c0b1a
mov dword [rbx + 4], eax
clc
cmp rdi, r14
jmp 0x1801417be
jmp 0x18014161e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
test rsp, 0x61ec6904
shr al, 0xf1
cmp dl, r11b
mov rax, rbx
dec cx
not cx
movsx rcx, r11w
mov rcx, qword [rsp + 0x1460]
cmp r9b, r10b
jmp 0x1801417f5
xor rcx, rsp
jmp 0x1801417fd
call fcn.18012808d
lea r11, [rsp + 0x1470]
movsx di, bl
xchg ebx, r15d
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
not si
xchg r14b, dil
mov rsp, r11
pop r15
pop r14
mov sil, 0xa9
pop r12
movsxd rdi, r14d
xchg rsi, rdi
mov di, r10w
pop rdi
mov sil, r9b
pop rsi
ret