Function at 0x14002d7a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x640]
sub rsp, 0x740
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x630], rax
mov r13, rcx
xor esi, esi
cmp qword [rcx + 0x118], rsi
jne 0x14002d802
xor r9d, r9d
lea r8, [0x140033fc0]
lea rdx, [0x140034210]
mov rcx, qword [rcx + 0x60]
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x14002dc19
call fcn.14002d0d0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
mov qword [rbp + 0x110], rax
lea rcx, [rbp + 0x90]
call fcn.14001be40
nop
xorps xmm0, xmm0
xor eax, eax
movaps xmmword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0x50], xmm0
movaps xmmword [rbp + 0x60], xmm0
movaps xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], rax
movups xmmword [rbp + 0x20], xmm0
movdqa xmm1, xmmword [0x140034470]
movdqa xmmword [rbp + 0x30], xmm1
mov byte [rbp + 0x20], al
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x48], rsi
lea ecx, [rax + 0x30]
call fcn.14002e9e0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp + 0x40], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x60], xmm1
movdqa xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], rsi
lea rax, [rbp + 0x20]
mov qword [rbp + 0xc0], rax
mov rax, qword [r13 + 0x118]
mov qword [rbp + 0x90], rax
lea rcx, [rbp + 0x90]
call fcn.14001c970
cmp eax, 1
jne 0x14002d994
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x48]
call fcn.14001bd20
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova r8, qword [rsp + 0x48]
mov r9d, dword [rbp + 0x98]
lea rdx, str._s_r_n
lea rcx, [rbp + 0x230]
call qword [sym.imp.USER32.dll_wsprintfA]
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14002d974
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d96f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002d96f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002ea1c
xor r9d, r9d
lea r8, [0x140034118]
lea rdx, [rbp + 0x230]
mov rcx, qword [r13 + 0x60]
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x14002dc01
mov r15d, esi
mov rdx, qword [rbp + 0x58]
mov rax, rdx
mov rcx, qword [rbp + 0x50]
sub rax, rcx
sar rax, 3
test eax, eax
jle 0x14002d9f2
mov r14, rsi
mov rdi, qword [r14 + rcx]
mov ebx, esi
cmp dword [rdi + 8], esi
jle 0x14002d9dc
nop dword [rax + rax]
inc ebx
mov r8b, 0xff
mov edx, ebx
mov rcx, rdi
call fcn.140027030
cmp ebx, dword [rdi + 8]
jl 0x14002d9c0
mov rdx, qword [rbp + 0x58]
mov rcx, qword [rbp + 0x50]
inc r15d
add r14, 8
mov rax, rdx
sub rax, rcx
sar rax, 3
cmp r15d, eax
jl 0x14002d9b0
mov dword [rsp + 0x40], esi
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x20]
call fcn.140026190
mov rdi, rax
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x120]
call sub.VCRUNTIME140.dll_memset
lea rcx, [r13 + 0x120]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd r8, eax
lea rdx, [r13 + 0x120]
lea rcx, [rbp + 0x120]
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbp + 0x120]
cmp byte [rbp + 0x120], 0
je 0x14002da78
nop
inc rcx
cmp byte [rcx], 0
jne 0x14002da50
lea rax, [rbp + 0x120]
cmp rax, rcx
jae 0x14002da78
cmp byte [rcx], 0x2e
je 0x14002da7d
dec rcx
lea rax, [rbp + 0x120]
cmp rax, rcx
jb 0x14002da64
cmp byte [rcx], 0x2e
jne 0x14002da80
mov byte [rcx], 0
lea rdx, [0x140034250]
lea rcx, [rbp + 0x120]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov r8, qword [r13 + 0x60]
lea rax, [rbp + 0x230]
movzx ecx, byte [rbp + 0x120]
test cl, cl
je 0x14002dacd
lea rdx, [rbp + 0x120]
lea r9, [rbp + 0x230]
sub rdx, r9
nop dword [rax + rax]
mov byte [rax], cl
inc rax
movzx ecx, byte [rdx + rax]
test cl, cl
jne 0x14002dac0
mov byte [rax], 0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
mov dword [rsp + 0x70], 0x98
mov qword [rsp + 0x78], r8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp - 0x80], rax
lea rax, [0x140034260]
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x64], esi
lea rcx, [0x140034298]
mov qword [rbp - 0x38], rcx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [rbp - 0x48], eax
lea rax, [rbp + 0x230]
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x58], 0x104
lea rax, [0x140034258]
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x30], 0x1802
lea rcx, [rsp + 0x70]
call qword [sym.imp.COMDLG32.dll_GetSaveFileNameA]
test eax, eax
je 0x14002dc01
lea rax, [rbp + 0x120]
movzx ecx, byte [rbp + 0x230]
test cl, cl
je 0x14002dba0
lea rdx, [rbp + 0x230]
lea r8, [rbp + 0x120]
sub rdx, r8
mov byte [rax], cl
inc rax
movzx ecx, byte [rax + rdx]
test cl, cl
jne 0x14002db93
mov byte [rax], 0
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r9 + 2]
lea rcx, [rbp + 0x120]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
test rax, rax
je 0x14002dbfc
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x10]
mov r8d, dword [rsp + 0x40]
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
lea rcx, [rbp + 0x20]
call fcn.140025a20
nop
lea rcx, [rbp + 0x90]
call fcn.14001bfc0
mov eax, esi
mov rcx, qword [rbp + 0x630]
xor rcx, rsp
call fcn.14002e9c0
lea r11, [rsp + 0x740]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret