joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004d6c0
Capabilities:
Enumerate processes

Disassembly:
sub rsp, 0x2b8
lea rcx, [0x1401714f8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14004d6e8
xor al, al
jmp 0x14004d81e
lea rdx, [0x140171508]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14004d70e
xor al, al
jmp 0x14004d81e
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x14004d72f
xor al, al
jmp 0x14004d81e
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x14004d752
xor al, al
jmp 0x14004d81e
mov byte [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x40], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x50], eax
jne 0x14004d77e
jmp 0x14004d7db
mov r8d, dword [rsp + 0x78]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14004d79f
jmp 0x14004d7db
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rsp + 0x40]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x14004d7c9
jmp 0x14004d7db
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
cmp dword [rsp + 0x40], eax
je 0x14004d7db
mov byte [rsp + 0x30], 1
cmp qword [rsp + 0x38], 0
je 0x14004d7ee
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004d772
cmp qword [rsp + 0x48], 0
je 0x14004d819
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [rsp + 0x30]
add rsp, 0x2b8
ret
Function at 0x14004de30
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rcx, [0x140170270]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14004de55
jmp 0x14004de9f
lea rdx, str.DbgBreakPoint
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14004de76
jmp 0x14004de9f
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 1
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14004de97
jmp 0x14004de9f
mov rax, qword [rsp + 0x28]
mov byte [rax], 0xc3
add rsp, 0x48
ret

Function at 0x14004deb0
Capabilities:
Get system firmware table

Disassembly:
sub rsp, 0x78
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_165]
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x24], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x2c], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x54455048
mov ecx, 0x41435049
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rsp + 0x40]
mov r8, rcx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14004df49
mov dword [rsp + 0x38], sendto
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x30]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov al, 1
jmp 0x14004e00d
mov r9d, dword [rsp + 0x24]
mov r8, qword [rsp + 0x30]
mov edx, 0x54455048
mov ecx, 0x41435049
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x2c], eax
je 0x14004df93
mov dword [rsp + 0x38], reloc.WS2_32.dll_listen
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x30]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov al, 1
jmp 0x14004e00d
lea rcx, [rsp + 0x28]
call fcn.14000b9e0
mov ecx, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x30]
add rdx, rcx
mov rcx, rdx
mov r9, rax
mov r8, rcx
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.14004ecc0
xor r8d, r8d
lea rdx, str.VMWARE
lea rcx, [rsp + 0x48]
call fcn.14004e950
cmp rax, 0xffffffffffffffff
je 0x14004dfe5
mov dword [rsp + 0x3c], 1
jmp 0x14004dfed
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x48]
call fcn.14003e2d0
movzx eax, byte [rsp + 0x20]
jmp 0x14004e00d
add rsp, 0x78
ret
Function at 0x14004e0e0
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
sub rsp, 0xa8
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_165]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 2
jae 0x14004e10e
mov al, 1
jmp 0x14004e156
mov dword [rsp + 0x30], 0x40
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
xor edx, edx
mov rax, qword [rsp + 0x38]
mov ecx, 0x400
div rcx
xor edx, edx
mov ecx, 0x400
div rcx
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x800
jae 0x14004e14c
mov al, 1
jmp 0x14004e156
xor al, al
jmp 0x14004e156
add rsp, 0xa8
ret

Function at 0x14004e1c0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x490
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x438
rep stosb byte [rdi], al
mov dword [rsp + 0x50], 0x238
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x38], eax
xor edx, edx
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x14004e24b
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x4a0]
call fcn.14004edd0
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x14004e216
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x4a0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
cmp qword [rax], rcx
jne 0x14004e280
mov dword [rsp + 0x24], 1
jmp 0x14004e288
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14004e2a1
mov eax, 0xffffffff
jmp 0x14004e2a3
xor eax, eax
add rsp, 0x490
pop rdi
ret
Function at 0x140055250
Capabilities:
Set console window title

Disassembly:
sub rsp, 0x28
cmp qword [0x1401d4110], 0x10
lea rcx, [0x1401d40f8]
cmovae rcx, qword [0x1401d40f8]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
call fcn.140047590
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400585a0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x1401d4740]
xorps xmm0, xmm0
add rcx, 1
mov rbx, qword [0x1401d4768]
js 0x1400585c4
cvtsi2ss xmm0, rcx
jmp 0x1400585d9
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x1401d4730]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x140171bcc]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14005860b
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14005860b
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x14005863d
cmp rbx, 0x200
jae 0x14005863a
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x14005863d
mov rbx, rcx
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp 0x140058650
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140058681
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1401d4738]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1401d4748]
lea rdx, [rdi + rdi]
call fcn.140057ef0
mov rax, qword [0x1401d4738]
lea r9, [rdi - 1]
mov qword [0x1401d4760], r9
mov qword [0x1401d4768], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1400587f4
mov qword [rsp + 0x38], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1401d4748]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140058740
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400587b5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14005877d
mov r10, qword [rdx]
cmp r10, rax
je 0x140058777
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1400587b5
cmp r9, rdx
je 0x140058791
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1400587c9
cmp r9, rdx
jne 0x140058782
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x1400587ef
mov r9, qword [0x1401d4760]
jmp 0x1400586f1
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400587b5
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140058650
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x1401d4740]
xorps xmm0, xmm0
add rcx, 1
mov rbx, qword [0x1401d4768]
js 0x1400585c4
cvtsi2ss xmm0, rcx
jmp 0x1400585d9
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x1401d4730]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x140171bcc]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14005860b
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14005860b
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x14005863d
cmp rbx, 0x200
jae 0x14005863a
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x14005863d
mov rbx, rcx
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp 0x140058650
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140058681
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1401d4738]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1401d4748]
lea rdx, [rdi + rdi]
call fcn.140057ef0
mov rax, qword [0x1401d4738]
lea r9, [rdi - 1]
mov qword [0x1401d4760], r9
mov qword [0x1401d4768], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1400587f4
mov qword [rsp + 0x38], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1401d4748]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140058740
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400587b5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14005877d
mov r10, qword [rdx]
cmp r10, rax
je 0x140058777
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1400587b5
cmp r9, rdx
je 0x140058791
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1400587c9
cmp r9, rdx
jne 0x140058782
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x1400587ef
mov r9, qword [0x1401d4760]
jmp 0x1400586f1
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400587b5
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140059500
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r14d, dword [0x1401d47d4]
xor ecx, ecx
mov esi, dword [0x1401d47d0]
mov r13d, r9d
mov ebx, dword [0x1401d47c8]
movd xmm0, r9d
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x140171a20]
cvttsd2si eax, xmm0
mov dword [rsp + 0x80], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
add ebx, 0xffffff51
mov ecx, 1
cdq
sub eax, edx
sar eax, 1
mov ebp, eax
mov eax, r14d
cdq
sub eax, edx
sar eax, 1
mov edi, eax
lea r12d, [rax + rbp]
add r12d, ebx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
add esi, 0xffffff51
sub eax, edx
sar eax, 1
mov r15d, eax
mov eax, r13d
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
lea ecx, [rax + r15]
add esi, ecx
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [0x1401d41e0]
mov ecx, r12d
mov r8d, esi
sub ecx, edi
sub r8d, ebx
test edx, edx
je 0x1400596f4
sub edx, 1
je 0x1400596d4
sub edx, 1
je 0x140059651
cmp edx, 1
jne 0x14005973e
cmp ebp, ecx
jl 0x14005973e
lea eax, [rcx + r14]
cmp ebp, eax
jg 0x14005973e
lea eax, [r13 - 0x32]
lea eax, [rax + rax*2]
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, r8d
cmp r15d, eax
jl 0x14005973e
lea eax, [r8 + r13]
cmp r15d, eax
jg 0x14005973e
mov eax, r14d
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, ecx
cmp ebp, eax
jl 0x14005973e
lea eax, [r14 + r14*2]
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, ecx
cmp ebp, eax
jmp 0x14005970c
cmp ebp, ecx
jl 0x14005973e
lea eax, [rcx + r14]
cmp ebp, eax
jg 0x14005973e
cmp r15d, r8d
jl 0x14005973e
lea eax, [r13 - 0x64]
add eax, r8d
cmp r15d, eax
jg 0x14005973e
mov eax, r14d
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, ecx
cmp ebp, eax
jl 0x14005973e
lea eax, [r14 + r14*2]
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, ecx
cmp ebp, eax
jg 0x14005973e
mov eax, r13d
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, r8d
cmp r15d, eax
jl 0x14005973e
lea eax, [r13 - 0x64]
lea eax, [rax + rax*2]
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, r8d
jmp 0x140059709
cmp ebp, ecx
jl 0x14005973e
lea eax, [rcx + r14]
cmp ebp, eax
jg 0x14005973e
cmp r15d, r8d
jl 0x14005973e
mov eax, dword [rsp + 0x80]
add eax, r8d
jmp 0x14005961c
cmp ebp, ecx
jl 0x14005973e
lea eax, [rcx + r14]
cmp ebp, eax
jg 0x14005973e
cmp r15d, r8d
jl 0x14005973e
lea eax, [r8 + r13]
cmp r15d, eax
jg 0x14005973e
xor ebx, ebx
xor r9d, r9d
mov r8d, esi
mov qword [rsp + 0x20], rbx
mov edx, r12d
lea ecx, [rbx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov r8d, esi
lea ecx, [rbx + 4]
mov edx, r12d
call qword [sym.imp.USER32.dll_mouse_event]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14006aeb0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call sub.api_ms_win_crt_stdio_l1_1_0.dll__read
cdqe
add rsp, 0x28
ret

Function at 0x14006fa40
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
cmp byte [rcx + 0xaa7], 0
mov rbp, r9
mov r14, r8
movsxd rsi, edx
mov rdi, rcx
je 0x14006fb09
cmp qword [rcx + 0x260], 0
je 0x14006fabe
mov qword [rsp + 0x40], rbx
call fcn.14008ad70
mov dl, 1
mov rcx, rdi
movzx ebx, al
call fcn.14008b0d0
mov rcx, qword [rdi + 0x1d8]
mov r9, rbp
mov qword [rsp + 0x20], rcx
mov r8, r14
mov rcx, rdi
mov edx, esi
call qword [rdi + 0x260]
movzx edx, bl
mov rcx, rdi
call fcn.14008b0d0
mov rbx, qword [rsp + 0x40]
jmp 0x14006fb09
mov ecx, esi
test edx, edx
je 0x14006face
sub ecx, 1
je 0x14006face
cmp ecx, 1
jne 0x14006fb09
mov r9, qword [rdi + 0x1d0]
lea rax, [0x14013c008]
mov edx, 2
lea rcx, [rsi + rsi*2]
add rcx, rax
lea r8d, [rdx - 1]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov r9, qword [rdi + 0x1d0]
mov r8d, 1
mov rdx, rbp
mov rcx, r14
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1400705e0
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rbx, rcx
movaps xmmword [rsp + 0x50], xmm6
lea rcx, [rsp + 0x30]
mov rdi, rdx
call fcn.140090de0
mov rcx, rbx
movups xmm6, xmmword [rax]
call case.0x1400655e1.1
mov rcx, rdi
mov rsi, rax
call case.0x1400655e1.1
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x140070690
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.140090de0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.140090e70
cmp rax, 0x3e8
ja 0x1400706c1
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 1
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x140070640
test rsi, rsi
je 0x14007069d
mov rcx, rsi
call fcn.1401331f6
test rbx, rbx
je 0x1400706aa
mov rcx, rbx
call fcn.1401331f6
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret
test rsi, rsi
je 0x1400706ce
mov rcx, rsi
call fcn.1401331f6
test rbx, rbx
je 0x1400706db
mov rcx, rbx
call fcn.1401331f6
mov eax, 1
jmp 0x1400706ac
Function at 0x140072190
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbx, rdx
mov edx, Ordinal_46
mov rsi, r8
mov rbp, rcx
test r8, r8
je 0x14007225b
xor r14d, r14d
nop dword [rax]
mov edi, 4
lea rdx, [rsp + 0x50]
cmp rsi, rdi
mov r8d, 4
mov rcx, rbp
cmovb rdi, rsi
call fcn.14006ab00
cmp eax, 4
jne 0x14007220c
cmp byte [0x1401d3954], r14b
jne 0x140072218
lea r9d, [rax - 2]
mov dword [rsp + 0x50], r14d
mov r8d, eax
lea rdx, [rsp + 0x50]
xor ecx, ecx
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb eax, eax
and eax, 2
mov edx, eax
test eax, eax
jne 0x14007225d
mov eax, dword [rsp + 0x50]
jmp 0x140072237
imul eax, dword [0x1401d3950], 0x41c64e6d
mov edx, r14d
add eax, 0x3039
mov dword [0x1401d3950], eax
rol eax, 0x10
mov dword [rsp + 0x50], eax
test rdi, rdi
je 0x140072252
sub rsi, rdi
nop
mov byte [rbx], al
inc rbx
shr eax, 8
sub rdi, 1
jne 0x140072240
mov dword [rsp + 0x50], eax
test rsi, rsi
jne 0x1400721c0
mov eax, edx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x140072270
Capabilities:
Generate random numbers via winapi

Disassembly:
mov r11, rsp
push rsi
push r12
push r14
push r15
sub rsp, 0xd8
mov rax, qword [0x14018d6a8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rax, r8
lea r15, [rsp + 0x30]
and rax, 0xfffffffffffffffe
mov r14, r8
mov rsi, rdx
mov r12, rcx
cmp rax, 0x100
jae 0x14007241c
test r14b, 1
je 0x14007241c
mov qword [r11 - 0x28], rbp
dec r14
mov qword [r11 - 0x30], rdi
mov rbp, r14
shr rbp, 1
lea rdi, [rsp + 0x30]
mov qword [r11 + 0x18], rbx
mov ecx, Ordinal_46
mov qword [r11 - 0x38], r13
je 0x14007239b
xor r13d, r13d
nop word [rax + rax]
mov ebx, 4
lea rdx, [rsp + 0x20]
cmp rbp, rbx
mov r8d, 4
mov rcx, r12
cmovb rbx, rbp
call fcn.14006ab00
cmp eax, 4
jne 0x14007233c
cmp byte [0x1401d3954], r13b
jne 0x14007234c
lea r9d, [rax - 2]
mov dword [rsp + 0x20], r13d
mov r8d, eax
lea rdx, [rsp + 0x20]
xor ecx, ecx
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb eax, eax
and eax, 2
mov ecx, eax
test eax, eax
jne 0x1400723dd
mov eax, dword [rsp + 0x20]
jmp 0x14007236b
imul eax, dword [0x1401d3950], 0x41c64e6d
mov ecx, r13d
add eax, 0x3039
mov dword [0x1401d3950], eax
rol eax, 0x10
mov dword [rsp + 0x20], eax
test rbx, rbx
je 0x140072392
sub rbp, rbx
nop dword [rax]
nop word [rax + rax]
mov byte [rdi], al
inc rdi
shr eax, 8
sub rbx, 1
jne 0x140072380
mov dword [rsp + 0x20], eax
test rbp, rbp
jne 0x1400722f0
mov eax, ecx
test ecx, ecx
jne 0x1400723dd
test r14, r14
je 0x1400723d8
lea rdx, [0x14013c590]
nop dword [rax]
movzx ecx, byte [r15]
lea r15, [r15 + 1]
mov eax, ecx
and ecx, 0xf
shr rax, 4
movzx eax, byte [rax + rdx]
mov byte [rsi], al
movzx eax, byte [rcx + rdx]
mov byte [rsi + 1], al
add rsi, 2
sub r14, 2
jne 0x1400723b0
mov byte [rsi], 0
xor eax, eax
mov rbx, qword [rsp + 0x110]
mov r13, qword [rsp + 0xc0]
mov rbp, qword [rsp + 0xd0]
mov rdi, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401326b0
add rsp, 0xd8
pop r15
pop r14
pop r12
pop rsi
ret
mov eax, Ordinal_46
jmp 0x1400723fd