joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140012128
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x1400121bb
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400121bb
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rsi
mov rcx, rdi
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test rbp, rbp
je 0x1400121bb
test eax, eax
je 0x1400121bb
lea ecx, [rbx + 2]
mov edx, eax
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x1400121bb
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400121bb
mov r8, rdi
mov rdx, rbp
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400143e8
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x50
and dword [rax - 0x28], 0
mov rdi, rdx
mov rsi, rcx
lea rdx, [0x1400039c8]
lea rcx, [rax - 0x20]
lea r8, [rax - 0x28]
mov rbx, r9
call fcn.140012f88
mov r11, qword [rsp + 0x88]
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], r11
mov r9, rbx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
je 0x140014492
movzx r8d, ax
or r8d, 0x80070000
test eax, eax
cmovle r8d, eax
mov dword [rsp + 0x30], r8d
mov rcx, qword [0x140023130]
lea rax, [0x140023130]
cmp rcx, rax
je 0x140014497
test byte [rcx + 0x1c], 4
je 0x140014497
mov rcx, qword [rcx + 0x10]
mov r9d, r8d
lea r8, [0x140001d60]
mov edx, 0x41
call fcn.140005a48
mov r8d, dword [rsp + 0x30]
mov rax, qword [rsp + 0x90]
test rax, rax
je 0x1400144a7
mov dword [rax], r8d
lea rcx, [rsp + 0x38]
call fcn.140012fdc
mov rsi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x140014644
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x50
and dword [rax - 0x28], 0
mov rdi, rdx
mov rsi, rcx
lea rdx, [0x1400039e8]
lea rcx, [rax - 0x20]
lea r8, [rax - 0x28]
mov ebx, r9d
call fcn.140012f88
mov r11d, dword [rsp + 0x88]
mov rax, qword [rsp + 0x80]
mov dword [rsp + 0x28], r11d
mov r9d, ebx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
je 0x1400146ee
movzx r8d, ax
or r8d, 0x80070000
test eax, eax
cmovle r8d, eax
mov dword [rsp + 0x30], r8d
mov rcx, qword [0x140023130]
lea rax, [0x140023130]
cmp rcx, rax
je 0x1400146f3
test byte [rcx + 0x1c], 4
je 0x1400146f3
mov rcx, qword [rcx + 0x10]
mov r9d, r8d
lea r8, [0x140001d60]
mov edx, 0x42
call fcn.140005a48
mov r8d, dword [rsp + 0x30]
mov rax, qword [rsp + 0x90]
test rax, rax
je 0x140014703
mov dword [rax], r8d
lea rcx, [rsp + 0x38]
call fcn.140012fdc
mov rsi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x14001c1b0
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x140023108]
xor rax, rsp
mov qword [rsp + 0x250], rax
and dword [rsp + 0x20], 0
mov rbx, rcx
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x28]
lea rdx, [0x140004ac8]
call fcn.140012f88
test rbx, rbx
jne 0x14001c238
mov ebx, 0x80070057
mov dword [rsp + 0x20], ebx
mov rcx, qword [0x140023130]
lea rax, [0x140023130]
cmp rcx, rax
je 0x14001c2bf
test byte [rcx + 0x1c], 4
je 0x14001c2bf
mov rcx, qword [rcx + 0x10]
lea r8, [0x140001c70]
mov edx, 0x16
mov r9d, 0x80070057
call fcn.140015d64
jmp 0x14001c2bb
and qword [rbx], 0
lea rdx, [rsp + 0x40]
lea rcx, [0x140004ae8]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x14001c2a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov dword [rsp + 0x20], ebx
mov rcx, qword [0x140023130]
lea rax, [0x140023130]
cmp rcx, rax
je 0x14001c2bf
test byte [rcx + 0x1c], 4
je 0x14001c2bf
mov rcx, qword [rcx + 0x10]
lea r8, [0x140001c70]
mov edx, 0x17
mov r9d, ebx
call fcn.140005a48
jmp 0x14001c2bb
xor edx, edx
lea r9, [rsp + 0x20]
lea rcx, [rsp + 0x40]
lea r8d, [rdx + 2]
call fcn.1400148c4
mov qword [rbx], rax
mov ebx, dword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.140012fdc
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14001d950
add rsp, 0x260
pop rbx
ret
Function at 0x14001c2ec
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140023108]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
cmp ax, bx
je 0x14001c33a
lea r9d, [rbx + 0x10]
lea r8, [rsp + 0x20]
lea edx, [rbx + 0x58]
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, ebx
je 0x14001c33a
mov eax, 0x800
test word [rsp + 0x2e], ax
je 0x14001c340
mov ebx, 1
jmp 0x14001c340
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14001d950
add rsp, 0x50
pop rbx
ret

Function at 0x14001c4b8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rdx, r8
mov rsi, r8
mov rbp, rcx
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14001c504
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rdi, rdi
je 0x14001c504
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rdi], eax
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14001d43c
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x140023108]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call sub.msvcrt.dll_memset
and qword [rbx + 0x50], 0
and dword [rbx + 0x58], 0
and dword [rbx + 0x5c], 0
lea rax, [0x140000000]
mov esi, 0x94
lea rcx, [rsp + 0x20]
mov r8, rsi
xor edx, edx
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rax
mov dword [rbx], 0x60
mov byte [rbx + 0x18], 0
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x30], 2
mov esi, 1
jne 0x14001d4cf
cmp dword [rsp + 0x24], 5
jb 0x14001d4e9
jmp 0x14001d4e5
cmp dword [rsp + 0x30], esi
jne 0x14001d4e9
cmp dword [rsp + 0x24], 4
ja 0x14001d4e5
jne 0x14001d4e9
cmp dword [rsp + 0x28], 0
jbe 0x14001d4e9
mov byte [rbx + 0x18], sil
lea rax, [0x140001840]
lea rcx, [rbx + 0x28]
mov dword [rbx + 0x1c], 0x800
mov qword [rbx + 0x20], rax
call fcn.14000b4a8
movzx ecx, byte [0x140023ec0]
test eax, eax
mov rax, rbx
cmovs ecx, esi
mov byte [0x140023ec0], cl
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14001d950
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14001d600
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x140023f48], rdi
je 0x14001d660
cmp rax, rdi
jne 0x14001d653
mov r12d, 1
jmp 0x14001d660
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001d639
mov eax, dword [0x140023f40]
cmp eax, 1
jne 0x14001d675
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x14001d6dc
mov eax, dword [0x140023f40]
cmp eax, ebx
jne 0x14001d6d2
mov dword [0x140023f40], 1
lea r13, [0x140001808]
lea rdi, [0x1400017f0]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x14001d6c4
cmp eax, ebx
jne 0x14001d6c4
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x14001d6b9
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14001d6a2
cmp eax, ebx
je 0x14001d6dc
mov eax, 0xff
jmp 0x14001d824
mov dword [0x14002381c], 1
mov eax, dword [0x140023f40]
cmp eax, 1
jne 0x14001d704
lea rdx, [0x1400017e8]
lea rcx, [0x1400017b8]
call sub.msvcrt.dll__initterm
mov dword [0x140023f40], 2
cmp r12d, ebx
jne 0x14001d713
mov rax, rbx
xchg qword [0x140023f48], rax
cmp qword [0x140023f60], rbx
je 0x14001d73b
lea rcx, [0x140023f60]
call fcn.14001ddec
cmp eax, ebx
je 0x14001d73b
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x140023f60]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x14001d751
mov eax, 0xff
jmp 0x14001d824
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x14001d7d6
cmp word [rcx], bx
je 0x14001d76c
cmp edx, ebx
jne 0x14001d7d6
cmp word [rcx], bx
je 0x14001d782
cmp word [rcx], 0x20
ja 0x14001d782
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14001d76c
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.14000f4f8
mov dword [0x140023818], eax
cmp dword [0x1400237fc], ebx
jne 0x14001d7c0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14002381c], ebx
jne 0x14001d7d4
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140023818]
jmp 0x14001d824
cmp word [rcx], 0x22
jne 0x14001d7e9
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14001d75d
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call fcn.14001df00
add rsp, 0x28
jmp 0x14001d600
Function at 0x14001d950
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140023108]
jne 0x14001d96b
rol rcx, 0x10
test cx, 0xffff
jne 0x14001d967
ret 0
ror rcx, 0x10
jmp 0x14001dfbc
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400238d0]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov r11, qword [0x1400239c8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14001e041
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1400238d0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.ntdll.dll_RtlVirtualUnwind
jmp 0x14001e063
mov rax, qword [rsp + 0x88]
mov qword [0x1400239c8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140023968], rax
mov rax, qword [0x1400239c8]
mov qword [0x140023840], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140023950], rax
mov dword [0x140023830], 0xc0000409
mov dword [0x140023834], 1
mov rax, qword [0x140023108]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140023110]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400018d0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x14001de58
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x14001dea5
cmp rcx, 0xffffffffffffffff
je 0x14001dea5
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001de9d
cmp dword [rcx + 0x3c], edx
jl 0x14001de9d
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14001de9d
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14001dea5
mov rax, rdx
add rsp, 0x18
ret

Function at 0x14001e0f0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x530
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x14001e15b
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x14001e17b
mov rax, qword [rsp + 0x538]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x538]
mov qword [rsp + 0xf8], rax
lea rcx, [0x1400018e0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add rsp, 0x530
pop rbx
ret
Function at 0x1400020b8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002102
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002102
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002102
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002102
cmp dword [rcx + 0x84], 0xe
jbe 0x140002102
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002104
xor al, al
add rsp, 0x28
ret
Function at 0x1400010d0
Capabilities:
Access peb ldr_data
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x140
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rax, qword gs:[0x60]
mov ebp, ecx
mov rdx, qword [rax + 0x18]
mov rdi, qword [rdx + 0x20]
test rdi, rdi
je 0x1400011dc
mov r14d, 0x104
movzx eax, word [rdi + 0x48]
test ax, ax
je 0x1400011dc
cmp ax, r14w
jae 0x1400011dc
mov rax, qword [rdi + 0x50]
xor ebx, ebx
movzx ecx, word [rax]
test cx, cx
je 0x14000116e
xor esi, esi
nop dword [rax + rax]
movzx ecx, cx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov byte [rsp + rsi + 0x20], al
inc ebx
mov rax, qword [rdi + 0x50]
mov esi, ebx
movzx ecx, word [rax + rbx*2]
test cx, cx
jne 0x140001150
mov eax, ebx
cmp rax, r14
jae 0x140001212
mov byte [rsp + rbx + 0x20], 0
lea rcx, [rsp + 0x20]
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
xor ecx, ecx
movsxd rdx, eax
test eax, eax
je 0x1400011bc
nop dword [rax]
nop dword [rax + rax]
movsx eax, byte [rsp + rcx + 0x20]
inc rcx
add eax, ebx
imul ebx, eax, 0x81
mov eax, ebx
shr eax, 6
xor ebx, eax
cmp rcx, rdx
jne 0x1400011a0
lea eax, [rbx + rbx*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
cmp eax, ebp
je 0x14000120c
mov rdi, qword [rdi]
test rdi, rdi
jne 0x140001121
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140001bb0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov rax, qword [rdi + 0x20]
jmp 0x1400011de
call fcn.140001cd8
int3
Function at 0x140001220
Capabilities:
Encode data using xor
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x110
mov r12d, edx
mov rbp, rcx
test rcx, rcx
je 0x1400013a8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400013a8
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x1400013a8
movups xmm0, xmmword [rax + 0x18]
lea rcx, [rsp + 0x20]
xor esi, esi
movups xmm1, xmmword [rax + 0x28]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x38]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x48]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x58]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x68]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x78]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax + 0x88]
sub rax, 0xffffffffffffff68
movups xmmword [rcx - 0x10], xmm0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rcx], xmm1
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm0
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm1
movups xmm1, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm0
movups xmm0, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm1
movups xmm1, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm1
mov r15d, dword [rsp + 0x90]
add r15, rbp
mov r13d, dword [r15 + 0x20]
mov ecx, dword [r15 + 0x1c]
add r13, rbp
mov edx, dword [r15 + 0x24]
add rcx, rbp
add rdx, rbp
mov qword [rsp + 0x150], rcx
mov qword [rsp + 0x160], rdx
cmp dword [r15 + 0x14], esi
jbe 0x1400013a8
nop dword [rax]
movzx eax, word [rdx + rsi*2]
xor ebx, ebx
mov edi, dword [r13 + rsi*4]
add rdi, rbp
mov r14d, dword [rcx + rax*4]
mov rcx, rdi
add r14, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenA]
xor ecx, ecx
movsxd rdx, eax
test eax, eax
je 0x14000137b
nop word [rax + rax]
movsx eax, byte [rcx + rdi]
inc rcx
add eax, ebx
imul ebx, eax, 0x81
mov eax, ebx
shr eax, 6
xor ebx, eax
cmp rcx, rdx
jne 0x140001360
lea eax, [rbx + rbx*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
cmp r12d, eax
je 0x1400013c5
mov rcx, qword [rsp + 0x150]
inc esi
mov rdx, qword [rsp + 0x160]
cmp esi, dword [r15 + 0x14]
jb 0x140001330
xor eax, eax
mov rbx, qword [rsp + 0x158]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, r14
jmp 0x1400013aa

Function at 0x140002590
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [0x1804be628]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x100
call fcn.180321c40
mov edx, 0x100
lea rcx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x180017abe
xor eax, eax
mov rcx, 0xffffffffffffffff
mov qword [rbx], rax
lea rax, [rsp + 0x30]
nop word [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x180017a90
mov qword [rbx + 8], rcx
inc rcx
call fcn.18031f458
mov r8, qword [rbx + 8]
lea rdx, [rsp + 0x30]
inc r8
mov qword [rbx], rax
mov rcx, rax
call fcn.180321590
jmp 0x180017acd
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov rax, rbx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.18031edb0
add rsp, 0x140
pop rbx
ret

Function at 0x180019110
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x180019144
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x180019130
ret
Function at 0x180021e30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x90
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
mov rax, qword [0x1804be628]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [rcx + 0x10]
movaps xmm10, xmm2
mov rbx, rdx
mov rsi, rcx
cmp rdi, qword [rcx + 8]
je 0x180022023
movsd xmm7, qword [0x180487740]
movabs rbp, 0x8000000000000000
movsd xmm6, qword [0x180487738]
mov r14d, 0x405
movsd xmm9, qword [0x180487758]
movabs r15, 0xffff000000000000
movabs r12, 0xffffffffffff
xorps xmm8, xmm8
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov word [rsp + 0x36], r14w
mov rax, qword [rsp + 0x30]
and rax, r15
or rax, rbx
mov qword [rsp + 0x30], rax
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x180021ef5
add rdi, 0xffffffffffffffa0
mov dword [rsp + 0x28], eax
mov rcx, rdi
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x20]
call fcn.180020430
mov edx, dword [rdi]
mov rax, qword [rdi + 8]
mov rcx, qword [rsp + 0x20]
and rax, r12
shl rdx, 5
add rdx, rax
cmp rcx, rdx
je 0x180022019
movzx eax, word [rcx + 0x1e]
shr ax, 9
test al, 1
jne 0x180022074
movzx edx, word [rcx + 0x1e]
movzx eax, dl
shr al, 4
test al, 1
je 0x180022019
movzx eax, dx
shr ax, 8
test al, 1
je 0x180021fd2
mov rdx, qword [rcx + 0x10]
xorps xmm0, xmm0
test rdx, rdx
js 0x180021f76
cvtsi2sd xmm0, rdx
jmp 0x180021f8e
mov rax, rdx
mov rcx, rdx
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2sd xmm0, rcx
addsd xmm0, xmm0
movsd qword [rsp + 0x28], xmm0
movsd xmm0, qword [rsp + 0x28]
comisd xmm0, xmm8
jb 0x180022019
movsd xmm0, qword [rsp + 0x28]
comisd xmm7, xmm0
jbe 0x180022019
movsd xmm0, qword [rsp + 0x28]
xor ecx, ecx
comisd xmm0, xmm6
jb 0x180021fc8
subsd xmm0, xmm6
comisd xmm0, xmm6
jae 0x180021fc8
mov rcx, rbp
cvttsd2si rax, xmm0
add rax, rcx
jmp 0x180022014
shr dl, 7
test dl, 1
je 0x180022074
mov rdx, qword [rcx + 0x10]
xorps xmm0, xmm0
cvtsi2sd xmm0, rdx
movsd qword [rsp + 0x28], xmm0
movsd xmm1, qword [rsp + 0x28]
comisd xmm1, xmm9
jb 0x180022019
movsd xmm0, qword [rsp + 0x28]
comisd xmm6, xmm0
jbe 0x180022019
movsd xmm0, qword [rsp + 0x28]
cvttsd2si rax, xmm0
cmp rdx, rax
je 0x18002206f
cmp rdi, qword [rsi + 8]
jne 0x180021ed0
movaps xmm0, xmm10
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18031edb0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop r12
ret
mov rcx, qword [rsp + 0x20]
add rcx, 0x10
call fcn.180020040
jmp 0x180022027