joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011c50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rbx, rdx
call fcn.140011958
mov rcx, rbx
mov rsi, rax
call fcn.140016b78
lea rbp, str.__i4j_empty_command_line
test rax, rax
mov edx, 0x40000000
mov rcx, rsi
cmovne rbp, rbx
and qword [rsp + 0x30], 0
xor r9d, r9d
lea r8d, [r9 + 1]
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
xor ebx, ebx
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140011d1f
mov ecx, ebx
inc ebx
cmp ecx, 0x32
jge 0x140011d03
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
and qword [rsp + 0x30], 0
xor r9d, r9d
lea r8d, [r9 + 1]
mov edx, 0x40000000
mov rcx, rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140011cbb
cmp rdi, 0xffffffffffffffff
jne 0x140011d1f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.error_mailslot_CreateFile__d
mov edx, eax
call fcn.1400116ec
jmp 0x140011d80
mov rcx, rbp
call fcn.140016b78
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
mov rbx, rax
mov rdx, rbp
mov rcx, rdi
add ebx, ebx
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140011d60
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.error_mailslot_WriteFile__d
mov edx, eax
call fcn.1400116ec
jmp 0x140011d77
mov edx, dword [rsp + 0x60]
cmp edx, ebx
je 0x140011d77
lea rcx, str.error_mailslot_WriteFile_length__d__d
mov r8d, ebx
call fcn.1400116ec
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
jmp fcn.140016490
Function at 0x1400120e4
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 [0x14003f938]
and dword [rax + 0x20], 0
and dword [rax - 0x38], 0
ucomiss xmm0, dword [0x140036900]
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
xorps xmm7, xmm7
jp 0x140012186
jne 0x140012186
movss xmm6, dword [0x1400368fc]
lea rcx, str.J2D_UISCALE
movss dword [0x14003f938], xmm6
call fcn.140019a14
test rax, rax
je 0x14001217e
xor edx, edx
mov rcx, rax
call fcn.14001a92c
cvtsd2ss xmm1, xmm0
movss dword [0x14003f938], xmm1
call fcn.14001a720
cmp dword [rax], 0x22
je 0x140012171
movss xmm0, dword [0x14003f938]
comiss xmm7, xmm0
jb 0x140012186
movaps xmm0, xmm6
movss dword [0x14003f938], xmm0
jmp 0x140012186
movss xmm0, dword [0x14003f938]
comiss xmm0, xmm7
jbe 0x140012198
movss dword [rbx], xmm0
movss dword [rdi], xmm0
jmp 0x140012285
cmp qword [0x14004cfe8], 0
jne 0x1400121d4
lea rcx, str.shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14004cfe8], rax
test rax, rax
je 0x1400121d4
lea rdx, str.GetDpiForMonitor
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004cfe0], rax
jmp 0x1400121db
mov rax, qword [0x14004cfe0]
test rax, rax
je 0x14001221d
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x78]
xor edx, edx
mov rcx, rsi
call rax
test eax, eax
jne 0x140012285
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 0x140012285
lea rcx, str.D2d1.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14004cfd8], rax
test rax, rax
je 0x140012285
lea rdx, [0x1400368a0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004cfd0], rax
test rax, rax
je 0x140012285
lea r9, [rsp + 0x28]
lea rdx, [0x140036890]
xor r8d, r8d
xor ecx, ecx
call rax
test eax, eax
jne 0x140012285
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 0x140013fa4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp byte [0x14004e794], 0
mov rbx, rcx
je 0x140013ffb
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140013ffb
mov rcx, rbx
call fcn.140016100
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 0x140014011
mov rcx, rbx
call fcn.14001a934
call fcn.140017b10
lea rcx, [rax + 0x30]
call fcn.140017948
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140014070
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0xd0
mov rax, qword [0x14003f9c0]
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 0x1400140fb
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x94
call fcn.1400184b0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x24], 6
jne 0x1400140d3
cmp dword [rsp + 0x28], 0
je 0x1400140fb
lea rdx, str.SetDefaultDllDirectories
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400140fb
mov ecx, 0xc00
call rax
lea rcx, str.restrict_DLL_directories
call fcn.1400116ec
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140016820
add rsp, 0xd0
pop rbx
ret

Function at 0x140014114
Capabilities:
Create directory

Disassembly:
push rbx
mov eax, 0x17a0
call fcn.140030b10
sub rsp, rax
mov rax, qword [0x14003f9c0]
xor rax, rsp
mov qword [rsp + 0x1790], rax
xor ebx, ebx
lea rcx, [rsp + 0x20]
call fcn.140006bc4
xor ecx, ecx
call fcn.140018004
lea r8, [rsp + 0x20]
lea rdx, str._s_dir_d
lea rcx, [0x14004d000]
mov r9, rax
call fcn.140017528
lea rdx, [0x14004d000]
lea rcx, str.Temp_dir3:__S
call fcn.1400116ec
lea rcx, [0x14004d000]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x1400141bc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140037320]
mov edx, eax
call fcn.1400116ec
inc ebx
cmp ebx, 0xa
jl 0x140014137
lea rdx, [0x14003731c]
mov ecx, 0x3f1
mov byte [0x14004d000], 0
call fcn.140004f54
mov rcx, qword [rsp + 0x1790]
xor rcx, rsp
call fcn.140016820
add rsp, 0x17a0
pop rbx
ret
Function at 0x1400141d8
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 0x14001425e
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 0x14001425e
lea ecx, [rax + 2]
xor edx, edx
call qword [sym.imp.USER32.dll_ExitWindowsEx]
add rsp, 0x48
ret

Function at 0x1400143c0
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.140015fd4
mov ecx, 0x2ee0
mov rdi, rax
call fcn.140015fd4
mov r8d, 0x1770
mov rdx, rax
mov ecx, 0x2714
mov rsi, rax
call fcn.140004504
lea rcx, str.native_lib_dir_is__S
mov rdx, rsi
call fcn.1400116ec
mov rcx, rsi
call fcn.140008a3c
lea r8, [0x140014398]
mov rdx, rsi
mov rcx, rdi
call fcn.140007094
mov rcx, rdi
call fcn.140016100
test rax, rax
je 0x140014453
mov rcx, rdi
call fcn.140016100
cmp byte [rax + rdi - 1], 0x3b
je 0x140014453
lea rdx, [0x14003320c]
mov rcx, rdi
call fcn.140016630
mov rcx, rdi
call fcn.140016100
mov rcx, rdi
sub ebx, eax
call fcn.140016100
lea rcx, [0x1400354e8]
lea rdx, [rdi + rax]
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea rcx, [0x1400354e8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
je 0x14001449e
lea rcx, str.Setting_PATH__native_libs___S
mov rdx, rdi
call fcn.1400116ec
jmp 0x1400144b6
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.1400116ec
mov rcx, rdi
call fcn.140016100
lea rcx, [rax + 6]
call fcn.140015fd4
lea rdx, str.PATH_s
mov r8, rdi
mov rcx, rax
mov rbx, rax
call fcn.140017528
mov rcx, rbx
call fcn.140019fb0
mov rcx, rbx
call fcn.140016490
mov rcx, rdi
call fcn.140016490
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140016490
Function at 0x14001496c
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 [0x14003f9c0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov ecx, 0x271a
call fcn.140004658
xor ebp, ebp
cmp eax, ebp
je 0x140014b61
xor r8d, r8d
xor edx, edx
lea rcx, str.PATH
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
movsxd rbx, eax
cmp ebx, ebp
jle 0x140014b61
lea eax, [rbp + 2]
mul rbx
lea rcx, [rbp - 1]
cmovo rax, rcx
mov rcx, rax
call fcn.140015fd4
mov rdi, rax
mov r8d, ebx
mov rdx, rax
lea rcx, str.PATH
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp eax, ebp
jbe 0x140014b59
mov edx, 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp eax, ebp
jbe 0x140014b59
lea rcx, [rsp + 0x50]
call fcn.140016b78
cmp rax, rbp
jbe 0x140014b59
lea rcx, [rsp + 0x50]
call fcn.140016b78
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.1400116ec
lea rdx, [0x140033a58]
mov rcx, rdi
call fcn.1400186a8
mov rbx, rax
cmp rax, rbp
je 0x140014aef
mov rcx, rbx
call fcn.140016b78
cmp rax, rbp
je 0x140014aef
movsxd r8, esi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14001ab34
cmp eax, ebp
jne 0x140014ad9
cmp qword [rsp + 0x40], rbp
jbe 0x140014ac1
lea rcx, [0x140033a58]
call fcn.140016b78
mov r8, rax
lea rdx, [0x140033a58]
lea rcx, [rsp + 0x28]
call fcn.14001480c
mov rcx, rbx
call fcn.140016b78
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.14001480c
lea rdx, [0x140033a58]
xor ecx, ecx
call fcn.1400186a8
mov rbx, rax
cmp rax, rbp
jne 0x140014a79
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.1400116ec
cmp qword [rsp + 0x40], rbp
jbe 0x140014b47
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 0x140014b47
lea rcx, str.ERROR_setting_path
call fcn.1400116ec
nop
cmp qword [rsp + 0x48], 8
jb 0x140014b59
mov rcx, qword [rsp + 0x30]
call fcn.140016490
mov rcx, rdi
call fcn.140016490
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140016820
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 0x140015ae4
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.140030b10
sub rsp, rax
mov rax, qword [0x14003f9c0]
xor rax, rsp
mov qword [rsp + 0x4730], rax
mov rsi, rcx
lea rcx, [rsp + 0xe0]
mov rdi, rdx
call fcn.1400166d0
lea rcx, str..pack
call fcn.140016100
lea rbx, [rsp + 0xe0]
lea rcx, [rsp + 0xe0]
sub rbx, rax
call fcn.140016100
xor ebp, ebp
mov rcx, rdi
mov byte [rax + rbx], bpl
call fcn.140005b7c
cmp al, bpl
jne 0x140015b66
lea rcx, str.pack_path_doesnt_exists
call fcn.1400116ec
jmp 0x140015cb7
lea rdx, str._s_binunpack200.exe
lea rcx, [rsp + 0x2fc0]
mov r8, rsi
call fcn.140017528
lea r9, [rsp + 0xe0]
lea rdx, str._r___s____s_
lea rcx, [rsp + 0x1850]
mov r8, rdi
call fcn.140017528
lea rdx, [rsp + 0x2fc0]
lea rcx, [0x140033078]
call fcn.1400116ec
lea rdx, [rsp + 0x1850]
lea rcx, [0x140033078]
call fcn.1400116ec
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x18]
call fcn.1400184b0
mov ebx, 0x68
lea rcx, [rsp + 0x70]
mov r8, rbx
xor edx, edx
call fcn.1400184b0
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 0x140015c65
lea rcx, str.could_not_create_unpack_process
call fcn.1400116ec
lea rdx, [0x140037bf0]
mov ecx, 0x3f1
call fcn.140004f54
lea rcx, str.waiting_for_unpack200_to_finish
call fcn.1400116ec
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, str.unpack_done
call fcn.1400116ec
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, ebp
jne 0x140015cb7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140015cb7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.could_not_delete_packed_file__error__d_
mov edx, eax
call fcn.1400116ec
mov rcx, qword [rsp + 0x4730]
xor rcx, rsp
call fcn.140016820
mov rbx, qword [rsp + 0x4770]
add rsp, 0x4740
pop rdi
pop rsi
pop rbp
ret
Function at 0x140015cdc
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov eax, 0x3060
call fcn.140030b10
sub rsp, rax
mov rax, qword [0x14003f9c0]
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.140017528
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140015e3e
lea rcx, [rsp + 0x5c]
call fcn.140016100
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.140017528
lea rdx, [rsp + 0x170]
lea rcx, str.checking__S
call fcn.1400116ec
lea rcx, [rsp + 0x170]
call fcn.140005b7c
test al, al
jne 0x140015e1f
cmp byte [rdi], al
jne 0x140015dc1
lea rcx, str.Unpacking_JRE
call fcn.1400116ec
lea rcx, str.Preparing_JRE_..._n
call fcn.140013fa4
mov byte [rdi], 1
lea rcx, [rsp + 0x5c]
call fcn.140016100
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.140017528
lea r9, [rsp + 0x170]
lea rdx, str._s_s.pack
lea rcx, [rsp + 0x18e0]
mov r8, rsi
call fcn.140017528
lea rdx, [rsp + 0x18e0]
mov rcx, rsi
call fcn.140015ae4
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140015d46
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x3050]
xor rcx, rsp
call fcn.140016820
mov rbx, qword [rsp + 0x3098]
add rsp, 0x3060
pop rdi
pop rsi
pop rbp
ret

Function at 0x14001859c
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x1400185b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400185b6
xor eax, eax
test eax, eax
je 0x1400185c6
mov ecx, eax
call fcn.14001a760
or eax, 0xffffffff
jmp 0x1400185c8
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400185d0
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x1400185e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400185e8
xor eax, eax
test eax, eax
je 0x1400185f8
mov ecx, eax
call fcn.14001a760
or eax, 0xffffffff
jmp 0x1400185fa
xor eax, eax
add rsp, 0x28
ret

Function at 0x140018644
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14001865c
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14001865e
xor eax, eax
test eax, eax
je 0x14001866e
mov ecx, eax
call fcn.14001a760
or eax, 0xffffffff
jmp 0x140018670
xor eax, eax
add rsp, 0x28
ret

Function at 0x140018678
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14001868e
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140018690
xor eax, eax
test eax, eax
je 0x1400186a0
mov ecx, eax
call fcn.14001a760
or eax, 0xffffffff
jmp 0x1400186a2
xor eax, eax
add rsp, 0x28
ret
Function at 0x140019b98
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x140019bae
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140019bb0
xor eax, eax
test eax, eax
je 0x140019bc0
mov ecx, eax
call fcn.14001a760
or eax, 0xffffffff
jmp 0x140019bc2
xor eax, eax
add rsp, 0x28
ret

Function at 0x14001afa3
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14003f9c0]
jne 0x14001683a
rol rcx, 0x10
test cx, 0xffff
jne 0x140016836
repz ret
ror rcx, 0x10
jmp 0x14001aefc
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14004e8a0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14004e998]
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 0x14001af81
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, [0x14004e8a0]
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 0x14001afa3
mov rax, qword [rsp + 0x88]
mov qword [0x14004e998], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14004e938], rax
mov rax, qword [0x14004e998]
mov qword [0x14004e810], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14004e920], rax
mov dword [0x14004e800], 0xc0000409
mov dword [0x14004e804], 1
mov rax, qword [0x14003f9c0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14003f9c8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14004e898], eax
mov ecx, 1
call fcn.14001b048
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400385a0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14004e898], 0
jne 0x14001b02a
mov ecx, 1
call fcn.14001b048
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 0x14001ef18
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001ed8c
Function at 0x14001ef24
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.14001fba8
nop
cmp dword [0x14004edd8], 1
je 0x14001eec4
mov dword [0x14004edd4], 1
mov byte [0x14004edd0], r12b
test ebx, ebx
jne 0x14001eeb0
mov rcx, qword [0x14004f8d0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14001ee9d
mov rcx, qword [0x14004f8c8]
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 0x14001ee3c
call fcn.14001b058
cmp qword [rdi], rax
jne 0x14001ee3c
jmp 0x14001ee22
cmp rdi, rsi
jb 0x14001ee9d
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14001b058
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14004f8d0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14004f8c8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14001ee7b
cmp r13, rax
je 0x14001ee9b
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 0x14001ee22
lea rdx, [0x140032598]
lea rcx, [0x140032580]
call fcn.14001ec6c
lea rdx, [0x1400325a8]
lea rcx, [0x1400325a0]
call fcn.14001ec6c
nop
test r12d, r12d
je 0x14001eed3
mov ecx, 8
call fcn.14001faa8
test r12d, r12d
jne 0x14001eefe
mov dword [0x14004edd8], 1
lea ecx, [r12 + 8]
call fcn.14001faa8
mov ecx, r15d
call fcn.14001ec00
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 0x14001ed8c
Function at 0x140023044
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.14001b058
xor ebx, ebx
mov rdi, rax
cmp qword [0x14004f3c0], rbx
jne 0x14002314a
lea rcx, [0x140038db0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14002321f
lea rdx, [0x140038da0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002321f
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14004f3c0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140038d78]
mov rcx, rsi
mov qword [0x14004f3c8], 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 [0x14004f3d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14004f3e0], rax
test rax, rax
je 0x140023141
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14004f3d8], rax
jmp 0x140023151
mov rax, qword [0x14004f3d8]
jmp 0x140023158
mov rax, qword [0x14004f3d8]
mov r11, qword [0x14004f3e0]
cmp rax, rdi
je 0x1400231c0
cmp r11, rdi
je 0x1400231c0
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14004f3e0]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1400231c0
test rax, rax
je 0x1400231c0
call rsi
test rax, rax
je 0x1400231ba
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 0x1400231ba
test byte [rsp + 0x38], 1
jne 0x1400231c0
bts ebp, 0x15
jmp 0x1400231fe
mov rcx, qword [0x14004f3c8]
cmp rcx, rdi
je 0x1400231fe
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400231fe
call rax
mov rbx, rax
test rax, rax
je 0x1400231fe
mov rcx, qword [0x14004f3d0]
cmp rcx, rdi
je 0x1400231fe
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400231fe
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14004f3c0]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002321f
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140023221
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