joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a0f0
Capabilities:
Access peb ldr_data

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword gs:[0x58]
mov rdi, rcx
mov ecx, 8
mov esi, r9d
mov rbp, r8
mov rbx, rdx
mov r10, qword [rax]
lea rax, str.TieringJetDatabase::Initialize
mov qword [rcx + r10], rax
lea rcx, [r11 - 0x18]
call fcn.140008c4c
mov rax, qword [rsp + 0x70]
mov qword [rdi + 0x68], rax
mov qword [rdi], rbx
mov dword [rdi + 0x60], esi
mov qword [rdi + 0x70], rbp
cmp esi, 1
jne 0x14001a156
lea rax, str.TieringEngineHeat
jmp 0x14001a174
cmp esi, 2
jne 0x14001a164
lea rax, str.TieringPinnedFiles
jmp 0x14001a174
cmp esi, 3
jne 0x14001a20d
lea rax, str.TieringPinnedCacheFiles
mov qword [rdi + 0x58], rax
xor esi, esi
mov rcx, qword [rdi + 0x50]
test rcx, rcx
je 0x14001a18b
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
jmp 0x14001a200
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov rbx, rax
test rax, rax
jne 0x14001a1fc
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx r8d, ax
or r8d, 0x80070000
test eax, eax
cmovle r8d, eax
mov dword [rsp + 0x38], r8d
mov rcx, qword [0x14004b138]
lea rax, [0x14004b138]
cmp rcx, rax
je 0x14001a1fc
test byte [rcx + 0x1c], 1
je 0x14001a1fc
cmp byte [rcx + 0x19], 2
jb 0x14001a1fc
mov r9, qword [rdi + 0x70]
lea edx, [rbx + 0x3d]
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x20], r8d
lea r8, [0x1400438d8]
call fcn.140003fb8
mov qword [rdi + 0x50], rbx
mov word [rdi + 0x4c], si
mov byte [rdi + 0x9c], 1
jmp 0x14001a258
mov ebx, 0x8009300f
mov dword [rsp + 0x38], ebx
mov rcx, qword [0x14004b138]
lea rax, [0x14004b138]
cmp rcx, rax
je 0x14001a256
test byte [rcx + 0x1c], 1
je 0x14001a256
cmp byte [rcx + 0x19], 2
jb 0x14001a256
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400438d8]
mov edx, 0x3c
mov dword [rsp + 0x28], ebx
mov r9d, esi
mov qword [rsp + 0x20], rbp
call fcn.1400179cc
mov esi, ebx
lea rcx, [rsp + 0x30]
call fcn.140008aa4
mov rbx, qword [rsp + 0x50]
mov eax, esi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14003eba0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x14004bcc8], rbx
je 0x14003ec07
cmp rax, rbx
jne 0x14003ebfa
mov ebx, 1
mov esi, ebx
jmp 0x14003ec0c
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14003ebdf
mov ebx, 1
mov eax, dword [0x14004bcd0]
cmp eax, ebx
jne 0x14003ec24
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14003ec90
mov eax, dword [0x14004bcd0]
test eax, eax
jne 0x14003ec85
mov dword [0x14004bcd0], ebx
lea r15, [0x140042308]
lea rdi, [0x1400422f0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14003ec77
test eax, eax
jne 0x14003ec7b
cmp qword [rdi], r14
je 0x14003ec6c
mov rax, qword [rdi]
mov rcx, qword [0x1400422b0]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14003ec4e
test eax, eax
je 0x14003ec8b
mov eax, 0xff
jmp 0x14003ede6
mov dword [0x14004b284], ebx
mov edi, 0x1f
mov eax, dword [0x14004bcd0]
cmp eax, ebx
jne 0x14003ecb7
lea rdx, [0x1400422e8]
lea rcx, [0x1400422b8]
call sub.msvcrt.dll__initterm
mov dword [0x14004bcd0], 2
test esi, esi
jne 0x14003ecc5
mov rax, r14
xchg qword [0x14004bcc8], rax
cmp qword [0x14004bce8], r14
je 0x14003ecf8
lea rcx, [0x14004bce8]
call fcn.14003f1f0
test eax, eax
je 0x14003ecf8
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14004bce8]
mov r9, qword [0x1400422b0]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14003ed11
mov eax, 0xff
jmp 0x14003ede6
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14003ed97
test ax, ax
je 0x14003ed2c
test edx, edx
jne 0x14003ed97
sub ax, bx
cmp ax, di
ja 0x14003ed42
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14003ed2c
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400020b4
mov dword [0x14004b280], eax
cmp dword [0x14004b2a0], r14d
jne 0x14003ed80
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14004b284], r14d
jne 0x14003ed95
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14004b280]
jmp 0x14003ede6
cmp ax, 0x22
jne 0x14003edab
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14003ed1a
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.140164000
add rsp, 0x28
jmp 0x14003eba0
Function at 0x14003f0ec
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14003f138
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14003f130
cmp dword [rcx + 0x3c], edx
jl 0x14003f130
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14003f130
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14003f138
mov rax, rdx
add rsp, 0x18
ret
Function at 0x14000b1e0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14000b1ed
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14000b1fd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14000b1e5
lea eax, [rcx + 1]
jmp 0x14000b20b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14000b21e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14000b204
sub eax, 3
jb 0x14000b23e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14000b28d
sar eax, 1
movsxd rbp, eax
jb 0x14000b274
jmp 0x14000b24c
add ebx, ebx
jne 0x14000b24a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14000b274
inc ecx
add ebx, ebx
jne 0x14000b25a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14000b274
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14000b26d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14000b25c
add ecx, 2
jmp 0x14000b279
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14000b1a2
jmp 0x14000b1ed
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2400
mov dl, 2
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14000b2d9
cmp rsi, rcx
jae 0x14000b2e1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14000b2c0
cmp al, 0x8f
ja 0x14000b2c0
cmp byte [rsi - 2], 0xf
je 0x14000b2c6
sub al, 0xe8
cmp al, 1
ja 0x14000b2aa
cmp rsi, rcx
jae 0x14000b2e1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14000b2b0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14000b2e1
lodsb al, byte [rsi]
jmp 0x14000b2c0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x9000]
mov eax, dword [rdi]
or eax, eax
je 0x14000b33e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xb1dc]
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 0x14000b2ee
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 0x14000b338
mov qword [rbx], rax
add rbx, 8
jmp 0x14000b30e
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 0x14000b378
cmp al, 0xef
ja 0x14000b36a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14000b34a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14000b359
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 + 0x21f]
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 0x14000b3cc
sub rsp, 0xffffffffffffff80
jmp 0x140002620
Function at 0x180002cbc
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
xor r9d, r9d
mov r8d, dword [r10 + r9*4]
mov eax, r8d
shr eax, 7
and eax, 0x1010101
imul edx, eax, 0x1b
mov eax, r8d
and eax, 0xff7f7f7f
add eax, eax
xor edx, eax
mov eax, r8d
rol eax, 0x10
mov ecx, edx
xor ecx, r8d
rol r8d, 8
ror ecx, 8
xor ecx, eax
xor ecx, r8d
xor ecx, edx
mov dword [r10 + r9*4], ecx
inc r9
cmp r9, 4
jl 0x180002cc2
ret

Function at 0x180002d08
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
lea r14, [0x1800013f0]
mov ebp, 4
sub r14, rcx
mov edx, ebp
mov rbx, rcx
mov eax, dword [r14 + rcx]
xor dword [rcx], eax
add rcx, rbp
sub rdx, 1
jne 0x180002d34
lea edi, [rdx + 0x10]
mov esi, edi
lea r15, [0x1800015a0]
mov rcx, rbx
mov rdx, rdi
movzx eax, byte [rcx]
mov al, byte [rax + r15]
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x180002d55
mov rcx, rbx
call fcn.180002c38
mov rcx, rbx
call fcn.180002cbc
lea rdx, [r14 + rsi]
mov rcx, rbp
mov r11, rbx
mov eax, dword [rdx + r11]
xor dword [r11], eax
add r11, rbp
sub rcx, 1
jne 0x180002d81
add rsi, rdi
cmp rsi, 0xa0
jl 0x180002d4f
mov rcx, rbx
movzx eax, byte [rcx]
mov al, byte [rax + r15]
mov byte [rcx], al
inc rcx
sub rdi, 1
jne 0x180002da0
mov rcx, rbx
call fcn.180002c38
lea rcx, [0x180001490]
mov rdx, rbp
sub rcx, rbx
mov eax, dword [rcx + rbx]
xor dword [rbx], eax
add rbx, rbp
sub rdx, 1
jne 0x180002dc7
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x180002df0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
lea rdx, [0x180001490]
mov ebp, 4
sub rdx, rcx
mov r8d, ebp
mov rbx, rcx
mov eax, dword [rdx + rcx]
xor dword [rcx], eax
add rcx, rbp
sub r8, 1
jne 0x180002e1d
mov edi, 0x90
lea r14, [0x1800013f0]
sub r14, rbx
lea r15, [0x1800014a0]
lea esi, [rdi - 0x80]
mov rcx, rbx
call fcn.180002c74
mov rcx, rbx
mov rdx, rsi
movzx eax, byte [rcx]
mov al, byte [rax + r15]
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x180002e52
mov rcx, rbx
lea r8, [r14 + rdi]
mov rdx, rbp
mov eax, dword [r8 + rcx]
xor dword [rcx], eax
add rcx, rbp
sub rdx, 1
jne 0x180002e6e
xor r11d, r11d
mov r9d, dword [rbx + r11*4]
mov eax, r9d
shr eax, 7
and eax, 0x1010101
imul r10d, eax, 0x1b
mov eax, r9d
and eax, 0xff7f7f7f
add eax, eax
xor r10d, eax
mov eax, r10d
shr eax, 7
and eax, 0x1010101
imul ecx, eax, 0x1b
mov eax, r10d
and eax, 0xff7f7f7f
add eax, eax
xor ecx, eax
mov eax, ecx
shr eax, 7
and eax, 0x1010101
imul r8d, eax, 0x1b
mov eax, ecx
and eax, 0xff7f7f7f
add eax, eax
xor r8d, eax
mov edx, r8d
xor r8d, ecx
xor edx, r9d
mov eax, r8d
mov ecx, edx
xor eax, r9d
xor ecx, r10d
rol eax, 0x10
ror ecx, 8
xor ecx, eax
rol edx, 8
xor ecx, edx
xor ecx, r8d
xor ecx, r10d
mov dword [rbx + r11*4], ecx
inc r11
cmp r11, rbp
jl 0x180002e80
sub rdi, rsi
test rdi, rdi
jg 0x180002e44
mov rcx, rbx
call fcn.180002c74
mov rcx, rbx
movzx eax, byte [rcx]
mov al, byte [rax + r15]
mov byte [rcx], al
inc rcx
sub rsi, 1
jne 0x180002f22
mov rcx, rbp
mov eax, dword [rbx + r14]
xor dword [rbx], eax
add rbx, rbp
sub rcx, 1
jne 0x180002f37
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x180002f60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov eax, dword [r8]
mov rbx, rdx
mov edx, eax
mov r14, r8
not edx
mov rdi, rcx
and edx, 0xf
inc edx
lea esi, [rdx + rax]
cmp esi, 0x11c
jbe 0x180002f99
xor eax, eax
jmp 0x18000300b
mov r8d, edx
lea rcx, [rbx + rax]
call qword [sym.imp.ntdll.dll_memset]
test rdi, rdi
je 0x180002fc5
mov rcx, rbx
sub rdi, rbx
mov edx, 4
mov eax, dword [rdi + rcx]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x180002fb6
mov rcx, rbx
call fcn.180002d08
lea edi, [rsi - 0x10]
test edi, edi
je 0x180003003
lea rdx, [rbx + 0x10]
mov r8d, 4
mov rcx, rdx
sub rbx, rdx
mov eax, dword [rbx + rcx]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub r8, 1
jne 0x180002fe4
mov rcx, rdx
mov rbx, rdx
call fcn.180002d08
sub edi, 0x10
jne 0x180002fd4
mov dword [r14], esi
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180003024
Capabilities:
Encode data using xor

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, 0x20
movsxd rbx, dword [r8]
mov r14, r8
mov rsi, rdx
test bl, 0xf
je 0x18000304f
xor eax, eax
jmp 0x1800030c5
lea rdi, [rdx - 0x10]
add rdi, rbx
jmp 0x180003076
mov rcx, rdi
call fcn.180002df0
xor ecx, ecx
mov eax, dword [rdi + rcx*4 - 0x10]
xor dword [rdi + rcx*4], eax
inc rcx
cmp rcx, 4
jl 0x180003062
sub rdi, 0x10
cmp rdi, rsi
ja 0x180003058
mov rcx, rsi
call fcn.180002df0
cmp ebx, 0x10
je 0x1800030bd
lea r8, [rsi - 1]
add r8, rbx
cmp byte [r8], 0x10
ja 0x1800030bd
movzx ecx, byte [r8]
xor edx, edx
mov r9d, ecx
test ecx, ecx
je 0x1800030b7
movzx eax, byte [r8]
dec r8
cmp eax, ecx
jne 0x1800030b7
inc edx
dec r9d
test r9d, r9d
jg 0x1800030a2
cmp edx, ecx
jne 0x1800030bd
sub ebx, ecx
mov eax, 1
mov dword [r14], ebx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1800030e0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov r14d, 4
mov rbx, rdx
mov r8d, r14d
sub rcx, rdx
mov eax, dword [rcx + rdx]
xor dword [rdx], eax
add rdx, r14
sub r8, 1
jne 0x180003108
lea r12, [0x180001330]
mov rcx, rbx
mov rdx, r12
mov r8, r14
sub rdx, rbx
mov eax, dword [rdx + rcx]
xor dword [rcx], eax
add rcx, r14
sub r8, 1
jne 0x180003129
lea edi, [r8 + 1]
lea esi, [rdi + 0xf]
lea r15, [0x1800015a0]
mov rcx, rbx
mov rdx, rsi
movzx eax, byte [rcx]
mov al, byte [rax + r15]
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x18000314b
mov rcx, rbx
call fcn.180002c38
mov rcx, rbx
call fcn.180002cbc
mov edx, edi
mov r11, rbx
shl edx, 4
mov rcx, r14
sub rdx, rbx
add rdx, r12
mov eax, dword [rdx + r11]
xor dword [r11], eax
add r11, r14
sub rcx, 1
jne 0x18000317e
inc edi
cmp edi, 0xb
jb 0x180003145
mov rcx, rbx
movzx eax, byte [rcx]
mov al, byte [rax + r15]
mov byte [rcx], al
inc rcx
sub rsi, 1
jne 0x180003198
mov rcx, rbx
call fcn.180002c38
lea rcx, [0x1800013e0]
mov rdx, r14
sub rcx, rbx
mov eax, dword [rcx + rbx]
xor dword [rbx], eax
add rbx, r14
sub rdx, 1
jne 0x1800031bf
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x180001560
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x20
mov r8, qword [rcx]
mov rbp, rcx
movabs rcx, 0xffffffff00000000
mov rsi, qword [r8 + 0x30]
movzx eax, word [r8 + 0x14]
xor edi, edi
and rsi, rcx
cmp di, word [r8 + 6]
jae 0x18000165f
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], r12
lea r12, [0x18000f2a0]
lea rbx, [rax + r8 + 0x3c]
nop word [rax + rax]
mov r9d, dword [rbx]
mov eax, r9d
mov edx, r9d
mov r10d, r9d
shr eax, 0x1d
shr edx, 0x1e
shr r10d, 0x1f
and eax, 1
and edx, 1
bt r9d, 0x19
jae 0x1800015ea
mov ecx, dword [rbx - 0x1c]
mov edx, dword [rbx - 0x14]
mov r8d, 0x4000
or rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x18000163e
movsxd rcx, eax
movsxd rax, edx
lea rdx, [rax + rcx*2]
lea rcx, [r10 + rdx*2]
mov r10d, dword [r12 + rcx*4]
bt r9d, 0x1a
jae 0x180001608
bts r10d, 9
mov eax, dword [rbx - 0x14]
test eax, eax
jne 0x180001628
test r9b, 0x40
je 0x18000161b
mov eax, dword [r8 + 0x20]
jmp 0x180001624
test r9b, r9b
jns 0x18000163e
mov eax, dword [r8 + 0x24]
test eax, eax
je 0x18000163e
mov ecx, dword [rbx - 0x1c]
lea r9, [rsp + 0x40]
mov edx, eax
or rcx, rsi
mov r8d, r10d
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8, qword [rbp]
inc edi
add rbx, 0x28
movzx eax, word [r8 + 6]
cmp edi, eax
jl 0x1800015b0
mov r12, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800021fb
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [section..data]
jne 0x180001b1a
rol rcx, 0x10
test cx, 0xffff
jne 0x180001b16
repz ret
ror rcx, 0x10
jmp 0x180002154
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180025480]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x180025578]
mov qword [rsp + 0x58], rax
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 0x1800021d9
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, [0x180025480]
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 0x1800021fb
mov rax, qword [rsp + 0x88]
mov qword [0x180025578], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180025518], rax
mov rax, qword [0x180025578]
mov qword [0x1800253f0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180025500], rax
mov dword [0x1800253e0], 0xc0000409
mov dword [0x1800253e4], 1
mov rax, qword [section..data]
mov qword [rsp + 0x68], rax
mov rax, qword [0x18000e008]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180025478], eax
mov ecx, 1
call fcn.180004c24
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1800092b8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180025478], 0
jne 0x180002282
mov ecx, 1
call fcn.180004c24
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 0x1800077d0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.180002e64
xor ebx, ebx
cmp qword [0x1800263b8], rbx
mov rdi, rax
jne 0x1800078e3
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1800079ba
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800079ba
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1800263b8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1800263c0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x1800263c8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1800263d8], rax
test rax, rax
je 0x1800078da
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1800263d0], rax
jmp 0x1800078ea
mov rax, qword [0x1800263d0]
jmp 0x1800078f1
mov rax, qword [0x1800263d0]
mov r11, qword [0x1800263d8]
cmp rax, rdi
je 0x180007958
cmp r11, rdi
je 0x180007958
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1800263d8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x180007958
test rax, rax
je 0x180007958
call rsi
test rax, rax
je 0x180007952
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x180007952
test byte [rsp + 0x40], 1
jne 0x180007958
bts ebp, 0x15
jmp 0x180007998
mov rcx, qword [0x1800263c0]
cmp rcx, rdi
je 0x180007998
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180007998
call rax
mov rbx, rax
test rax, rax
je 0x180007998
mov rcx, qword [0x1800263c8]
cmp rcx, rdi
je 0x180007998
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180007998
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1800263b8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1800079ba
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1800079bc
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180001b00
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret