Function at 0x140061910
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x14017a6c0]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r14, rcx
mov qword [rbp - 8], rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov r8d, 0x104
lea rdx, [rbp + 0xb0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
movdqa xmm0, xmmword [0x1400d1120]
movdqu xmmword [rbp - 0x58], xmm0
movdqa xmm1, xmmword [0x1400d1170]
movdqu xmmword [rbp - 0x48], xmm1
movdqa xmm0, xmmword [0x1400d1100]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x28], 0x100
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r15
lea rax, [rbp + 0xb0]
mov r12, 0xffffffffffffffff
mov rdi, r12
inc rdi
cmp byte [rax + rdi], r15b
jne 0x1400619b6
movabs rsi, 0x7fffffffffffffff
cmp rdi, rsi
ja 0x140061d95
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x1400619fc
mov qword [rsp + 0x38], rdi
mov r8, rdi
lea rdx, [rbp + 0xb0]
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x140061a54
mov rax, rdi
or rax, 0xf
cmp rax, rsi
ja 0x140061a17
mov rsi, rax
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmp rax, rcx
cmovb rsi, rcx
mov rdx, rsi
add rdx, 1
cmovb rdx, r12
lea rcx, [rsp + 0x28]
call fcn.140061360
mov rbx, rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rsi
mov r8, rdi
lea rdx, [rbp + 0xb0]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], r15b
mov r9d, reloc.WS2_32.dll_sendto
lea r8, str.certutil__hashfile__
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.140065d60
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
cmp byte [rbp - 0x27], 0
je 0x140061ab4
mov rcx, r15
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0xb]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 0x30
jb 0x140061aa0
mov byte [rbp - 0x27], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov edx, 0x40
lea rcx, [rsp + 0x48]
call fcn.140061360
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], Ordinal_50
mov qword [rsp + 0x60], 0x3f
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp - 0x48]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rax + 0x20], xmm0
mov byte [rax + 0x30], 0
lea r8, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae r8, qword [rbp - 0x78]
mov r9, qword [rbp - 0x68]
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.140065d60
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140061b9b
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140061b95
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140061b95
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bb684
nop
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rcx, qword [rsp + 0x68]
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], 0
mov dword [rsp + 0x20], 0x3e
movups xmmword [rbp + 0x20], xmm0
lea rdx, [0x1400d0108]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__popen]
mov rbx, rax
mov rax, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rbx
test rbx, rbx
je 0x140061d56
mov r8, rbx
mov edx, 0x80
lea rcx, [rbp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x140061c4d
nop dword [rax]
lea rax, [rbp + 0x30]
mov r8, r12
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140061c20
lea rdx, [rbp + 0x30]
mov rcx, r14
call fcn.140054620
mov r8, rbx
mov edx, 0x80
lea rcx, [rbp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140061c10
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140061c96
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140061c91
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140061c91
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bb684
movdqa xmm0, xmmword [0x1400ce430]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x140061ce8
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140061ce2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140061ce2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bb684
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x140061d28
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140061d23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140061d23
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bb684
mov rax, r14
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400bc0e0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
movdqa xmm0, xmmword [0x1400d10d0]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x10], 1
lea rdx, [rbp]
lea rcx, [rbp - 0x20]
call fcn.140060350
nop
lea rdx, [rbp]
lea rcx, [rsp + 0x48]
call fcn.14005f700
lea rdx, [0x1400eb690]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140045e20
int3