joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140016f78
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x50
movss xmm0, dword [0x14004dcb8]
and dword [rax + 0x20], 0
and dword [rax - 0x38], 0
ucomiss xmm0, dword [0x1400425c8]
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
xorps xmm7, xmm7
jp 0x14001701a
jne 0x14001701a
movss xmm6, dword [0x1400425c4]
lea rcx, str.J2D_UISCALE
movss dword [0x14004dcb8], xmm6
call fcn.14001f9ac
test rax, rax
je 0x140017012
xor edx, edx
mov rcx, rax
call fcn.140020e84
cvtsd2ss xmm1, xmm0
movss dword [0x14004dcb8], xmm1
call fcn.140020c78
cmp dword [rax], 0x22
je 0x140017005
movss xmm0, dword [0x14004dcb8]
comiss xmm7, xmm0
jb 0x14001701a
movaps xmm0, xmm6
movss dword [0x14004dcb8], xmm0
jmp 0x14001701a
movss xmm0, dword [0x14004dcb8]
comiss xmm0, xmm7
jbe 0x14001702c
movss dword [rbx], xmm0
movss dword [rdi], xmm0
jmp 0x140017119
cmp qword [0x14005b460], 0
jne 0x140017068
lea rcx, str.shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14005b460], rax
test rax, rax
je 0x140017068
lea rdx, str.GetDpiForMonitor
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14005b458], rax
jmp 0x14001706f
mov rax, qword [0x14005b458]
test rax, rax
je 0x1400170b1
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x78]
xor edx, edx
mov rcx, rsi
call rax
test eax, eax
jne 0x140017119
mov eax, dword [rsp + 0x78]
pxor xmm0, xmm0
pxor xmm1, xmm1
cvtsi2ss xmm0, rax
mov eax, dword [rsp + 0x20]
cvtsi2ss xmm1, rax
movss dword [rdi], xmm0
movss dword [rbx], xmm1
jmp 0x140017119
lea rcx, str.D2d1.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14005b450], rax
test rax, rax
je 0x140017119
lea rdx, [0x140042568]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14005b448], rax
test rax, rax
je 0x140017119
lea r9, [rsp + 0x28]
lea rdx, [0x140042558]
xor r8d, r8d
xor ecx, ecx
call rax
test eax, eax
jne 0x140017119
mov rcx, qword [rsp + 0x28]
mov r8, rbx
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x50
pop rdi
ret
Function at 0x140018ea4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp byte [0x14005cc05], 0
mov rbx, rcx
je 0x140018efb
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140018efb
mov rcx, rbx
call fcn.14001bd50
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
jmp 0x140018f11
mov rcx, rbx
call fcn.140020e8c
call fcn.14001d824
lea rcx, [rax + 0x30]
call fcn.14001d65c
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140018f70
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0xd0
mov rax, qword [0x14004de00]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
je 0x140018ffb
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x94
call fcn.14001e190
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x24], 6
jne 0x140018fd3
cmp dword [rsp + 0x28], 0
je 0x140018ffb
lea rdx, str.SetDefaultDllDirectories
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140018ffb
mov ecx, 0xc00
call rax
lea rcx, str.restrict_DLL_directories
call fcn.140016394
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14001c510
add rsp, 0xd0
pop rbx
ret

Function at 0x140019014
Capabilities:
Create directory

Disassembly:
push rbx
mov eax, 0x17a0
call fcn.14003ad30
sub rsp, rax
mov rax, qword [0x14004de00]
xor rax, rsp
mov qword [rsp + 0x1790], rax
xor ebx, ebx
lea rcx, [rsp + 0x20]
call fcn.1400077e0
xor ecx, ecx
call fcn.14001dda8
lea r8, [rsp + 0x20]
lea rdx, str._s_dir_d
lea rcx, [0x14005b470]
mov r9, rax
call fcn.14001d218
lea rdx, [0x14005b470]
lea rcx, str.Temp_dir3:__S
call fcn.140016394
lea rcx, [0x14005b470]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x1400190bc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140042ff0]
mov edx, eax
call fcn.140016394
inc ebx
cmp ebx, 0xa
jl 0x140019037
lea rdx, [0x140042fec]
mov ecx, 0x3f1
mov byte [0x14005b470], 0
call fcn.140005b00
mov rcx, qword [rsp + 0x1790]
xor rcx, rsp
call fcn.14001c510
add rsp, 0x17a0
pop rbx
ret
Function at 0x1400190d8
Capabilities:
Shutdown system

Disassembly:
sub rsp, 0x48
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x50]
mov rcx, rax
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14001915e
lea r8, [rsp + 0x34]
lea rdx, str.SeShutdownPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov rcx, qword [rsp + 0x50]
and qword [rsp + 0x28], 0
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]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14001915e
lea ecx, [rax + 2]
xor edx, edx
call qword [sym.imp.USER32.dll_ExitWindowsEx]
add rsp, 0x48
ret

Function at 0x1400192c0
Capabilities:
Query environment variable
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ebx, 0xbb80
mov rcx, rbx
call fcn.14001b160
mov ecx, 0x2ee0
mov rdi, rax
call fcn.14001b160
mov r8d, 0x1770
mov rdx, rax
mov ecx, 0x2714
mov rsi, rax
call fcn.140004538
lea rcx, str.native_lib_dir_is__S
mov rdx, rsi
call fcn.140016394
mov rcx, rsi
call fcn.14000995c
lea r8, [0x140019298]
mov rdx, rsi
mov rcx, rdi
call fcn.140007cb0
mov rcx, rdi
call fcn.14001bd50
test rax, rax
je 0x140019353
mov rcx, rdi
call fcn.14001bd50
cmp byte [rax + rdi - 1], 0x3b
je 0x140019353
lea rdx, [0x14003e2ac]
mov rcx, rdi
call fcn.14001c320
mov rcx, rdi
call fcn.14001bd50
mov rcx, rdi
sub ebx, eax
call fcn.14001bd50
lea rcx, [0x1400406d8]
lea rdx, [rdi + rax]
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea rcx, [0x1400406d8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
je 0x14001939e
lea rcx, str.Setting_PATH__native_libs___S
mov rdx, rdi
call fcn.140016394
jmp 0x1400193b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Setting_PATH__native_libs___S_failed_with_error__d
mov rdx, rdi
mov r8d, eax
call fcn.140016394
mov rcx, rdi
call fcn.14001bd50
lea rcx, [rax + 6]
call fcn.14001b160
lea rdx, str.PATH_s
mov r8, rdi
mov rcx, rax
mov rbx, rax
call fcn.14001d218
mov rcx, rbx
call fcn.140020408
mov rcx, rbx
call fcn.14001c17c
mov rcx, rdi
call fcn.14001c17c
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14001c17c
Function at 0x14001940c
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea rcx, str._JAVA_OPTIONS
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea rcx, str.JDK_JAVA_OPTIONS
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea rcx, str.JAVA_TOOL_OPTIONS
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea rdi, [0x14003faef]
lea rcx, str._JAVA_OPTIONS
mov rdx, rdi
call fcn.14002043c
lea rcx, str.JDK_JAVA_OPTIONS
mov rdx, rdi
call fcn.14002043c
lea rcx, str.JAVA_TOOL_OPTIONS
mov rdx, rdi
call fcn.14002043c
lea rcx, str.ucrtbase.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1400194db
lea rdx, str._putenv_s
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x1400194db
lea r8, [fcn.14002043c]
lea rcx, str.using__putenv_s_in_ucrtbase.dll__p__p
mov rdx, rax
call fcn.140016394
lea rcx, str._JAVA_OPTIONS
mov rdx, rdi
call rbx
lea rcx, str.JDK_JAVA_OPTIONS
mov rdx, rdi
call rbx
lea rcx, str.JAVA_TOOL_OPTIONS
mov rdx, rdi
call rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140019f2c
Capabilities:
Get common file path
Query environment variable
Set environment variable

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x270
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x14004de00]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov ecx, 0x271a
call fcn.14000468c
xor ebp, ebp
cmp eax, ebp
je 0x14001a121
xor r8d, r8d
xor edx, edx
lea rcx, str.PATH
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
movsxd rbx, eax
cmp ebx, ebp
jle 0x14001a121
lea eax, [rbp + 2]
mul rbx
lea rcx, [rbp - 1]
cmovo rax, rcx
mov rcx, rax
call fcn.14001b160
mov rdi, rax
mov r8d, ebx
mov rdx, rax
lea rcx, str.PATH
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp eax, ebp
jbe 0x14001a119
mov edx, 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp eax, ebp
jbe 0x14001a119
lea rcx, [rsp + 0x50]
call fcn.14001c868
cmp rax, rbp
jbe 0x14001a119
lea rcx, [rsp + 0x50]
call fcn.14001c868
mov rsi, rax
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rbp
mov word [rsp + 0x30], bp
mov r9, rdi
mov r8d, ebx
mov edx, eax
lea rcx, str.reducing_PATH__d__d__s
call fcn.140016394
lea rdx, [0x14003eb88]
mov rcx, rdi
call fcn.14001e454
mov rbx, rax
cmp rax, rbp
je 0x14001a0af
mov rcx, rbx
call fcn.14001c868
cmp rax, rbp
je 0x14001a0af
movsxd r8, esi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14002108c
cmp eax, ebp
jne 0x14001a099
cmp qword [rsp + 0x40], rbp
jbe 0x14001a081
lea rcx, [0x14003eb88]
call fcn.14001c868
mov r8, rax
lea rdx, [0x14003eb88]
lea rcx, [rsp + 0x28]
call fcn.140019a5c
mov rcx, rbx
call fcn.14001c868
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140019a5c
lea rdx, [0x14003eb88]
xor ecx, ecx
call fcn.14001e454
mov rbx, rax
cmp rax, rbp
jne 0x14001a039
lea r8, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
lea rcx, str.reduced_PATH__d_to__s
call fcn.140016394
cmp qword [rsp + 0x40], rbp
jbe 0x14001a107
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
lea rcx, str.PATH
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
cmp eax, ebp
jne 0x14001a107
lea rcx, str.ERROR_setting_path
call fcn.140016394
nop
cmp qword [rsp + 0x48], 8
jb 0x14001a119
mov rcx, qword [rsp + 0x30]
call fcn.14001c17c
mov rcx, rdi
call fcn.14001c17c
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14001c510
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14001ac60
Capabilities:
Check if file exists
Create process on windows
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x4740
call fcn.14003ad30
sub rsp, rax
mov rax, qword [0x14004de00]
xor rax, rsp
mov qword [rsp + 0x4730], rax
mov rsi, rcx
lea rcx, [rsp + 0xe0]
mov rdi, rdx
call fcn.14001c3c0
lea rcx, str..pack
call fcn.14001bd50
lea rbx, [rsp + 0xe0]
lea rcx, [rsp + 0xe0]
sub rbx, rax
call fcn.14001bd50
xor ebp, ebp
mov rcx, rdi
mov byte [rax + rbx], bpl
call fcn.14000651c
cmp al, bpl
jne 0x14001ace2
lea rcx, str.pack_path_doesnt_exists
call fcn.140016394
jmp 0x14001ae2e
lea rdx, str._s_binunpack200.exe
lea rcx, [rsp + 0x2fc0]
mov r8, rsi
call fcn.14001d218
lea r9, [rsp + 0xe0]
lea rdx, str._r___s____s_
lea rcx, [rsp + 0x1850]
mov r8, rdi
call fcn.14001d218
lea rdx, [rsp + 0x2fc0]
lea rcx, [0x14003e118]
call fcn.140016394
lea rdx, [rsp + 0x1850]
lea rcx, [0x14003e118]
call fcn.140016394
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x18]
call fcn.14001e190
mov ebx, 0x68
lea rcx, [rsp + 0x70]
mov r8, rbx
xor edx, edx
call fcn.14001e190
lea ecx, [rbx - 0x67]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov dword [rsp + 0xac], ecx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], ecx
lea rdx, [rsp + 0x1850]
lea rcx, [rsp + 0x2fc0]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x70], ebx
mov word [rsp + 0xb0], bp
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, ebp
jne 0x14001addc
lea rcx, str.could_not_create_unpack_process
call fcn.140016394
xor edx, edx
mov ecx, 0x3fd
call fcn.140005b00
lea rcx, str.waiting_for_unpack200_to_finish
call fcn.140016394
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, str.unpack_done
call fcn.140016394
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, ebp
jne 0x14001ae2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14001ae2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.could_not_delete_packed_file__error__d_
mov edx, eax
call fcn.140016394
mov rcx, qword [rsp + 0x4730]
xor rcx, rsp
call fcn.14001c510
mov rbx, qword [rsp + 0x4770]
add rsp, 0x4740
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001ae54
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov eax, 0x3060
call fcn.14003ad30
sub rsp, rax
mov rax, qword [0x14004de00]
xor rax, rsp
mov qword [rsp + 0x3050], rax
mov rdi, r8
mov rbp, rdx
mov rsi, rcx
mov r8, rcx
mov r9, rdx
lea rcx, [rsp + 0x170]
lea rdx, str._s_s.jar.pack
call fcn.14001d218
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001afc3
call fcn.140004bcc
test al, al
jne 0x14001afc3
lea rcx, [rsp + 0x5c]
call fcn.14001bd50
lea rcx, [rsp + 0x5c]
lea rdx, str._s_s_.s
mov qword [rsp + 0x28], rcx
sub rax, 5
lea rcx, [rsp + 0x170]
mov r9, rbp
mov r8, rsi
mov qword [rsp + 0x20], rax
call fcn.14001d218
lea rdx, [rsp + 0x170]
lea rcx, str.checking__S
call fcn.140016394
lea rcx, [rsp + 0x170]
call fcn.14000651c
test al, al
jne 0x14001afa4
cmp byte [rdi], al
jne 0x14001af46
lea rcx, str.Unpacking_JRE
call fcn.140016394
lea rcx, str.Preparing_JRE_..._n
call fcn.140018ea4
mov byte [rdi], 1
lea rcx, [rsp + 0x5c]
call fcn.14001bd50
lea rcx, [rsp + 0x5c]
lea rdx, str._s_.s
mov qword [rsp + 0x20], rcx
lea r9, [rax - 5]
lea rcx, [rsp + 0x170]
mov r8, rbp
call fcn.14001d218
lea r9, [rsp + 0x170]
lea rdx, str._s_s.pack
lea rcx, [rsp + 0x18e0]
mov r8, rsi
call fcn.14001d218
lea rdx, [rsp + 0x18e0]
mov rcx, rsi
call fcn.14001ac60
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x14001aebe
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x3050]
xor rcx, rsp
call fcn.14001c510
mov rbx, qword [rsp + 0x3098]
add rsp, 0x3060
pop rdi
pop rsi
pop rbp
ret

Function at 0x14001e340
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x14001e358
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14001e35a
xor eax, eax
test eax, eax
je 0x14001e36a
mov ecx, eax
call fcn.140020cb8
or eax, 0xffffffff
jmp 0x14001e36c
xor eax, eax
add rsp, 0x28
ret

Function at 0x14001e374
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x14001e38a
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14001e38c
xor eax, eax
test eax, eax
je 0x14001e39c
mov ecx, eax
call fcn.140020cb8
or eax, 0xffffffff
jmp 0x14001e39e
xor eax, eax
add rsp, 0x28
ret

Function at 0x14001e3e8
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14001e400
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14001e402
xor eax, eax
test eax, eax
je 0x14001e412
mov ecx, eax
call fcn.140020cb8
or eax, 0xffffffff
jmp 0x14001e414
xor eax, eax
add rsp, 0x28
ret
Function at 0x14001e41c
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14001e432
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14001e434
xor eax, eax
test eax, eax
je 0x14001e444
mov ecx, eax
call fcn.140020cb8
or eax, 0xffffffff
jmp 0x14001e446
xor eax, eax
add rsp, 0x28
ret

Function at 0x140023373
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14004de00]
jne 0x14001c52a
rol rcx, 0x10
test cx, 0xffff
jne 0x14001c526
repz ret
ror rcx, 0x10
jmp 0x1400232cc
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14005cf20]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14005d018]
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 0x140023351
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, [0x14005cf20]
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 0x140023373
mov rax, qword [rsp + 0x88]
mov qword [0x14005d018], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14005cfb8], rax
mov rax, qword [0x14005d018]
mov qword [0x14005ce90], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14005cfa0], rax
mov dword [0x14005ce80], 0xc0000409
mov dword [0x14005ce84], 1
mov rax, qword [0x14004de00]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14004de08]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14005cf18], eax
mov ecx, 1
call fcn.140023418
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140044cf0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14005cf18], 0
jne 0x1400233fa
mov ecx, 1
call fcn.140023418
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 0x1400271ac
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140027020
Function at 0x1400271b8
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.140027e3c
nop
cmp dword [0x14005d450], 1
je 0x140027158
mov dword [0x14005d44c], 1
mov byte [0x14005d448], r12b
test ebx, ebx
jne 0x140027144
mov rcx, qword [0x14005df50]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140027131
mov rcx, qword [0x14005df48]
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 0x1400270d0
call fcn.140023428
cmp qword [rdi], rax
jne 0x1400270d0
jmp 0x1400270b6
cmp rdi, rsi
jb 0x140027131
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140023428
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14005df50]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14005df48]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14002710f
cmp r13, rax
je 0x14002712f
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 0x1400270b6
lea rdx, [0x14003d600]
lea rcx, [0x14003d5e8]
call fcn.140026f00
lea rdx, [0x14003d610]
lea rcx, [0x14003d608]
call fcn.140026f00
nop
test r12d, r12d
je 0x140027167
mov ecx, 8
call fcn.140027d3c
test r12d, r12d
jne 0x140027192
mov dword [0x14005d450], 1
lea ecx, [r12 + 8]
call fcn.140027d3c
mov ecx, r15d
call fcn.140026e94
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
lea edx, [r8 + 1]
jmp 0x140027020
Function at 0x14002af38
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.140023428
xor ebx, ebx
mov rdi, rax
cmp qword [0x14005da30], rbx
jne 0x14002b03e
lea rcx, [0x140045470]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14002b113
lea rdx, [0x140045460]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002b113
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14005da30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140045438]
mov rcx, rsi
mov qword [0x14005da38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x14005da40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14005da50], rax
test rax, rax
je 0x14002b035
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14005da48], rax
jmp 0x14002b045
mov rax, qword [0x14005da48]
jmp 0x14002b04c
mov rax, qword [0x14005da48]
mov r11, qword [0x14005da50]
cmp rax, rdi
je 0x14002b0b4
cmp r11, rdi
je 0x14002b0b4
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14005da50]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14002b0b4
test rax, rax
je 0x14002b0b4
call rsi
test rax, rax
je 0x14002b0ae
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 0x14002b0ae
test byte [rsp + 0x38], 1
jne 0x14002b0b4
bts ebp, 0x15
jmp 0x14002b0f2
mov rcx, qword [0x14005da38]
cmp rcx, rdi
je 0x14002b0f2
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002b0f2
call rax
mov rbx, rax
test rax, rax
je 0x14002b0f2
mov rcx, qword [0x14005da40]
cmp rcx, rdi
je 0x14002b0f2
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002b0f2
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14005da30]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002b113
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14002b115
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