joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400159a0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x14009d800]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x140015a2e
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp]
and ecx, 0xff
mov rdx, qword [rsp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov eax, dword [rsp + 4]
mov dword [rsp], eax
jmp 0x1400159d2
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret

Function at 0x140015a40
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x14009d800]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x140015b44
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x140015b3f
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 2], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 2]
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x140015b14
cmp qword [rsp + 0x38], 2
jb 0x140015b14
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140015b14
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140015b14
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x140015a87
jmp 0x140015bd6
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 3], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 3]
mov byte [rsp], al
movzx eax, byte [rsp]
test eax, eax
je 0x140015bd6
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x140015bac
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140015bac
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140015bac
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x140015b44
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x14003a740
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x68
movss xmm0, dword [rsp + 0x88]
movss dword [rsp + 0x38], xmm0
movss xmm0, dword [rsp + 0x8c]
movss dword [rsp + 0x3c], xmm0
movss xmm0, dword [rsp + 0x90]
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [rsp + 0x94]
movss dword [rsp + 0x44], xmm0
movzx eax, byte [rsp + 0x98]
test eax, eax
je 0x14003a828
lea rax, [rsp + 0x48]
mov rcx, qword [rsp + 0x80]
mov rdi, rax
lea rsi, [rcx + 0x88]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
movss xmm0, dword [rsp + 0x48]
comiss xmm0, dword [rsp + 0x38]
jbe 0x14003a7dd
movss xmm0, dword [rsp + 0x48]
movss dword [rsp + 0x38], xmm0
movss xmm0, dword [rsp + 0x4c]
comiss xmm0, dword [rsp + 0x3c]
jbe 0x14003a7f6
movss xmm0, dword [rsp + 0x4c]
movss dword [rsp + 0x3c], xmm0
movss xmm0, dword [rsp + 0x40]
comiss xmm0, dword [rsp + 0x50]
jbe 0x14003a80f
movss xmm0, dword [rsp + 0x50]
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [rsp + 0x44]
comiss xmm0, dword [rsp + 0x54]
jbe 0x14003a828
movss xmm0, dword [rsp + 0x54]
movss dword [rsp + 0x44], xmm0
movss xmm0, dword [rsp + 0x38]
comiss xmm0, dword [rsp + 0x40]
jb 0x14003a843
movss xmm0, dword [rsp + 0x38]
movss dword [rsp + 0x20], xmm0
jmp 0x14003a84f
movss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x20], xmm0
movss xmm0, dword [rsp + 0x20]
movss dword [rsp + 0x28], xmm0
movss xmm0, dword [rsp + 0x28]
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [rsp + 0x3c]
comiss xmm0, dword [rsp + 0x44]
jb 0x14003a882
movss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x24], xmm0
jmp 0x14003a88e
movss xmm0, dword [rsp + 0x44]
movss dword [rsp + 0x24], xmm0
movss xmm0, dword [rsp + 0x24]
movss dword [rsp + 0x2c], xmm0
movss xmm0, dword [rsp + 0x2c]
movss dword [rsp + 0x44], xmm0
mov rax, qword [rsp + 0x80]
add rax, 0x58
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.1400402e0
mov rax, qword [rsp + 0x80]
lea rcx, [rsp + 0x38]
lea rdi, [rax + 0x88]
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x80]
call fcn.14003fb50
nop
add rsp, 0x68
pop rdi
pop rsi
ret
Function at 0x14004dfc0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x88
call fcn.140013f70
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x4c], 0
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1400af9e0]
call qword [sym.imp.USER32.dll_GetClientRect]
nop
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x4c]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
movss dword [rsp + 0x58], xmm0
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x48]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
movss dword [rsp + 0x50], xmm0
movss xmm0, dword [rsp + 0x50]
movss dword [rsp + 0x68], xmm0
movss xmm0, dword [rsp + 0x58]
movss dword [rsp + 0x6c], xmm0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 8], rax
mov qword [rsp + 0x60], 0
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [0x1400af9e8]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
cvtsi2ss xmm0, rax
cvtsi2ss xmm1, qword [0x1400af9f0]
divss xmm0, xmm1
mov rax, qword [rsp + 0x20]
movss dword [rax + 0x10], xmm0
mov rax, qword [rsp + 0x60]
mov qword [0x1400af9e8], rax
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14004e0d0
mov dword [rsp + 0x28], 1
jmp 0x14004e0d8
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x28]
mov byte [rax + 0x138], cl
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14004e107
mov dword [rsp + 0x2c], 1
jmp 0x14004e10f
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x2c]
mov byte [rax + 0x139], cl
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14004e13e
mov dword [rsp + 0x30], 1
jmp 0x14004e146
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x30]
mov byte [rax + 0x13a], cl
mov rax, qword [rsp + 0x20]
mov byte [rax + 0x13b], 0
call fcn.14004e940
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0xc0]
test eax, eax
je 0x14004e181
mov dword [rsp + 0x34], 0xffffffff
jmp 0x14004e18a
call fcn.140014080
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
cmp dword [0x1400ac028], eax
je 0x14004e1ae
mov eax, dword [rsp + 0x38]
mov dword [0x1400ac028], eax
call fcn.14004e810
nop
call fcn.14004e1c0
nop
add rsp, 0x88
ret
Function at 0x140072ff0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [0x1400ac8d8]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0xc8]
cmp dword [rax], 0
jl 0x140073069
mov rax, qword [rsp + 0xc8]
mov ecx, dword [rsp + 0xe0]
cmp dword [rax], ecx
jge 0x140073069
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x40]
mov rax, qword [rsp + 0xc8]
mov edx, dword [rax]
mov rcx, qword [rsp + 0xd8]
call qword [rsp + 0x58]
nop
cmp dword [rsp + 0xe8], 0xffffffff
je 0x14007310f
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x1bd0]
and eax, 0x10
test eax, eax
jne 0x14007310f
mov ecx, dword [rsp + 0xe8]
call fcn.140067b70
movss dword [rsp + 0x28], xmm0
movss xmm0, dword [0x14009f6e8]
movss dword [rsp + 0x30], xmm0
movss xmm0, dword [rsp + 0x28]
movss dword [rsp + 0x34], xmm0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movss dword [rsp + 0x38], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x3c], xmm0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x80], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call fcn.140027800
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xc0]
call fcn.140064ed0
movzx eax, al
test eax, eax
jne 0x140073132
xor al, al
jmp 0x140073260
mov byte [rsp + 0x22], 0
mov dword [rsp + 0x24], 0
jmp 0x14007314b
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0xe0]
cmp dword [rsp + 0x24], eax
jge 0x140073256
movsxd rax, dword [rsp + 0x24]
mov rcx, rax
call fcn.1400215b0
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax]
cmp dword [rsp + 0x24], eax
jne 0x140073180
mov byte [rsp + 0x20], 1
jmp 0x140073185
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x88], rax
lea r8, [rsp + 0x50]
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0xd8]
call qword [rsp + 0x88]
movzx eax, al
test eax, eax
jne 0x1400731c9
lea rax, [0x1400a5300]
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movss dword [rsp + 0x48], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x4c], xmm0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xa0], rax
mov r9, qword [rsp + 0x98]
xor r8d, r8d
movzx edx, byte [rsp + 0x21]
mov rcx, qword [rsp + 0xa0]
call fcn.14007ea30
movzx eax, al
test eax, eax
je 0x14007323c
mov byte [rsp + 0x22], 1
mov rax, qword [rsp + 0xc8]
mov ecx, dword [rsp + 0x24]
mov dword [rax], ecx
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14007324b
call fcn.140027290
nop
call fcn.140020f60
nop
jmp 0x140073141
call fcn.140075410
movzx eax, byte [rsp + 0x22]
add rsp, 0xb8
ret
Function at 0x14008d390
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x270
jne 0x14008d3b3
mov rcx, qword [rsp + 0x40]
call fcn.14008e380
nop
jmp 0x14008d3cb
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x14008d3cb
mov rcx, qword [rsp + 0x40]
call fcn.14008e180
nop
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0xb
mov rcx, qword [rsp + 0x40]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0x12
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x14008d9d0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
mov eax, 0x1408
call fcn.140099b90
sub rsp, rax
mov eax, 4
mov eax, eax
mov ecx, dword [0x1400afd48]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x1400afc68], eax
jle 0x14008da5b
lea rcx, [0x1400afc68]
call fcn.140099c88
cmp dword [0x1400afc68], 0xffffffff
jne 0x14008da5b
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.DeviceIoControl
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400afc60], rax
lea rcx, [0x1400afc68]
call fcn.140099c1c
nop
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x13f4], 0xffffffff
mov eax, dword [rsp + 0x40]
mov r8d, 0x6c078965
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140097900
nop
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov dword [rax], 0
mov rax, qword [rsp + 0x58]
mov dword [rax + 4], 1
mov r9d, dword [rsp + 0x54]
mov r8d, dword [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1400866c0
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x1418], 0xa0000
jne 0x14008dafc
cmp dword [rsp + 0x4c], 0
jne 0x14008dafc
lea rdx, str.device_IO_control_code_detected__n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140085800
nop
mov rax, qword [0x1400afc60]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x1448]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x1440]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x1438]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x1430]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x1428]
mov r8, qword [rsp + 0x1420]
mov edx, dword [rsp + 0x1418]
mov rcx, qword [rsp + 0x1410]
call qword [rsp + 0x60]
add rsp, 0x1408
ret
Function at 0x14008db70
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rsp + 8], ecx
mov eax, 0x13e8
call fcn.140099b90
sub rsp, rax
mov eax, 4
mov eax, eax
mov ecx, dword [0x1400afd48]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x1400afc78], eax
jle 0x14008dbec
lea rcx, [0x1400afc78]
call fcn.140099c88
cmp dword [0x1400afc78], 0xffffffff
jne 0x14008dbec
lea rcx, [0x1400a6590]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x1400a6578]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400afc70], rax
lea rcx, [0x1400afc78]
call fcn.140099c1c
nop
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x13d4], 0xffffffff
mov eax, dword [rsp + 0x20]
mov r8d, 0x6c078965
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.140097900
nop
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov dword [rax], 0
mov rax, qword [rsp + 0x38]
mov dword [rax + 4], 1
mov r9d, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.1400866c0
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x13f0], 0x10
jne 0x14008dc8a
cmp dword [rsp + 0x2c], 0
jne 0x14008dc8a
lea rdx, str.Shift_key_detected__n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140085800
nop
mov rax, qword [0x1400afc70]
mov qword [rsp + 0x40], rax
mov ecx, dword [rsp + 0x13f0]
call qword [rsp + 0x40]
add rsp, 0x13e8
ret
Function at 0x14008e180
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0x26f
mov qword [rsp + 0x30], 0xe3
mov qword [rsp], 0
jmp 0x14008e1b0
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0xe3
jae 0x14008e232
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x14008e1fe
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x14008e206
mov dword [rsp + 0x14], 0
mov eax, dword [rsp + 0x10]
shr eax, 1
xor eax, dword [rsp + 0x14]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14008e1a5
mov qword [rsp + 8], 0xe3
jmp 0x14008e24a
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x26f
jae 0x14008e2d1
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x18]
and eax, 1
test eax, eax
je 0x14008e29b
mov dword [rsp + 0x1c], 0x9908b0df
jmp 0x14008e2a3
mov dword [rsp + 0x1c], 0
mov eax, dword [rsp + 0x18]
shr eax, 1
xor eax, dword [rsp + 0x1c]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14008e23d
mov qword [rsp + 0x38], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x14008e325
mov dword [rsp + 0x24], 0x9908b0df
jmp 0x14008e32d
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x20]
shr eax, 1
xor eax, dword [rsp + 0x24]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rsp + 0x50]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rsp + 0x50]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rsp + 0x50]
mov dword [rax], 0
add rsp, 0x48
ret
Function at 0x14008e380
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x14008e3a1
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x14008e425
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 - 0x9bc]
and eax, 0x80000000
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 - 0x9b8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x14008e3f0
mov dword [rsp + 4], 0x9908b0df
jmp 0x14008e3f8
mov dword [rsp + 4], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14008e394
add rsp, 0x18
ret
Function at 0x14008f450
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movss dword [rsp + 0x20], xmm3
mov dword [rsp + 0x18], r8d
movss dword [rsp + 0x10], xmm1
mov qword [rsp + 8], rcx
sub rsp, 0x78
movsd xmm0, qword [0x1400a6e40]
movsd qword [rsp + 0x68], xmm0
movss xmm0, dword [0x1400a4a9c]
divss xmm0, dword [rsp + 0x98]
movss dword [rsp + 0x24], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
jmp 0x14008f4ac
movss xmm0, dword [rsp + 0x20]
addss xmm0, dword [rsp + 0x24]
movss dword [rsp + 0x20], xmm0
cvtss2sd xmm0, dword [rsp + 0x20]
movsd xmm1, qword [0x1400a6e48]
comisd xmm1, xmm0
jbe 0x14008f607
movss xmm0, dword [rsp + 0x20]
addss xmm0, dword [rsp + 0x24]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_sinf]
movss xmm1, dword [rsp + 0x88]
mulss xmm1, xmm0
movaps xmm0, xmm1
mov rax, qword [rsp + 0x80]
addss xmm0, dword [rax + 4]
movss dword [rsp + 0x2c], xmm0
movss xmm0, dword [rsp + 0x20]
addss xmm0, dword [rsp + 0x24]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_cosf]
movss xmm1, dword [rsp + 0x88]
mulss xmm1, xmm0
movaps xmm0, xmm1
mov rax, qword [rsp + 0x80]
addss xmm0, dword [rax]
movss dword [rsp + 0x28], xmm0
movss xmm0, dword [rsp + 0x28]
movss dword [rsp + 0x38], xmm0
movss xmm0, dword [rsp + 0x2c]
movss dword [rsp + 0x3c], xmm0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
movss xmm0, dword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_sinf]
movss xmm1, dword [rsp + 0x88]
mulss xmm1, xmm0
movaps xmm0, xmm1
mov rax, qword [rsp + 0x80]
addss xmm0, dword [rax + 4]
movss dword [rsp + 0x34], xmm0
movss xmm0, dword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_cosf]
movss xmm1, dword [rsp + 0x88]
mulss xmm1, xmm0
movaps xmm0, xmm1
mov rax, qword [rsp + 0x80]
addss xmm0, dword [rax]
movss dword [rsp + 0x30], xmm0
movss xmm0, dword [rsp + 0x30]
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [rsp + 0x34]
movss dword [rsp + 0x44], xmm0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x60], rax
movss xmm3, dword [0x14009f658]
mov r8d, dword [rsp + 0x90]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.14008fdb0
nop
jmp 0x14008f49a
add rsp, 0x78
ret

Function at 0x140090570
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x168
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0x130
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1400905ed
mov rdx, qword [rsp + 0x170]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1400905da
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
mov dword [0x1400afa70], eax
mov eax, dword [rsp + 0x38]
jmp 0x1400905fa
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1400905a8
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x168
ret
Function at 0x140095930
Capabilities:
Enumerate gui resources

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x28
mov eax, dword [rsp + 0x30]
mov edx, eax
lea rcx, [0x1400902b0]
call qword [sym.imp.USER32.dll_EnumWindows]
nop
add rsp, 0x28
ret
Function at 0x1400977d0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
movss dword [rsp + 0x10], xmm1
movss dword [rsp + 8], xmm0
mov eax, 0x13d8
call fcn.140099b90
sub rsp, rax
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x13c4], 0xffffffff
mov eax, dword [rsp + 0x20]
mov r8d, 0x6c078965
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140097900
nop
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movss xmm0, dword [rsp + 0x13e0]
movss dword [rax], xmm0
mov rax, qword [rsp + 0x28]
movss xmm0, dword [rsp + 0x13e8]
movss dword [rax + 4], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140085c60
add rsp, 0x13d8
ret