joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006b6d0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
movsd xmm0, qword [0x14009ccf8]
lea rdx, [0x14009bb18]
lea rcx, str.Config.inv
movsd qword [0x1400b6a88], xmm0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
test rax, rax
je 0x14006b70f
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call fcn.140063af0
jmp 0x14006b714
call fcn.1400642f0
xor ebx, ebx
lea r8, [0x140067940]
mov qword [rsp + 0x28], rbx
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [0x140068130]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [0x14006b680]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x30
pop rbx
ret
Function at 0x14008ab3c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14008ab86
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14008ab86
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14008ab86
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14008ab86
cmp dword [rcx + 0x84], 0xe
jbe 0x14008ab86
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14008ab88
xor al, al
add rsp, 0x28
ret
Function at 0x140007180
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400071a2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x1400071b1
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400071d4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400071d6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140007212
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1400072ae
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000724d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000728e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x1400072ae
cmp rbx, rax
ja 0x140007260
test rbx, rbx
je 0x1400072ae
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
call 0x1400356f0
mov rcx, qword [rbp - 0x31]
xor rcx, rsp
call 0x1400dcfb0
movaps xmm6, xmmword [rsp + 0xd0]
movaps xmm12, xmmword [rsp + 0x90]
add rsp, 0xe8
pop rdi
pop rbp
ret
jo 0x140021a02
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rsp + 0x60], xmm13
mov rax, qword [0x1401394b8]
xor rax, rsp
mov qword [rbp - 0x79], rax
cmp byte [rcx + 0xb9], 0
mov r15, rdx
mov r10, qword [0x1401e95f8]
mov rdi, rcx
movss xmm9, dword [rbp + 0x7f]
mov rbx, r10
mov esi, dword [rcx + 0x14]
movss xmm13, dword [rcx + 0x58]
movss xmm8, dword [rcx + 0x5c]
movzx r12d, r8b
Function at 0x1400076e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140015048]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000770d
xor eax, eax
jmp 0x140007879
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140007747
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140007747
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140007879
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000786c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000778a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400077b5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140007871
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140007824
sub eax, 1
je 0x140007824
cmp eax, 2
jne 0x14000786c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140007871
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140007852
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000786c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140007871
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000b3e0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140007cf0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140015048]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140007dc3
cmp byte [rcx + 0x71], 0
je 0x140007dc3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140007dbf
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140007d84
sub eax, 1
je 0x140007d88
cmp eax, 2
jne 0x140007dbf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000b3e0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140007db6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140007dbf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140007d6c
xor al, al
jmp 0x140007d6c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000b3e0
add rsp, 0x60
pop rbx
ret
Function at 0x14000a570
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x14000a5d1
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x14000a590
mov ecx, dword [r10]
jmp 0x14000a6ba
cmp ecx, 0x4e0
jb 0x14000a6ba
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14000a5f0
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14000a640
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x14000a700
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x1060
call fcn.14000be20
sub rsp, rax
mov rax, qword [0x140015048]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rdx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 1]
lea rcx, str.Mozilla_5.0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r15, rax
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 0xf
mov byte [rdi], r12b
mov dword [rsp + 0x30], 1
test rax, rax
je 0x14000a863
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14000a79c
mov rdx, qword [r14]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbp, rax
test rax, rax
je 0x14000a859
nop dword [rax]
nop word [rax + rax]
lea r9, [rsp + 0x48]
mov r8d, 0x1000
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x14000a850
mov esi, eax
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x14000a834
lea rax, [rcx + rsi]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x14000a81a
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8, rsi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x14000a849
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x50]
mov rdx, rsi
mov rcx, rdi
call fcn.140009500
cmp dword [rsp + 0x48], 0
ja 0x14000a7d0
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x14000a899
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x14000a894
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000a8d8
mov rcx, r8
call fcn.14000b92c
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov rax, rdi
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.14000b3e0
lea r11, [rsp + 0x1060]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14000a8e0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14000a964
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14000e6a0]
cmp byte [rcx + rax], 0
je 0x14000a964
dec r8
sub rdx, 1
jne 0x14000a94a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14000c148
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000c192
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000c192
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000c192
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000c192
cmp dword [rcx + 0x84], 0xe
jbe 0x14000c192
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000c194
xor al, al
add rsp, 0x28
ret
Function at 0x1400621e0
Capabilities:
Terminate process

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1098
call fcn.14008b170
sub rsp, rax
mov rax, qword [0x1402b1648]
xor rax, rsp
mov qword [rsp + 0x1090], rax
lea r14, [rsp + 0x30]
mov qword [rsp + 0x20], r14
lea rcx, [0x1402b4dec]
lea rdx, [0x1402c54f8]
lea r8, [0x1402c5509]
lea r9, [rsp + 0x38]
call fcn.140062aa0
test eax, eax
je 0x140062238
xor esi, esi
jmp 0x14006226d
mov rdi, qword [rsp + 0x30]
lea rcx, [rdi + 1]
call fcn.1401e0418
mov rsi, rax
mov rbx, qword [rsp + 0x38]
test rax, rax
je 0x140062265
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
call fcn.1401ccb20
mov byte [rsi + rdi], 0
mov rcx, rbx
call fcn.1401df344
mov rcx, rsi
call fcn.1401df344
mov qword [rsp + 0x20], r14
lea rcx, [0x1402b50f8]
lea rdx, [0x1402c54f8]
lea r8, [0x1402c5509]
lea r9, [rsp + 0x38]
call fcn.140062aa0
test eax, eax
je 0x1400622a1
xor esi, esi
jmp 0x1400622d6
mov rdi, qword [rsp + 0x30]
lea rcx, [rdi + 1]
call fcn.1401e0418
mov rsi, rax
mov rbx, qword [rsp + 0x38]
test rax, rax
je 0x1400622ce
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
call fcn.1401ccb20
mov byte [rsi + rdi], 0
mov rcx, rbx
call fcn.1401df344
call fcn.140063530
call fcn.140063670
call fcn.140063530
mov rcx, rsi
call fcn.140064390
test eax, eax
je 0x1400622fd
call fcn.140063670
call fcn.140063530
jmp 0x140062317
lea rcx, str.C:Windowscomsetup.log
call fcn.140064390
call fcn.140063670
call fcn.1400640f0
test eax, eax
jne 0x140062339
mov rcx, qword [rsp + 0x1090]
xor rcx, rsp
call fcn.14008b1d0
xor eax, eax
add rsp, 0x1098
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140063530
lea rcx, [0x1402b4ef0]
call fcn.140062000
mov rdi, rax
lea rcx, [0x1402b4ff4]
call fcn.140062000
mov rbx, rax
mov rcx, rdi
mov rdx, rax
call fcn.140063e60
test eax, eax
je 0x140062479
call fcn.140063530
call fcn.140064340
test eax, eax
jne 0x140062479
call fcn.140063670
call fcn.140064230
mov ebp, eax
call fcn.140063530
test ebp, ebp
je 0x1400623b7
call fcn.140064340
call fcn.140063670
call fcn.140064230
call fcn.140063530
call fcn.140063670
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, [0x1402b4ce8]
call fcn.140062000
mov r14, rax
lea rcx, [rsp + 0x38]
mov rdx, rax
call fcn.140063720
mov rcx, r14
call fcn.1401df344
call fcn.140063670
call fcn.140063530
lea r14, [rsp + 0x14e]
lea r15, [0x140271f74]
mov edx, 0x65
mov rcx, r14
mov r8, r15
call fcn.140064170
call fcn.140063670
lea rcx, [rsp + 0x252]
mov edx, 0x66
mov r8, r15
call fcn.140064170
call fcn.140063530
lea rcx, [rsp + 0x45a]
mov edx, 0x68
mov r8, r15
call fcn.140064170
call fcn.140063670
lea rcx, [rsp + 0x356]
mov edx, 0x69
mov r8, r15
call fcn.140064170
call fcn.140063530
mov rcx, r14
call fcn.140063d50
call fcn.140063530
call fcn.140063670
mov rcx, rsi
call fcn.1400643f0
mov rcx, rsi
call fcn.1401df344
mov rcx, rdi
call fcn.1401df344
mov rcx, rbx
call fcn.1401df344
call fcn.140063530
int3
Function at 0x1400626e0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rbx
mov rsi, r8
mov r8, rcx
mov r9d, dword [rdx]
mov eax, dword [rdx + 4]
bswap r9d
bswap eax
mov r11d, dword [rdx + 8]
bswap r11d
mov edx, dword [rdx + 0xc]
bswap edx
xor r10d, r10d
nop word cs:[rax + rax]
mov ebx, eax
xor r9d, eax
mov ecx, ebx
rol r9d, cl
mov eax, r11d
mov ecx, edx
xor eax, edx
mov r11d, edx
rol eax, cl
mov edx, r9d
add edx, dword [r8 + r10*8]
add eax, dword [r8 + r10*8 + 4]
inc r10
mov r9d, ebx
cmp r10, 0x14
jne 0x140062710
add ebx, dword [r8 + 0xa0]
add r11d, dword [r8 + 0xa4]
mov ecx, ebx
shr ecx, 0x18
mov byte [rsi], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [rsi + 1], cl
mov byte [rsi + 2], bh
mov byte [rsi + 3], bl
mov ecx, eax
shr ecx, 0x18
mov byte [rsi + 4], cl
mov ecx, eax
shr ecx, 0x10
mov byte [rsi + 5], cl
mov byte [rsi + 6], ah
mov byte [rsi + 7], al
mov ecx, r11d
mov eax, r11d
shr eax, 0x18
mov byte [rsi + 8], al
mov eax, ecx
shr eax, 0x10
mov byte [rsi + 9], al
mov byte [rsi + 0xa], ch
mov byte [rsi + 0xb], cl
mov eax, edx
shr eax, 0x18
mov byte [rsi + 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [rsi + 0xd], al
mov byte [rsi + 0xe], dh
mov byte [rsi + 0xf], dl
pop rbx
pop rsi
ret
Function at 0x140063c70
Capabilities:
Enumerate processes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x160
mov rdi, rcx
mov rax, qword [0x1402b1648]
xor rax, rsp
mov qword [rsp + 0x158], rax
call fcn.140063670
call fcn.140063530
xor ebx, ebx
mov ecx, 2
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp rax, 0xffffffffffffffff
je 0x140063d2b
mov rsi, rax
mov dword [rsp + 0x28], 0x130
lea rdx, [rsp + 0x28]
mov rcx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x140063d10
call fcn.140063670
call fcn.140063530
lea rbx, [rsp + 0x54]
mov r15, qword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea r14, [rsp + 0x28]
nop dword [rax + rax]
mov rcx, rdi
mov rdx, rbx
call r15
test eax, eax
je 0x140063d14
mov rcx, rsi
mov rdx, r14
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140063cf0
xor ebx, ebx
jmp 0x140063d18
xor ebx, ebx
jmp 0x140063d22
mov ebx, dword [rsp + 0x30]
call fcn.140063670
call fcn.140063530
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.14008b1d0
mov eax, ebx
add rsp, 0x160
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x140063d50
Capabilities:
Create process on windows

Disassembly:
push rsi
sub rsp, 0xf0
movaps xmmword [rsp + 0xe0], xmm6
mov rsi, rcx
mov rax, qword [0x1402b1648]
xor rax, rsp
mov qword [rsp + 0xd8], rax
call fcn.140063530
xorps xmm6, xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
mov qword [rsp + 0xd0], 0
movaps xmmword [rsp + 0x50], xmm6
mov qword [rsp + 0x60], 0
mov word [rsp + 0xb0], 0
call fcn.140063670
call fcn.140063530
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140063e30
call fcn.140063670
mov rcx, qword [rsp + 0x50]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rsi
mov rcx, qword [rsp + 0x58]
call rsi
call fcn.140063530
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.14008b1d0
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf0
pop rsi
ret
Function at 0x140063f60
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x1402b1648]
xor rax, rsp
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov edx, 8
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140063fc4
mov rdi, rax
mov rcx, rax
mov rdx, r14
mov r8, rsi
call fcn.1401ccb20
test rsi, rsi
je 0x14006405b
cmp rsi, 8
jae 0x140063fcb
xor eax, eax
jmp 0x140064050
xor esi, esi
jmp 0x1400640d5
cmp rsi, 0x20
jae 0x140063fd5
xor eax, eax
jmp 0x140064022
mov rax, rsi
and rax, 0xffffffffffffffe0
xor ecx, ecx
pcmpeqd xmm0, xmm0
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rdi + rcx]
movdqu xmm2, xmmword [rdi + rcx + 0x10]
pxor xmm1, xmm0
pxor xmm2, xmm0
movdqu xmmword [rdi + rcx], xmm1
movdqu xmmword [rdi + rcx + 0x10], xmm2
add rcx, 0x20
cmp rax, rcx
jne 0x140063ff0
cmp rax, rsi
je 0x14006405b
test sil, 0x18
je 0x140064050
mov rcx, rax
mov rax, rsi
and rax, 0xfffffffffffffff8
pcmpeqd xmm0, xmm0
movq xmm1, qword [rdi + rcx]
pxor xmm1, xmm0
movq qword [rdi + rcx], xmm1
add rcx, 8
cmp rax, rcx
jne 0x140064030
cmp rax, rsi
je 0x14006405b
nop dword [rax]
not byte [rdi + rax]
inc rax
cmp rsi, rax
jne 0x140064050
mov dword [rsp + 0x3c], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
mov rcx, rbx
mov edx, 0xc0000000
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x3c]
mov rcx, rax
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14008b1d0
mov eax, esi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x1400640f0
Capabilities:
Check mutex on windows
Get hostname

Disassembly:
push rsi
sub rsp, 0x240
mov rax, qword [0x1402b1648]
xor rax, rsp
mov qword [rsp + 0x238], rax
mov dword [rsp + 0x2c], 0x104
lea rsi, [rsp + 0x30]
mov r8d, 0x208
mov rcx, rsi
xor edx, edx
call fcn.1401cd1c0
lea rdx, [rsp + 0x2c]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
xor ecx, ecx
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0xb7
setne sil
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.14008b1d0
mov eax, esi
add rsp, 0x240
pop rsi
ret
Function at 0x140064170
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rcx
xor r15d, r15d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x140064219
mov rsi, rax
call fcn.140063670
xor r15d, r15d
xor ecx, ecx
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r14d, eax
xor ecx, ecx
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
call fcn.140063530
test rbx, rbx
je 0x140064219
call fcn.140063530
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x1400641fc
mov r15, rax
call fcn.140063670
add r14d, 0xfffffc00
mov rcx, rdi
mov rdx, r15
mov r8, r14
call fcn.140063f60
test eax, eax
je 0x1400641fc
call fcn.140063530
call fcn.140063670
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15d, 1
mov eax, r15d
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1400700c0
Capabilities:
Set thread local storage value

Disassembly:
mov eax, 0x28
call fcn.14008b170
sub rsp, rax
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
add rsp, 0x28
ret
Function at 0x1400796e0
Capabilities:
Encode data using xor

Disassembly:
xor r9b, r9b
mov r10, rdx
test r8, r8
je 0x140079707
sub r10, rcx
nop
movzx edx, byte [r10 + rcx]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
xor dl, al
or r9b, dl
sub r8, 1
jne 0x1400796f0
movzx eax, r9b
ret