joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4603e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x403203
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.00408c60
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045e600
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x4031e0
cmp byte [0x00640c28], 0
je 0x4603f5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45d640
jmp 0x4031e0

Function at 0x460400
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00640f00]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x00640c28], 0
je 0x460435
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x006411c0]
aesenc xmm0, xmmword [0x006411d0]
aesenc xmm0, xmmword [0x006411e0]
movq rax, xmm0
ret
jmp 0x408e80

Function at 0x460440
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00640f00]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x00640c28], 0
je 0x460476
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x006411c0]
aesenc xmm0, xmmword [0x006411d0]
aesenc xmm0, xmmword [0x006411e0]
movq rax, xmm0
ret
jmp 0x408ee0

Function at 0x462140
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x462174
mov rcx, 0x28
jmp 0x46217f
shl rcx, 3
add rcx, 0x1480
mov qword [0x00640e68], rcx
pop rbp
ret
Function at 0x477680
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47774a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403100
xorps xmm15, xmm15
mov r14, qword [0x00640e68]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x47772f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x0049bce0]
xor ebx, ebx
mov rcx, rdx
call fcn.004477c0
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.00477a60
inc rbx
cmp rcx, rbx
jae 0x47771e
mov edi, 1
lea rsi, [0x0049bce0]
call fcn.004478a0
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x0056c658]
lea rsi, [0x0056bfc0]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045e600
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00477680
Function at 0x48a560
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x48a577
inc rax
cmp rax, 4
jge 0x48a58f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x48a574
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x48a5a0
inc rax
cmp rax, 4
jge 0x48a5ae
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x48a5d7
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x48a5bb
jmp 0x48a59d
Function at 0x140002930
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x14001b040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x20], 0x48
mov dword [0x14001ba78], 0x48
mov byte [rsp + 0x30], 0x82
mov byte [rsp + 0x31], 0x74
mov byte [rsp + 0x32], 0x74
mov byte [rsp + 0x33], 0x70
mov byte [rsp + 0x34], 0x73
mov byte [rsp + 0x35], 0x47
mov byte [rsp + 0x36], 0x3c
mov byte [rsp + 0x37], 0x3c
mov byte [rsp + 0x38], 0x72
mov byte [rsp + 0x39], 0x7b
mov byte [rsp + 0x3a], 0x77
mov byte [rsp + 0x3b], 0x3b
mov byte [rsp + 0x3c], 0x81
mov byte [rsp + 0x3d], 0x83
mov byte [rsp + 0x3e], 0x74
mov byte [rsp + 0x3f], 0x82
mov byte [rsp + 0x40], 0x75
mov byte [rsp + 0x41], 0x7c
mov byte [rsp + 0x42], 0x75
mov byte [rsp + 0x43], 0x73
mov byte [rsp + 0x44], 0x7f
mov byte [rsp + 0x45], 0x72
mov byte [rsp + 0x46], 0x7d
mov byte [rsp + 0x47], 0x6f
mov byte [rsp + 0x48], 0x6e
mov byte [rsp + 0x49], 0x74
mov byte [rsp + 0x4a], 0x7f
mov byte [rsp + 0x4b], 0x6e
mov byte [rsp + 0x4c], 0x74
mov byte [rsp + 0x4d], 0x3b
mov byte [rsp + 0x4e], 0x7d
mov byte [rsp + 0x4f], 0x6f
mov byte [rsp + 0x50], 0x87
mov byte [rsp + 0x51], 0x3c
mov byte [rsp + 0x52], 0x74
mov byte [rsp + 0x53], 0x72
mov byte [rsp + 0x54], 0x83
mov byte [rsp + 0x55], 0x70
mov byte [rsp + 0x56], 0x7e
mov byte [rsp + 0x57], 0x7b
mov byte [rsp + 0x58], 0x77
mov byte [rsp + 0x59], 0x81
mov byte [rsp + 0x5a], 0x3e
mov byte [rsp + 0x5b], 0x42
mov byte [rsp + 0x5c], 0x3c
mov byte [rsp + 0x5d], 0x73
mov byte [rsp + 0x5e], 0x74
mov byte [rsp + 0x5f], 0x72
mov byte [rsp + 0x60], 0x83
mov byte [rsp + 0x61], 0x6e
mov byte [rsp + 0x62], 0x81
mov byte [rsp + 0x63], 0x3c
mov byte [rsp + 0x64], 0x72
mov byte [rsp + 0x65], 0x7f
mov byte [rsp + 0x66], 0x80
mov byte [rsp + 0x67], 0x73
mov byte [rsp + 0x68], 0x3c
mov byte [rsp + 0x69], 0x82
mov byte [rsp + 0x6a], 0x7f
mov byte [rsp + 0x6b], 0x7b
mov byte [rsp + 0x6c], 0x7e
mov byte [rsp + 0x6d], 0x73
mov byte [rsp + 0x6e], 0x3c
mov byte [rsp + 0x6f], 0x87
mov byte [rsp + 0x70], 0x7b
mov byte [rsp + 0x71], 0x83
mov byte [rsp + 0x72], 0x6e
mov byte [rsp + 0x73], 0x3c
mov byte [rsp + 0x74], 0x73
mov byte [rsp + 0x75], 0x74
mov byte [rsp + 0x76], 0x72
mov byte [rsp + 0x77], 0xd
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x14001bc28], eax
jle 0x140002b27
lea rcx, [0x14001bc28]
call fcn.140012530
cmp dword [0x14001bc28], 0xffffffff
jne 0x140002b27
lea rdx, [rsp + 0x30]
lea rcx, [0x14001bb20]
call fcn.140004640
lea rcx, [0x140014a70]
call fcn.140012aac
nop
lea rcx, [0x14001bc28]
call fcn.1400124c4
nop
lea rax, [0x14001bb20]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140012460
add rsp, 0x98
ret
Function at 0x140003360
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x14001b040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], 0xd
mov dword [0x14001ba78], 0xd
mov byte [rsp + 0x28], 0x36
mov byte [rsp + 0x29], 0x50
mov byte [rsp + 0x2a], 0x5d
mov byte [rsp + 0x2b], 0x59
mov byte [rsp + 0x2c], 0x50
mov byte [rsp + 0x2d], 0x57
mov byte [rsp + 0x2e], 0x1e
mov byte [rsp + 0x2f], 0x1d
mov byte [rsp + 0x30], 0x19
mov byte [rsp + 0x31], 0x4f
mov byte [rsp + 0x32], 0x57
mov byte [rsp + 0x33], 0x57
mov byte [rsp + 0x34], 0xeb
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x14001bb10], eax
jle 0x14000342a
lea rcx, [0x14001bb10]
call fcn.140012530
cmp dword [0x14001bb10], 0xffffffff
jne 0x14000342a
lea rdx, [rsp + 0x28]
lea rcx, [0x14001bb98]
call fcn.140004210
lea rcx, [0x140014a50]
call fcn.140012aac
nop
lea rcx, [0x14001bb10]
call fcn.1400124c4
nop
lea rax, [0x14001bb98]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140012460
add rsp, 0x48
ret

Function at 0x140003450
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x14001b040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], 0xd
mov dword [0x14001ba78], 0xd
mov byte [rsp + 0x28], 0x41
mov byte [rsp + 0x29], 0x54
mov byte [rsp + 0x2a], 0x5d
mov byte [rsp + 0x2b], 0x5f
mov byte [rsp + 0x2c], 0x60
mov byte [rsp + 0x2d], 0x4c
mov byte [rsp + 0x2e], 0x57
mov byte [rsp + 0x2f], 0x2c
mov byte [rsp + 0x30], 0x57
mov byte [rsp + 0x31], 0x57
mov byte [rsp + 0x32], 0x5a
mov byte [rsp + 0x33], 0x4e
mov byte [rsp + 0x34], 0xeb
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x14001bb7c], eax
jle 0x14000351a
lea rcx, [0x14001bb7c]
call fcn.140012530
cmp dword [0x14001bb7c], 0xffffffff
jne 0x14000351a
lea rdx, [rsp + 0x28]
lea rcx, [0x14001bc18]
call fcn.140004210
lea rcx, [0x140014a30]
call fcn.140012aac
nop
lea rcx, [0x14001bb7c]
call fcn.1400124c4
nop
lea rax, [0x14001bc18]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140012460
add rsp, 0x48
ret
Function at 0x140003540
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x14001b040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], 0xd
mov dword [0x14001ba78], 0xd
mov byte [rsp + 0x28], 0x52
mov byte [rsp + 0x29], 0x6c
mov byte [rsp + 0x2a], 0x79
mov byte [rsp + 0x2b], 0x75
mov byte [rsp + 0x2c], 0x6c
mov byte [rsp + 0x2d], 0x73
mov byte [rsp + 0x2e], 0x3a
mov byte [rsp + 0x2f], 0x39
mov byte [rsp + 0x30], 0x35
mov byte [rsp + 0x31], 0x6b
mov byte [rsp + 0x32], 0x73
mov byte [rsp + 0x33], 0x73
mov byte [rsp + 0x34], 7
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x14001bb90], eax
jle 0x14000360a
lea rcx, [0x14001bb90]
call fcn.140012530
cmp dword [0x14001bb90], 0xffffffff
jne 0x14000360a
lea rdx, [rsp + 0x28]
lea rcx, [0x14001baf0]
call fcn.140004210
lea rcx, [0x140014a10]
call fcn.140012aac
nop
lea rcx, [0x14001bb90]
call fcn.1400124c4
nop
lea rax, [0x14001baf0]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140012460
add rsp, 0x48
ret

Function at 0x140003630
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x14001b040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], 0xd
mov dword [0x14001ba78], 0xd
mov byte [rsp + 0x28], 0x53
mov byte [rsp + 0x29], 0x76
mov byte [rsp + 0x2a], 0x68
mov byte [rsp + 0x2b], 0x6b
mov byte [rsp + 0x2c], 0x53
mov byte [rsp + 0x2d], 0x70
mov byte [rsp + 0x2e], 0x69
mov byte [rsp + 0x2f], 0x79
mov byte [rsp + 0x30], 0x68
mov byte [rsp + 0x31], 0x79
mov byte [rsp + 0x32], 0x80
mov byte [rsp + 0x33], 0x48
mov byte [rsp + 0x34], 7
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x14001bb6c], eax
jle 0x1400036fa
lea rcx, [0x14001bb6c]
call fcn.140012530
cmp dword [0x14001bb6c], 0xffffffff
jne 0x1400036fa
lea rdx, [rsp + 0x28]
lea rcx, [0x14001bb00]
call fcn.140004210
lea rcx, [0x1400149f0]
call fcn.140012aac
nop
lea rcx, [0x14001bb6c]
call fcn.1400124c4
nop
lea rax, [0x14001bb00]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140012460
add rsp, 0x48
ret
Function at 0x140006450
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x14001b040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.140002600
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.140006db0
nop
lea rax, [0x140006e30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.1400056d0
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 0x1400064f4
lea rcx, [rsp + 0x40]
call fcn.140006980
nop
jmp 0x14000650c
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [rsp + 0x40]
call fcn.1400069b0
nop
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140012460
add rsp, 0x58
ret
Function at 0x140009f00
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.14000b5c0
nop
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x14000a2a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x14000a2d9
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14000a3c8
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x50], 0
jle 0x14000a370
cmp qword [rsp + 0x20], 0
jle 0x14000a370
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x14000a319
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.140005430
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rsp + 0x50], 0
jle 0x14000a3b8
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x14000a3b8
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
add rsp, 0x38
ret
Function at 0x14000a3d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x14001b040]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x14000a404
xor eax, eax
jmp 0x14000a601
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x14000a436
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
jmp 0x14000a601
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x14000a4e8
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.1400059a0
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.140005430
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
nop
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x80], 0
je 0x14000a5f1
mov rcx, qword [rsp + 0x80]
call fcn.14000b6a0
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x14000a59e
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x28], 0xfff
je 0x14000a599
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x14000a601
jmp 0x14000a514
cmp qword [rsp + 0x50], 0
jbe 0x14000a5f1
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140012460
add rsp, 0x78
ret
Function at 0x14000b760
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x14001b040]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x14000b79d
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14000b7a4
mov al, 1
jmp 0x14000b8fc
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.14000c0a0
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.14000c0a0
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
call fcn.14000c100
movzx eax, al
test eax, eax
je 0x14000b7f9
xor al, al
jmp 0x14000b8fc
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 0x14000b869
cmp dword [rsp + 0x30], 1
je 0x14000b875
cmp dword [rsp + 0x30], 3
je 0x14000b8ea
jmp 0x14000b8fa
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 0x14000b8c1
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 0x14000b8c1
xor al, al
jmp 0x14000b8fc
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14000b8db
mov dword [rsp + 0x34], 1
jmp 0x14000b8e3
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x14000b8fc
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14000b8fc
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140012460
add rsp, 0xa8
ret
Function at 0x14000f130
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 0x14000f153
mov rcx, qword [rsp + 0x40]
call fcn.14000f210
nop
jmp 0x14000f16b
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x14000f16b
mov rcx, qword [rsp + 0x40]
call fcn.14000f2c0
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 0x14000f210
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x14000f231
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x14000f2b5
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 0x14000f280
mov dword [rsp + 4], 0x9908b0df
jmp 0x14000f288
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 0x14000f224
add rsp, 0x18
ret