joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140027980
Capabilities:
Get token membership

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xd0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x1400bd288]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, rcx
mov dword [rsp + 0x20], 0x220
mov r9d, 0x20
lea r8d, [r9 - 0x1e]
lea rdx, [0x140086be0]
lea rcx, [rsp + 0x40]
call fcn.140004b5c
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x48]
mov rcx, qword [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x1400279f5
cmp dword [rsp + 0x34], 0
setne bl
xor dil, dil
jmp 0x1400279fc
mov dil, 1
mov bl, byte [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140004d20
test dil, dil
je 0x140027a0f
xor al, al
jmp 0x140027a15
mov al, bl
jmp 0x140027a15
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400663d0
mov rbx, qword [rsp + 0xe8]
add rsp, 0xd0
pop rdi
ret

Function at 0x140027c80
Capabilities:
Get common file path

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rdi
mov rdi, rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
xor ebx, ebx
mov qword [rbp - 8], rbx
mov edx, 0x104
lea rcx, [rbp - 0x18]
call fcn.140037674
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x18]
sub rdx, rcx
sar rdx, 1
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
test eax, eax
jne 0x140027d1e
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140027dfe
mov rdx, qword [rbp - 8]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027df9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140027df9
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop
mov r8, qword [rbp - 0x10]
mov rax, r8
mov rcx, qword [rbp - 0x18]
sub rax, rcx
sar rax, 1
cmp rdx, rax
jbe 0x140027d5b
lea rcx, [rbp - 0x18]
call fcn.140037674
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x18]
sub rdx, rcx
sar rdx, 1
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
mov r8, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x18]
test edx, edx
je 0x140027dbf
sub r8, rcx
sar r8, 1
mov eax, edx
cmp rax, r8
ja 0x140027dbf
mov rdx, rcx
mov rcx, rdi
call fcn.140003cac
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140027dbb
mov rdx, qword [rbp - 8]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027db6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140027db6
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.140066724
mov bl, 1
jmp 0x140027dfe
test rcx, rcx
je 0x140027dfe
mov rdx, qword [rbp - 8]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027df9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140027df9
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.140066724
mov al, bl
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret
Function at 0x14003e9b4
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x198
mov rax, qword [0x1400bd288]
xor rax, rsp
mov qword [rsp + 0x180], rax
cmp dword [0x1400be300], 0
je 0x14003e9e1
mov eax, dword [0x1400be2fc]
jmp 0x14003ea62
xor edx, edx
lea rcx, [rsp + 0x64]
mov r8d, 0x118
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x30]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rsp + 0x30]
mov r9b, byte [rsp + 0x17a]
mov edx, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x64]
mov r8d, dword [rsp + 0x70]
mov word [rsp + 0x28], ax
movzx eax, word [rsp + 0x178]
mov word [rsp + 0x20], ax
call fcn.14003ea80
mov dword [0x1400be2fc], eax
mov dword [0x1400be300], 1
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1400663d0
add rsp, 0x198
ret

Function at 0x14003fa2c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov r14, r8
mov rdi, rdx
mov rsi, rcx
and dword [rbp - 0x30], 0
and dword [rbp + 0x38], 0
cmp qword [rdx + 0x18], 8
jb 0x14003fa65
mov rdx, qword [rdx]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x30]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003fb3e
mov ecx, dword [rbp + 0x38]
test ecx, ecx
je 0x14003fb39
mov eax, dword [rbp - 0x30]
dec eax
cmp eax, 1
ja 0x14003fb39
mov byte [rbp + 0x28], 0
lea rdx, [rcx + 2]
lea r8, [rbp + 0x28]
lea rcx, [rbp - 0x20]
call fcn.14003fc84
nop
cmp qword [rdi + 0x18], 8
jb 0x14003fac2
mov rdi, qword [rdi]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
mov rbx, qword [rbp - 0x20]
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x30]
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14003faf9
mov rdx, rbx
mov rcx, r14
call fcn.140003cac
nop
test rbx, rbx
je 0x14003fb35
mov rdx, qword [rbp - 0x10]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003fb2d
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003fb2d
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140066724
mov eax, edi
jmp 0x14003fb3e
mov eax, 0x65e
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14003fb5c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x30
and dword [r9], 0
mov rsi, r9
cmp qword [rdx + 0x18], 8
mov rdi, r8
jb 0x14003fb7c
mov rdx, qword [rdx]
lea rax, [rsp + 0x50]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14003fc13
mov rbx, qword [rsp + 0x50]
lea ecx, [rax + 0x18]
call fcn.1400663f8
lea rcx, vtable.appv::utility::scope_guard_func_impl_class_std::_Binder_struct_std::_Unforced__long_int____cdecl___struct_HKEY______ptr64___struct_HKEY______ptr64____ptr64__.0
mov qword [rsp + 0x68], rax
mov qword [rax], rcx
mov rcx, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rbx
cmp qword [rdi + 0x18], 8
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x70], 4
jb 0x14003fbe2
mov rdi, qword [rdi]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rsp + 0x58]
mov ebx, eax
call fcn.140006624
mov eax, ebx
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400406a8
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x1a8]
sub rsp, 0x290
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400bd288]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rdi, rcx
xor r14d, r14d
mov esi, r14d
mov dword [rsp + 0x20], r14d
call fcn.14003e9b4
and eax, 0xffff0000
cmp eax, 0x800000
jl 0x140040757
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r14w
lea rdx, str.API_MS_WIN
lea rcx, [rsp + 0x30]
call fcn.140003cac
lea esi, [r14 + 1]
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140040745
mov rcx, qword [rdi]
mov r8, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsnicmp]
test eax, eax
mov bl, sil
je 0x14004075a
mov bl, r14b
test sil, 1
je 0x14004076a
lea rcx, [rsp + 0x30]
call fcn.140003c44
test bl, bl
je 0x14004080c
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14004078e
mov rcx, qword [rdi]
lea rdx, [rsp + 0x30]
call fcn.14004051c
mov rsi, rax
mov rbx, r14
test rax, rax
je 0x140040898
lea rdx, str.API_MS_WIN_CORE_PROCESSTHREADS_L1_1_0.DLL
mov rdx, qword [rbx + rdx]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__stricmp]
test eax, eax
je 0x14004088c
add rbx, 8
cmp rbx, 0x30
jb 0x1400407a7
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14004080c
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040807
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140040807
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.140066724
mov edx, 0x104
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0x103
ja 0x1400408dc
movdqa xmm0, xmmword [0x140097cf0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r14w
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.140003cac
nop
mov r8, rdi
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140040c78
cmp qword [rax + 0x18], 8
jb 0x140040869
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.140003c44
nop
lea rcx, [rsp + 0x30]
call fcn.140003c44
jmp 0x1400408d7
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400408d7
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400408d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400408d2
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.140066724
mov rax, rbx
jmp 0x1400408de
xor eax, eax
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400663d0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14004135c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x40
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rsi, rdx
mov rdi, rcx
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x14004138b
mov rcx, qword [rdx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ebx, [rax + 1]
xor ebp, ebp
mov word [rsp + 0x58], bp
mov edx, ebx
lea r8, [rsp + 0x58]
lea rcx, [rsp + 0x28]
call fcn.14003fd00
nop
cmp qword [rsi + 0x18], 8
jb 0x1400413bc
mov rsi, qword [rsi]
mov r8d, ebx
mov rbx, qword [rsp + 0x28]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 7
mov word [rdi], bp
test eax, eax
je 0x140041435
lea rdx, [0x14008a868]
test rbx, rbx
cmovne rdx, rbx
mov rcx, rdi
call fcn.140003cac
nop
test rbx, rbx
je 0x140041478
mov rdx, qword [rsp + 0x38]
sub rdx, rbx
sar rdx, 1
add rdx, rdx
mov rax, rbx
cmp rdx, 0x1000
jb 0x140041470
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041470
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
test rbx, rbx
je 0x140041478
mov rdx, qword [rsp + 0x38]
sub rdx, rbx
sar rdx, 1
add rdx, rdx
mov rax, rbx
cmp rdx, 0x1000
jb 0x140041470
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041470
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140066724
mov rax, rdi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140064164
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x50
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rbp, rdx
mov rbx, rcx
mov rdx, rcx
mov rcx, rbp
call fcn.140035324
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14006419e
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 1
lea r9, [0x14008cd7c]
xor r8d, r8d
mov rdx, qword [rbx + 0x10]
call fcn.1400416b8
cmp rax, 0xffffffffffffffff
jne 0x1400641c7
mov al, 1
jmp 0x14006426d
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400641d4
mov rcx, qword [rbx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
test eax, eax
je 0x14006426d
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.14001c180
nop
cmp qword [rbx + 0x18], 8
jb 0x140064201
mov rbx, qword [rbx]
mov r8d, esi
mov rdi, qword [rsp + 0x38]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp esi, eax
sete bl
jne 0x140064228
mov rdx, rdi
mov rcx, rbp
call fcn.140003cac
nop
test rdi, rdi
je 0x14006426b
mov rdx, qword [rsp + 0x48]
sub rdx, rdi
sar rdx, 1
add rdx, rdx
mov rax, rdi
cmp rdx, 0x1000
jb 0x140064263
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140064263
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140066724
mov al, bl
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140065f30
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
mov dword [rax + 8], ecx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rdi, rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
xor esi, esi
mov qword [rbp - 0x10], rsi
mov dword [rbp + 0x30], esi
lea r8, [rbp + 0x30]
xor edx, edx
lea ecx, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x140065f78
lea ebx, [rsi + 0xd]
jmp 0x140065fe3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0xea
jne 0x140065fe3
mov word [rbp + 0x20], si
mov edx, dword [rbp + 0x30]
lea rax, [rbp - 0x20]
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
lea r8, [rbp - 0x30]
lea rcx, [rbp - 0x20]
call fcn.14003ffcc
lea r8, [rbp + 0x30]
mov rdx, qword [rbp - 0x20]
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x140065fd5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x140065fe3
mov rdx, qword [rbp - 0x20]
mov rcx, rdi
call fcn.140003cac
mov ebx, esi
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140066026
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066021
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140066021
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.140066724
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret

Function at 0x140066a90
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400be0c0], eax
call fcn.140066f14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400be0c0], 0
jne case.default.0x140066ae6
mov ecx, 1
call fcn.140066f14
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
or esp, dword [rdi]
xor al, 0x51
invalid
Function at 0x1800db694
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov esi, ecx
mov ecx, dword [0x18057a31c]
cmp ecx, 0xffffffff
jne 0x1800db6b3
call sub.KERNEL32.dll_TlsAlloc
mov ecx, eax
mov dword [0x18057a31c], eax
movsxd rdx, esi
add rsp, 0x20
pop rsi
jmp fcn.18040f543
Function at 0x180115904
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov r14, r8
mov rbp, rdx
mov rsi, rcx
mov ebx, dword [rcx + 0x110]
mov ecx, ebx
call fcn.18010df24
mov edi, eax
test eax, eax
jne 0x180115a81
movsxd rax, ebx
imul r15, rax, 0x78
lea r12, [0x180611330]
mov edi, dword [r15 + r12 + 0xc]
mov ecx, dword [r15 + r12 + 0x10]
call fcn.1802fb6e2
mov rbx, rax
mov rcx, rdi
call fcn.1802fb6e2
mov r13, rax
test rbx, rbx
je 0x180115969
test r13, r13
jne 0x18011598c
test rbx, rbx
je 0x180115976
mov rcx, rbx
call fcn.1802fbeb6
mov edi, 0xc
test r13, r13
je 0x180115a81
mov rcx, r13
jmp 0x180115a7c
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rbp
mov rbp, r14
mov rcx, rsi
mov rdx, r13
call qword [r15 + r12 + 0x68]
mov edi, eax
test eax, eax
jne 0x180115a65
lea r14, [r15 + r12]
add r14, 0x10
cmp dword [r14], 0
je 0x1801159d9
xor eax, eax
mov rcx, qword [rsi + 0x228]
mov cl, byte [rcx + rax]
xor cl, 0x5c
mov byte [rbx + rax], cl
inc rax
mov ecx, dword [r14]
cmp rax, rcx
jb 0x1801159be
mov rcx, rsi
call qword [r15 + r12 + 0x58]
mov edi, eax
test eax, eax
jne 0x180115a65
mov r8d, dword [r14]
mov rcx, rsi
mov rdx, rbx
call qword [r15 + r12 + 0x60]
mov edi, eax
test eax, eax
jne 0x180115a65
lea rax, [r15 + r12]
add rax, 0x60
mov rcx, rsi
mov rdx, r13
mov r8, qword [rsp + 0x28]
call qword [rax]
mov edi, eax
test eax, eax
jne 0x180115a65
lea rax, [r15 + r12]
add rax, 0x68
mov rcx, rsi
mov rdx, rbx
call qword [rax]
mov edi, eax
test eax, eax
jne 0x180115a65
xor edi, edi
mov eax, 0
cmp dword [rsp + 0x28], 0
mov r8, qword [rsp + 0x30]
je 0x180115a62
xor ecx, ecx
xor eax, eax
mov edx, dword [rbp]
cmp rcx, rdx
jae 0x180115a60
mov dl, byte [rbx + rcx]
mov byte [r8 + rcx], dl
inc rcx
inc eax
cmp rcx, qword [rsp + 0x28]
jb 0x180115a43
jmp 0x180115a62
mov eax, ecx
mov dword [rbp], eax
mov rcx, qword [rsi + 0x228]
call fcn.1802fbeb6
mov rcx, r13
call fcn.1802fbeb6
mov rcx, rbx
call fcn.1802fbeb6
mov eax, edi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x180181c24
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
mov eax, 0x16
cmp edx, 4
jb 0x180181d08
mov bl, byte [rcx]
and bl, 0x1f
mov eax, 0x20005
cmp bl, 3
jne 0x180181d08
movzx ebx, byte [rcx + 1]
mov ebp, ebx
and ebp, 0x7f
mov r10d, 2
test bl, bl
js 0x180181c61
mov r11d, ebp
jmp 0x180181c93
mov ebx, ebp
dec bl
cmp bl, 1
ja 0x180181d08
xor r11d, r11d
mov esi, 2
mov edi, ebp
mov ebx, r11d
shl ebx, 8
movzx r11d, byte [rcx + rsi]
inc rsi
or r11d, ebx
dec edi
jne 0x180181c78
add ebp, 2
mov r10d, ebp
test r11d, r11d
je 0x180181d08
lea esi, [r10 + r11]
cmp esi, edx
ja 0x180181d08
lea r11d, [r11*8 - 8]
mov eax, r10d
movzx eax, byte [rcx + rax]
and eax, 7
sub r11d, eax
cmp r11d, dword [r9]
jbe 0x180181cc4
mov dword [r9], r11d
mov eax, 0x20004
jmp 0x180181d08
test r11d, r11d
je 0x180181d03
inc r10d
mov edx, r11d
xor esi, esi
mov ebp, 7
mov edi, r10d
movzx edi, byte [rcx + rdi]
mov ebx, esi
and ebx, 7
mov eax, ebx
xor al, 7
movzx eax, al
bt edi, eax
setb byte [r8 + rsi]
xor eax, eax
cmp ebx, ebp
sete al
add r10d, eax
inc rsi
cmp rsi, rdx
jne 0x180181cd6
mov dword [r9], r11d
xor eax, eax
pop rbx
pop rbp
pop rdi
pop rsi
ret

Function at 0x18019816d
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov eax, 0xfffffffb
test rcx, rcx
je 0x1801982e5
mov r13, rdx
test rdx, rdx
je 0x1801982e5
cmp byte [r13], 1
je 0x1801982e5
mov rsi, r8
xor eax, eax
test r8, r8
je 0x1801982e5
mov r14d, r9d
test r9d, r9d
jle 0x1801982e5
mov rbx, rcx
mov rbp, qword [rsp + 0xa0]
mov edi, r14d
shr edi, 4
mov cl, byte [rcx + 0x14]
cmp cl, 2
je 0x18019824c
mov eax, 0xfffffffb
cmp cl, 1
jne 0x1801982e5
test edi, edi
je 0x180198209
lea rbx, [r13 + 0x54]
mov r9d, dword [r13 + 0x4c]
mov rcx, rsi
mov rdx, rbp
mov r8, rbx
call fcn.180270fe1
add rsi, 0x10
add rbp, 0x10
dec edi
jg 0x1801981eb
mov r8d, r14d
and r8d, 0xf
mov ebx, 0x10
sub ebx, r8d
lea r15, [rsp + 0x20]
mov rcx, r15
mov rdx, rsi
call fcn.1803d2410
mov rcx, r15
sub rcx, rbx
add rcx, 0x10
mov edx, ebx
mov r8, rbx
call fcn.1803d2e10
mov r9d, dword [r13 + 0x4c]
add r13, 0x54
mov rcx, r15
jmp 0x1801982cf
test edi, edi
je 0x18019828e
lea r15, [r13 + 0x54]
lea r12, [rsp + 0x20]
mov rax, rbx
mov rbx, rbp
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rax]
xorps xmm1, xmm0
movaps xmmword [rsp + 0x20], xmm1
mov r9d, dword [r13 + 0x4c]
mov rcx, r12
mov rdx, rbp
mov r8, r15
call fcn.180270fe1
add rsi, 0x10
lea rbp, [rbp + 0x10]
mov rax, rbx
dec edi
jg 0x18019825c
mov eax, r14d
and eax, 0xf
je 0x1801982ac
mov edi, eax
xor edx, edx
mov cl, byte [rbx + rdx]
xor cl, byte [rsi + rdx]
mov byte [rsp + rdx + 0x20], cl
inc rdx
cmp rdx, rdi
jne 0x18019829a
mov cl, 0x10
sub cl, al
mov dl, byte [rbx + rax]
xor dl, cl
mov byte [rsp + rax + 0x20], dl
inc rax
cmp rax, 0x10
jne 0x1801982b0
mov r9d, dword [r13 + 0x4c]
add r13, 0x54
lea rcx, [rsp + 0x20]
mov rdx, rbp
mov r8, r13
call fcn.180270fe1
add r14d, 0x10
and r14d, 0xfffffff0
mov eax, r14d
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x18020feb3
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rbx, r8
mov ebp, edx
mov r14, rcx
cmp dword [r8 + 0x94], 1
jne 0x18020ffa8
mov eax, 0x20001
test bpl, 3
jne 0x180210027
test ebp, ebp
je 0x18020ff31
xor esi, esi
lea rdi, [0x180544e00]
mov eax, esi
mov eax, dword [r14 + rax]
add dword [rbx + 0x3c], eax
mov rcx, rbx
call fcn.180210101
mov eax, dword [rbx + 0x40]
add eax, dword [rbx]
mov ecx, eax
shr ecx, 0x18
xor eax, dword [rdi + rcx*4]
ror eax, 8
add eax, dword [rbx + 4]
xor eax, dword [rbx + 0x88]
add eax, dword [rbx + 0x18]
mov ecx, eax
shr ecx, 0x18
xor eax, dword [rdi + rcx*4]
add eax, dword [rbx + 0x34]
xor dword [rbx + 0x10], eax
add esi, 4
cmp esi, ebp
jb 0x18020feef
add dword [rbx + 0x3c], ebp
mov rcx, rbx
call fcn.180210153
lea rsi, [0x180544e00]
mov rcx, rbx
call fcn.180210101
mov eax, dword [rbx + 0x40]
add eax, dword [rbx]
mov ecx, eax
shr ecx, 0x18
xor eax, dword [rsi + rcx*4]
ror eax, 8
add eax, dword [rbx + 4]
xor eax, dword [rbx + 0x88]
add eax, dword [rbx + 0x18]
mov ecx, eax
shr ecx, 0x18
xor eax, dword [rsi + rcx*4]
add eax, dword [rbx + 0x34]
cmp eax, 0x1000000
jb 0x18020ff43
mov dword [rbx + 0x88], eax
xor eax, eax
mov ecx, dword [rbx + rax*4]
mov dword [rbx + rax*4 + 0x44], ecx
inc rax
cmp rax, 0x11
jne 0x18020ff81
mov qword [rbx + 0x90], 0
mov dword [rbx + 0x98], 1
jmp 0x180210025
lea rsi, [rbx + 0x44]
mov ecx, 0x11
mov rdi, rbx
rep movsd dword [rdi], dword [rsi]
mov eax, 0x20001
test bpl, 3
jne 0x180210027
test ebp, ebp
je 0x180210010
xor esi, esi
lea rdi, [0x180544e00]
mov eax, esi
mov eax, dword [r14 + rax]
add dword [rbx + 0x3c], eax
mov rcx, rbx
call fcn.180210101
mov eax, dword [rbx + 0x40]
add eax, dword [rbx]
mov ecx, eax
shr ecx, 0x18
xor eax, dword [rdi + rcx*4]
ror eax, 8
add eax, dword [rbx + 4]
xor eax, dword [rbx + 0x88]
add eax, dword [rbx + 0x18]
mov ecx, eax
shr ecx, 0x18
xor eax, dword [rdi + rcx*4]
add eax, dword [rbx + 0x34]
xor dword [rbx + 0x10], eax
add esi, 4
cmp esi, ebp
jb 0x18020ffce
add dword [rbx + 0x3c], ebp
mov rcx, rbx
call fcn.180210153
mov dword [rbx + 0x90], 0
xor eax, eax
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret