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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push r14
sub rsp, 0x30
and qword [rax + 8], 0
mov r14, r9
lea r9, [rax + 8]
mov rcx, 0xffffffff80000002
xor ebx, ebx
call fcn.140012e98
mov esi, eax
test eax, eax
jns 0x140012c3a
mov ecx, eax
jmp 0x140012cf3
and dword [rsp + 0x60], ebx
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
lea rdx, str.RacSampleNumber
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
je 0x140012c7d
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jne 0x140012cad
test rbx, rbx
jne 0x140012cb8
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140012cb1
mov ebx, eax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x140012c3e
mov esi, 0x8007000e
mov ecx, esi
jmp 0x140012cf3
mov esi, 0x8000ffff
jmp 0x140012cad
cmp dword [rsp + 0x58], 4
je 0x140012cc6
mov esi, 0x8007000d
jmp 0x140012cad
xor ebp, ebp
cmp dword [rsp + 0x60], 4
je 0x140012cdf
mov esi, 0x8007000d
mov ecx, esi
mov ebp, esi
call fcn.140009374
jmp 0x140012ce4
mov eax, dword [rbx]
mov dword [r14], eax
mov ecx, ebp
call fcn.140009390
mov esi, ebp
test ebp, ebp
jns 0x140012cf8
mov ecx, ebp
call fcn.140009374
mov ecx, esi
call fcn.140009390
test rbx, rbx
je 0x140012d18
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
cmp qword [rsp + 0x50], 0
je 0x140012d2b
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, esi
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140013be0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdi, r8
mov r14, rdx
mov r8, rcx
lea rsi, [rdi + 0x10]
cmp qword [rsi + 0x18], 8
mov r9, rsi
mov r10, qword [rsi + 0x10]
jb 0x140013c13
mov r9, qword [rsi]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
add r10, r10
je 0x140013c42
movzx eax, byte [rdx + r9]
movabs r11, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, r11
cmp rdx, r10
jb 0x140013c24
mov rdx, qword [r8 + 0x30]
and rdx, rcx
mov rcx, qword [r8 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x140013c7a
cmp qword [rcx + rdx*8], rdi
jne 0x140013c6f
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r8 + 0x18]
mov rax, qword [r8 + 8]
jmp 0x140013c73
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140013c87
cmp qword [rcx + rdx*8], rdi
jne 0x140013c87
mov rax, qword [rdi]
mov qword [rcx + rdx*8], rax
mov rax, qword [rdi + 8]
lea rcx, [rsi + 0x20]
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
dec qword [r8 + 0x10]
call fcn.14000b958
mov rcx, rsi
call fcn.14000b958
mov rcx, rdi
call fcn.14001c414
mov rsi, qword [rsp + 0x38]
mov rax, r14
mov rdi, qword [rsp + 0x40]
mov qword [r14], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop r14
ret

Function at 0x1400141d0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x140032370]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20a
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov r8d, 0x105
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_1_0.dll_GetModuleFileNameW]
test eax, eax
je 0x1400142d7
mov edx, 0x105
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchRemoveFileSpec]
mov edi, eax
test eax, eax
jns 0x140014258
mov edx, 0x20d
mov rcx, qword [rsp + 0x248]
lea r8, str.onecoreenduserupgradeenablers_shellhelpers_servicehelpers.cpp
mov r9d, edi
call fcn.140004104
mov eax, edi
jmp 0x1400142dc
lea r9, str.sedplugins.dll
mov edx, 0x105
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchCombine]
mov edi, eax
test eax, eax
jns 0x140014281
mov edx, 0x20e
jmp 0x14001423a
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFileExistsW]
test eax, eax
je 0x1400142bc
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000c484
cmp qword [rbx + 0x18], 8
jb 0x1400142a7
mov rbx, qword [rbx]
mov r8, rbx
lea rdx, str.Found_existing_DLL:__s
xor ecx, ecx
call fcn.140008c60
xor eax, eax
jmp 0x1400142dc
cmp qword [rbx + 0x18], 8
jb 0x1400142c6
mov rbx, qword [rbx]
mov r8, rbx
lea rdx, str.Cound_not_find_DLL:__s
xor ecx, ecx
call fcn.140008c60
mov eax, 2
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14001c430
mov rbx, qword [rsp + 0x258]
add rsp, 0x240
pop rdi
ret
Function at 0x14001452c
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x198]
sub rsp, 0x290
mov rax, qword [0x140032370]
xor rax, rsp
mov qword [rbp + 0x180], rax
xor esi, esi
mov dword [rsp + 0x78], 0xff
lea rax, [rsp + 0x68]
mov dword [rsp + 0x60], esi
mov r9d, 0x20019
mov dword [rsp + 0x70], esi
xor r8d, r8d
mov dword [rsp + 0x74], esi
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersion_rempl_shell
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov edi, 0x80070000
test eax, eax
je 0x1400145bb
movzx ebx, ax
or ebx, edi
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x1400145bb
mov ecx, ebx
call fcn.140009374
jmp 0x140014680
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rsi
xor r9d, r9d
mov qword [rsp + 0x50], rsi
xor r8d, r8d
mov qword [rsp + 0x48], rsi
xor edx, edx
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x140014608
mov ebx, esi
jmp 0x140014616
movzx ebx, ax
or ebx, edi
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x1400145af
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140014680
mov edi, esi
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x74]
mov qword [rsp + 0x38], rsi
lea r9, [rsp + 0x78]
mov qword [rsp + 0x30], rsi
lea r8, [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov edx, edi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
test eax, eax
jne 0x140014678
lea rdx, str..IterationCount
lea rcx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsstr]
test rax, rax
je 0x140014678
mov rcx, qword [rsp + 0x68]
lea rdx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
inc edi
cmp edi, dword [rsp + 0x60]
jb 0x140014620
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140014690
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ecx, ebx
call fcn.140009390
mov eax, ebx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14001c430
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140017548
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
xor edi, edi
mov qword [rsp + 0x20], rbx
mov r12, r9
mov r13, r8
mov rsi, rdx
test rdx, rdx
jne 0x140017589
mov ecx, 0x80070057
mov edi, ecx
call fcn.140009374
jmp 0x14001767a
test r13, r13
je 0x140017578
test r12, r12
je 0x140017578
mov r14, qword [rsp + 0x90]
test r14, r14
je 0x140017578
mov r15, qword [rsp + 0x98]
test r15, r15
je 0x140017578
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebp, eax
test eax, eax
jne 0x1400175e1
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
je 0x1400175e1
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x1400175e1
mov ecx, edi
jmp 0x14001757f
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.1400176a4
mov rbx, qword [rsp + 0x20]
test rbx, rbx
jne 0x1400175ff
mov edi, 0x8007000e
jmp 0x1400175dd
mov r9, rbx
mov r8d, ebp
xor edx, edx
mov rcx, rsi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x140017635
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jne 0x140017625
mov edi, 0x80004005
jmp 0x1400175dd
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x1400175dd
lea r9, [rsp + 0x78]
mov rcx, rbx
lea r8, [rsp + 0x28]
lea rdx, [0x140021d30]
call qword [sym.imp.api_ms_win_core_version_l1_1_0.dll_VerQueryValueW]
test eax, eax
je 0x140017614
mov r8, qword [rsp + 0x28]
movzx edx, word [r8 + 0xa]
mov dword [r13], edx
movzx edx, word [r8 + 8]
mov dword [r12], edx
movzx edx, word [r8 + 0xe]
mov dword [r14], edx
movzx edx, word [r8 + 0xc]
mov dword [r15], edx
mov ecx, edi
call fcn.140009390
mov rcx, rbx
call fcn.14001cb10
mov rbx, qword [rsp + 0x80]
mov eax, edi
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001bc3c
Capabilities:
Get token privileges

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
and qword [rbp - 0x10], 0
xor ebx, ebx
mov rdi, rdx
mov rsi, rcx
test rcx, rcx
jne 0x14001bc6d
mov ecx, 0x80070057
mov ebx, ecx
call fcn.140009374
jmp 0x14001bd1f
test rdi, rdi
je 0x14001bc5c
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
lea r8, [rbp - 0x10]
mov edx, 8
mov rcx, rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_OpenProcessToken]
test eax, eax
jne 0x14001bcb1
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jne 0x14001bc9f
mov ebx, 0x80004005
jmp 0x14001bcad
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov ecx, ebx
jmp 0x14001bc63
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x30]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x40]
lea edx, [r9 + 0xe]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_GetTokenInformation]
test eax, eax
je 0x14001bc8e
cmp dword [rbp + 0x30], 4
je 0x14001bce3
mov ebx, 0x8000ffff
jmp 0x14001bcad
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x30]
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r14d, r14d
lea r8, [rbp + 0x48]
cmp dword [rbp + 0x40], 3
lea edx, [r9 + 0x10]
sete r14b
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_GetTokenInformation]
test eax, eax
je 0x14001bc8e
mov ecx, dword [rbp + 0x48]
mov dword [rsi], ecx
mov dword [rdi], r14d
mov ecx, ebx
call fcn.140009390
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14001bd35
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, ebx
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14001be58
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x50
mov qword [rax - 0x38], 0xfffffffffffffffe
mov rbx, r9
mov r10, r8
mov r9, rdx
mov rsi, rcx
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rdx + r10]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 4
jb 0x14001be8e
mov r8, qword [rsi + 0x30]
and r8, rcx
mov rdi, qword [rsi + 8]
add r8, r8
mov rax, qword [rsi + 0x18]
cmp rdi, qword [rax + r8*8]
je 0x14001bf19
mov rdi, qword [rax + r8*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [rax + r8*8]
je 0x14001bf19
mov ecx, dword [r10]
mov rdi, qword [rdi + 8]
cmp ecx, dword [rdi + 0x10]
je 0x14001bee7
cmp rdi, qword [rax + r8*8]
jne 0x14001bed6
jmp 0x14001bf19
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [rsi + 0x10]
mov rcx, rbx
call fcn.14001c414
mov rax, qword [rsp + 0x78]
mov qword [rax], rdi
mov byte [rax + 8], 0
jmp 0x14001c047
mov qword [rsp + 0x28], rbx
mov rax, qword [rbx]
cmp rdi, rax
je 0x14001bf53
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8]
cmp rax, qword [rsi + 8]
jne 0x14001bf70
mov qword [rdx + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x14001bf9f
cmp rax, rdi
jne 0x14001bf7b
mov qword [rdx + r8*8], rbx
jmp 0x14001bf9f
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x14001bf9f
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x140028844]
test rax, rax
jns 0x14001bfc0
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x14001bfd1
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x14001c03c
cmp rdx, 0x200
jae 0x14001bfe9
shl rdx, 3
jmp 0x14001bffb
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x14001bffb
add rdx, rdx
mov rcx, rsi
call fcn.140012e00
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x14001c037
mov rax, qword [rax + 8]
mov qword [rsp + 0x20], rax
mov rdi, qword [rsi + 8]
mov rdi, qword [rdi]
lea r8, [rdi + 0x10]
mov r9, rdi
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.14001be58
cmp rdi, qword [rsp + 0x20]
jne 0x14001c015
mov r9, qword [rsp + 0x78]
mov qword [r9], rbx
mov byte [r9 + 8], 1
mov rax, r9
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14001c0a4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r9, rcx
mov rdi, rdx
movabs rcx, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r10 + r8 + 0x10]
movabs rdx, 0x100000001b3
xor rcx, rax
inc r10
imul rcx, rdx
cmp r10, 4
jb 0x14001c0c1
mov rdx, qword [r9 + 0x30]
and rdx, rcx
mov rcx, qword [r9 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x14001c119
cmp qword [rcx + rdx*8], r8
jne 0x14001c10e
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x14001c112
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14001c126
cmp qword [rcx + rdx*8], r8
jne 0x14001c126
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
mov rax, qword [r8 + 8]
mov rbx, qword [r8]
mov qword [rax], rbx
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
mov rcx, r8
dec qword [r9 + 0x10]
call fcn.14001c414
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400012f0
Capabilities:
Enumerate processes

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov dword [rsp + 0x20], 0x130
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x20]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14000135b
lea rdx, str.project8.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
mov rcx, rbx
test eax, eax
je 0x140001386
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140001333
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call fcn.140001070
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400013b0
add rsp, 0x160
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0x28]
jmp 0x140001366

Function at 0x140001c70
Capabilities:
Parse pe header

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

Function at 0x180593241
Capabilities:
Encode data using xor

Disassembly:
lea rsp, [rsp + 0x10]
je 0x18056aa71
mov ebx, 0x9f9d3c90
push r8
add bx, bx
movzx r8d, bl
lea rbx, [0x180573630]
movzx r8d, byte [r10]
push 0x1595d7b7
xor r8d, r11d
and r8d, 0xff
mov r8d, dword [rbx + r8*4]
shr r11d, 8
xor r11d, r8d
sal dword [rsp + 4], 0xc3
inc r10
xor r11d, 0x2b0e0ba4
dec rcx
lea rsp, [rsp + 8]
jne 0x180593261
jmp 0x18056aa6f
Function at 0x1405510b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140551237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1405510e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405510c7
add dl, dl
jne 0x1405510ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14055114e
xor eax, eax
add dl, dl
jne 0x1405510fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140551205
add dl, dl
jne 0x14055110e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14055111b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140551128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140551135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140551142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1405510d6
mov eax, 1
add dl, dl
jne 0x14055115e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14055116b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140551153
sub eax, ebx
mov ebx, 1
jne 0x1405511a4
mov ecx, 1
add dl, dl
jne 0x140551186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140551193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14055117b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405510d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1405511c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405511cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405511b5
cmp eax, 0x7d00
jae 0x1405511f3
cmp eax, 0x500
jb 0x1405511ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405510d6
cmp eax, 0x7f
ja 0x1405511f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405510d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14055122a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1405510d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1402638e0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1402638ed
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1402638fd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1402638e5
lea eax, [rcx + 1]
jmp 0x14026390b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14026391e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140263904
sub eax, 3
jb 0x14026393e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14026398d
sar eax, 1
movsxd rbp, eax
jb 0x140263974
jmp 0x14026394c
add ebx, ebx
jne 0x14026394a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140263974
inc ecx
add ebx, ebx
jne 0x14026395a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140263974
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14026396d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14026395c
add ecx, 2
jmp 0x140263979
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1402638a2
jmp 0x1402638ed
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1f000
mov dl, 0xe
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1402639d9
cmp rsi, rcx
jae 0x1402639e1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1402639c0
cmp al, 0x8f
ja 0x1402639c0
cmp byte [rsi - 2], 0xf
je 0x1402639c6
sub al, 0xe8
cmp al, 1
ja 0x1402639aa
cmp rsi, rcx
jae 0x1402639e1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1402639b0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1402639e1
lodsb al, byte [rsi]
jmp 0x1402639c0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x261000]
mov eax, dword [rdi]
or eax, eax
je 0x140263a4a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x2735b8]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1402639ee
jns 0x140263a23
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140263a2d
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140263a44
mov qword [rbx], rax
add rbx, 8
jmp 0x140263a0e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140263a8e
cmp al, 0xef
ja 0x140263a76
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140263a56
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x140263a65
mov eax, dword [rdi]
add rdi, 4
jmp 0x140263a65
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x237]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140263ae2
sub rsp, 0xffffffffffffff80
jmp 0x140003718