joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140052cf0
Capabilities:
Get geographical location

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x50
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], rsi
mov qword [rbp + 0x50], rdi
mov rax, qword [0x1400781a0]
xor rax, rbp
mov qword [rbp], rax
mov eax, dword [0x14007fea8]
mov r15, r9
mov r13d, r8d
test eax, eax
mov r14d, edx
mov rbx, rcx
jne 0x140052da8
lea edx, [rax + 1]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140052d54
mov dword [0x14007fea8], 1
jmp 0x140052db6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x140052da2
mov dword [0x14007fea8], 2
mov r9d, dword [rbp + 0x60]
mov r8, r15
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.140034e40
mov rbx, qword [rbp + 0x40]
mov rsi, qword [rbp + 0x48]
mov rdi, qword [rbp + 0x50]
lea rsp, [rbp + 0x10]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov eax, dword [0x14007fea8]
cmp eax, 2
je 0x140052d69
test eax, eax
je 0x140052d69
cmp eax, 1
jne 0x140052dde
mov esi, dword [rbp + 0x68]
xor edi, edi
test esi, esi
jne 0x140052dc5
mov rax, qword [rbx]
mov esi, dword [rax + 4]
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
movsxd r12, eax
jne 0x140052de2
xor eax, eax
jmp 0x140052d7c
jle 0x140052dde
xor edx, edx
mov rax, 0xffffffffffffffe0
div r12
cmp rax, 2
jb 0x140052dde
lea rcx, [r12 + r12 + 0x10]
cmp rcx, 0x400
ja 0x140052e35
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x140052e17
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.14005a790
sub rsp, rax
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x140052dde
mov dword [rbx], 0xcccc
jmp 0x140052e48
call fcn.140037420
test rax, rax
mov rbx, rax
je 0x140052e4c
mov dword [rax], 0xdddd
add rbx, 0x10
test rbx, rbx
je 0x140052dde
mov r9d, r12d
mov r8, rbx
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140052e9f
mov eax, dword [rbp + 0x60]
or r9d, 0xffffffff
xor edx, edx
test eax, eax
mov qword [rsp + 0x38], rdi
mov r8, rbx
mov ecx, esi
mov qword [rsp + 0x30], rdi
jne 0x140052e8e
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
jmp 0x140052e97
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
cmp dword [rbx - 0x10], 0xdddd
lea rcx, [rbx - 0x10]
jne 0x140052eb1
call fcn.1400373d0
mov eax, edi
jmp 0x140052d7c
Function at 0x140054070
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r13
sub rsp, 0x20
mov rbp, rdx
xor edi, edi
xor edx, edx
lea r8d, [rdi + 1]
mov esi, ecx
call fcn.14004b520
cmp rax, 0xffffffffffffffff
mov r13, rax
je 0x140054214
lea r8d, [rdi + 2]
xor edx, edx
mov ecx, esi
call fcn.14004b520
cmp rax, 0xffffffffffffffff
je 0x140054214
mov qword [rsp + 0x40], rbx
mov rbx, rbp
mov qword [rsp + 0x50], r14
sub rbx, rax
test rbx, rbx
jle 0x140054193
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r14d, 0x1000
lea edx, [rdi + 8]
mov rcx, rax
mov r8, r14
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rbp, rax
jne 0x140054119
call fcn.140036260
mov dword [rax], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
call fcn.140036260
mov eax, dword [rax]
mov rbx, qword [rsp + 0x40]
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r13
pop rdi
pop rsi
ret
mov edx, 0x8000
mov ecx, esi
mov qword [rsp + 0x48], r12
call fcn.1400542e0
mov r12d, eax
nop
mov r8d, ebx
cmp rbx, r14
mov rdx, rbp
cmovge r8d, r14d
mov ecx, esi
call fcn.14004b720
cmp eax, 0xffffffff
je 0x140054155
cdqe
sub rbx, rax
test rbx, rbx
jg 0x140054130
jmp 0x14005416e
call fcn.140036290
cmp dword [rax], 5
jne 0x14005416a
call fcn.140036260
mov dword [rax], ntohs
or rdi, 0xffffffffffffffff
mov edx, r12d
mov ecx, esi
call fcn.1400542e0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r12, qword [rsp + 0x48]
jmp 0x1400541ec
test rbx, rbx
jns 0x1400541f6
xor r8d, r8d
mov rdx, rbp
mov ecx, esi
call fcn.14004b520
cmp rax, 0xffffffffffffffff
je 0x1400540fa
mov ecx, esi
call fcn.140050410
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
neg eax
sbb rdi, rdi
neg rdi
sub rdi, 1
cmp rdi, 0xffffffffffffffff
jne 0x1400541f6
call fcn.140036260
mov dword [rax], ntohs
call fcn.140036290
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
cmp rdi, 0xffffffffffffffff
je 0x1400540fa
xor r8d, r8d
mov rdx, r13
mov ecx, esi
call fcn.14004b520
cmp rax, 0xffffffffffffffff
je 0x1400540fa
xor eax, eax
jmp 0x140054101
call fcn.140036260
mov rbp, qword [rsp + 0x58]
mov eax, dword [rax]
add rsp, 0x20
pop r13
pop rdi
pop rsi
ret
Function at 0x140058564
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x1400781a0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.140038800
and qword [rbx + 0x50], 0
and dword [rbx + 0x58], 0
and dword [rbx + 0x5c], 0
lea rax, [0x140000000]
mov esi, 0x94
lea rcx, [rsp + 0x20]
mov r8, rsi
xor edx, edx
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rax
mov dword [rbx], 0x60
mov byte [rbx + 0x18], 0
call fcn.140038800
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x30], 2
mov esi, 1
jne 0x1400585f7
cmp dword [rsp + 0x24], 5
jb 0x140058611
jmp 0x14005860d
cmp dword [rsp + 0x30], esi
jne 0x140058611
cmp dword [rsp + 0x24], 4
ja 0x14005860d
jne 0x140058611
cmp dword [rsp + 0x28], 0
jbe 0x140058611
mov byte [rbx + 0x18], sil
lea rax, [0x1400628d0]
lea rcx, [rbx + 0x28]
mov dword [rbx + 0x1c], 0x800
mov qword [rbx + 0x20], rax
call fcn.140058424
movzx ecx, byte [0x140080520]
test eax, eax
mov rax, rbx
cmovs ecx, esi
mov byte [0x140080520], cl
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140034e40
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400111e0
Capabilities:
Terminate process

Disassembly:
jmp 0x140012eb0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011258
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
jmp 0x140011810
push rbp
push rsi
push rdi
sub rsp, 0xae0
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1f0
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001d008]
xor rax, rbp
mov qword [rbp + 0xab8], rax
lea rcx, [0x1400220f3]
call fcn.14001135c
lea rax, [rbp + 0x10]
lea rcx, [0x140019d60]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x37e
rep movsb byte [rdi], byte [rsi]
mov dword [rbp + 0x3a4], 0x401
mov dword [rbp + 0x764], 0
mov dword [rbp + 0x784], 0
jmp 0x140011894
mov eax, dword [rbp + 0x784]
inc eax
mov dword [rbp + 0x784], eax
movsxd rax, dword [rbp + 0x784]
cmp rax, 0x37d
jae 0x1400118c5
movsxd rax, dword [rbp + 0x784]
movzx eax, byte [rbp + rax + 0x10]
xor eax, dword [rbp + 0x3a4]
movsxd rcx, dword [rbp + 0x784]
mov byte [rbp + rcx + 0x3d0], al
jmp 0x140011886
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x37e
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x7a8], rax
mov r8d, 0x37e
lea rdx, [rbp + 0x3d0]
mov rcx, qword [rbp + 0x7a8]
call fcn.1400111a4
call qword [rbp + 0x7a8]
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x140019c60]
call fcn.1400112f8
mov eax, edi
mov rcx, qword [rbp + 0xab8]
xor rcx, rbp
call fcn.14001119f
lea rsp, [rbp + 0xac0]
pop rdi
pop rsi
pop rbp
ret

Function at 0x140011262
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014200
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014220
xor al, al
jmp 0x1400142a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014233
xor al, al
jmp 0x1400142a1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001425d
xor al, al
jmp 0x1400142a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014271
xor al, al
jmp 0x1400142a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014283
xor al, al
jmp 0x1400142a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001429f
xor al, al
jmp 0x1400142a1
mov al, 1
add rsp, 0x38
ret
Function at 0x140011082
Capabilities:
Manipulate console buffer

