Function at 0x1400013e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x460]
sub rsp, 0x560
mov rax, qword [0x140021008]
xor rax, rsp
mov qword [rbp + 0x450], rax
mov rsi, rdx
mov r15, rcx
mov rcx, qword [0x1400243a0]
mov edx, 0x3e8
mov r14d, r9d
mov rdi, r8
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0x147
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 8
ja 0x140001672
cdqe
lea r13, [0x140022da0]
imul rbx, rax, 0x2c0
lea r8, [r13 + 0xc]
mov rdx, r15
add r8, rbx
lea rcx, [rbp + 0x350]
call fcn.140001fd0
xor r12d, r12d
lea rcx, [rbp + 0x350]
mov qword [rsp + 0x30], r12
xor r9d, r9d
mov dword [rsp + 0x28], r12d
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140001672
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x400
call fcn.140003180
mov eax, dword [rbx + r13 + 0x198]
mov rcx, 0xffffffffffffffff
mov dword [rsp + 0x56], eax
movzx eax, word [rbx + r13 + 0x19c]
mov word [rsp + 0x5a], ax
mov dword [rsp + 0x50], ecx
mov word [rsp + 0x54], cx
mov word [rsp + 0x5c], 0x99c1
mov dword [rsp + 0x60], 0x4f525446
test r14d, r14d
je 0x140001510
mov word [rsp + 0x5e], 0xeeee
mov dword [rsp + 0x64], ecx
jmp 0x140001517
mov word [rsp + 0x5e], 0xdddd
mov rbx, r12
nop word [rax + rax]
call fcn.140007e60
mov byte [rsp + rbx + 0x68], al
inc rbx
cmp rbx, 0xc
jl 0x140001520
mov rbx, r12
call fcn.140007e60
mov byte [rbp + rbx - 0x80], al
test r14d, r14d
jne 0x14000154c
call fcn.140007e60
mov byte [rbp + rbx - 0x78], al
inc rbx
cmp rbx, 8
jl 0x140001535
movzx eax, byte [rsp + 0x73]
xor al, byte [rsi]
mov byte [rsp + 0x74], al
movzx eax, byte [rsp + 0x72]
xor al, byte [rsi + 1]
mov byte [rsp + 0x75], al
movzx eax, byte [rsp + 0x71]
xor al, byte [rsi + 2]
mov byte [rsp + 0x76], al
movzx eax, byte [rsp + 0x70]
xor al, byte [rsi + 3]
mov byte [rsp + 0x77], al
movzx eax, byte [rsp + 0x6f]
xor al, byte [rsi + 4]
mov byte [rsp + 0x78], al
movzx eax, byte [rsp + 0x6e]
xor al, byte [rsi + 5]
mov byte [rsp + 0x79], al
movzx eax, byte [rsp + 0x6d]
xor al, byte [rsi + 6]
mov byte [rsp + 0x7a], al
movzx eax, byte [rsp + 0x6c]
xor al, byte [rsi + 7]
mov byte [rsp + 0x7b], al
movzx eax, byte [rsp + 0x6b]
xor al, byte [rsi + 8]
mov byte [rsp + 0x7c], al
movzx eax, byte [rsp + 0x6a]
xor al, byte [rsi + 9]
mov byte [rsp + 0x7d], al
movzx eax, byte [rsp + 0x69]
xor al, byte [rsi + 0xa]
mov byte [rsp + 0x7e], al
movzx eax, byte [rsp + 0x68]
xor al, byte [rsi + 0xb]
mov byte [rsp + 0x7f], al
test r14d, r14d
je 0x140001638
movzx eax, byte [rbp - 0x79]
xor al, byte [rdi]
mov byte [rbp - 0x78], al
movzx eax, byte [rbp - 0x7a]
xor al, byte [rdi + 1]
mov byte [rbp - 0x77], al
movzx eax, byte [rbp - 0x7b]
xor al, byte [rdi + 2]
mov byte [rbp - 0x76], al
movzx eax, byte [rbp - 0x7c]
xor al, byte [rdi + 3]
mov byte [rbp - 0x75], al
movzx eax, byte [rbp - 0x7d]
xor al, byte [rdi + 4]
mov byte [rbp - 0x74], al
movzx eax, byte [rbp - 0x7e]
xor al, byte [rdi + 5]
mov byte [rbp - 0x73], al
movzx eax, byte [rbp - 0x7f]
xor al, byte [rdi + 6]
mov byte [rbp - 0x72], al
movzx eax, byte [rbp - 0x80]
xor al, byte [rdi + 7]
mov byte [rbp - 0x71], al
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], r12d
mov r8d, 0x40
mov qword [rsp + 0x20], r12
lea rdx, [rsp + 0x50]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x40], 0x40
jne 0x140001672
mov eax, 0x40
jmp 0x140001674
xor eax, eax
mov rcx, qword [rbp + 0x450]
xor rcx, rsp
call fcn.140002180
lea r11, [rsp + 0x560]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret