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

Disassembly:
mov eax, 0x10088
call fcn.14002b650
sub rsp, rax
mov rax, qword [0x140067200]
xor rax, rsp
mov qword [rsp + 0x10070], rax
xor eax, eax
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x70], ax
mov word [rsp + 0x20], ax
lea r8d, [rax + 0x28]
call fcn.140025f90
mov r8d, 0x10000
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x14000abad
lea rcx, [rsp + 0x70]
call fcn.14003d930
mov rcx, qword [rsp + 0x10070]
xor rcx, rsp
call fcn.14002b6b0
add rsp, 0x10088
ret
xor eax, eax
mov rcx, qword [rsp + 0x10070]
xor rcx, rsp
call fcn.14002b6b0
add rsp, 0x10088
ret

Function at 0x14000ac90
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140067200]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea rcx, [0x14004c558]
call fcn.14000ab30
xor edi, edi
mov qword [0x140068df0], rax
lea rdx, [0x14004c558]
mov word [rsp + 0x20], di
lea rcx, [rsp + 0x20]
lea r8d, [rdi + 0x28]
call fcn.140025f90
lea rdx, [0x14004c560]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea rcx, str.PYTHONHOME
call fcn.14000ab30
mov cl, 1
mov qword [0x140068df8], rax
call fcn.140027230
lea r8d, [rdi + 0x28]
mov word [rsp + 0x20], di
lea rdx, str.PYTHONHOME
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.140025f90
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov cl, 1
call fcn.140027230
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov rax, qword [sym.imp.python310.dll__Py_path_config]
mov dword [rax + 0x30], 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14002b6b0
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
Function at 0x14000b230
Capabilities:
Set environment variable

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x140067200]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, r8
mov rsi, rdx
mov rbp, rcx
call fcn.140018e50
lea rdx, str.environ
mov rcx, rax
call qword [sym.imp.python310.dll_PyObject_GetAttrString]
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.python310.dll_PyUnicode_FromString]
mov rdx, rsi
lea rcx, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov word [rsp + 0x20], ax
lea r8d, [rax + 0x28]
call fcn.140025f90
lea rcx, [rsp + 0x20]
test r14, r14
je 0x14000b2f3
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, 0xffffffffffffffff
mov rcx, r14
call sub.python310.dll_PyUnicode_FromWideChar
mov r8, rax
mov rdx, rdi
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.python310.dll_PyObject_SetItem]
test eax, eax
je 0x14000b2e1
mov ecx, 1
call qword [sym.imp.python310.dll_PyErr_PrintEx]
mov ecx, 1
call qword [sym.imp.python310.dll_Py_Exit]
int3
sub qword [rsi], 1
jne 0x14000b313
mov rax, qword [rsi + 8]
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x14000b313
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.python310.dll_PyObject_DelItem]
test eax, eax
je 0x14000b313
mov rcx, rbp
call fcn.140002d40
sub qword [rdi], 1
jne 0x14000b323
mov rax, qword [rdi + 8]
mov rcx, rdi
call qword [rax + 0x30]
sub qword [rbx], 1
jne 0x14000b333
mov rax, qword [rbx + 8]
mov rcx, rbx
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14002b6b0
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140026040
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r8, rcx
mov eax, 0xffffffff
test edx, edx
je 0x140026104
mov r9d, edx
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [r8]
lea r8, [r8 + 1]
xor eax, edx
mov edx, eax
and dl, 1
neg dl
sbb ecx, ecx
shr eax, 1
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
and al, 1
neg al
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
neg al
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
neg al
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
neg al
sbb eax, eax
shr ecx, 1
and eax, 0xedb88320
xor eax, ecx
sub r9, 1
jne 0x140026060
not eax
ret
Function at 0x14002c094
Capabilities:
Parse pe header

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

Function at 0x140031054
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140030eb3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140030eb3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140030eb3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140030eb3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140030eb3
cmp dword [rcx + 0x84], 0xe
jbe 0x140030eb3
cmp dword [rcx + 0xf8], 0
je 0x140030eb3
mov ecx, ebx
call fcn.140030f70
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140030d40
nop
cmp dword [rbp + 0x20], 0
je 0x140030f01
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140030f0c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140030e44
Function at 0x140042b24
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140042bab
mov rsi, rbx
cmp word [rax], bp
je 0x140042b6a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140042b54
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140042b50
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14003e124
mov rdi, rax
test rax, rax
je 0x140042b98
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14002c3c0
mov rbp, rdi
xor ecx, ecx
call fcn.14003ec44
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140002960
Capabilities:
Create thread
Enumerate processes

Disassembly:
mov r11, rsp
push rbp
sub rsp, 0x280
mov rax, qword [0x140044020]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbp, qword [0x140046988]
xor edx, edx
mov qword [r11 + 8], rbx
xor ebx, ebx
mov qword [r11 + 0x18], rdi
lea ecx, [rbx + 6]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140002a65
xor edx, edx
mov dword [rsp + 0x30], 0x238
mov r8d, 0x234
lea rcx, [rsp + 0x34]
call fcn.14000eec0
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140002a5c
mov qword [rsp + 0x298], rsi
nop
lea rdx, str.CymulateEDRScenarioGenerator.exe
lea rcx, [rsp + 0x5c]
call fcn.140012e84
test eax, eax
je 0x140002a0a
lea rdx, [0x14003c630]
lea rcx, [rsp + 0x5c]
call fcn.140012e84
test eax, eax
jne 0x140002a24
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x140002a3d
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400029e0
test rbx, rbx
je 0x140002a54
jmp 0x140002a4b
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x298]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x2a0]
mov rbx, qword [rsp + 0x290]
mov r9, qword [rbp + 0x88]
test r9, r9
je 0x140002ab8
lea r8, [0x14003c670]
xor edx, edx
xor ecx, ecx
call fcn.140001fa0
inc eax
movsxd rcx, eax
call fcn.14000ccb0
mov r8, qword [rbp + 0x88]
lea rdx, [0x14003c670]
mov rcx, rax
mov qword [rbp + 0x98], rax
call fcn.140001f40
mov qword [rsp + 0x28], 0
lea r8, [0x1400021f0]
mov r9, rbp
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x58], rax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14000c760
add rsp, 0x280
pop rbp
ret
Function at 0x140002b00
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x280
mov rax, qword [0x140044020]
xor rax, rsp
mov qword [rsp + 0x278], rax
mov rdi, rcx
mov qword [rsp + 0x20], rcx
xor edx, edx
lea ecx, [rdx + 6]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140002baa
mov dword [rsp + 0x30], 0x238
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x34]
call fcn.14000eec0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140002ba1
nop word [rax + rax]
lea rdx, str.CymulateEDR.exe
lea rcx, [rsp + 0x5c]
call fcn.140012e84
mov rcx, rbx
test eax, eax
jne 0x140002b92
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x140002bc6
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140002b70
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8, qword [rdi + 0x80]
lea rdx, str.Log:isEDRProcessRunning:false:_s__n
mov rcx, rdi
call fcn.1400022d0
xor al, al
jmp 0x140002bc6
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.14000c760
mov rbx, qword [rsp + 0x298]
add rsp, 0x280
pop rdi
ret
Function at 0x140002bf0
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x20
mov r9, qword [rcx + 0x88]
lea r8, [0x14003c6f8]
mov rbx, rcx
xor edx, edx
xor ecx, ecx
call fcn.140001fa0
inc eax
movsxd rcx, eax
call fcn.14000ccb0
mov r8, qword [rbx + 0x88]
lea rdx, [0x14003c6f8]
mov rcx, rax
mov rbp, rax
call fcn.140001f40
cmp byte [rbx + 0x50], 0
jne 0x140002d6c
nop word [rax + rax]
mov r8, rbp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rdi, rax
test rax, rax
je 0x140002ccc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140002c93
cmp eax, 5
je 0x140002c93
mov rcx, qword [rbx + 0x80]
lea rdx, [0x14003c718]
call fcn.14000e4fc
test rax, rax
je 0x140002d2c
cmp qword [rbx + 0xa8], 0
je 0x140002cb8
mov r8, qword [rbx + 0x80]
test r8, r8
je 0x140002cb8
lea rdx, str.KEEPALIVE:_s__n
mov rcx, rbx
call fcn.1400022d0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140002d15
mov rcx, qword [rbx + 0x80]
lea rdx, [0x14003c718]
call fcn.14000e4fc
test rax, rax
jne 0x140002cf0
mov rcx, rbx
call fcn.140002b00
test al, al
je 0x140002d56
cmp qword [rbx + 0xa8], 0
je 0x140002d15
mov r8, qword [rbx + 0x80]
test r8, r8
je 0x140002d15
lea rdx, str.KEEPALIVE:_s__n
mov rcx, rbx
call fcn.1400022d0
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [rbx + 0x50], 0
je 0x140002c50
jmp 0x140002d6c
mov r8, qword [rbx + 0x80]
lea rdx, str.Log:keepalive_loop_break__if__ulLastError__ERROR_ALREADY_EXISTS__ulLastError__ERROR_ACCESS_DENIED__:_s__n
mov rcx, rbx
call fcn.1400022d0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140002d6c
mov r8, qword [rbx + 0x80]
lea rdx, str.Log:keepalive_loop_break_if__HANDLE_hMutex__CreateMutexA_0__false__pszAttackMutex__:_s__n
mov rcx, rbx
call fcn.1400022d0
mov r8, qword [rbx + 0x80]
lea rdx, str.Log:keepalive_loop_finished:_s__n
mov rcx, rbx
call fcn.1400022d0
cmp byte [rbx + 0x50], 0
jne 0x140002e1e
mov r8, qword [rbx + 0x80]
lea rdx, str.Log:keepalive_loop_terminating.._:_s__n
mov rcx, rbx
call fcn.1400022d0
cmp byte [rbx + 0xa0], 0
mov rcx, rbx
jne 0x140002dcd
lea rdx, str.Log:TerminateProcess_n
call fcn.1400022d0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140002e1e
lea rdx, str.Log:FreeLibraryAndExitThread_FreeLibraryAndExitThreadReflected_n
call fcn.1400022d0
mov rdi, qword [rbx + 0x70]
sub rdi, qword [rbx + 0x68]
sar rdi, 3
test edi, edi
je 0x140002e1e
mov qword [rsp + 0x30], rsi
mov esi, edi
shl rsi, 3
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x68]
lea rsi, [rsi - 8]
xor edx, edx
mov rcx, qword [rsi + rcx]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
add edi, 0xffffffff
jne 0x140002e00
mov rsi, qword [rsp + 0x30]
mov edx, 1
mov rcx, rbp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.14000c780
Function at 0x140013ec0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140013cec

