Function at 0x14007bd20
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
lea rcx, [rax + 0x10]
call fcn.14005b560
lea rcx, [rsp + 0x40]
call fcn.140063500
nop
lea rcx, [rsp + 0x38]
call fcn.140063500
nop
lea rcx, [rsp + 0x30]
call fcn.140063500
nop
xor r14d, r14d
mov qword [rsp + 0x48], r14
lea rbx, [0x1401504b0]
mov rsi, rbx
mov eax, 0x2a
lea ebp, [rax + 2]
mov r10, qword [rsp + 0x98]
cmp ax, word [r10]
jne 0x14007bde4
add r10, 2
mov qword [rsp + 0x98], r10
mov edx, ebp
lea rcx, [rsp + 0x98]
call fcn.1400cc7d0
mov rcx, qword [rsp + 0x98]
cmp word [rcx], r14w
je 0x14007bdcc
mov word [rcx], r14w
add qword [rsp + 0x98], 2
lea rcx, [rsp + 0x98]
call fcn.14005b560
mov rcx, r10
call fcn.14002e004
mov rsi, rax
mov r8d, ebp
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x98]
call fcn.140066780
mov rcx, qword [rsp + 0x40]
call fcn.14002e004
mov rdi, rax
mov rcx, qword [rsp + 0x98]
cmp bp, word [rcx]
jne 0x14007be1f
add rcx, 2
mov qword [rsp + 0x98], rcx
lea rcx, [rsp + 0x98]
call fcn.14005b560
mov r10, qword [rsp + 0x98]
mov rdx, r10
lea rcx, [0x1401504a8]
call fcn.14005c550
test al, al
je 0x14007bff2
cmp qword [0x14019c058], r14
jne 0x14007be7b
lea rcx, [rsp + 0x30]
call fcn.14005b520
nop
lea rcx, [rsp + 0x38]
call fcn.14005b520
nop
lea rcx, [rsp + 0x40]
call fcn.14005b520
xor eax, eax
jmp 0x14007c266
cmp word [rdi], r14w
cmovne rbx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rsi, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbp, rax
test rax, rax
jne 0x14007beec
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
mov rbp, rax
test rax, rax
jne 0x14007beec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov edi, 1
test eax, eax
cmove ebx, edi
lea rcx, [rsp + 0x30]
call fcn.14005b520
nop
lea rcx, [rsp + 0x38]
call fcn.14005b520
nop
lea rcx, [rsp + 0x40]
call fcn.14005b520
mov eax, ebx
jmp 0x14007c266
mov edx, 0x1064
lea rcx, [rsp + 0x48]
call fcn.1400632b0
mov dword [rsp + 0xa8], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14019c058]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, 1
lea r12d, [rdi + 1]
mov rbx, qword [rsp + 0x48]
nop word [rax + rax]
mov r9d, 0x1000
lea r8, [rbx + 0x19]
mov edx, edi
mov rcx, rbp
call qword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
je 0x14007bf95
mov r9d, edi
mov r8d, edi
lea rdx, str._r_n__12d_0x__7X
mov rcx, rbx
call qword [sym.imp.USER32.dll_wsprintfA]
mov byte [rbx + 0x18], 0x3a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
sub eax, r12d
movsxd rdx, r12d
add rdx, rbx
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0xa8]
mov r8d, eax
mov rcx, qword [0x14019c058]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r12d, r14d
inc edi
cmp edi, 0xffff
jle 0x14007bf30
test rsi, rsi
jne 0x14007bfac
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [0x14019c058]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14019c058], r14
lea rcx, [rsp + 0x48]
call fcn.14005b520
nop
lea rcx, [rsp + 0x30]
call fcn.14005b520
nop
lea rcx, [rsp + 0x38]
call fcn.14005b520
nop
lea rcx, [rsp + 0x40]
call fcn.14005b520
xor eax, eax
jmp 0x14007c266
cmp word [rdi], r14w
jne 0x14007c022
lea rcx, [rsp + 0x30]
call fcn.14005b520
nop
lea rcx, [rsp + 0x38]
call fcn.14005b520
nop
lea rcx, [rsp + 0x40]
call fcn.14005b520
mov eax, 0x80070057
jmp 0x14007c266
movzx r9d, word [r10]
test r9w, r9w
je 0x14007c0e7
mov rdx, r10
lea rcx, str.StartMenu
call fcn.14005c550
test al, al
jne 0x14007c0e7
mov eax, 0x23
cmp ax, r9w
jne 0x14007c0b6
mov dword [rsp + 0xa8], 0xffffffff
add r10, 2
mov qword [rsp + 0x98], r10
mov r8d, ebp
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x98]
call fcn.140066b30
mov ebx, dword [rsp + 0xa8]
test ebx, ebx
jns 0x14007c0ec
lea rcx, [rsp + 0x30]
call fcn.14005b520
nop
lea rcx, [rsp + 0x38]
call fcn.14005b520
nop
lea rcx, [rsp + 0x40]
call fcn.14005b520
mov eax, 0x80070057
jmp 0x14007c266
mov rdx, r10
lea rcx, str.TaskBand
call fcn.14005c550
test al, al
je 0x14007c0d0
mov ebx, 0x150a
jmp 0x14007c0ec
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.140071480
mov rbx, qword [rsp + 0x30]
jmp 0x14007c17f
mov ebx, 0x1505
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rsi, rax
test rax, rax
jne 0x14007c125
lea rcx, [rsp + 0x30]
call fcn.14005b520
nop
lea rcx, [rsp + 0x38]
call fcn.14005b520
nop
lea rcx, [rsp + 0x40]
call fcn.14005b520
lea eax, [rsi + 1]
jmp 0x14007c266
mov edx, 0x1001
lea rcx, [rsp + 0x30]
call fcn.1400635c0
mov r9d, 0x1000
mov r8, qword [rsp + 0x30]
mov edx, ebx
mov rcx, rsi
call qword [sym.imp.USER32.dll_LoadStringW]
mov rbx, qword [rsp + 0x30]
cmp word [rbx], r14w
jne 0x14007c17f
lea rcx, [rsp + 0x30]
call fcn.14005b520
nop
lea rcx, [rsp + 0x38]
call fcn.14005b520
nop
lea rcx, [rsp + 0x40]
call fcn.14005b520
mov eax, 1
jmp 0x14007c266
cmp word [rdi], r14w
jne 0x14007c1af
lea rcx, [rsp + 0x30]
call fcn.14005b520
nop
lea rcx, [rsp + 0x38]
call fcn.14005b520
nop
lea rcx, [rsp + 0x40]
call fcn.14005b520
mov eax, 0x80070057
jmp 0x14007c266
mov rcx, rdi
call fcn.14002e004
mov rdi, rax
mov rcx, rax
call fcn.1400cf470
test eax, eax
jne 0x14007c1ed
lea rcx, [rsp + 0x30]
call fcn.14005b520
nop
lea rcx, [rsp + 0x38]
call fcn.14005b520
nop
lea rcx, [rsp + 0x40]
call fcn.14005b520
mov eax, 2
jmp 0x14007c266
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.14006f2b0
mov rdx, qword [rsp + 0x48]
test rdx, rdx
jne 0x14007c230
lea rcx, [rsp + 0x30]
call fcn.14005b520
nop
lea rcx, [rsp + 0x38]
call fcn.14005b520
nop
lea rcx, [rsp + 0x40]
call fcn.14005b520
mov eax, 1
jmp 0x14007c266
mov word [rdx - 2], r14w
mov r8, rbx
mov rcx, qword [rsp + 0x38]
call fcn.1400203cc
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.14005b520
nop
lea rcx, [rsp + 0x38]
call fcn.14005b520
nop
lea rcx, [rsp + 0x40]
call fcn.14005b520
mov eax, ebx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret