joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004d08
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r13
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov r15, rdx
mov r14, r9
mov rdx, rcx
mov esi, r8d
lea rcx, [rbp - 0x28]
mov edi, 0x80070003
call fcn.140001c4c
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x10]
call fcn.14000520c
mov rbx, qword [rbp - 0x28]
movups xmm0, xmmword [rax]
movq rdx, xmm0
movups xmmword [rbp - 0x20], xmm0
test rdx, rdx
je 0x140004ede
mov r9d, dword [rbp - 0x18]
lea r13, [0x140026a68]
and qword [rbp - 0x38], 0
lea rcx, [rbp - 0x40]
or r9d, 0x20019
mov qword [rbp - 0x40], r13
mov r8, rbx
mov dword [rbp - 0x30], 0x200
call fcn.140004c7c
mov edi, eax
test eax, eax
jne 0x140004ecb
sub esi, 1
je 0x140004e87
sub esi, 2
je 0x140004e65
sub esi, 1
je 0x140004e54
sub esi, 3
je 0x140004e11
cmp esi, 4
je 0x140004dd1
mov edi, 0x8007065d
jmp 0x140004e98
mov rcx, qword [rbp - 0x38]
lea rax, [rbp - 0x48]
and dword [rbp - 0x50], 0
lea r9, [rbp - 0x50]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, r15
mov qword [rsp + 0x20], r14
mov dword [rbp - 0x48], 8
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x140004e98
and qword [rbp - 0x48], 0
lea rax, [rbp - 0x48]
and dword [rbp - 0x50], 0
lea r9, [rbp - 0x20]
and qword [rbp - 0x20], 0
lea r8, [rbp - 0x50]
mov rdx, r15
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x40]
call fcn.140004f1c
mov edi, eax
test eax, eax
js 0x140004e98
mov rdx, qword [rbp - 0x48]
mov r8, r14
mov rcx, qword [rbp - 0x20]
call fcn.1400050fc
jmp 0x140004e96
mov r8, r14
lea rcx, [rbp - 0x40]
mov rdx, r15
call fcn.140004fe4
jmp 0x140004e96
mov rax, qword [rbp + 0x40]
lea r8, [rbp - 0x50]
and dword [rbp - 0x50], 0
lea rcx, [rbp - 0x40]
mov r9, r14
mov qword [rsp + 0x20], rax
mov rdx, r15
call fcn.140004f1c
jmp 0x140004e96
mov r8, r14
lea rcx, [rbp - 0x40]
mov rdx, r15
call fcn.14000502c
mov edi, eax
mov rcx, qword [rbp - 0x38]
xor edx, edx
test rcx, rcx
je 0x140004ec4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx edx, ax
or edx, 0x80070000
mov dword [rbp - 0x30], 0x200
test eax, eax
cmovle edx, eax
xor ecx, ecx
mov qword [rbp - 0x38], rcx
test edi, edi
cmove edi, edx
jmp 0x140004ecf
mov rcx, qword [rbp - 0x38]
mov qword [rbp - 0x40], r13
test rcx, rcx
je 0x140004ede
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140004ef8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea r11, [rsp + 0x80]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r13, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140004f1c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
and qword [r9], 0
lea rax, [r11 + 8]
and dword [rsp + 0x40], 0
mov rbx, r9
mov r9, r8
mov qword [r11 - 0x10], rax
and qword [r11 - 0x18], 0
mov rdi, r8
mov rbp, rcx
xor r8d, r8d
mov rcx, qword [rcx + 8]
mov rsi, rdx
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx r8d, ax
or r8d, 0x80070000
test eax, eax
cmovle r8d, eax
test r8d, r8d
jne 0x140004fbd
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140004fc1
mov ecx, eax
call fcn.14000695c
lea rcx, [rsp + 0x40]
mov qword [rbx], rax
mov qword [rsp + 0x28], rcx
mov r9, rdi
mov rcx, qword [rbp + 8]
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx r8d, ax
or r8d, 0x80070000
test eax, eax
cmovle r8d, eax
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov edx, eax
mov eax, r8d
mov qword [rcx], rdx
add rsp, 0x30
pop rdi
ret

Function at 0x140004fe4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
and dword [rsp + 0x58], 0
lea r9, [r11 + 0x20]
mov qword [r11 - 0x10], rax
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
add rsp, 0x38
ret

Function at 0x14000502c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor r14d, r14d
lea rax, [r11 + 8]
mov rdi, r8
mov qword [r11 - 0x20], rax
mov rbp, rcx
mov qword [r11 - 0x28], r14
mov rcx, qword [rcx + 8]
lea r9, [r11 + 0x20]
xor r8d, r8d
mov dword [r11 + 8], r14d
mov rsi, rdx
mov dword [r11 + 0x20], r14d
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x1400050e4
mov ecx, dword [rsp + 0x50]
lea eax, [rbx + 2]
shr rcx, 1
inc rcx
mul rcx
lea rcx, [r14 - 1]
cmovo rax, rcx
mov rcx, rax
call fcn.14000695c
mov qword [rdi], rax
cmp dword [rsp + 0x50], r14d
je 0x1400050e0
lea rcx, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x28], rcx
lea r9, [rsp + 0x68]
mov rcx, qword [rbp + 8]
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x1400050e4
mov word [rax], r14w
mov rbp, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14000548c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x870
mov rax, qword [0x14002b038]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov esi, r9d
mov edi, ecx
cmp ecx, 0x80000003
jne 0x1400054e4
xor eax, eax
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.140006900
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x802
call fcn.140007bc0
mov rbx, qword [0x14002da68]
lea rcx, [rsp + 0x40]
xor edx, edx
call fcn.1400019fc
mov r9, qword [rsp + 0x40]
lea rax, str.baselogging.cc
mov dword [rsp + 0x38], esi
lea rdx, str.Exception__x_in__s__s__u_r_n_r_n_hs:_d_r_n
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x50]
and dword [rsp + 0x28], 0
mov r8d, edi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.USER32.dll_wsprintfW]
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000555c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rsp + 0x50]
call fcn.1400055a0
mov r9d, 0x250012
lea r8, str.Exception
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
sub eax, 3
je 0x140005595
cmp eax, 1
jne 0x14000558b
int3
mov eax, 1
jmp 0x1400054bf
or ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1400055a0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14000562d
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [rbx + 1]
mov ecx, 0x2002
movsxd rdi, eax
add rdi, rdi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140005602
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.140007510
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbx
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x140005627
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400056e4
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
mov rax, qword [0x14002b038]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov r10d, dword [rcx + 8]
mov r11, r8
add qword [rcx + 8], r8
and r10d, 0x3f
mov rbx, rdx
mov r9, rcx
test r8, r8
je 0x14000587c
mov al, byte [rbx]
dec r11
mov byte [r10 + r9 + 0x10], al
inc rbx
inc r10d
cmp r10d, 0x40
jne 0x140005873
lea rdx, [r9 + 0x10]
xor r8d, r8d
movzx ecx, byte [rdx]
movzx eax, byte [rdx + 1]
lea rdx, [rdx + 4]
shl eax, 0x10
shl ecx, 0x18
or ecx, eax
movzx eax, byte [rdx - 2]
shl eax, 8
or ecx, eax
movzx eax, byte [rdx - 1]
or ecx, eax
mov dword [rsp + r8*4], ecx
inc r8
cmp r8, 0x10
jl 0x140005754
mov edx, 0x50
lea rcx, [rsp + r8*4 - 0x38]
sub rdx, r8
mov eax, dword [rcx + 0x2c]
xor eax, dword [rcx + 0x18]
xor eax, dword [rcx - 8]
xor eax, dword [rcx]
lea rcx, [rcx + 4]
rol eax, 1
mov dword [rcx + 0x34], eax
sub rdx, 1
jne 0x140005790
mov r15d, dword [r9 + 0x50]
xor esi, esi
mov r12d, dword [r9 + 0x54]
mov r14d, r15d
mov r13d, dword [r9 + 0x58]
mov edi, r12d
mov r10d, dword [r9 + 0x5c]
mov r8d, r13d
mov ebp, dword [r9 + 0x60]
mov edx, r14d
rol edx, 5
add edx, dword [rsp + rsi*4]
add edx, ebp
cmp rsi, 0x14
jae 0x1400057ed
mov ecx, r10d
xor ecx, r8d
and ecx, edi
xor ecx, r10d
add ecx, 0x5a827999
jmp 0x14000582e
cmp rsi, 0x28
jae 0x140005803
mov ecx, r10d
xor ecx, r8d
xor ecx, edi
add ecx, 0x6ed9eba1
jmp 0x14000582e
cmp rsi, 0x3c
jae 0x140005820
mov ecx, r8d
mov eax, r8d
or ecx, edi
and eax, edi
and ecx, r10d
or ecx, eax
add ecx, 0x8f1bbcdc
jmp 0x14000582e
mov ecx, r10d
xor ecx, r8d
xor ecx, edi
add ecx, 0xca62c1d6
add ecx, edx
mov ebp, r10d
mov r10d, r8d
inc rsi
mov r8d, edi
mov edi, r14d
ror r8d, 2
mov r14d, ecx
cmp rsi, 0x50
jl 0x1400057c9
add dword [r9 + 0x5c], r10d
lea eax, [r15 + rcx]
add dword [r9 + 0x60], ebp
mov dword [r9 + 0x50], eax
xor r10d, r10d
lea eax, [r12 + rdi]
mov dword [r9 + 0x54], eax
lea eax, [r8 + r13]
mov dword [r9 + 0x58], eax
test r11, r11
jne 0x140005733
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140006900
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140005a20
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x130
mov rax, qword [0x14002b038]
xor rax, rsp
mov qword [rsp + 0x120], rax
xor ebx, ebx
lea r8, [rcx + 0x10]
mov r9, rcx
mov ecx, ebx
movzx edx, byte [r8]
movzx eax, byte [r8 + 1]
lea r8, [r8 + 4]
shl eax, 0x10
shl edx, 0x18
or edx, eax
movzx eax, byte [r8 - 2]
shl eax, 8
or edx, eax
movzx eax, byte [r8 - 1]
or edx, eax
mov dword [rsp + rcx*4 + 0x20], edx
inc rcx
cmp rcx, 0x10
jl 0x140005a5c
lea r10, [rsp + 0x58]
mov r11d, 0x30
mov ecx, dword [r10 - 0x34]
mov r8d, ecx
mov edx, dword [r10]
mov eax, ecx
rol r8d, 0xe
lea r10, [r10 + 4]
shr ecx, 3
ror eax, 7
xor r8d, eax
mov eax, edx
xor r8d, ecx
rol eax, 0xd
mov ecx, edx
shr edx, 0xa
rol ecx, 0xf
xor ecx, eax
xor ecx, edx
add r8d, ecx
add r8d, dword [r10 - 0x3c]
add r8d, dword [r10 - 0x18]
mov dword [r10 + 4], r8d
sub r11, 1
jne 0x140005a9a
mov esi, dword [r9 + 0x5c]
mov ebp, dword [r9 + 0x6c]
mov r12d, ebp
mov r13d, dword [r9 + 0x50]
mov r11d, dword [r9 + 0x54]
mov edi, dword [r9 + 0x58]
mov r10d, dword [r9 + 0x60]
mov r14d, dword [r9 + 0x68]
mov dword [rsp + 8], esi
mov r15d, dword [rsp + 8]
mov esi, dword [r9 + 0x64]
mov eax, r13d
mov r8d, r13d
rol eax, 0xa
mov ecx, r11d
xor ecx, r13d
ror r8d, 0xd
xor r8d, eax
and ecx, edi
mov eax, r13d
mov edx, r10d
ror eax, 2
xor r8d, eax
ror edx, 0xb
mov eax, r11d
and eax, r13d
xor ecx, eax
mov eax, r10d
rol eax, 7
add r8d, ecx
xor edx, eax
mov ecx, r10d
mov eax, r10d
not ecx
ror eax, 6
and ecx, r14d
xor edx, eax
mov eax, esi
and eax, r10d
xor ecx, eax
lea rax, [0x1400267e0]
add edx, ecx
add edx, dword [rbx + rax]
add edx, dword [rsp + rbx + 0x20]
add rbx, 4
add edx, r12d
mov r12d, r14d
mov r14d, esi
mov esi, r10d
lea r10d, [rdx + r15]
mov r15d, edi
mov edi, r11d
mov r11d, r13d
lea r13d, [rdx + r8]
cmp rbx, 0x100
jl 0x140005b0c
add dword [r9 + 0x50], r13d
lea eax, [r12 + rbp]
add dword [r9 + 0x54], r11d
add dword [r9 + 0x58], edi
add dword [r9 + 0x5c], r15d
add dword [r9 + 0x60], r10d
add dword [r9 + 0x64], esi
add dword [r9 + 0x68], r14d
mov dword [r9 + 0x6c], eax
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140006900
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140005f58
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.SetDefaultDllDirectories
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140005f8b
mov ecx, 0x800
call rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rcx, [rsp + 0x30]
mov rbx, rax
call fcn.1400025fc
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140002798
mov ebx, eax
test eax, eax
js 0x14000604a
lea rdx, str.user
lea rcx, [rsp + 0x20]
call fcn.140001c4c
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140002c70
mov rdx, qword [rsp + 0x20]
test al, al
sete dil
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140005ffa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, str.unregister
lea rcx, [rsp + 0x28]
call fcn.140001c4c
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.140002c70
mov rdx, qword [rsp + 0x28]
test al, al
sete bl
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000603e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov dl, bl
mov cl, dil
call fcn.140005e94
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.140002714
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14000e2c8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000e0c4
Function at 0x14001480c
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14001483c
xor eax, eax
jmp 0x1400148ff
mov rbp, rbx
cmp word [rax], si
je 0x140014861
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140014848
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140014844
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14001472c
movsxd r14, eax
test eax, eax
jne 0x14001489f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140014835
mov rcx, r14
call fcn.14001218c
mov rdi, rax
test rax, rax
jne 0x1400148b8
xor ecx, ecx
call fcn.140011b64
jmp 0x140014894
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14001472c
test eax, eax
jne 0x1400148e9
mov rcx, rdi
call fcn.140011b64
jmp 0x1400148f3
xor ecx, ecx
call fcn.140011b64
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x180003a28
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x18011e100]
xor rax, rsp
mov qword [rsp + 0x50], rax
xorps xmm1, xmm1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor eax, eax
mov rbx, rcx
mov qword [rcx + 0x10], rax
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm1
movups xmmword [rsp + 0x30], xmm1
movups xmmword [rsp + 0x40], xmm1
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
mov dword [rbx], eax
mov eax, dword [rsp + 0x48]
mov dword [rbx + 4], eax
mov rax, qword [rsp + 0x28]
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0x30]
mov qword [rbx + 0x10], rax
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18005daf0
add rsp, 0x60
pop rbx
ret
Function at 0x180003aa0
Capabilities:
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x430]
sub rsp, 0x530
mov rax, qword [0x18011e100]
xor rax, rsp
mov qword [rbp + 0x420], rax
mov r13, rdx
mov r15, rcx
mov r14b, 1
xor edi, edi
xor ebx, ebx
and qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r9d, r9d
mov r8d, 0x81a
mov rcx, rax
mov rdx, rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
call qword [sym.imp.ntdll.dll_NtGetNextThread]
mov esi, eax
test rbx, rbx
je 0x180003b1f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
js 0x180003bdf
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadId]
mov esi, eax
test eax, eax
je 0x180003adf
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, eax
je 0x180003adf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x180003adf
test eax, eax
je 0x180003b6a
test r14b, r14b
jne 0x180003b6a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x180003adf
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x4d0
call fcn.180088980
lea rdx, [rsp + 0x50]
mov dword [rbp - 0x80], 0x10000b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x180003adf
mov rcx, qword [r13 + 0x38]
test rcx, rcx
je 0x180003bca
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x38]
mov dword [rsp + 0x48], esi
lea r8, [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
call qword [rax + 0x10]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
inc edi
jmp 0x180003adf
xor r14b, r14b
test edi, edi
jne 0x180003adb
mov rcx, qword [r15 + 0x38]
test rcx, rcx
je 0x180003bf9
mov rax, qword [rcx]
call qword [rax + 0x10]
xor ebx, ebx
and qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r9d, r9d
mov r8d, 0x81a
mov rcx, rax
mov rdx, rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
call qword [sym.imp.ntdll.dll_NtGetNextThread]
mov edi, eax
test rbx, rbx
je 0x180003c3b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
js 0x180003c68
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadId]
mov edi, eax
test eax, eax
je 0x180003bfb
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x180003bfb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x180003bfb
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.18005daf0
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x18000f9e4
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
xor r10d, r10d
movzx r14d, cx
mov edi, r14d
mov r15, r9
shr edi, 8
mov rbp, r8
mov r12, rdx
mov esi, r14d
mov ebx, r10d
mov r11d, r10d
test r8, r8
je 0x18000fa6b
movzx eax, word [r12 + r11*2]
mov edx, eax
movzx ecx, al
shr edx, 8
add edx, ebx
cmp edi, ecx
jb 0x18000fa6b
jne 0x18000fa61
movsxd rcx, ebx
movsxd r9, edx
cmp rcx, r9
jge 0x18000fa61
mov eax, 0xff
movzx r8d, r14w
and r8w, ax
movzx eax, byte [rcx + r15]
cmp ax, r8w
je 0x18000fa94
inc rcx
cmp rcx, r9
jl 0x18000fa4e
inc r11
mov ebx, edx
cmp r11, rbp
jb 0x18000fa21
mov cl, 1
cmp qword [rsp + 0x48], r10
jbe 0x18000faab
mov r8, qword [rsp + 0x40]
movzx eax, byte [r10 + r8]
test al, al
jns 0x18000fa98
inc r10
and eax, 0x7f
shl eax, 8
movzx edx, byte [r10 + r8]
or edx, eax
jmp 0x18000fa9a
xor al, al
jmp 0x18000faad
mov edx, eax
sub esi, edx
js 0x18000faab
xor cl, 1
inc r10
cmp r10, qword [rsp + 0x48]
jb 0x18000fa79
mov al, cl
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret
Function at 0x18001a268
Capabilities:
Create thread
Resume thread

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 r14
sub rsp, 0x170
mov rax, qword [0x18011e100]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbp, rcx
cmp edx, 1
jne 0x18001a3e6
mov r8d, 0x104
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
and qword [rsp + 0x48], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x18001a2d2
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.180012ab8
mov rdi, qword [rsp + 0x48]
lea rsi, [rsp + 0x30]
mov rbx, qword [rsp + 0x30]
cmp rdi, 0xf
mov rax, qword [rsp + 0x40]
cmova rsi, rbx
cmp rax, 0x11
jb 0x18001a362
lea r14, [rsi + rax]
mov rcx, rsi
lea r8, [r14 - 0x10]
sub r8, rsi
jmp 0x18001a353
movabs rcx, 0x61685f6873617263
cmp qword [rax], rcx
jne 0x18001a346
movabs rcx, 0x78652e72656c646e
cmp qword [rax + 8], rcx
jne 0x18001a346
cmp byte [rax + 0x10], 0x65
je 0x18001a419
inc rax
lea r8, [r14 - 0x10]
sub r8, rax
mov rcx, rax
mov edx, 0x63
call fcn.1800888c0
test rax, rax
jne 0x18001a31d
and qword [rsp + 0x28], 0
lea r8, [0x18001a124]
xor r9d, r9d
mov dword [rsp + 0x20], 4
xor edx, edx
mov qword [0x180124fb8], rbp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
test rax, rax
je 0x18001a3b3
mov edx, 0xf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp rdi, 0xf
jbe 0x18001a3e6
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x18001a3de
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001a45d
mov rcx, rbx
call fcn.18005dfe4
mov eax, 1
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.18005daf0
lea r11, [rsp + 0x170]
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
sub rax, rsi
cmp rax, 0xffffffffffffffff
je 0x18001a362
cmp rdi, 0xf
jbe 0x18001a459
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x18001a451
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001a45d
mov rcx, rbx
call fcn.18005dfe4
xor eax, eax
jmp 0x18001a3eb
call fcn.180063fd4
int3