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

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1800f4274
xor eax, eax
jmp 0x1800f4337
mov rbp, rbx
cmp word [rax], si
je 0x1800f4299
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800f4280
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800f427c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1800f4164
movsxd r14, eax
test eax, eax
jne 0x1800f42d7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800f426d
mov rcx, r14
call fcn.1800f03f8
mov rdi, rax
test rax, rax
jne 0x1800f42f0
xor ecx, ecx
call fcn.1800ed468
jmp 0x1800f42cc
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1800f4164
test eax, eax
jne 0x1800f4321
mov rcx, rdi
call fcn.1800ed468
jmp 0x1800f432b
xor ecx, ecx
call fcn.1800ed468
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1800f4354
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 0x1800f43db
mov rsi, rbx
cmp word [rax], bp
je 0x1800f439a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1800f4384
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1800f4380
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1800f03f8
mov rdi, rax
test rax, rax
je 0x1800f43c8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.180100780
mov rbp, rdi
xor ecx, ecx
call fcn.1800ed468
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 0x1800f9c98
Capabilities:
Clear file content

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
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1800ebe24
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1800ebe24
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1800f9de8
cmp rax, 0xffffffffffffffff
je 0x1800f9de8
xor edi, edi
test rbp, rbp
jle 0x1800f9d93
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1800ed3f0
mov rbx, rax
test rax, rax
jne 0x1800f9d20
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1800f9d89
mov edx, 0x8000
mov ecx, r14d
call fcn.1800f9b1c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1800ee6bc
cmp eax, 0xffffffff
je 0x1800f9d69
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1800f9d30
mov edx, r15d
mov ecx, r14d
call fcn.1800f9b1c
jmp 0x1800f9d89
cmp byte [rsi + 0x38], dil
je 0x1800f9d80
cmp dword [rsi + 0x34], 5
jne 0x1800f9d80
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1800f9d89
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1800ed468
jmp 0x1800f9dfc
jns 0x1800f9dfc
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1800ebe24
cmp rax, 0xffffffffffffffff
jne 0x1800f9db4
cmp byte [rsi + 0x30], dil
je 0x1800f9dfc
mov edi, dword [rsi + 0x2c]
jmp 0x1800f9dfc
mov ecx, r14d
call fcn.1800f528c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1800f9dfc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1800f9dfc
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1800f9df5
mov eax, dword [rsi + 0x2c]
jmp 0x1800f9dfa
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1800ebe24
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1800fad00
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800fad28
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800fad28
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140001988
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x14025f51d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14025f52d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14025f515
lea eax, [rcx + 1]
jmp 0x14025f53b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14025f54e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14025f534
sub eax, 3
jb 0x14025f56e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14025f5bd
sar eax, 1
movsxd rbp, eax
jb 0x14025f5a4
jmp 0x14025f57c
add ebx, ebx
jne 0x14025f57a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14025f5a4
inc ecx
add ebx, ebx
jne 0x14025f58a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14025f5a4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14025f59d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14025f58c
add ecx, 2
jmp 0x14025f5a9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14025f4d2
jmp 0x14025f51d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1b7200
mov dl, 0x3e
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14025f60d
cmp rsi, rcx
jae 0x14025f615
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14025f5f4
cmp al, 0x8f
ja 0x14025f5f4
cmp byte [rsi - 2], 0xf
je 0x14025f5fa
sub al, 0xe8
cmp al, 1
ja 0x14025f5de
cmp rsi, rcx
jae 0x14025f615
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14025f5e4
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14025f615
lodsb al, byte [rsi]
jmp 0x14025f5f4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x25b000]
mov eax, dword [rdi]
or eax, eax
je 0x14025f67e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x26009c]
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 0x14025f622
jns 0x14025f657
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14025f661
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 0x14025f678
mov qword [rbx], rax
add rbx, 8
jmp 0x14025f642
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 0x14025f6c2
cmp al, 0xef
ja 0x14025f6aa
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14025f68a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x14025f699
mov eax, dword [rdi]
add rdi, 4
jmp 0x14025f699
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 + 0x26f]
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 0x14025f716
sub rsp, 0xffffffffffffff80
jmp 0x140140380
Function at 0x140002630
Capabilities:
Enumerate processes

Disassembly:
push rbx
sub rsp, 0x190
mov rax, qword [0x140008230]
xor rax, rsp
mov qword [rsp + 0x180], rax
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400026af
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1400026af
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x30]
call fcn.140001584
mov rcx, rax
call fcn.1400022e0
test al, al
jne 0x1400026ca
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140002679
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140004c00
add rsp, 0x190
pop rbx
ret
lea rcx, [rsp + 0x20]
call fcn.140003000
mov rcx, rax
call fcn.1400025d8
mov rdx, rax
call fcn.140001fd4
mov al, 1
mov byte [0x140008940], 1
jmp 0x1400026b1

Function at 0x1400028b0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x140008230]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbp, rcx
mov qword [rsp + 0x40], rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetTopWindow]
xor edi, edi
jmp 0x140002963
mov r8d, 0x100
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowTextA]
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
lea rdx, [rsp + 0x50]
add rdx, rax
mov r9, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.14000336c
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.140001584
mov rdx, rbp
mov rcx, rax
call fcn.140002bd8
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.14000157c
cmp rbx, 0xffffffffffffffff
jne 0x14000296d
lea edx, [rbx + 3]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindow]
test rax, rax
mov rsi, rax
jne 0x1400028ed
jmp 0x140002992
mov dil, 1
mov byte [0x140008940], dil
lea rcx, [rsp + 0x20]
call fcn.140003414
mov rcx, rax
call fcn.1400029c8
mov rdx, rax
call fcn.140001fd4
nop
mov rcx, rbp
call fcn.14000157c
mov al, dil
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140004c00
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140003afc
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x140008230]
xor rax, rsp
mov qword [rsp + 0x88], rax
and qword [rsp + 0x28], 0
lea r8, [0x1400014bc]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x140003b71
lea rcx, [rsp + 0x30]
call fcn.140003ec0
mov rcx, rax
call fcn.140003b90
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140001584
lea rcx, [rsp + 0x68]
call fcn.140004b24
lea rcx, [rsp + 0x68]
call fcn.14000157c
mov rax, rbx
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140004c00
add rsp, 0x90
pop rbx
ret
Function at 0x1400057b8
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b730
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba02
mov ecx, 1
call fcn.14000b730
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
out dx, eax
invalid
Function at 0x140530d20
Capabilities:
Terminate process

Disassembly:
inc dword [rcx - 0x77ddc588]
add ecx, esp
invalid
cld
pop r11
jmp 0x140530d2d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140530d3d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140530d25
lea eax, [rcx + 1]
jmp 0x140530d4b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140530d5e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140530d44
sub eax, 3
jb 0x140530d7e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140530dcd
sar eax, 1
movsxd rbp, eax
jb 0x140530db4
jmp 0x140530d8c
add ebx, ebx
jne 0x140530d8a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140530db4
inc ecx
add ebx, ebx
jne 0x140530d9a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140530db4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140530dad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140530d9c
add ecx, 2
jmp 0x140530db9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140530ce2
jmp 0x140530d2d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x529000]
mov eax, dword [rdi]
or eax, eax
je 0x140530e35
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x5305e4]
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 0x140530dd9
jns 0x140530e0e
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140530e18
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 0x140530e2f
mov qword [rbx], rax
add rbx, 8
jmp 0x140530df9
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 0x140530e79
cmp al, 0xef
ja 0x140530e61
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140530e41
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x140530e50
mov eax, dword [rdi]
add rdi, 4
jmp 0x140530e50
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 + 0x247]
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 0x140530ecd
sub rsp, 0xffffffffffffff80
jmp 0x140358e00
Function at 0x1401ee3a0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1401ee3ad
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1401ee3bd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1401ee3a5
lea eax, [rcx + 1]
jmp 0x1401ee3cb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1401ee3de
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1401ee3c4
sub eax, 3
jb 0x1401ee3fe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1401ee44d
sar eax, 1
movsxd rbp, eax
jb 0x1401ee434
jmp 0x1401ee40c
add ebx, ebx
jne 0x1401ee40a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1401ee434
inc ecx
add ebx, ebx
jne 0x1401ee41a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1401ee434
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1401ee42d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1401ee41c
add ecx, 2
jmp 0x1401ee439
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1401ee362
jmp 0x1401ee3ad
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x53c00
mov dl, 0xd
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1401ee49d
cmp rsi, rcx
jae 0x1401ee4a5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1401ee484
cmp al, 0x8f
ja 0x1401ee484
cmp byte [rsi - 2], 0xf
je 0x1401ee48a
sub al, 0xe8
cmp al, 1
ja 0x1401ee46e
cmp rsi, rcx
jae 0x1401ee4a5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1401ee474
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1401ee4a5
lodsb al, byte [rsi]
jmp 0x1401ee484
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1dd000]
mov eax, dword [rdi]
or eax, eax
je 0x1401ee50e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1f0070]
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 0x1401ee4b2
jns 0x1401ee4e7
movzx rdx, word [rdi]
add rdi, 2
jmp 0x1401ee4f1
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 0x1401ee508
mov qword [rbx], rax
add rbx, 8
jmp 0x1401ee4d2
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 0x1401ee548
cmp al, 0xef
ja 0x1401ee53a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1401ee51a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1401ee529
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x237]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1401ee59c
sub rsp, 0xffffffffffffff80
jmp 0x14004e080
Function at 0x180c55058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.180c551df
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 0x180c55089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180c5506f
add dl, dl
jne 0x180c55096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180c550f6
xor eax, eax
add dl, dl
jne 0x180c550a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180c551ad
add dl, dl
jne 0x180c550b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180c550c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180c550d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180c550dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x180c550ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x180c5507e
mov eax, 1
add dl, dl
jne 0x180c55106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180c55113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180c550fb
sub eax, ebx
mov ebx, 1
jne 0x180c5514c
mov ecx, 1
add dl, dl
jne 0x180c5512e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180c5513b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180c55123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180c5507e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180c55168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180c55175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180c5515d
cmp eax, 0x7d00
jae 0x180c5519b
cmp eax, 0x500
jb 0x180c55196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180c5507e
cmp eax, 0x7f
ja 0x180c5519e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180c5507e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x180c551d2
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 0x180c5507e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400828e0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400828ed
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400828fd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400828e5
lea eax, [rcx + 1]
jmp 0x14008290b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14008291e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140082904
sub eax, 3
jb 0x14008293e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14008298d
sar eax, 1
movsxd rbp, eax
jb 0x140082974
jmp 0x14008294c
add ebx, ebx
jne 0x14008294a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140082974
inc ecx
add ebx, ebx
jne 0x14008295a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140082974
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14008296d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14008295c
add ecx, 2
jmp 0x140082979
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400828a2
jmp 0x1400828ed
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x27800
mov dl, 0x12
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400829dd
cmp rsi, rcx
jae 0x1400829e5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400829c4
cmp al, 0x8f
ja 0x1400829c4
cmp byte [rsi - 2], 0xf
je 0x1400829ca
sub al, 0xe8
cmp al, 1
ja 0x1400829ae
cmp rsi, rcx
jae 0x1400829e5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400829b4
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400829e5
lodsb al, byte [rsi]
jmp 0x1400829c4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x7c000]
mov eax, dword [rdi]
or eax, eax
je 0x140082a42
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x82b28]
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 0x1400829f2
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 0x140082a3c
mov qword [rbx], rax
add rbx, 8
jmp 0x140082a12
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 0x140082a7c
cmp al, 0xef
ja 0x140082a6e
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140082a4e
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140082a5d
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 + 0x20f]
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 0x140082ad0
sub rsp, 0xffffffffffffff80
jmp 0x140013b30