joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800e5b20
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x110
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x180148040]
xor rax, rsp
mov qword [rsp + 0xf0], rax
movups xmm0, xmmword [0x18012d8d0]
movups xmmword [rsp + 0x80], xmm0
movups xmm1, xmmword [0x18012d8e0]
movups xmmword [rsp + 0x90], xmm1
movups xmm0, xmmword [0x18012d8f0]
movups xmmword [r11 - 0x78], xmm0
movups xmm1, xmmword [0x18012d900]
movups xmmword [r11 - 0x68], xmm1
movzx eax, word [0x18012d910]
mov word [r11 - 0x58], ax
movzx eax, byte [0x18012d912]
mov byte [r11 - 0x56], al
xor ecx, ecx
cmp dword [0x180148090], 2
jl 0x1800e5ccc
movdqa xmm4, xmmword [0x18012e100]
movdqa xmm3, xmmword [0x18012e640]
movdqa xmm5, xmmword [0x18012e180]
movdqa xmm0, xmmword [0x18012e230]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [r11 - 0x94]
movdqa xmm6, xmmword [0x18012e1e0]
mov r8d, dword [rsp + 0x60]
nop dword [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x40
jl 0x1800e5be0
cmp ecx, 0x43
jge 0x1800e5d0e
movsxd rax, ecx
lea r8, [rsp + 0x80]
add r8, rax
nop word [rax + rax]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x43
jl 0x1800e5ce0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rsp + 0x80]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1800e5d30
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.180016750
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0xd0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xe0], xmm1
xor r8d, r8d
lea rdx, [0x18011e4f0]
lea rcx, [rsp + 0xd0]
call fcn.180016750
nop
cmp byte [0x180149e08], 0
jne 0x1800e5d9e
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.18002d5f0
mov rcx, rax
call fcn.180038bd0
jmp 0x1800e5da8
lea rcx, [rsp + 0x40]
call fcn.180036ea0
mov rbx, rax
lea rcx, [rsp + 0xd0]
call fcn.18002d710
nop
lea rcx, [rsp + 0x40]
call fcn.18002d710
mov rax, rbx
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1800ec360
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rbx
ret
Function at 0x1800e6c50
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x1800e6cb4
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x1800e6ca2
mov r8, qword [rbx]
xor edx, edx
mov r8d, dword [r8 + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800e6c9b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x1800e6c6f
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x180149f58]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1800e6cc4
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov eax, ecx
mov esi, edx
imul rbx, rax, 0x38
add rbx, qword [0x18014b9f0]
mov rdx, qword [rbx]
mov cl, byte [rbx + 0x20]
mov rbp, rdx
lea rdi, [rdx - 5]
and cl, 1
je 0x1800e6cfa
mov rbp, rdi
movzx eax, cl
lea r9, [rsp + 0x40]
test cl, cl
mov r8d, 0x40
cmove rdi, rdx
lea r14, [rax*2 + 5]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800e6d30
mov eax, 0xa
jmp 0x1800e6dbf
test esi, esi
je 0x1800e6d52
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, ebp
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x1800e6d73
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x1800e6d73
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x1800e6d6d
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x1800e6d73
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, sil
shl sil, 2
add al, al
xor al, byte [rbx + 0x20]
and al, 2
xor al, byte [rbx + 0x20]
xor sil, al
and sil, 4
xor sil, al
mov byte [rbx + 0x20], sil
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x1800e725c
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x1800e7273
cmp r8b, 0x90
je 0x1800e7273
cmp r8b, 0xcc
jne 0x1800e7295
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x1800e7291
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x1800e7295
add edx, r10d
cmp edx, r9d
jb 0x1800e7281
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x1800e75fc
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
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 0x1800e7646
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rbx, qword [0x18014b9e8]
lea r12, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r12
cmovbe r12, qword [rbp - 0x50]
sub r12, 0xfff
xor esi, esi
jmp 0x1800e767f
cmp rbx, r14
jb 0x1800e767c
cmp rbx, r12
jae 0x1800e767c
cmp qword [rbx + 8], rsi
jne 0x1800e77e1
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1800e7668
mov r15, rdi
cmp rdi, r14
jb 0x1800e779b
mov r13d, dword [rbp - 0x38]
xor edx, edx
mov rax, r15
div r13
sub r15, rdx
jmp 0x1800e76cb
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800e7705
cmp dword [rbp - 0x10], 0x10000
je 0x1800e76d5
mov r15, qword [rbp - 0x28]
cmp r15, r13
jb 0x1800e7705
sub r15, r13
cmp r15, r14
jae 0x1800e76a1
jmp 0x1800e7705
test r15, r15
je 0x1800e7705
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800e77a6
cmp r15, r14
jae 0x1800e7690
test rbx, rbx
jmp 0x1800e7799
mov r15d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov r14d, r15d
div r15
mov eax, r15d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r12
ja 0x1800e77e1
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800e77e1
cmp dword [rbp - 0x10], 0x10000
je 0x1800e7774
xor edx, edx
lea edi, [r15 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div r14
sub rdi, rdx
cmp rdi, r12
jbe 0x1800e7731
jmp 0x1800e77e1
test rdi, rdi
je 0x1800e77e1
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 0x1800e77a6
cmp rdi, r12
jbe 0x1800e770d
jmp 0x1800e77e1
lea rcx, [rbx + 0x40]
mov dword [rbx + 0x10], esi
mov edx, 0x40
mov qword [rcx], rsi
mov rax, rcx
mov qword [rbx + 8], rcx
add rdx, 0x40
add rcx, 0x40
mov rsi, rax
cmp rdx, 0xfc0
jbe 0x1800e77b2
mov rax, qword [0x18014b9e8]
mov qword [rbx], rax
mov qword [0x18014b9e8], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1800e80a0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.1800e82c0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1800e81a7
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800e8104
mov rax, qword [0x180148008]
cmp qword [rsp + 0x20], rax
ja 0x1800e8104
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800e80c6
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1800e8133
jmp 0x1800e81a7
cmp dword [rsp + 0x50], 0x10000
jne 0x1800e818a
cmp qword [rsp + 0x48], 0x10000
jb 0x1800e818a
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800e8178
mov rax, qword [rsp + 0x28]
jmp 0x1800e81a9
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800e81a2
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800e82c0
mov qword [rsp + 0x20], rax
jmp 0x1800e80c6
xor eax, eax
add rsp, 0x68
ret

Function at 0x1800e81b0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.1800e8300
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1800e82b3
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800e820b
mov rax, qword [0x180148008]
cmp qword [rsp + 0x20], rax
ja 0x1800e820b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800e81cd
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1800e823a
jmp 0x1800e82b3
cmp dword [rsp + 0x50], 0x10000
jne 0x1800e8291
cmp qword [rsp + 0x48], 0x10000
jb 0x1800e8291
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800e827f
mov rax, qword [rsp + 0x28]
jmp 0x1800e82b5
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800e82ae
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1800e8300
mov qword [rsp + 0x20], rax
jmp 0x1800e81cd
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800e8350
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1800e88e0
mov qword [rsp + 0x28], 0
cmp qword [0x180149708], 0
jne 0x1800e8398
cmp qword [0x180149700], 0
je 0x1800e8398
mov rax, qword [0x180149700]
mov qword [0x180149708], rax
cmp qword [0x180149708], 0
je 0x1800e843e
mov rax, qword [0x180149708]
cmp qword [rax + 0x10], 0
je 0x1800e843e
mov rax, qword [0x180149708]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800e843e
mov rax, qword [0x180149708]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800e843e
mov rax, qword [0x180149708]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x1800e8404
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x1800e840b
xor eax, eax
jmp 0x1800e85b9
mov rax, qword [0x180149708]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x1800e85b9
mov rax, qword [0x180149700]
mov qword [0x180149708], rax
jmp 0x1800e8460
mov rax, qword [0x180149708]
mov rax, qword [rax + 8]
mov qword [0x180149708], rax
cmp qword [0x180149708], 0
je 0x1800e84ad
cmp qword [0x180149708], 0
je 0x1800e84ab
mov rax, qword [0x180149708]
cmp qword [rax + 0x10], 0
je 0x1800e84ab
mov rax, qword [0x180149708]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800e84ab
mov rax, qword [0x180149708]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800e84ab
jmp 0x1800e83dc
jmp 0x1800e844e
mov rcx, qword [rsp + 0x60]
call fcn.1800ea510
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1800e85c0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1800e85b7
mov rax, qword [rsp + 0x48]
mov qword [0x180149708], rax
mov rax, qword [0x180149708]
mov dword [rax], 0x52727464
mov rax, qword [0x180149708]
mov qword [rax + 0x10], 0
mov rax, qword [0x180149708]
mov rcx, qword [0x180149700]
mov qword [rax + 8], rcx
mov rax, qword [0x180149708]
mov qword [0x180149700], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x180149708]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x1800e8568
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x1800e85a2
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x1800e855e
mov rax, qword [0x180149708]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x1800e83dc
xor eax, eax
add rsp, 0x58
ret
Function at 0x1800ebfa0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1800ebfda
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800ebfdf
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1800ec028
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800f6ed0]
cmp byte [rcx + rax], 0
je 0x1800ec028
dec r8
sub rdx, 1
jne 0x1800ec00e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14000cf80
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140564840]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.140099470
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.14008d9a0
nop
lea rax, [0x14000c480]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.14000be90
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x14000d024
lea rcx, [rsp + 0x40]
call fcn.1400a4150
nop
jmp 0x14000d03b
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rsp + 0x40]
call fcn.140091140
nop
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401c08f0
add rsp, 0x58
ret

Function at 0x14000d060
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140564840]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.140099490
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.14008da20
nop
lea rax, [0x14000c510]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.14000be90
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x14000d104
lea rcx, [rsp + 0x40]
call fcn.1400a4180
nop
jmp 0x14000d11b
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rsp + 0x40]
call fcn.140091190
nop
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401c08f0
add rsp, 0x58
ret

Function at 0x14008f830
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9d, 0x6c078965
mov r8d, 0xffffffff
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.14008f7e0
nop
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret
Function at 0x1400921f0
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 0x140092213
mov rcx, qword [rsp + 0x40]
call fcn.140098770
nop
jmp 0x14009222b
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x14009222b
mov rcx, qword [rsp + 0x40]
call fcn.140098570
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 0x140094030
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
add rsp, 0x28
ret

Function at 0x140094bd0
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x88
mov rax, qword [0x140564840]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea rax, [0x1401ca198]
mov qword [rsp + 0x48], rax
cmp dword [rsp + 0x90], 0
jl 0x140094c2d
cmp dword [rsp + 0x90], 0x7c
jge 0x140094c2d
lea r8, [rsp + 0x48]
mov edx, dword [rsp + 0x90]
lea rcx, str.Keybind
call fcn.140095540
nop
lea rcx, [rsp + 0x50]
call fcn.14008f270
nop
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x140094c62
lea rdx, str.Your_Key
lea rcx, [rsp + 0x50]
call fcn.140091790
nop
jmp 0x140094c72
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.140091790
nop
cmp dword [rsp + 0xa0], 1
jne 0x140094c8e
lea rdx, str.Press_Key
lea rcx, [rsp + 0x50]
call fcn.140091790
nop
movss xmm2, dword [0x1401cabc4]
movss xmm1, dword [0x1401cabe0]
lea rcx, [rsp + 0x40]
call fcn.14008fc70
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x50]
call fcn.14009e8d0
mov qword [rsp + 0x38], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.140105870
movzx eax, al
test eax, eax
je 0x140094d09
cmp dword [rsp + 0xa0], 0
jne 0x140094d09
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
lea rcx, [rsp + 0x50]
call fcn.140090ee0
nop
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401c08f0
add rsp, 0x88
ret
Function at 0x140097800
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x140564840]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x14009783d
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140097844
mov al, 1
jmp 0x14009799c
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.14009f4d0
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.14009f4d0
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
call fcn.14009f520
movzx eax, al
test eax, eax
je 0x140097899
xor al, al
jmp 0x14009799c
mov qword [rsp + 0x60], 0x20
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140097909
cmp dword [rsp + 0x30], 1
je 0x140097915
cmp dword [rsp + 0x30], 3
je 0x14009798a
jmp 0x14009799a
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x140097961
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x48], rax
je 0x140097961
xor al, al
jmp 0x14009799c
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14009797b
mov dword [rsp + 0x34], 1
jmp 0x140097983
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x14009799c
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14009799c
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1401c08f0
add rsp, 0xa8
ret