joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400242a0
Capabilities:
Set environment variable

Disassembly:
jmp 0x1400242a0
push rdi
sub rsp, 0x60
mov rdi, rsp
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov qword [rsp + 0x48], 0xfffffffffffffffe
lea rcx, [rsp + 0x38]
call fcn.14000200e
nop
mov r8d, 0x9ca
lea rdx, [0x14017e1f8]
lea rcx, [rsp + 0x38]
call fcn.14000151e
lea rcx, [rsp + 0x38]
call fcn.14000110e
mov qword [rsp + 0x50], rax
lea rcx, [0x1401e7808]
call fcn.14000110e
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
je 0x14002431a
mov dword [rsp + 0x58], 1
jmp 0x140024322
mov dword [rsp + 0x58], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x14002433d
lea rax, str.SetEnvironmentVariableW_Common::BuildNumberEnvironmentVariableName__sBuild_
test rax, rax
jne 0x140024377
lea rax, str.__atl_condVal_SetEnvironmentVariableW_Common::BuildNumberEnvironmentVariableName__sBuild__
mov qword [rsp + 0x28], rax
lea rax, [0x1401702e4]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 7
lea rdx, str.c:_buildagentwork6ef1b807bd9726a1commonCommon.inl
mov ecx, 2
call fcn.14009dc40
cmp eax, 1
jne 0x140024377
int3
cmp dword [rsp + 0x44], 0
jne 0x140024388
mov ecx, 0x80004005
call fcn.1400020ae
xor eax, eax
test eax, eax
jne 0x1400242e0
lea rcx, [rsp + 0x38]
call fcn.140001195
mov rcx, rsp
lea rdx, [0x14017d8a0]
call fcn.14009e8b0
add rsp, 0x60
pop rdi
ret

Function at 0x140024400
Capabilities:
Check for time delay via gettickcount

Disassembly:
jmp 0x140024400
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov rdi, rsp
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x98]
mov r8d, dword [rsp + 0x80]
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x1400244ab
cmp dword [rsp + 0x50], 0x20
jne 0x1400244ab
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
test eax, eax
jne 0x1400244ab
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x1400244d1
cmp dword [rsp + 0x50], 0x20
jne 0x1400244d1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x40]
cmp eax, dword [rsp + 0xa8]
jb 0x140024436
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0x48]
add rsp, 0x60
pop rdi
ret
Function at 0x140024590
Capabilities:
Print debug messages

Disassembly:
jmp 0x140024590
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rdi
mov eax, 0x4090
call fcn.1400accf0
sub rsp, rax
mov rdi, rsp
mov ecx, 0x1024
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40a0]
mov rax, qword [0x1401e0280]
xor rax, rsp
mov qword [rsp + 0x4080], rax
lea rax, [rsp + 0x40a8]
mov qword [rsp + 0x28], rax
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40a0]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_wvsprintfW]
lea r8, [rsp + 0x50]
lea rdx, str._s_r_n
lea rcx, [rsp + 0x2070]
call qword [sym.imp.USER32.dll_wsprintfW]
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x2070]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rsp
lea rdx, [0x14017b230]
call fcn.14009e8b0
mov rcx, qword [rsp + 0x4080]
xor rcx, rsp
call fcn.1400a3850
add rsp, 0x4090
pop rdi
ret
Function at 0x140029270
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x140029270
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x530
mov rdi, rsp
mov ecx, 0x14c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x540]
mov qword [rsp + 0x510], 0xfffffffffffffffe
mov rax, qword [0x1401e0280]
xor rax, rsp
mov qword [rsp + 0x520], rax
mov dword [rsp + 0x34], 0x100
mov eax, dword [rsp + 0x34]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.140001762
nop
mov eax, dword [rsp + 0x34]
shl rax, 2
mov dword [rsp + 0x464], eax
lea rcx, [rsp + 0x50]
call fcn.140001d11
lea r8, [rsp + 0x24]
mov edx, dword [rsp + 0x464]
mov rcx, rax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x140029313
mov dword [rsp + 0x518], 1
jmp 0x14002931e
mov dword [rsp + 0x518], 0
mov eax, dword [rsp + 0x518]
mov dword [rsp + 0x468], eax
cmp dword [rsp + 0x468], 0
jne 0x140029357
mov dword [rsp + 0x500], 0
lea rcx, [rsp + 0x50]
call fcn.140002392
mov eax, dword [rsp + 0x500]
jmp 0x140029509
xor eax, eax
test eax, eax
jne 0x1400292e4
mov eax, dword [rsp + 0x464]
cmp dword [rsp + 0x24], eax
jne 0x140029424
xor edx, edx
mov eax, dword [rsp + 0x34]
mov ecx, 2
div ecx
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.1400019ec
mov eax, dword [rsp + 0x34]
shl rax, 2
mov dword [rsp + 0x464], eax
lea rcx, [rsp + 0x50]
call fcn.140001d11
lea r8, [rsp + 0x24]
mov edx, dword [rsp + 0x464]
mov rcx, rax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x1400293d5
mov dword [rsp + 0x51c], 1
jmp 0x1400293e0
mov dword [rsp + 0x51c], 0
mov eax, dword [rsp + 0x51c]
mov dword [rsp + 0x46c], eax
cmp dword [rsp + 0x46c], 0
jne 0x140029419
mov dword [rsp + 0x504], 0
lea rcx, [rsp + 0x50]
call fcn.140002392
mov eax, dword [rsp + 0x504]
jmp 0x140029509
xor eax, eax
test eax, eax
jne 0x1400293a6
jmp 0x14002935d
mov eax, dword [rsp + 0x24]
xor edx, edx
mov ecx, 4
div rcx
mov dword [rsp + 0x470], eax
mov dword [rsp + 0x474], 0
jmp 0x140029456
mov eax, dword [rsp + 0x474]
inc eax
mov dword [rsp + 0x474], eax
mov eax, dword [rsp + 0x470]
cmp dword [rsp + 0x474], eax
jae 0x1400294ed
lea rcx, [rsp + 0x50]
call fcn.140001d11
mov ecx, dword [rsp + 0x474]
cmp dword [rax + rcx*4], 0
je 0x1400294e8
lea rcx, [rsp + 0x490]
call fcn.140001e06
nop
lea rcx, [rsp + 0x50]
call fcn.140001d11
mov ecx, dword [rsp + 0x474]
movzx r9d, byte [rsp + 0x550]
lea r8, [rsp + 0x490]
mov edx, dword [rax + rcx*4]
mov rcx, qword [rsp + 0x540]
call fcn.1400013d9
test eax, eax
je 0x1400294db
lea rdx, [rsp + 0x490]
mov rcx, qword [rsp + 0x548]
call fcn.1400021e4
nop
lea rcx, [rsp + 0x490]
call fcn.140001c21
jmp 0x140029446
mov dword [rsp + 0x508], 1
lea rcx, [rsp + 0x50]
call fcn.140002392
mov eax, dword [rsp + 0x508]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x14017d290]
call fcn.14009e8b0
mov rax, rdi
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.1400a3850
add rsp, 0x530
pop rdi
ret
Function at 0x140033ad0
Capabilities:
Set registry value

Disassembly:
jmp 0x140033ad0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rdi, rsp
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
je 0x140033b0d
mov dword [rsp + 0x34], 1
jmp 0x140033b15
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140033b30
lea rax, str.m_hKey___0
test rax, rax
jne 0x140033b6a
lea rax, str.__atl_condVal_m_hKey___0_
mov qword [rsp + 0x28], rax
lea rax, [0x1401702e4]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x186c
lea rdx, [0x140170680]
mov ecx, 2
call fcn.14009dc40
cmp eax, 1
jne 0x140033b6a
int3
cmp dword [rsp + 0x30], 0
jne 0x140033b7b
mov ecx, 0x80004005
call fcn.1400020ae
xor eax, eax
test eax, eax
jne 0x140033af8
xor eax, eax
test eax, eax
jne 0x140033b85
xor eax, eax
test eax, eax
jne 0x140033af8
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x40
pop rdi
ret

Function at 0x1400345c0
Capabilities:
Set registry value

Disassembly:
jmp 0x1400345c0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rdi, rsp
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
je 0x1400345fd
mov dword [rsp + 0x34], 1
jmp 0x140034605
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140034620
lea rax, str.m_hKey___0
test rax, rax
jne 0x14003465a
lea rax, str.__atl_condVal_m_hKey___0_
mov qword [rsp + 0x28], rax
lea rax, [0x1401702e4]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x1874
lea rdx, [0x140170680]
mov ecx, 2
call fcn.14009dc40
cmp eax, 1
jne 0x14003465a
int3
cmp dword [rsp + 0x30], 0
jne 0x14003466b
mov ecx, 0x80004005
call fcn.1400020ae
xor eax, eax
test eax, eax
jne 0x1400345e8
xor eax, eax
test eax, eax
jne 0x140034675
xor eax, eax
test eax, eax
jne 0x1400345e8
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0xb
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x40
pop rdi
ret
Function at 0x1400348b0
Capabilities:
Set registry value

Disassembly:
jmp 0x1400348b0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rdi, rsp
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
je 0x1400348f2
mov dword [rsp + 0x38], 1
jmp 0x1400348fa
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140034915
lea rax, str.m_hKey___0
test rax, rax
jne 0x14003494f
lea rax, str.__atl_condVal_m_hKey___0_
mov qword [rsp + 0x28], rax
lea rax, [0x1401702e4]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x187d
lea rdx, [0x140170680]
mov ecx, 2
call fcn.14009dc40
cmp eax, 1
jne 0x14003494f
int3
cmp dword [rsp + 0x30], 0
jne 0x140034960
mov ecx, 0x80004005
call fcn.1400020ae
xor eax, eax
test eax, eax
jne 0x1400348dd
xor eax, eax
test eax, eax
jne 0x14003496a
xor eax, eax
test eax, eax
jne 0x1400348dd
cmp qword [rsp + 0x60], 0
je 0x14003498c
mov dword [rsp + 0x3c], 1
jmp 0x140034994
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1400349af
lea rax, str.pszValue___NULL
test rax, rax
jne 0x1400349e9
lea rax, str.__atl_condVal_pszValue___NULL_
mov qword [rsp + 0x28], rax
lea rax, [0x1401702e4]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x187e
lea rdx, [0x140170680]
mov ecx, 2
call fcn.14009dc40
cmp eax, 1
jne 0x1400349e9
int3
cmp dword [rsp + 0x34], 0
jne 0x1400349fa
mov eax, 0xd
jmp 0x140034a86
xor eax, eax
test eax, eax
jne 0x14003497a
cmp dword [rsp + 0x68], 1
je 0x140034a4c
cmp dword [rsp + 0x68], 2
je 0x140034a4c
lea rax, str._dwType____1______dwType____2___
mov qword [rsp + 0x28], rax
lea rax, [0x1401702e4]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x187f
lea rdx, [0x140170680]
mov ecx, 2
call fcn.14009dc40
cmp eax, 1
jne 0x140034a4c
int3
mov rcx, qword [rsp + 0x60]
call fcn.1400a1b70
inc eax
mov eax, eax
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x40
pop rdi
ret
Function at 0x140037c20
Capabilities:
Write file on windows

Disassembly:
jmp 0x140037c20
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov rdi, rsp
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
je 0x140037c62
mov dword [rsp + 0x58], 1
jmp 0x140037c6a
mov dword [rsp + 0x58], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140037c85
lea rax, str.m_h___0
test rax, rax
jne 0x140037cbf
lea rax, str.__atl_condVal_m_h___0_
mov qword [rsp + 0x28], rax
lea rax, [0x1401702e4]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x9d
lea rdx, str.C:Program_Files__x86_Microsoft_Visual_Studio_12.0VC_atlmfcinclude_atlfile.h
mov ecx, 2
call fcn.14009dc40
cmp eax, 1
jne 0x140037cbf
int3
cmp dword [rsp + 0x30], 0
jne 0x140037cd0
mov ecx, 0x80004005
call fcn.1400020ae
xor eax, eax
test eax, eax
jne 0x140037c4d
xor eax, eax
test eax, eax
jne 0x140037cda
xor eax, eax
test eax, eax
jne 0x140037c4d
cmp qword [rsp + 0x88], 0
jne 0x140037d02
lea rax, [rsp + 0x44]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x88]
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jne 0x140037d40
call fcn.14000125d
jmp 0x140037d42
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140179e70]
call fcn.14009e8b0
mov rax, rdi
add rsp, 0x60
pop rdi
ret

