joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001140
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x58], 0
cmp qword [rsp + 0x70], 0
je 0x140001194
cmp dword [rsp + 0x78], 0
je 0x140001194
cmp qword [rsp + 0x80], 0
je 0x140001194
cmp qword [rsp + 0x88], 0
jne 0x14000119b
xor eax, eax
jmp 0x1400012d2
mov dword [rsp + 0x48], 1
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10
mov rax, qword [0x140007078]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [0x140007090]
call sub.bcrypt.dll_BCryptDecrypt
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jge 0x1400011fe
mov dword [rsp + 0x5c], 0
mov dword [rsp + 0x48], 1
lea rax, [0x140007098]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x38], eax
mov rax, qword [0x1400081c8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x10
mov rax, qword [0x140007078]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [0x140007090]
call sub.bcrypt.dll_BCryptDecrypt
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jge 0x140001266
mov dword [rsp + 0x5c], 0
mov dword [rsp + 0x50], 0
jmp 0x14000127a
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0x10
jge 0x1400012a3
movsxd rax, dword [rsp + 0x50]
lea rcx, [0x140007030]
movsxd rdx, dword [rsp + 0x50]
mov r8, qword [0x140007078]
movzx eax, byte [rcx + rax]
mov byte [r8 + rdx], al
jmp 0x140001270
mov dword [0x140007098], 4
mov rax, qword [rsp + 0x90]
mov rcx, qword [0x1400081c8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x98]
mov ecx, dword [rsp + 0x58]
mov dword [rax], ecx
mov eax, 1
add rsp, 0x68
ret
Function at 0x1400016e0
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x58], 0
cmp qword [rsp + 0x70], 0
je 0x140001734
cmp dword [rsp + 0x78], 0
je 0x140001734
cmp qword [rsp + 0x80], 0
je 0x140001734
cmp qword [rsp + 0x88], 0
jne 0x14000173b
xor eax, eax
jmp 0x140001872
mov dword [rsp + 0x48], 1
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10
mov rax, qword [0x140007078]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [0x140007090]
call sub.bcrypt.dll_BCryptEncrypt
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jge 0x14000179e
mov dword [rsp + 0x5c], 0
mov dword [rsp + 0x48], 1
lea rax, [0x140007098]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x38], eax
mov rax, qword [0x1400081c0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x10
mov rax, qword [0x140007078]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [0x140007090]
call sub.bcrypt.dll_BCryptEncrypt
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jge 0x140001806
mov dword [rsp + 0x5c], 0
mov dword [rsp + 0x50], 0
jmp 0x14000181a
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0x10
jge 0x140001843
movsxd rax, dword [rsp + 0x50]
lea rcx, [0x140007030]
movsxd rdx, dword [rsp + 0x50]
mov r8, qword [0x140007078]
movzx eax, byte [rcx + rax]
mov byte [r8 + rdx], al
jmp 0x140001810
mov dword [0x140007098], 4
mov rax, qword [rsp + 0x90]
mov rcx, qword [0x1400081c0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x98]
mov ecx, dword [rsp + 0x58]
mov dword [rax], ecx
mov eax, 1
add rsp, 0x68
ret
Function at 0x140001c50
Capabilities:
Get token membership

Disassembly:
sub rsp, 0x88
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x78], 0
mov byte [rsp + 0x6c], 0
mov byte [rsp + 0x6d], 0
mov byte [rsp + 0x6e], 0
mov byte [rsp + 0x6f], 0
mov byte [rsp + 0x70], 0
mov byte [rsp + 0x71], 5
lea rax, [rsp + 0x78]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x220
mov r8d, 0x20
mov dl, 2
lea rcx, [rsp + 0x6c]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x140001cf3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
jmp 0x140001d13
lea r8, [rsp + 0x64]
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x140001d13
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
cmp qword [rsp + 0x78], 0
je 0x140001d26
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rsp + 0x64], 1
jne 0x140001d37
mov dword [rsp + 0x68], 1
jmp 0x140001d3f
mov dword [rsp + 0x68], 0
movzx eax, byte [rsp + 0x68]
add rsp, 0x88
ret

Function at 0x140001e20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x30], eax
jae 0x140001ea6
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x60]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x58]
add rdx, rcx
mov rcx, rdx
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140001e94
xor eax, eax
jmp 0x140001eab
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
jmp 0x140001e48
mov eax, 1
add rsp, 0x48
ret

Function at 0x140002400
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
dec eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov r8d, eax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [0x140007cc0]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x140002ec0
Capabilities:
Get hostname
Get session user name

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x20], 0x104
mov dword [rsp + 0x24], 0x104
lea rdx, [rsp + 0x20]
mov rcx, qword [0x140008198]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea rdx, [rsp + 0x24]
mov rcx, qword [0x140008190]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
add rsp, 0x38
ret

Function at 0x140003120
Capabilities:
Create thread
Terminate process

Disassembly:
sub rsp, 0x58
mov byte [rsp + 0x30], 0
xor eax, eax
cmp eax, 1
je 0x14000330b
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140002970
mov qword [0x1400081a0], rax
call fcn.140003590
mov qword [0x1400081a8], rax
mov rcx, qword [0x1400081a8]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [rsp + 0x38], eax
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [0x1400081a8]
movsx eax, byte [rcx + rax]
cmp eax, 0x41
jne 0x1400031aa
call fcn.140002f00
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [0x1400081a8]
movsx eax, byte [rcx + rax]
cmp eax, 0x44
jne 0x140003212
mov rax, qword [0x1400081a8]
inc rax
mov rdx, rax
mov rcx, qword [0x140008180]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [0x140008180]
lea r8, [0x1400012e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x140003212
xor al, al
jmp 0x14000330d
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [0x1400081a8]
movsx eax, byte [rcx + rax]
cmp eax, 0x55
jne 0x14000328b
mov rax, qword [0x1400081a8]
add rax, 5
mov rdx, rax
mov rcx, qword [0x140008178]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rax, qword [0x1400081a8]
mov eax, dword [rax + 1]
mov dword [0x1400080f4], eax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [0x140008178]
lea r8, [0x140002110]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x14000328b
xor al, al
jmp 0x14000330d
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [0x1400081a8]
movsx eax, byte [rcx + rax]
cmp eax, 0x43
jne 0x1400032d8
mov dword [0x1400080f8], 0
mov rax, qword [0x1400081a8]
inc rax
mov qword [rsp + 0x40], rax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.1400024a0
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1400032d8
xor al, al
jmp 0x14000330d
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [0x1400081a8]
movsx eax, byte [rcx + rax]
cmp eax, 0x45
jne 0x1400032f5
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, 0x100000
mov rcx, qword [0x1400081a8]
call fcn.140002460
jmp 0x140003129
mov al, 1
add rsp, 0x58
ret
Function at 0x140003320
Capabilities:
Get file size
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x50], rax
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov ecx, eax
call fcn.140003b10
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.140001e20
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x78
ret
Function at 0x1400042d0
Capabilities:
Create process on windows

Disassembly:
push rdi
sub rsp, 0xe0
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov dword [rsp + 0x70], 0x68
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.explorer.exe_shell:RecycleBinFolder
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140004378
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0xe0
pop rdi
ret
Function at 0x1400045d0
Capabilities:
Accept command line arguments
Check mutex on windows
Create directory
Get common file path
Hide graphical window

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov byte [rsp + 0x23], 0
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x24], 0
call qword [sym.imp.KERNEL32.dll_FreeConsole]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov qword [rsp + 0x60], rax
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x104
call fcn.140003b10
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [rsp + 0x2c], eax
mov ecx, 0x104
call fcn.140003b10
mov qword [rsp + 0x40], rax
mov ecx, 0x104
call fcn.140003b10
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140005fe0]
call sub.SHELL32.dll_SHGetKnownFolderPath
lea r9, str.Adobe_Documents
mov r8, qword [rsp + 0x40]
lea rdx, str._s_s
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_wsprintfW]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [rsp + 0x2c]
dec eax
cdqe
mov rcx, qword [rsp + 0x38]
movsx eax, byte [rcx + rax]
cmp eax, 0x41
jne 0x1400046d0
call fcn.1400042d0
mov r8, qword [str.Adobe.exe]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140004708
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400047ef
mov edx, 0x400
lea rcx, [0x140008110]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
je 0x140004725
mov byte [rsp + 0x21], 1
jmp 0x14000472a
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x20], al
mov edx, 0x400
lea rcx, [0x140008138]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
je 0x140004750
mov byte [rsp + 0x22], 1
jmp 0x140004755
mov byte [rsp + 0x22], 0
movzx eax, byte [rsp + 0x22]
mov byte [rsp + 0x20], al
call fcn.140002da0
call fcn.140002ec0
call fcn.140001c50
mov byte [0x140008108], al
cmp dword [rsp + 0x30], 0
jne 0x1400047b6
call fcn.140003b80
mov dword [rsp + 0x28], eax
call fcn.140003eb0
mov dword [rsp + 0x28], eax
call fcn.140001d50
movzx eax, al
test eax, eax
jne 0x1400047b6
lea r8, str.C:ProgramDataAdobe_DocumentsAdobe.dll
lea rdx, str.SOFTWAREClassesCLSID
lea rcx, str.6F58F65F_EC0E_4ACA_99FE_FC5A1A25E4BE
call fcn.140001880
mov dword [rsp + 0x28], eax
call fcn.140003120
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400047b6
lea rcx, [0x140008138]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea rcx, [0x140008110]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x78
ret
Function at 0x14001a530
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
push r13
push r14
sub rsp, 0xb8
mov r13, rcx
movsxd rax, r9d
xor ecx, ecx
mov qword [rsp + 0x60], rax
mov dword [rsp + 0xe8], ecx
mov r14, rdx
test r9d, r9d
jle 0x14001a792
mov qword [r11 + 8], rbx
lea rbx, [r8 + 0x20]
mov qword [r11 + 0x10], rbp
movzx ebp, byte [r13 + 0x24]
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x18], rdi
mov edi, pe_nt_image_headers64
mov qword [r11 - 0x20], r12
xor r12d, r12d
mov qword [r11 - 0x28], r15
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
xorps xmm7, xmm7
movaps xmmword [r11 - 0x58], xmm8
movzx r11d, byte [r13 + 0x20]
movss xmm8, dword [0x1400401e0]
nop word [rax + rax]
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x14001a5fa
movsxd r10, dword [r14 + 0x24]
mov r9, qword [r14 + 8]
movsx ecx, di
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, di
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
movd xmm0, eax
jmp 0x14001a619
movsxd rdx, dword [r14 + 0x1c]
xorps xmm6, xmm8
mov rax, qword [r14 + 8]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
xor edi, edi
mov byte [rbx], r11b
mov byte [rbx + 1], bpl
divss xmm6, xmm0
cmp dword [rbx - 0x10], edi
jle 0x14001a730
mov r15, qword [rsp + 0xf0]
mov rax, r12
shl rax, 4
add r15, 6
xor esi, esi
add r15, rax
nop word [rax + rax]
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x14001a660
mov edx, dword [rbx - 0x1c]
add edx, edi
jmp 0x14001a663
mov edx, dword [rax + rsi]
mov eax, dword [r13 + 0x24]
xorps xmm3, xmm3
xorps xmm2, xmm2
mov rcx, r14
cvtsi2ss xmm3, rax
mov eax, dword [r13 + 0x20]
cvtsi2ss xmm2, rax
mulss xmm3, xmm6
mulss xmm2, xmm6
call fcn.140015860
mov edx, eax
mov rcx, r14
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
movss dword [rsp + 0x20], xmm7
call fcn.140018190
movzx ecx, word [r13 + 0x1c]
inc r12
movzx r11d, word [r13 + 0x20]
movzx eax, cx
sub ax, word [rsp + 0x50]
dec cx
movzx ebp, word [r13 + 0x24]
dec ax
add ax, r11w
inc edi
add ax, word [rsp + 0x54]
add rsi, 4
mov word [r15 - 2], ax
movzx eax, bp
sub ax, word [rsp + 0x58]
add ax, cx
mov ecx, dword [rsp + 0xe8]
add ax, word [rsp + 0x5c]
inc ecx
mov word [r15], ax
add r15, 0x10
mov dword [rsp + 0xe8], ecx
cmp edi, dword [rbx - 0x10]
jl 0x14001a650
jmp 0x14001a737
mov ecx, dword [rsp + 0xe8]
add rbx, 0x28
mov edi, pe_nt_image_headers64
sub qword [rsp + 0x60], 1
jne 0x14001a5b0
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
mov r15, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
mov eax, ecx
add rsp, 0xb8
pop r14
pop r13
ret
Function at 0x140032430
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140047040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov ebx, r8d
mov rdi, rdx
xor edx, edx
cmp ecx, 0x7b
ja 0x140032464
movsxd rax, ecx
lea rdx, [0x140047210]
mov rdx, qword [rdx + rax*8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x14003fce0]
movdqu xmmword [rsp + 0x48], xmm1
mov byte [rsp + 0x38], 0
test rdx, rdx
jne 0x140032493
mov r8d, 0xa
lea rdx, str.Select_Key
jmp 0x1400324aa
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400324a0
lea rcx, [rsp + 0x38]
call fcn.140037860
cmp ebx, 1
jne 0x1400324d0
mov r8d, 9
lea rdx, str.Press_Key
lea rcx, [rsp + 0x38]
call fcn.140037860
mov dword [rsp + 0x30], 0x42fa0000
mov dword [rsp + 0x34], 0x41c80000
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x30]
call fcn.1400247a0
test al, al
je 0x140032521
test ebx, ebx
jne 0x140032521
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140032561
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003255c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003255c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140038e74
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140038a60
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x140039790
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx], 0x69b5b66
mov rdi, rcx
jne 0x1400010c2
movsxd rax, dword [rcx + 4]
xor ebx, ebx
test eax, eax
je 0x1400010c2
mov rcx, rax
mov qword [rsp + 0x30], rbx
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x1400010c2
mov rcx, qword [rsp + 0x30]
call sub.ntoskrnl.exe_PsGetProcessSectionBaseAddress
test rax, rax
jne 0x1400010ac
mov ebx, 0xc0000001
jmp 0x1400010b3
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
jmp 0x1400010c7
mov eax, 0xc0000001
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400010d4
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp dword [rcx], 0x69b5b66
mov rsi, rcx
je 0x1400010f8
mov eax, 0xc0000001
jmp 0x1400011b0
xor edi, edi
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], edi
lea rdx, [rsp + 0x30]
mov ebx, edi
lea ecx, [rdi + 0x42]
call sub.ntoskrnl.exe_ZwQuerySystemInformation
cmp eax, 0xc0000004
jne 0x1400011ae
test rbx, rbx
je 0x140001130
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov edx, dword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rax
mov ecx, 0x42
mov rbx, rax
call sub.ntoskrnl.exe_ZwQuerySystemInformation
cmp eax, 0xc0000004
je 0x140001120
test rbx, rbx
je 0x1400011ae
mov r8d, dword [rbx]
test r8d, r8d
je 0x1400011a3
mov edx, edi
shl rdx, 5
test byte [rdx + rbx + 0x10], 1
je 0x14000119c
cmp qword [rdx + rbx + 0x18], 0x200000
jne 0x14000119c
mov ecx, dword [0x140002200]
mov r9b, byte [0x140002204]
cmp dword [rdx + rbx + 0x20], ecx
jne 0x14000119c
cmp byte [rdx + rbx + 0x24], r9b
je 0x1400011c0
inc edi
cmp edi, r8d
jb 0x14000116a
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rsi + 8]
mov rax, qword [rdx + rbx + 8]
mov qword [rcx], rax
jmp 0x1400011ae