Disassembly:
jmp 0x140011bb0
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x128]
lea rcx, [0x1400230a6]
call fcn.14001137f
movzx eax, word [rbp + 0x100]
mov word [rbp + 4], ax
movzx eax, word [rbp + 0x108]
mov word [rbp + 6], ax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, dword [rbp + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ac80]
call fcn.14001131b
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x140011203
Capabilities:
Terminate process

Disassembly:
jmp 0x140013150
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140011280
Capabilities:
Execute command

Disassembly:
jmp 0x140015d20
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x1c8]
mov rax, qword [0x14001e008]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x1400230a6]
call fcn.14001137f
mov byte [rbp + 4], 1
xor eax, eax
mov word [rbp + 0x24], ax
xor eax, eax
mov word [rbp + 0x44], ax
xor eax, eax
mov word [rbp + 0x64], ax
lea rcx, str.title_Pong
call qword [sym.imp.ucrtbased.dll_system]
lea rax, [rbp + 0x88]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov dword [rbp + 0x88], 1
mov dword [rbp + 0x8c], 0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rdx, [rbp + 0x88]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
mov edx, 1
mov ecx, 2
call fcn.140011082
lea rcx, [0x14001ad90]
call fcn.1400111a9
mov eax, 2
mov word [rbp + 0xa4], ax
jmp 0x140015e0b
movzx eax, word [rbp + 0xa4]
inc ax
mov word [rbp + 0xa4], ax
movsx eax, word [rbp + 0xa4]
cmp eax, 0x11
jg 0x140015e38
movsx eax, word [rbp + 0xa4]
mov edx, eax
mov ecx, 2
call fcn.140011082
lea rcx, [0x14001ae70]
call fcn.1400111a9
jmp 0x140015dfa
mov edx, 0x13
mov ecx, 2
call fcn.140011082
lea rcx, [0x14001bb80]
call fcn.1400111a9
mov eax, 4
mov word [rbp + 0x44], ax
mov eax, 2
mov word [rbp + 0x64], ax
movzx eax, byte [rbp + 4]
test eax, eax
je 0x140015f4d
call qword [sym.imp.ucrtbased.dll__kbhit]
test eax, eax
je 0x140015ef6
call qword [sym.imp.ucrtbased.dll__getch]
mov word [rbp + 0x24], ax
movsx eax, word [rbp + 0x24]
mov dword [rbp + 0x174], eax
cmp dword [rbp + 0x174], 0x1b
je 0x140015ef2
cmp dword [rbp + 0x174], 0x48
je 0x140015ebe
cmp dword [rbp + 0x174], 0x4b
je 0x140015ecb
cmp dword [rbp + 0x174], 0x4d
je 0x140015ed8
cmp dword [rbp + 0x174], 0x50
je 0x140015ee5
jmp 0x140015ef6
movzx eax, word [rbp + 0x64]
dec ax
mov word [rbp + 0x64], ax
jmp 0x140015ef6
movsx eax, word [rbp + 0x44]
sub eax, 2
mov word [rbp + 0x44], ax
jmp 0x140015ef6
movsx eax, word [rbp + 0x44]
add eax, 2
mov word [rbp + 0x44], ax
jmp 0x140015ef6
movzx eax, word [rbp + 0x64]
inc ax
mov word [rbp + 0x64], ax
jmp 0x140015ef6
mov byte [rbp + 4], 0
movsx eax, word [rbp + 0x64]
movsx ecx, word [rbp + 0x44]
mov edx, eax
call fcn.140011082
lea rcx, [0x14001af30]
call fcn.1400111a9
xor edx, edx
xor ecx, ecx
call fcn.140011082
lea rcx, str.
call fcn.1400111a9
xor edx, edx
xor ecx, ecx
call fcn.140011082
movsx eax, word [rbp + 0x64]
movsx ecx, word [rbp + 0x44]
mov r8d, eax
mov edx, ecx
lea rcx, str.x:__d__y:__d
call fcn.1400111a9
jmp 0x140015e65
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ad00]
call fcn.14001131b
mov eax, edi
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.1400111c2
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x14001128f
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400144a0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400144c0
xor al, al
jmp 0x140014541
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400144d3
xor al, al
jmp 0x140014541
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400144fd
xor al, al
jmp 0x140014541
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014511
xor al, al
jmp 0x140014541
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014523
xor al, al
jmp 0x140014541
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001453f
xor al, al
jmp 0x140014541
mov al, 1
add rsp, 0x38
ret
Function at 0x18001292c
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rcx
cmp dword [rcx + 0xc], ebx
jbe 0x180012978
mov rax, qword [rdi]
xor edx, edx
mov r8d, dword [rax + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180012971
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x180012945
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x1801e7818]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_HeapFree]

Function at 0x18001299c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov eax, ecx
mov esi, edx
imul rbx, rax, 0x38
add rbx, qword [0x1801e8a60]
mov dl, byte [rbx + 0x20]
mov rdi, qword [rbx]
mov rcx, rdi
and dl, 1
je 0x1800129d1
sub rdi, 5
movzx eax, dl
lea r9, [rsp + 0x30]
add rcx, 0xfffffffffffffffb
mov r8d, 0x40
test dl, dl
cmove rcx, qword [rbx]
lea rbp, [rax*2 + 5]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180012a08
mov eax, 0xa
jmp 0x180012a94
test esi, esi
je 0x180012a2a
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180012a4b
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180012a4b
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180012a45
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180012a4b
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [rbx + 0x20], 0xfd
and sil, 1
mov al, sil
shl sil, 2
add al, al
or al, byte [rbx + 0x20]
and al, 0xfb
or al, sil
mov byte [rbx + 0x20], al
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180012f74
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9, rcx
test r8b, r8b
je 0x180012f8e
cmp r8b, 0x90
je 0x180012f8e
cmp r8b, 0xcc
je 0x180012f8e
xor eax, eax
ret
mov r10d, 1
mov ecx, r10d
cmp edx, r10d
jbe 0x180012fab
mov eax, ecx
cmp byte [rax + r9], r8b
jne 0x180012f8b
add ecx, r10d
cmp ecx, edx
jb 0x180012f9c
mov eax, r10d
ret
Function at 0x180013348
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp - 0x58]
cmp rdi, 0x40000000
jbe 0x180013392
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rbx, qword [0x1801e8a50]
lea r15, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r15
cmovbe r15, qword [rbp - 0x50]
sub r15, 0xfff
test rbx, rbx
je 0x1800133cf
cmp rbx, r14
jb 0x1800133ca
cmp rbx, r15
jae 0x1800133ca
cmp qword [rbx + 8], 0
jne 0x180013524
mov rbx, qword [rbx]
jmp 0x1800133b0
mov rsi, rdi
cmp rdi, r14
jb 0x18001344c
mov r12d, dword [rbp - 0x38]
xor edx, edx
mov rax, rsi
div r12
sub rsi, rdx
jmp 0x180013412
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18001341a
cmp dword [rbp - 0x10], 0x10000
je 0x18001341c
mov rsi, qword [rbp - 0x28]
cmp rsi, r12
jb 0x18001341a
sub rsi, r12
cmp rsi, r14
jae 0x1800133e8
xor esi, esi
test rsi, rsi
je 0x18001344c
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800134e5
cmp rsi, r14
jae 0x1800133d7
test rbx, rbx
jmp 0x1800134d8
mov r14d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov esi, r14d
div r14
mov eax, r14d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x1800134b1
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800134b1
cmp dword [rbp - 0x10], 0x10000
je 0x1800134b3
xor edx, edx
lea edi, [r14 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div rsi
sub rdi, rdx
cmp rdi, r15
jbe 0x180013474
xor edi, edi
test rdi, rdi
je 0x180013524
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800134e5
cmp rdi, r15
jbe 0x180013454
jmp 0x180013524
and qword [rbx + 8], 0
lea rcx, [rbx + 0x40]
and dword [rbx + 0x10], 0
mov edx, 0x40
mov rax, qword [rbx + 8]
add rdx, 0x40
mov qword [rcx], rax
mov qword [rbx + 8], rcx
add rcx, 0x40
cmp rdx, 0xfc0
jbe 0x1800134f7
mov rax, qword [0x1801e8a50]
mov qword [rbx], rax
mov qword [0x1801e8a50], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x18001bc80
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movdqu xmm0, xmmword [rcx]
lea r11d, [r8 - 1]
pxor xmm0, xmmword [rdx]
mov r9d, 1
movdqu xmmword [rcx], xmm0
mov r10, rcx
cmp r11d, r9d
jbe 0x18001bcd1
nop
movdqu xmm0, xmmword [r10]
lea ecx, [r9 + 1]
mov eax, r9d
add rcx, rcx
add rax, rax
add r9d, 2
aesdec xmm0, xmmword [rdx + rax*8]
movdqu xmmword [r10], xmm0
aesdec xmm0, xmmword [rdx + rcx*8]
movdqu xmmword [r10], xmm0
cmp r9d, r11d
jb 0x18001bca0
movdqu xmm0, xmmword [r10]
mov eax, r11d
add rax, rax
aesdec xmm0, xmmword [rdx + rax*8]
movdqu xmmword [r10], xmm0
mov eax, r8d
add rax, rax
aesdeclast xmm0, xmmword [rdx + rax*8]
movdqu xmmword [r10], xmm0
ret

Function at 0x180025260
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x1801deda8]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov ebp, ecx
mov r14d, r8d
movabs rcx, 0x2553a7eb99aabf55
mov rbx, rdx
call fcn.1800b83e0
xor esi, esi
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x20], 0x2f2f120f
mov rcx, qword [rsp + 0x20]
call fcn.1800b8400
lea rcx, [rsp + 0x28]
call fcn.1800b8400
mov qword [rsp + 0x20], rsi
or rdi, 0xffffffffffffffff
mov dword [rsp + 0x20], edi
mov rcx, qword [rsp + 0x20]
call fcn.1800b8400
call fcn.1800b8390
cmp dword [rsp + 0x28], esi
lea rax, str.MP1_
lea r8, str.MP0_
mov r9, rbx
cmovne r8, rax
lea rdx, str._s_s
lea rcx, [rsp + 0x30]
call fcn.1800b3b20
test ebp, ebp
je 0x1800253d7
sub ebp, 1
je 0x18002537d
cmp ebp, 1
jne 0x180025433
lea rax, [rsp + 0x30]
nop dword [rax]
inc rdi
cmp byte [rax + rdi], sil
jne 0x180025320
mov ebx, esi
test rdi, rdi
je 0x180025355
mov rax, rsi
movsx ecx, byte [rsp + rax + 0x30]
call fcn.1800c88a8
add eax, ebx
inc esi
imul ebx, eax, 0x401
mov eax, ebx
shr eax, 6
xor ebx, eax
mov eax, esi
cmp rax, rdi
jb 0x180025333
lea ecx, [rbx + rbx*8]
movd xmm1, r14d
mov eax, ecx
mov r8d, 1
shr eax, 0xb
xor eax, ecx
cvtdq2ps xmm1, xmm1
imul ecx, eax, 0x8001
call fcn.180099ae0
jmp 0x180025433
lea rax, [rsp + 0x30]
inc rdi
cmp byte [rax + rdi], sil
jne 0x180025382
mov ebx, esi
test rdi, rdi
je 0x1800253b7
mov rax, rsi
movsx ecx, byte [rsp + rax + 0x30]
call fcn.1800c88a8
add eax, ebx
inc esi
imul ebx, eax, 0x401
mov eax, ebx
shr eax, 6
xor ebx, eax
mov eax, esi
cmp rax, rdi
jb 0x180025395
lea eax, [rbx + rbx*8]
mov r8d, 1
mov ecx, eax
mov edx, r14d
shr ecx, 0xb
xor ecx, eax
imul ecx, ecx, 0x8001
call fcn.180099a50
jmp 0x180025433
lea rax, [rsp + 0x30]
nop dword [rax]
inc rdi
cmp byte [rax + rdi], sil
jne 0x1800253e0
mov ebx, esi
test rdi, rdi
je 0x180025415
mov rax, rsi
movsx ecx, byte [rsp + rax + 0x30]
call fcn.1800c88a8
add eax, ebx
inc esi
imul ebx, eax, 0x401
mov eax, ebx
shr eax, 6
xor ebx, eax
mov eax, esi
cmp rax, rdi
jb 0x1800253f3
lea eax, [rbx + rbx*8]
mov r8d, 1
mov ecx, eax
mov edx, r14d
shr ecx, 0xb
xor ecx, eax
imul ecx, ecx, 0x8001
call fcn.180099b70
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1800bcd90
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret