joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000e588
Capabilities:
Get disk size

Disassembly:
push rbx
sub rsp, 0x470
mov rax, qword [0x140036890]
xor rax, rsp
mov qword [rsp + 0x460], rax
lea rdx, [rsp + 0x60]
mov rbx, rcx
call fcn.140011570
cmp qword [0x14003c468], 0
jne 0x14000e5f1
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14000e5e5
lea rdx, str.GetDiskFreeSpaceExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003c468], rax
jmp 0x14000e5ec
mov rax, qword [0x14003c468]
test rax, rax
je 0x14000e64f
lea rdx, [rsp + 0x60]
mov r8d, 0x400
mov rcx, rbx
call fcn.140011b0c
mov al, byte [rsp + 0x60]
and dword [rsp + 0x34], 0
and dword [rsp + 0x30], 0
neg al
lea rax, [rsp + 0x60]
sbb rcx, rcx
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
and rcx, rax
call qword [0x14003c468]
test eax, eax
je 0x14000e64f
mov eax, dword [rsp + 0x34]
cmp eax, dword [rsp + 0x4c]
ja 0x14000e64f
mov ecx, dword [rsp + 0x30]
shl rax, 0x20
add rax, rcx
jmp 0x14000e6a0
mov al, byte [rsp + 0x60]
lea r9, [rsp + 0x3c]
lea r8, [rsp + 0x38]
neg al
lea rax, [rsp + 0x60]
lea rdx, [rsp + 0x40]
sbb rcx, rcx
and rcx, rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x14000e68f
movabs rax, 0x163e00
jmp 0x14000e6a0
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x3c]
imul eax, dword [rsp + 0x38]
imul rax, rcx
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140021ea0
add rsp, 0x470
pop rbx
ret

Function at 0x14000e6bc
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
call fcn.14000fc44
xor ebx, ebx
cmp eax, ebx
je 0x14000e6f1
cmp rdi, rbx
je 0x14000e6f1
cmp word [rdi], bx
je 0x14000e6f1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x14000e6fa
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rdi
ret

Function at 0x14000e728
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.14000fc44
xor ecx, ecx
cmp eax, ecx
je 0x14000e758
cmp rbx, rcx
je 0x14000e758
cmp word [rbx], cx
je 0x14000e758
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x14000e761
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000e860
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.14000fc44
xor esi, esi
cmp eax, esi
je 0x14000e895
cmp rbx, rsi
je 0x14000e895
cmp word [rbx], si
je 0x14000e895
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14000e89e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rbx, qword [rsp + 0x30]
cmp eax, esi
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
Function at 0x14000e97c
Capabilities:
Check if file exists
Create directory

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
sub rsp, 0x20
mov ebp, r9d
mov sil, r8b
mov rbx, rdx
mov rdi, rcx
call fcn.14000fc44
xor r12d, r12d
cmp eax, r12d
je 0x14000e9c6
cmp rbx, r12
je 0x14000e9c6
cmp word [rbx], r12w
je 0x14000e9c6
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x14000e9d1
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, r12d
je 0x14000e9ed
cmp sil, r12b
je 0x14000e9e9
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.14000e76c
xor eax, eax
jmp 0x14000ea07
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14000ea02
cmp eax, 3
mov eax, 1
jne 0x14000ea07
mov eax, 2
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x140011c00
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rcx, [rsp + 0x38]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
lea r8, [rsp + 0x30]
mov edx, 0x1a
xor ecx, ecx
mov byte [rbx], 0
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x140011c9a
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x140011c9a
cmp byte [rbx], 0
je 0x140011c9a
mov rcx, rbx
call fcn.140011ad8
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
xor edx, edx
repne scasb al, byte [rdi]
mov eax, dword [0x14003016c]
mov rcx, rbx
mov dword [rdi - 1], eax
movzx eax, word [0x140030170]
mov word [rdi + 3], ax
mov al, byte [0x140030172]
mov byte [rdi + 5], al
call fcn.14000e6bc
test al, al
jne 0x140011cb3
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.14000e97c
test eax, eax
je 0x140011cb3
mov r8d, 0x400
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov rcx, rbx
call fcn.140011bcc
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140011cd0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x50]
mov rbx, rcx
mov byte [rcx], 0
lea rdx, str.SoftwareWinRARPaths
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140011d43
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, str.AppData
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x40], 0x400
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [rbx], 0
je 0x140011d56
xor edx, edx
mov rcx, rbx
call fcn.14000e6bc
test al, al
jne 0x140011d5e
mov rcx, rbx
call fcn.140011c00
add rsp, 0x30
pop rbx
ret
Function at 0x140016290
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x860
mov rax, qword [0x140036890]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
cmp rdx, rcx
je 0x1400162ca
mov rdx, rcx
mov rcx, rbx
call fcn.140019eb4
lea rax, [rsp + 0x38]
lea rdx, str.SoftwareWinRARGeneral
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400163c7
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasb al, byte [rdi]
mov eax, 0x3ff
lea r9, [rsp + 0x40]
not rcx
lea rdx, str.LanguageFolder
xor r8d, r8d
dec rcx
sub eax, ecx
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x450]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400163bc
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x450]
mov r8d, 0x400
mov byte [rsp + 0x50], al
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea rcx, [rsp + 0x50]
call fcn.140011ad8
mov rcx, rsi
call fcn.140011654
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
mov r11, rax
xor eax, eax
repne scasb al, byte [rdi]
xor r9d, r9d
mov dl, byte [r11 + r9]
inc r9
mov byte [rdi + r9 - 2], dl
test dl, dl
jne 0x14001638c
lea rcx, [rsp + 0x50]
xor edx, edx
call fcn.14000e6bc
test al, al
je 0x1400163bc
lea rdx, [rsp + 0x50]
mov r8, rbp
mov rcx, rbx
call fcn.140019eb4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.140021ea0
mov rbx, qword [rsp + 0x898]
add rsp, 0x860
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400165a8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140036890]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
lea rcx, [rsp + 0x20]
mov r8d, 0x20
call fcn.140021ac0
xor r11d, r11d
xor r10d, r10d
xor edx, edx
xor r8d, r8d
xor r9d, r9d
cmp r9, 0x28
jg 0x14001662f
cmp rdx, 4
jge 0x140016616
lea rbx, [rsp + rdx*4 + 0x20]
cmp r8, 4
jge 0x14001661a
mov eax, dword [rbx]
lea rcx, [r9 + r8]
inc rdx
add rbx, 4
inc r10d
inc r8
cmp rdx, 4
mov dword [rdi + rcx*4 + 0x14], eax
jl 0x1400165f3
cmp r8, 4
jne 0x140016629
inc r11d
add r9, 4
xor r10d, r10d
xor r8d, r8d
cmp rdx, 4
jl 0x1400165e2
movsxd r8, r11d
movsxd r9, r10d
cmp r8, 0xa
jg 0x1400166fe
lea r11, [0x140040b00]
lea rbx, [0x140040c20]
movzx eax, byte [rsp + 0x2d]
mov cl, byte [rsp + 0x20]
lea rdx, [rsp + 0x24]
xor cl, byte [rax + rbx]
movzx eax, byte [rsp + 0x2e]
mov r10d, 3
mov al, byte [rax + rbx]
xor cl, byte [r11]
xor byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x2f]
mov byte [rsp + 0x20], cl
mov al, byte [rax + rbx]
xor byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x2c]
mov al, byte [rax + rbx]
xor byte [rsp + 0x23], al
inc r11
xor ecx, ecx
mov al, byte [rdx + rcx - 4]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 4
jl 0x140016694
add rdx, 4
sub r10, 1
jne 0x140016692
xor edx, edx
cmp r8, 0xa
jg 0x1400166fe
cmp rdx, 4
jge 0x1400166e2
lea r10, [rsp + rdx*4 + 0x20]
cmp r9, 4
jge 0x1400166e6
mov eax, dword [r10]
lea rcx, [r9 + r8*4]
inc rdx
add r10, 4
inc r9
cmp rdx, 4
mov dword [rdi + rcx*4 + 0x14], eax
jl 0x1400166c1
cmp r9, 4
jne 0x1400166ee
inc r8
xor r9d, r9d
cmp rdx, 4
jl 0x1400166b0
cmp r8, 0xa
jle 0x14001664d
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140021ea0
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x140016718
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r13
sub rsp, 0x20
mov rax, qword [0x140036890]
xor rax, rsp
mov qword [rsp + 0x10], rax
lea r10, [rcx + 0x24]
mov r11d, 9
lea r13, [0x140000000]
xor r9d, r9d
lea rsi, [rsp + r9]
lea rdi, [r10 + 2]
mov ebp, 4
movzx eax, byte [rdi + 1]
lea rdx, [r9 + rax*4]
movzx eax, byte [rdi - 1]
mov r8b, byte [rdx + r13 + 0x3db00]
lea rcx, [r9 + rax*4]
movzx eax, byte [rdi - 2]
xor r8b, byte [rcx + r13 + 0x3e300]
lea rcx, [r9 + rax*4]
movzx eax, byte [rdi]
xor r8b, byte [rcx + r13 + 0x3e700]
lea rcx, [r9 + rax*4]
add rdi, 4
xor r8b, byte [rcx + r13 + 0x3df00]
mov byte [rsi], r8b
add rsi, 4
sub rbp, 1
jne 0x14001675a
inc r9
cmp r9, 4
jl 0x14001674d
movdqu xmm0, xmmword [rsp]
movdqu xmmword [r10], xmm0
add r10, 0x10
sub r11, 1
jne 0x14001674a
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.140021ea0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop rdi
pop rsi
ret
Function at 0x140017020
Capabilities:
Encode data using xor

Disassembly:
mov r9, rdx
jmp 0x140017020
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140036890]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r9
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
test rdx, rdx
je 0x140017126
test rbx, rbx
je 0x140017126
movdqu xmm0, xmmword [rcx + 4]
shr rbx, 4
mov qword [rsp + 0x20], rbx
mov r12, rbx
movdqu xmmword [rsp + 0x28], xmm0
test rbx, rbx
je 0x140017118
mov r13d, dword [r11 - 0x54]
mov r14d, dword [r11 - 0x58]
mov r15d, dword [r11 - 0x5c]
mov ebx, dword [rsp + 0x28]
lea r8, [rsp + 0x38]
mov rdx, rsi
mov rcx, rdi
call fcn.1400167e8
mov r11d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
mov eax, dword [rsp + 0x44]
xor r11d, ebx
mov ebx, dword [rsi]
xor edx, r15d
mov r15d, dword [rsi + 4]
xor ecx, r14d
mov r14d, dword [rsi + 8]
xor eax, r13d
mov r13d, dword [rsi + 0xc]
mov dword [rbp], r11d
mov dword [rbp + 4], edx
mov dword [rbp + 8], ecx
mov dword [rbp + 0xc], eax
add rbp, 0x10
add rsi, 0x10
sub r12, 1
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x3c], edx
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x44], eax
jne 0x140017093
mov dword [rsp + 0x28], ebx
mov rbx, qword [rsp + 0x20]
mov dword [rsp + 0x34], r13d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x2c], r15d
movdqu xmm0, xmmword [rsp + 0x28]
shl rbx, 4
movdqu xmmword [rdi + 4], xmm0
mov rax, rbx
jmp 0x140017128
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140021ea0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140019a38
Capabilities:
Hash data using sha1

Disassembly:
and dword [rcx + 0x18], 0
and dword [rcx + 0x14], 0
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
ret

Function at 0x14001a530
Capabilities:
Shutdown system

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x50]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14001a596
lea r8, [rsp + 0x34]
lea rdx, str.SeShutdownPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
and qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x50]
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x30]
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x3c], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov edx, 0x80000000
mov ecx, 0xd
call qword [sym.imp.USER32.dll_ExitWindowsEx]
add rsp, 0x48
ret
Function at 0x140022e28
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.1400279fc
nop
cmp dword [0x140041420], 1
je 0x140022dd4
mov dword [0x14004141c], 1
mov byte [0x140041418], r12b
test ebx, ebx
jne 0x140022dc0
mov rcx, qword [0x1400434c0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140022dad
mov rcx, qword [0x1400434b8]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x140022d4c
call fcn.1400237f0
cmp qword [rdi], rax
jne 0x140022d4c
jmp 0x140022d32
cmp rdi, rsi
jb 0x140022dad
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.1400237f0
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1400434c0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1400434b8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140022d8b
cmp r13, rax
je 0x140022dab
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x140022d32
lea rdx, [0x14002f518]
lea rcx, [0x14002f500]
call fcn.140022b7c
lea rdx, [0x14002f528]
lea rcx, [0x14002f520]
call fcn.140022b7c
nop
test r12d, r12d
je 0x140022de3
mov ecx, 8
call fcn.1400278fc
test r12d, r12d
jne 0x140022e0e
mov dword [0x140041420], 1
lea ecx, [r12 + 8]
call fcn.1400278fc
mov ecx, r15d
call fcn.140022b10
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x140022c9c

Function at 0x140022e34
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140022c9c

Function at 0x140022f20
Capabilities:
Move file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x140022f36
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140022f38
xor eax, eax
test eax, eax
je 0x140022f48
mov ecx, eax
call fcn.1400254e0
or eax, 0xffffffff
jmp 0x140022f4a
xor eax, eax
add rsp, 0x28
ret
Function at 0x14002560b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140036890]
jne 0x140021eba
rol rcx, 0x10
test cx, 0xffff
jne 0x140021eb6
repz ret
ror rcx, 0x10
jmp 0x140025564
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140041820]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140041918]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400255e9
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140041820]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14002560b
mov rax, qword [rsp + 0x88]
mov qword [0x140041918], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400418b8], rax
mov rax, qword [0x140041918]
mov qword [0x140041790], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400418a0], rax
mov dword [0x140041780], 0xc0000409
mov dword [0x140041784], 1
mov rax, qword [0x140036890]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140036898]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140041818], eax
mov ecx, 1
call fcn.140029b40
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140030c00]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140041818], 0
jne 0x140025692
mov ecx, 1
call fcn.140029b40
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140029798
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.1400237f0
xor ebx, ebx
mov rdi, rax
cmp qword [0x1400420e0], rbx
jne 0x14002989e
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140029973
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140029973
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1400420e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1400420e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x1400420f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140042100], rax
test rax, rax
je 0x140029895
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1400420f8], rax
jmp 0x1400298a5
mov rax, qword [0x1400420f8]
jmp 0x1400298ac
mov rax, qword [0x1400420f8]
mov r11, qword [0x140042100]
cmp rax, rdi
je 0x140029914
cmp r11, rdi
je 0x140029914
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140042100]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140029914
test rax, rax
je 0x140029914
call rsi
test rax, rax
je 0x14002990e
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14002990e
test byte [rsp + 0x38], 1
jne 0x140029914
bts ebp, 0x15
jmp 0x140029952
mov rcx, qword [0x1400420e8]
cmp rcx, rdi
je 0x140029952
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140029952
call rax
mov rbx, rax
test rax, rax
je 0x140029952
mov rcx, qword [0x1400420f0]
cmp rcx, rdi
je 0x140029952
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140029952
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400420e0]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140029973
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140029975
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x1400086a0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400086ad
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400086bd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400086a5
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x1400086d5
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400086c2
sub eax, 3
jb 0x1400086ef
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140008726
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140008716
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140008714
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140008703
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.140008662
jmp 0x1400086ad
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1000
mov dl, 1
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140008772
cmp rsi, rcx
jae 0x14000877a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140008759
cmp al, 0x8f
ja 0x140008759
cmp byte [rsi - 2], 0xf
je 0x14000875f
sub al, 0xe8
cmp al, 1
ja 0x140008743
cmp rsi, rcx
jae 0x14000877a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140008749
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14000877a
lodsb al, byte [rsi]
jmp 0x140008759
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x6000]
mov eax, dword [rdi]
or eax, eax
je 0x1400087d7
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x81dc]
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 0x140008787
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 0x1400087d1
mov qword [rbx], rax
add rbx, 8
jmp 0x1400087a7
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 0x140008811
cmp al, 0xef
ja 0x140008803
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400087e3
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400087f2
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 + 0x22f]
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 0x140008865
sub rsp, 0xffffffffffffff80
jmp 0x1400014d4