Function at 0x180146c12
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
movzx eax, r11w
mov qword [rsp + 0x18], rbp
movsx eax, bx
movzx ax, r12b
movsxd rax, eax
push rsi
movsxd rax, r15d
cmovl eax, r14d
push rdi
movzx ax, r12b
push r12
push r14
lahf
push r15
movzx rax, r11w
mov eax, 0x1470
jmp 0x180146c4e
call fcn.18014a08f
sub rsp, rax
shrd r15d, r8d, 0xcf
shr rbx, cl
or dil, dil
mov rax, qword [0x180087010]
xor rax, rsp
mov qword [rsp + 0x1460], rax
ror r15b, cl
inc r12b
sbb r15w, 0x3d9c
movsxd r10, edx
shr rbx, cl
movzx r12, r8w
sbb r15w, 0x2cd1
mov rbx, rcx
cdqe
cmc
mov rax, r10
xor cl, r10b
rol rcx, cl
test edi, esp
mov r14d, r9d
sar rax, 6
and edi, 0x18fa1fb4
sar r12b, cl
lea rcx, [0x180089a20]
xor r15w, 0x6ddb
btr r15w, sp
cdq
and r10d, 0x3f
sar r12d, 0xc3
setae dil
add r14, r8
mov r15, r8
mov rdi, r8
test r12b, sil
shrd dx, bx, 0x22
mov rax, qword [rcx + rax*8]
movzx rdx, ax
movsx rdx, r8w
lea rdx, [r10 + r10*8]
mov r12, qword [rax + rdx*8 + 0x28]
xor eax, eax
test bp, si
clc
mov qword [rbx], rax
test cl, r12b
cmp rcx, 0x1559561f
cmp r15w, r8w
cmp r8, r14
jmp 0x180146d14
mov dword [rbx + 8], eax
jmp 0x180146d1c
jae 0x180146ed8
lea rax, [rsp + 0x50]
test bx, 0x5d24
stc
cmc
cmp rdi, r14
jmp 0x180146d36
jae 0x180146d95
movzx ecx, word [rdi]
jmp 0x180146d44
add rdi, 2
test r11b, 0x2e
jmp 0x180146d51
cmp cx, 0xa
jmp 0x180146d5a
jne 0x180146d72
mov edx, 0xd
test ah, 0xdf
mov word [rax], dx
add rax, 2
test al, dil
mov word [rax], cx
rcr cl, cl
add rax, 2
lea rcx, [rsp + 0x6f8]
stc
test r15d, r14d
cmp rax, rcx
jmp 0x180146d8f
jb 0x180146d2e
and qword [rsp + 0x38], 0
rcl r9b, 0x5e
lea rcx, [rsp + 0x50]
mov r9d, r10d
dec r8w
ror r8b, 0xcb
and qword [rsp + 0x30], 0
cmp sp, 0x70af
movsx r9w, bl
lea r8, [rsp + 0x50]
cmp al, 0x31
or r9d, r15d
sub rax, rcx
shld r9w, bx, 0xbf
cmc
mov dword [rsp + 0x28], 0xd55
ror r9b, 0xa2
lea rcx, [rsp + 0x700]
shrd r9d, eax, 0x17
test r11w, 0x1eb0
movsxd r9, edi
sar rax, 1
mov qword [rsp + 0x20], rcx
mov r9d, eax
bsr ecx, ebx
and rcx, rbp
xor cl, sil
mov ecx, 0xfde9
test r11b, sil
test ecx, 0x15613971
xor edx, edx
jmp 0x180146e1e
call fcn.180140044
mov ebp, eax
jmp 0x180146e30
test eax, eax
jmp 0x180146e37
je 0x180146ecb
xor esi, esi
test eax, eax
jmp 0x180146e46
je 0x180146eba
and qword [rsp + 0x20], 0
inc rcx
lea rdx, [rsp + 0x700]
adc r8, r13
btc cx, 0x58
mov ecx, esi
lea r9, [rsp + 0x40]
bts r8, r8
shrd r8d, edx, 0xc8
mov r8d, ebp
cmp bpl, dl
lea rdx, [rdx + rcx]
mov rcx, r12
test sil, 0x58
test r15, r8
cmc
sub r8d, esi
jmp 0x180146e92
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jmp 0x180146e9f
je 0x180146ecb
add esi, dword [rsp + 0x40]
stc
test r9b, al
cmp esi, ebp
jmp 0x180146eb4
jb 0x180146e4c
mov eax, edi
clc
sub eax, r15d
mov dword [rbx + 4], eax
cmp rdi, r14
jmp 0x180146d1c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
bt ax, r11w
mov rax, rbx
ror ch, 0x84
adc cl, ch
sar ch, 0x6b
mov rcx, qword [rsp + 0x1460]
clc
xor rcx, rsp
jmp 0x180146ef4
call fcn.18012d754
lea r11, [rsp + 0x1470]
mov bpl, 0x5b
movzx r15, sp
mov dil, al
mov rbx, qword [r11 + 0x30]
setno bpl
not r15b
mov rbp, qword [r11 + 0x40]
mov rsp, r11
movzx esi, ax
pop r15
movsx esi, dx
movsx r12w, bpl
movzx r12, sp
pop r14
xchg r12b, dil
pop r12
pop rdi
movsx si, r13b
pop rsi
jmp 0x180146f41
ret