Function at 0x14000ba00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140031008]
xor rax, rsp
mov qword [rbp + 0x30], rax
xor r12d, r12d
lea rdi, [0x1400335a0]
mov r13d, r12d
mov r15d, r12d
mov r14, rcx
mov ebx, 1
nop word [rax + rax]
lea esi, [r13 + 1]
mov rcx, r14
mov r8d, esi
lea rdx, str.DispMode_d
call fcn.140007aa0
mov rcx, qword [0x140033578]
lea r8, str.Flag
and ebx, eax
lea rdx, str._s_08x_r_n
and ecx, 1
mov rax, r15
cmp r13d, 2
cmovae rax, rcx
lea rcx, [rsp + 0x60]
shl rax, 9
add rdi, rax
mov r9d, dword [rdi]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], r12
add eax, eax
lea rdx, [rsp + 0x60]
mov r8d, eax
mov dword [rsp + 0x30], eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r9d, dword [rdi + 4]
lea r8, str.CaptionHeight
lea rdx, str._s_d_r_n
and ebx, eax
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], r12
add eax, eax
lea rdx, [rsp + 0x60]
mov r8d, eax
mov dword [rsp + 0x34], eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r9d, dword [rdi + 8]
lea r8, str.FrameWidth
lea rdx, str._s_d_r_n
and ebx, eax
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x20], r12
add eax, eax
lea rdx, [rsp + 0x60]
mov r8d, eax
mov dword [rsp + 0x38], eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r9d, dword [rdi + 0xc]
lea r8, str.TabSizeX
lea rdx, str._s_d_r_n
and ebx, eax
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], r12
add eax, eax
lea rdx, [rsp + 0x60]
mov r8d, eax
mov dword [rsp + 0x3c], eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r9d, dword [rdi + 0x10]
lea r8, str.TabSizeY
and ebx, eax
lea rdx, str._s_d_r_n
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r12
add eax, eax
lea rdx, [rsp + 0x60]
mov r8d, eax
mov dword [rsp + 0x40], eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r9d, dword [rdi + 0x14]
lea r8, str.ButtonSizeX
lea rdx, str._s_d_r_n
and ebx, eax
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x20], r12
add eax, eax
lea rdx, [rsp + 0x60]
mov r8d, eax
mov dword [rsp + 0x44], eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r9d, dword [rdi + 0x18]
lea r8, str.ButtonSizeY
lea rdx, str._s_d_r_n
and ebx, eax
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], r12
add eax, eax
lea rdx, [rsp + 0x60]
mov r8d, eax
mov dword [rsp + 0x48], eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r9d, dword [rdi + 0x1c]
lea r8, str.IconSizeGet
lea rdx, str._s_d_r_n
and ebx, eax
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r9, [rsp + 0x4c]
mov qword [rsp + 0x20], r12
add eax, eax
lea rdx, [rsp + 0x60]
mov r8d, eax
mov dword [rsp + 0x4c], eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r9d, dword [rdi + 0x20]
lea r8, str.IconSizeDisp
lea rdx, str._s_d_r_n
and ebx, eax
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], r12
add eax, eax
lea rdx, [rsp + 0x60]
mov r8d, eax
mov dword [rsp + 0x50], eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r9d, dword [rdi + 0x24]
lea r8, str.ButtonNumX
and ebx, eax
lea rdx, str._s_d_r_n
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r9, [rsp + 0x54]
mov qword [rsp + 0x20], r12
add eax, eax
lea rdx, [rsp + 0x60]
mov r8d, eax
mov dword [rsp + 0x54], eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r9d, dword [rdi + 0x28]
lea r8, str.ButtonNumY
lea rdx, str._s_d_r_n
and ebx, eax
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r12
add eax, eax
lea rdx, [rsp + 0x60]
mov r8d, eax
mov dword [rsp + 0x58], eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, r13d
mov rcx, r14
and ebx, eax
call fcn.14000be20
mov edx, r13d
mov rcx, r14
and ebx, eax
call fcn.14000c010
and ebx, eax
lea rdi, [0x1400335a0]
inc r15
mov r13d, esi
cmp esi, 2
jl 0x14000ba50
mov eax, ebx
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140013ba0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret