Function at 0x14006f9c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov r12, rcx
mov r8d, 0x104
lea rdx, [rbp - 0x80]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor r13d, r13d
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
lea rax, [rbp - 0x80]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rax + r8], r13b
jne 0x14006fa20
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.1400157e0
lea rsi, [rsp + 0x60]
mov r14, qword [rsp + 0x60]
mov r15, qword [rsp + 0x78]
cmp r15, 0x10
cmovae rsi, r14
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x14006facb
xor edx, edx
mov r8d, VarUI2FromI4
lea rcx, [rbp + 0x90]
call fcn.140137f50
lea rcx, [0x140416508]
lea rdx, [0x14041650a]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rbp + rax + 0x90], 1
inc rcx
cmp rcx, rdx
jne 0x14006fa80
lea rax, [rbx - 1]
mov rbx, rdi
cmp rax, rdi
cmovb rbx, rax
add rbx, rsi
movzx eax, byte [rbx]
cmp byte [rbp + rax + 0x90], r13b
jne 0x14006fac6
cmp rbx, rsi
je 0x14006facb
dec rbx
movzx eax, byte [rbx]
cmp byte [rbp + rax + 0x90], r13b
je 0x14006fab1
sub rbx, rsi
jmp 0x14006face
mov rbx, rdi
cmp r15, 0x10
jb 0x14006fb05
lea rdx, [r15 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14006fafd
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006fdb3
mov rcx, r14
call fcn.140133e68
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x60], r13b
lea rax, [rbp - 0x80]
inc rdi
cmp byte [rax + rdi], r13b
jne 0x14006fb21
mov r8, rdi
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.1400157e0
nop
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
cmp qword [rsp + 0x70], rbx
cmovb rbx, qword [rsp + 0x70]
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
mov r8, rbx
lea rcx, [rsp + 0x40]
call fcn.1400157e0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14006fbbb
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006fbb6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006fdb9
call fcn.140133e68
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x14006fbf1
lea rax, [rcx + 1]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x40]
mov word [rax + rcx], reloc.SHELL32.dll_PathGetShortPath
jmp 0x14006fc12
mov qword [rsp + 0x20], 1
lea r9, [0x1404164c4]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x40]
call fcn.140016050
mov edx, Ordinal_143
lea rcx, [rsp + 0x60]
call fcn.1400175a0
nop
mov r9, rax
cmp qword [rax + 0x18], 0x10
jb 0x14006fc2f
mov r9, qword [rax]
mov rdi, qword [rax + 0x10]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x14006fc77
lea rax, [rcx + rdi]
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x40]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x40]
add rbx, rcx
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call fcn.1401378a0
mov byte [rbx + rdi], 0
jmp 0x14006fc8d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140016050
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14006fcca
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006fcc5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006fdbf
call fcn.140133e68
mov ebx, r13d
nop dword [rax]
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14006fd21
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 5
jl 0x14006fcd0
jmp 0x14006fd53
mov dword [rbp + 0x1c8], r13d
mov rdx, qword [r12]
mov r8, qword [r12 + 8]
sub r8, rdx
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x1c8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14006fd8c
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006fd87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006fdad
call fcn.140133e68
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1401462a8
int3
call fcn.1401462a8
nop
call fcn.1401462a8
nop
call fcn.1401462a8
int3