Function at 0x140a94108
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140a9428f
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 0x140a94139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a9411f
add dl, dl
jne 0x140a94146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a941a6
xor eax, eax
add dl, dl
jne 0x140a94155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a9425d
add dl, dl
jne 0x140a94166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a94173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a94180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a9418d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140a9419a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140a9412e
mov eax, 1
add dl, dl
jne 0x140a941b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a941c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a941ab
sub eax, ebx
mov ebx, 1
jne 0x140a941fc
mov ecx, 1
add dl, dl
jne 0x140a941de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a941eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a941d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a9412e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140a94218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a94225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a9420d
cmp eax, 0x7d00
jae 0x140a9424b
cmp eax, 0x500
jb 0x140a94246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a9412e
cmp eax, 0x7f
ja 0x140a9424e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a9412e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140a94282
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 0x140a9412e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400026ac
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400026f6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400026f6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400026f6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400026f6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400026f6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400026f8
xor al, al
add rsp, 0x28
ret
Function at 0x140693058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1406931df
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 0x140693089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14069306f
add dl, dl
jne 0x140693096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406930f6
xor eax, eax
add dl, dl
jne 0x1406930a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406931ad
add dl, dl
jne 0x1406930b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406930c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406930d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406930dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406930ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14069307e
mov eax, 1
add dl, dl
jne 0x140693106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140693113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406930fb
sub eax, ebx
mov ebx, 1
jne 0x14069314c
mov ecx, 1
add dl, dl
jne 0x14069312e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14069313b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140693123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14069307e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140693168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140693175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14069315d
cmp eax, 0x7d00
jae 0x14069319b
cmp eax, 0x500
jb 0x140693196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14069307e
cmp eax, 0x7f
ja 0x14069319e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14069307e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406931d2
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 0x14069307e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x414260
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x414486
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call sym.runtime.stdcall4.abi0
xorps xmm15, xmm15
mov r14, qword [0x00583488]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x4142d3
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x4142e2
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x414305
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x414315
cmp rbx, 0x1000
jae 0x4142d9
nop
jmp 0x414398
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x41432d
xor esi, esi
jmp 0x41438a
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call sym.runtime.stdcall4.abi0
xorps xmm15, xmm15
mov r14, qword [0x00583488]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x41430b
jmp 0x4142f6
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x00583488]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x414420
nop dword [rax + rax]
call sym.runtime.printlock
lea rax, [0x004a2582]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call sym.runtime.printuint
lea rax, [0x004a2569]
mov ebx, 0x19
call sym.runtime.printstring
mov eax, dword [rsp + 0x34]
call sym.runtime.printuint
nop
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x0049fc43]
mov ebx, 0xd
call sym.runtime.throw
nop dword [rax + rax]
cmp eax, 0x5af
je 0x4143c0
call sym.runtime.printlock
lea rax, [0x004a2582]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004a2569]
mov ebx, 0x19
call sym.runtime.printstring
mov eax, dword [rsp + 0x34]
nop dword [rax]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004a3a26]
mov ebx, 0x1f
nop dword [rax + rax]
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp sym.runtime.sysUsedOS
Function at 0x4535c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45366f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [sym.runtime.callers.func1]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call sym.runtime.systemstack.abi0
xorps xmm15, xmm15
mov r14, qword [0x00583488]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp sym.runtime.callers

Function at 0x45cba0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x0058326b], 0
je 0x45cbae
jmp sym.aeshashbody
jmp sym.runtime.memhashFallback

Function at 0x45cbc0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x0058326b], 0
je 0x45cbd5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp sym.aeshashbody
jmp sym.runtime.strhashFallback

Function at 0x45cbe0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x0058326b], 0
je 0x45cc15
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005837e0]
aesenc xmm0, xmmword [0x005837f0]
aesenc xmm0, xmmword [0x00583800]
movq rax, xmm0
ret
jmp sym.runtime.memhash32Fallback

Function at 0x45cc20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x0058326b], 0
je 0x45cc56
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005837e0]
aesenc xmm0, xmmword [0x005837f0]
aesenc xmm0, xmmword [0x00583800]
movq rax, xmm0
ret
jmp sym.runtime.memhash64Fallback

Function at 0x45e520
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov rdx, 2
jmp sym.sigtramp

Function at 0x45e920
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x45e954
mov rcx, 0x28
jmp 0x45e95f
shl rcx, 3
add rcx, 0x1480
mov qword [0x00583488], rcx
pop rbp
ret