Function at 0x14004f0c0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov r9, qword [rcx + 0x1d8]
mov rax, r8
mov rbx, rdx
mov r8, rdx
mov edx, 1
mov rcx, rax
call fcn.1400b0170
sub rax, rbx
neg rax
sbb eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x18003b8ac
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x1802ac070]
xor rax, rsp
mov qword [rsp + 0x90], rax
movss xmm6, dword [0x18028c8cc]
movss dword [rsp + 0x24], xmm6
mov rdx, qword [rcx]
cmp rdx, 2
jb 0x18003ba8e
mov ecx, 0x68
mov dword [rsp + 0x20], ecx
mov eax, dword [0x1802def50]
cmp eax, 0x9f3
jl 0x18003b916
mov ecx, 0x70
jmp 0x18003b928
add eax, 0xfffff766
mov r8d, 0x40
cmp eax, 0x45
cmovbe ecx, r8d
mov dword [rsp + 0x20], ecx
movsxd rax, ecx
mov rcx, qword [rax + rdx]
test rcx, rcx
jne 0x18003b940
movaps xmm0, xmm6
jmp 0x18003ba91
mov r14d, dword [rcx + 0x18]
mov rsi, qword [rcx + 0x10]
test rsi, rsi
jne 0x18003b955
movaps xmm0, xmm6
jmp 0x18003ba91
xor ebx, ebx
movabs r15, 0x57cc4f67e5c09926
mov dword [rsp + 0x28], ebx
cmp ebx, r14d
jge 0x18003ba86
lea eax, [rbx*8]
movsxd rcx, eax
mov rdi, qword [rcx + rsi + 0x20]
and qword [rsp + 0x30], 0
mov qword [rsp + 0x30], rdi
test rdi, rdi
jne 0x18003b992
jmp 0x18003ba7f
lea rcx, [rsp + 0x30]
call fcn.18003b668
movsd xmm0, qword [rax]
movsd qword [rsp + 0x38], xmm0
mov eax, dword [rax + 8]
mov dword [rsp + 0x40], eax
mov rax, qword [rdi]
cmp byte [rsp + 0x38], 0
je 0x18003ba7f
movabs rcx, 0x8e032f8d10863517
mov qword [rsp + 0x50], rcx
movabs rcx, 0x2287160d953f400
mov qword [rsp + 0x58], rcx
movabs rcx, 0x6ff0a546c14e70cc
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], r15
movabs rcx, 0xe7774ce87ae94747
mov qword [rsp + 0x70], rcx
movabs rcx, 0x6c470101bc04916c
mov qword [rsp + 0x78], rcx
movabs rcx, 0x6ff0a546c12a1f81
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], r15
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [rsp + 0x60]
pxor xmm1, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x60], xmm1
lea rdx, [rsp + 0x50]
mov rcx, qword [rax + 0x10]
call fcn.180198e30
test rax, rax
je 0x18003ba7f
movss xmm0, dword [rsp + 0x3c]
comiss xmm0, dword [0x18028c888]
jb 0x18003ba86
comiss xmm6, xmm0
jb 0x18003ba86
mulss xmm6, xmm0
movss dword [rsp + 0x24], xmm6
jmp 0x18003ba86
inc ebx
jmp 0x18003b961
jmp 0x18003ba8e
movaps xmm0, xmm6
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.180196990
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
ret
Function at 0x18003d388
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x18
mov rax, qword [0x1802ac070]
xor rax, rsp
mov qword [rsp + 8], rax
mov eax, dword [0x1802def50]
mov r10, rcx
mov qword [rsp], rcx
cmp eax, 0x9fb
jne 0x18003d3f2
mov qword [rsp], rcx
lea rdx, [rsp]
mov r8d, 2
mov eax, dword [rdx]
mov ecx, eax
shl ecx, 0x1f
lea rdx, [rdx + 4]
add ecx, 0x80000000
add eax, 0x3ea11ff
shr eax, 1
or ecx, eax
sub ecx, 0x49842854
xor ecx, 0xe6981334
mov dword [rdx - 4], ecx
sub r8d, 1
jne 0x18003d3bd
mov rax, qword [rsp]
jmp 0x18003d465
cmp eax, 0x9f9
jne 0x18003d416
xor r9d, r9d
mov al, byte [rsp + r9]
add al, 0x6d
ror al, 1
ror al, 2
mov byte [rsp + r9], al
inc r9
cmp r9, 8
jl 0x18003d3fc
jmp 0x18003d3ec
cmp eax, 0x9f8
jne 0x18003d463
xor r9d, r9d
mov r11d, r9d
lea ecx, [r11*8]
mov rdx, r10
shr rdx, cl
inc r11d
mov al, dl
xor al, 0x3d
shl al, 4
movzx r8d, al
movzx eax, dl
xor eax, 0x30
shr eax, 4
or r8d, eax
xor r8d, 0xd0
shl r8d, cl
or r9d, r8d
cmp r11d, 4
jl 0x18003d423
mov eax, r9d
jmp 0x18003d465
xor eax, eax
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.180196990
add rsp, 0x18
ret

Function at 0x180040204
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1802ac070]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor ebx, ebx
cmp byte [0x1802dee20], bl
je 0x180040353
mov eax, dword [0x1802def50]
cmp eax, 0x9fb
je 0x180040353
cmp eax, 0x9f9
jne 0x180040277
call fcn.180040010
movss xmm0, dword [rax]
movss dword [rsp + 0x28], xmm0
mov al, byte [rsp + rbx + 0x28]
lea ecx, [rax - 0x50]
shl al, 7
xor cl, 0x78
shr cl, 1
or cl, al
mov byte [rsp + rbx + 0x28], cl
inc rbx
cmp rbx, 4
jl 0x18004024e
movss xmm0, dword [rsp + 0x28]
jmp 0x18004035c
call fcn.18003fe1c
mov edx, dword [rax]
mov eax, dword [0x1802def50]
mov dword [rsp + 0x20], edx
cmp eax, 0x9fb
je 0x180040347
cmp eax, 0x9f9
jne 0x1800402c8
xorps xmm0, xmm0
cvtsi2ss xmm0, rdx
movss dword [rsp + 0x28], xmm0
mov al, byte [rsp + rbx + 0x28]
lea ecx, [rax - 0x50]
shl al, 7
xor cl, 0x78
shr cl, 1
or cl, al
mov byte [rsp + rbx + 0x28], cl
inc rbx
cmp rbx, 4
jl 0x1800402a8
jmp 0x180040340
cmp eax, 0x9f8
jne 0x180040347
mov al, byte [rsp + 0x23]
mov r10b, 0x3d
mov cl, al
mov r9b, 0x30
xor cl, r10b
xor al, r9b
shl cl, 4
mov r8b, 0xd0
shr al, 4
or cl, al
mov al, byte [rsp + 0x22]
xor cl, r8b
mov byte [rsp + 0x2b], cl
mov cl, al
xor cl, r10b
xor al, r9b
shr al, 4
shl cl, 4
or cl, al
mov al, byte [rsp + 0x21]
xor cl, r8b
mov byte [rsp + 0x2a], cl
mov cl, al
xor al, r9b
xor cl, r10b
shr al, 4
shl cl, 4
or cl, al
mov al, dl
xor al, r10b
xor dl, r9b
shl al, 4
xor cl, r8b
shr dl, 4
or al, dl
mov byte [rsp + 0x29], cl
xor al, r8b
mov byte [rsp + 0x28], al
cvttss2si rbx, dword [rsp + 0x28]
mov eax, ebx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
jmp 0x18004035c
call fcn.180040010
movss xmm0, dword [rax]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180196990
add rsp, 0x40
pop rbx
ret
Function at 0x1800447b8
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1802ac070]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [0x1802debd8]
test rax, rax
je 0x1800448e9
mov rcx, qword [rax]
test rcx, rcx
je 0x1800448e9
mov rax, qword [rcx + 0xb8]
test rax, rax
je 0x1800448e9
mov rax, qword [rax]
test rax, rax
je 0x1800448e9
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rdx
mov ebx, 2
mov r8d, ebx
mov qword [rsp + 0x28], rbx
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
mov eax, dword [rdx]
add rdx, 4
mov qword [rsp + 0x20], rdx
mov ecx, eax
shl ecx, 7
add ecx, 0x13e7e780
add eax, 0x8027cfcf
shr eax, 0x19
or ecx, eax
xor ecx, 0xb13b7cb5
rol ecx, 9
mov dword [rdx - 4], ecx
cmp r8d, 1
sete cl
dec r8d
mov qword [rsp + 0x28], r8
test cl, cl
je 0x180044825
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov ecx, eax
call fcn.180039898
test rax, rax
je 0x1800448e9
mov rax, qword [rax + 0x10]
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rbx
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x58], rax
mov eax, dword [rdx]
add rdx, 4
mov qword [rsp + 0x30], rdx
mov ecx, eax
shl ecx, 7
add ecx, 0x13e7e780
add eax, 0x8027cfcf
shr eax, 0x19
or ecx, eax
xor ecx, 0xb13b7cb5
rol ecx, 9
mov dword [rdx - 4], ecx
cmp ebx, 1
sete cl
dec ebx
mov qword [rsp + 0x38], rbx
test cl, cl
je 0x180044896
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x48], rax
mov ecx, eax
call fcn.180039898
test rax, rax
jne 0x1800448ed
jmp 0x1800448eb
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180196990
add rsp, 0x70
pop rbx
ret
Function at 0x180064c80
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1802ac070]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 0x5a4d
mov r14, r9
mov rbp, r8
cmp word [rdx], ax
jne 0x180064d25
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x180064d25
movzx esi, word [rcx + 0x14]
xor r11d, r11d
movzx ebx, word [rcx + 6]
add rsi, rcx
test rbx, rbx
je 0x180064d25
xor r8d, r8d
lea rcx, [rsi + 0x18]
test dword [rcx + 0x24], 0x20000
jne 0x180064d16
mov rax, qword [rcx]
mov rdi, rbp
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x30]
sub rdi, rax
mov byte [rsp + 0x38], 0
movzx r9d, byte [rax]
movzx r10d, byte [rax + rdi]
sub r9d, r10d
jne 0x180064d11
inc rax
test r10d, r10d
jne 0x180064cfb
test r9d, r9d
je 0x180064d49
inc r11d
inc r8
add rcx, 0x28
cmp r8, rbx
jl 0x180064cda
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180196990
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
movsxd rax, r11d
mov r9, r14
lea rcx, [rax + rax*4]
mov ebx, dword [rsi + rcx*8 + 0x24]
mov r8d, dword [rsi + rcx*8 + 0x20]
add rbx, rdx
mov rdx, rbx
call fcn.180064b88
cmp rax, 0xffffffffffffffff
je 0x180064d25
add rax, rbx
jmp 0x180064d27
Function at 0x18007d294
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
test rax, rax
je 0x18007d2d2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPriorityClass]
add eax, 0xffffff80
test eax, 0xffffff7f
je 0x18007d2d2
mov edx, 0x80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x18007d348
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x18007d348
mov esi, dword [r9 + 0x20]
dec edx
mov r11d, 0x53f8760
lea rcx, [rsi + rdx*4]
mov r10d, dword [rcx + r8]
add r10, r8
mov cl, byte [r10]
inc r10
test cl, cl
je 0x18007d344
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [r10]
inc r10
test cl, cl
jne 0x18007d324
cmp r11d, 0x450e5daa
je 0x18007d34d
test edx, edx
jne 0x18007d307
mov rax, qword [rax]
jmp 0x18007d2e3
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdx*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
mov rcx, rbx
add rax, r8
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp rax