joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e4130
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov edi, edx
mov rsi, rcx
lea rax, [0x140178e50]
mov qword [rcx], rax
add rcx, 8
call fcn.14008a1a0
lea rcx, [rsi + 0x10]
call fcn.14008a1a0
mov byte [rsi + 0x18], 0
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], 0
call fcn.14008a1a0
mov byte [rsi + 0x48], 0
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], 0
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
movups xmmword [rsi + 0xd0], xmm6
mov qword [rsi + 0xe0], 0
mov dword [rsi + 0xe8], 0x3f800000
mov dword [rsi + 0xf0], 0
movups xmmword [rsi + 0xf8], xmm6
movups xmmword [rsi + 0x108], xmm6
mov dword [rsi + 0x118], 0x3f800000
movups xmmword [rsi + 0x120], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x140], 0x3f800000
movups xmmword [rsi + 0x148], xmm6
movups xmmword [rsi + 0x158], xmm6
mov dword [rsi + 0x168], 0x3f800000
movups xmmword [rsi + 0x170], xmm6
movups xmmword [rsi + 0x180], xmm6
mov dword [rsi + 0x190], 0x3f800000
mov qword [rsi + 0x1b0], 0
movups xmmword [rsi + 0x198], xmm6
mov dword [rsi + 0x1a8], 0
mov eax, dword [0x14018acbc]
mov dword [rsi + 0x1b8], eax
lea rcx, [rsi + 0x1c0]
call fcn.14011f770
movups xmmword [rsi + 0x2f0], xmm6
mov qword [rsi + 0x300], 0
lea rcx, [rsi + 0x308]
xor edx, edx
call fcn.14009efc0
lea rcx, [rsi + 0x310]
xor edx, edx
call fcn.14009efc0
lea rcx, [rsi + 0x318]
xor edx, edx
call fcn.14009efc0
movups xmmword [rsi + 0x320], xmm6
movups xmmword [rsi + 0x330], xmm6
mov dword [rsi + 0x340], 0x3f800000
movsxd rax, edi
movups xmmword [rsi + 0x348], xmm6
movups xmmword [rsi + 0x358], xmm6
movups xmmword [rsi + 0x368], xmm6
mov byte [rsi + 0x378], 0
mov qword [rsi + 0x380], rax
mov byte [rsi + 0x388], 0
movups xmmword [rsi + 0x390], xmm6
movups xmmword [rsi + 0x3a0], xmm6
call fcn.140019ae0
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x1a8], eax
cdqe
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x1a0], rax
mov rcx, rsi
call fcn.1400e4390
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
je 0x1400e435d
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x1401c1010]
call fcn.14011d7a0
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.14011d930
mov qword [0x1401b14e8], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x1400e9af0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1400e9b05
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x1400ea2d0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, qword [rcx + 8]
jmp 0x1400ea2e7
mov rsi, qword [rsi + 0x218]
test rsi, rsi
je 0x1400ea322
xor edi, edi
xchg qword [rsi], rdi
test rdi, rdi
je 0x1400ea2e0
nop word cs:[rax + rax]
bsf rcx, rdi
mov ebx, 1
shl rbx, cl
mov rcx, qword [rsi + rcx*8 + 0x10]
mov rax, qword [rcx + 8]
call qword [0x1401c1010]
xor rdi, rbx
jne 0x1400ea300
jmp 0x1400ea2e0
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400f6cc0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x1401b1548]
mov ecx, dword [0x1401a759c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400f6cfd
lea rcx, [0x1401b1540]
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.14009ef70
lea rcx, [0x1401b1548]
call fcn.140136980
cmp dword [0x1401b1548], 0xffffffff
jne 0x1400f6ce9
mov qword [0x1401b1540], 0
lea rcx, [0x1401b1540]
xor edx, edx
call fcn.14009efc0
lea rcx, [0x1401b1548]
call fcn.140136a18
jmp 0x1400f6ce9

Function at 0x1400f6d40
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1401b1548]
mov ecx, dword [0x1401a759c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400f6d75
lea rcx, [0x1401b1540]
add rsp, 0x28
jmp fcn.14009ef30
lea rcx, [0x1401b1548]
call fcn.140136980
cmp dword [0x1401b1548], 0xffffffff
jne 0x1400f6d65
mov qword [0x1401b1540], 0
lea rcx, [0x1401b1540]
xor edx, edx
call fcn.14009efc0
lea rcx, [0x1401b1548]
call fcn.140136a18
jmp 0x1400f6d65

Function at 0x1400f8750
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
call fcn.1400a69b0
mov byte [rsi + 8], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
lea rax, [0x140179b90]
mov qword [rsi], rax
mov rcx, 0xffffffffffffffff
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
cmp qword [rsi + 0x18], rax
je 0x1400f87dc
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x18]
add rax, 1
cmp rax, 2
jb 0x1400f87c1
call fcn.1400661b0
mov rcx, qword [rsi + 0x18]
call fcn.1400be660
mov qword [rsi + 0x18], 0
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400f87d4
mov qword [rsi + 0x18], rdi
call fcn.1400661b0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x140100a40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
test r8, r8
je 0x140100a6c
xor ecx, ecx
lea r9, [0x140189290]
movzx r10d, al
movzx r11d, byte [rdx + rcx]
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
add rcx, 1
cmp r8, rcx
jne 0x140100a50
ret
Function at 0x1401057a0
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x1a0
mov rax, qword [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x198], rax
movaps xmm0, xmmword [0x140175f60]
lea rsi, [rsp + 0x160]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsi + 0x20], 0x100
jb 0x140105833
mov ecx, 1
call fcn.14006d9d0
test al, al
je 0x140105833
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_system_snapshot_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xb2
mov r9d, 1
call fcn.14006da80
lea rcx, [rsp + 0x38]
lea rdx, str.dwNumberOfProcessors_exceeds_uint8_t_storage
mov r8d, 0x2c
call fcn.14001df3c
mov rcx, rsi
call fcn.14006df10
mov eax, dword [rsp + 0x180]
cmp eax, 0x100
mov esi, 0xff
cmovb esi, eax
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140137110
mov eax, esi
add rsp, 0x1a0
pop rsi
ret

Function at 0x1401192e0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp qword [0x1401b22c8], 0
jne 0x14011931d
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140119310
mov dword [rdi], eax
mov dword [0x1401b22d0], eax
mov qword [0x1401b22c8], rsi
cmp eax, 0xffffffff
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
int3
Function at 0x14011b166
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rcx
cmp dword [rcx + 0x10108], 0
mov r9d, dword [rcx + 0xd4]
je 0x14011b222
test r9d, r9d
je 0x14011b21f
xor eax, eax
mov r8d, 0xff
mov esi, dword [rdi + 0x10128]
mov ecx, dword [rdi + 0x10130]
mov edx, ecx
and edx, 0xfffd
lea r10d, [rdx + 2]
xor edx, 3
imul edx, r10d
shr edx, 8
movzx r10d, byte [rdi + rax + 0x100]
mov r11, qword [rdi + 0x10138]
mov ebx, esi
and ebx, r8d
xor ebx, r10d
shr esi, 8
xor esi, dword [r11 + rbx*4]
mov dword [rdi + 0x10128], esi
and esi, r8d
add esi, dword [rdi + 0x1012c]
imul ebx, esi, 0x8088405
inc ebx
mov dword [rdi + 0x1012c], ebx
shr ebx, 0x18
mov esi, ecx
and esi, r8d
xor esi, ebx
shr ecx, 8
xor ecx, dword [r11 + rsi*4]
mov dword [rdi + 0x10130], ecx
xor byte [rdi + rax + 0x100], dl
inc rax
cmp r9, rax
jne 0x14011b195
jmp 0x14011b222
xor r9d, r9d
lea r8, [rdi + 0x100]
mov rdx, qword [rdi + 0x58]
mov rax, qword [rdi + 0x10]
mov rcx, qword [rdi + 0x38]
call qword [0x1401c1010]
mov edx, dword [rdi + 0x84]
mov ebx, dword [rdi + 0xd4]
xor ecx, ecx
cmp eax, ebx
setne cl
add qword [rdi + 0x10118], rbx
add qword [rdi + 0x10120], rdx
neg ecx
xor eax, eax
mov dword [rdi + 0x84], eax
mov dword [rdi + 0xd4], eax
mov eax, ecx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x14011bccf
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [rcx]
mov r9d, dword [rcx + 8]
xor r8d, eax
mov r10d, 0xff
and r8d, r10d
shr eax, 8
xor eax, dword [rdx + r8*4]
mov dword [rcx], eax
and eax, r10d
add eax, dword [rcx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [rcx + 4], eax
shr eax, 0x18
and r10d, r9d
xor r10d, eax
shr r9d, 8
xor r9d, dword [rdx + r10*4]
mov dword [rcx + 8], r9d
ret
Function at 0x14011d020
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x14011d0c0]
mov qword [rsp + 0x20], rax
lea rcx, [0x1401b2318]
lea rdx, [0x14011cee0]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14011d0b4
cmp dword [0x1401b2320], 0
je 0x14011d071
xor esi, esi
jmp 0x14011d09c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x1401b2324]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x14011d06d
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140137110
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
call fcn.14014b720
int3

Function at 0x14011d0f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, r8
mov rsi, rdx
mov r14d, ecx
mov rax, qword [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x14011d0c0]
mov qword [rsp + 0x28], rax
lea rcx, [0x1401b2318]
lea rdx, [0x14011cee0]
lea r8, [rsp + 0x28]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14011d20d
cmp dword [0x1401b2320], 0
je 0x14011d15d
mov rcx, rsi
mov rax, rdi
call qword [0x1401c1010]
xor esi, esi
jmp 0x14011d1b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x1401b2324]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x14011d1cd
lea r15, [0x1401b2328]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbp, r14d
lea rax, [0x1401b2330]
mov qword [rax + rbp*8], rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [rbx + rbp*8], rsi
mov esi, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140137110
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 0x20
call fcn.14011c950
test rax, rax
je 0x14011d14d
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax], xmm0
mov ecx, dword [0x1401b2324]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14011d181
mov rcx, rbx
call fcn.14011c990
jmp 0x14011d14d
call fcn.14014b720
int3

Function at 0x140125790
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x1401b2458]
cmp rsi, 1
ja 0x1401257f0
lea rcx, [0x1401b2458]
call fcn.1400a6a80
test al, al
je 0x1401257e9
mov qword [0x1401b2460], 0
lea rdi, [0x1401b2458]
lea rsi, [0x1401b2460]
mov rcx, rsi
xor edx, edx
call fcn.14009efc0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.1400a6b30
jmp 0x1401257f0
mov rsi, qword [0x1401b2458]
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14009ef70
Function at 0x140125800
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov eax, dword [0x1401b2470]
mov ecx, dword [0x1401a759c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140125889
lea rcx, [0x1401b2468]
call fcn.14009ef30
test rax, rax
jne 0x140125876
mov ecx, 4
call fcn.140136828
mov rdi, rax
mov dword [rax], 0
lea rbx, [0x1401b2468]
mov rcx, rbx
call fcn.14009ef30
mov rsi, rax
mov rcx, rbx
mov rdx, rdi
call fcn.14009ef70
test rsi, rsi
je 0x140125876
mov rcx, rsi
call fcn.140136864
lea rcx, [0x1401b2468]
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14009ef30
lea rcx, [0x1401b2470]
call fcn.140136980
cmp dword [0x1401b2470], 0xffffffff
jne 0x140125828
mov qword [0x1401b2468], 0
lea rcx, [0x1401b2468]
lea rdx, [0x140065e10]
call fcn.14009efc0
lea rcx, [0x1401b2470]
call fcn.140136a18
jmp 0x140125828

Function at 0x14012d5b8
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov dword [rcx + 0x48], 0x1003f
mov eax, dword [rdx + 0x234]
mov dword [rcx + 0x4c], eax
mov eax, dword [rdx + 0x238]
mov dword [rcx + 0x50], eax
mov eax, dword [rdx + 0x23c]
mov dword [rcx + 0x54], eax
mov eax, dword [rdx + 0x240]
mov dword [rcx + 0x58], eax
mov eax, dword [rdx + 0x24c]
mov dword [rcx + 0x5c], eax
mov eax, dword [rdx + 0x250]
mov dword [rcx + 0x60], eax
lea rdx, [rcx + 0x64]
lea rbx, [rdi + 0x34]
mov rcx, rbx
call fcn.1401298cc
movzx eax, word [rdi + 0x30]
mov dword [rsi + 0xd4], eax
movzx eax, word [rdi + 0x2e]
mov dword [rsi + 0xd8], eax
movzx eax, word [rdi + 0x2c]
mov dword [rsi + 0xdc], eax
movzx eax, word [rdi + 0x2a]
mov dword [rsi + 0xe0], eax
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0xe4], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0xe8], eax
mov eax, dword [rdi + 4]
mov dword [rsi + 0xec], eax
mov eax, dword [rdi + 0xc]
mov dword [rsi + 0xf0], eax
mov eax, dword [rdi + 8]
mov dword [rsi + 0xf4], eax
mov eax, dword [rdi]
mov dword [rsi + 0xf8], eax
mov eax, dword [rdi + 0x18]
mov dword [rsi + 0xfc], eax
mov eax, dword [rdi + 0x20]
mov dword [rsi + 0x100], eax
movzx eax, word [rdi + 0x28]
mov dword [rsi + 0x104], eax
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x108], eax
mov eax, dword [rdi + 0x1c]
mov dword [rsi + 0x10c], eax
movzx eax, word [rdi + 0x32]
mov dword [rsi + 0x110], eax
add rsi, 0x114
mov r8d, 0x200
mov rcx, rsi
mov rdx, rbx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140139870

Function at 0x140144ad4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140144c04
Function at 0x18000a340
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
mov r8, rcx
je 0x18000a3c8
mov r9, 0xfffffffffffffffe
lea rax, [rcx + 2]
sub r9, rcx
nop word [rax + rax]
lea edx, [r9 + rax]
xor byte [rax + 7], dl
lea ecx, [rdx - 9]
xor byte [rax - 2], cl
lea rax, [rax + 0xe]
lea ecx, [rdx - 8]
xor byte [rax - 0xf], cl
lea ecx, [rdx - 7]
xor byte [rax - 0xe], cl
lea ecx, [rdx - 6]
xor byte [rax - 0xd], cl
lea ecx, [rdx - 5]
xor byte [rax - 0xc], cl
lea ecx, [rdx - 4]
xor byte [rax - 0xb], cl
lea ecx, [rdx - 3]
xor byte [rax - 0xa], cl
lea ecx, [rdx - 2]
xor byte [rax - 9], cl
lea ecx, [rdx - 1]
xor byte [rax - 8], cl
lea ecx, [rdx + 1]
xor byte [rax - 6], cl
lea ecx, [rdx + 2]
xor byte [rax - 5], cl
lea ecx, [rdx + 3]
xor byte [rax - 4], cl
add dl, 4
xor byte [rax - 3], dl
lea rcx, [rax + r9]
cmp rcx, 0x46
jb 0x18000a360
mov byte [r8 + 0x47], 0
mov rax, r8
ret

Function at 0x18000a850
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x136], 0
je 0x18000a878
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 9]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x135
jb 0x18000a860
mov byte [rcx + 0x136], 0
mov rax, rcx
ret
Function at 0x18001fd80
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0x18
xor eax, eax
test eax, eax
je 0x18001fd9f
movsx eax, byte [rsp + 0x28]
or eax, 0x20
mov dword [rsp], eax
jmp 0x18001fda7
movsx eax, byte [rsp + 0x28]
mov dword [rsp], eax
mov eax, dword [rsp]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
add rsp, 0x18
ret

Function at 0x180023050
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.180023000
nop
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x1800241d0
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 0x1800241f3
mov rcx, qword [rsp + 0x40]
call fcn.180024da0
nop
jmp 0x18002420b
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x18002420b
mov rcx, qword [rsp + 0x40]
call fcn.180024ba0
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 0x140001920
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140002740
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140002740
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140001990
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140009104]
mov rbx, rcx
test esi, esi
jle 0x140001ac0
mov rax, qword [0x140009108]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400019db
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001a65
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400019c0
mov rcx, rbx
call fcn.1400023e0
mov rdi, rax
test rax, rax
je 0x140001ae2
mov rax, qword [0x140009108]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002520
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140009108]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001ac7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001a5e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001a70
add dword [0x140009104], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140009108]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001a5e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001920
nop dword [rax]
xor esi, esi
jmp 0x1400019e8
mov rax, qword [0x140009108]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001920
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001920
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002050
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140009160]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140009140]
test rbx, rbx
je 0x1400020ac
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1400020a3
test rsi, rsi
je 0x1400020a3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002088
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400023e0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140005510]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002400
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002408
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002400
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000245d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002454
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002400
add rax, 0x28
cmp rax, r9
jne 0x140002440
xor eax, eax
ret

Function at 0x140002460
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140005510]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000247f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002488
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000247f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002520
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140005510]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000253f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002548
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002890
Capabilities:
Encode data using xor

Disassembly:
test r8d, 0xf
jne 0x1400029cb
push rbp
mov rbp, rsp
push r15
push r14
push r13
mov r13, rdx
push r12
mov r12, rcx
push rdi
mov rdi, r9
push rsi
mov rsi, r8
push rbx
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
mov qword [rdi], rax
xor eax, eax
test rbx, rbx
je 0x1400029ba
and rsi, 0xfffffffffffffff0
lea r15, [r12 + 0xe0]
lea rdi, [rbx + rsi]
lea rsi, [rsp + 0x20]
cmp rdi, rbx
je 0x1400029b8
xor eax, eax
mov rdx, r13
mov rcx, rsi
movups xmm0, xmmword [r13]
mov qword [rsp + 0x20], rax
lea r14, [r12 + 0xd0]
mov qword [rsp + 0x28], rax
call fcn.140002df0
mov rdx, r15
mov rcx, rsi
call fcn.140002d60
mov rcx, rsi
call fcn.140002d80
mov edx, 1
mov rcx, rsi
call fcn.140003100
mov rdx, r14
sub r14, 0x10
call fcn.140002d60
mov edx, 1
call fcn.140002e40
cmp r12, r14
jne 0x140002935
mov rcx, rsi
call fcn.140002d80
mov rcx, rsi
mov edx, 1
call fcn.140003100
mov rdx, r12
call fcn.140002d60
mov rdx, rsi
mov rcx, rbx
call fcn.140003040
xor eax, eax
mov dl, byte [r14 + rax + 0xf0]
xor byte [rbx + rax], dl
inc rax
cmp rax, 0x10
jne 0x14000298f
movups xmmword [r14 + 0xf0], xmm0
add rbx, 0x10
add r13, 0x10
jmp 0x1400028fd
mov al, 1
lea rsp, [rbp - 0x38]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
xor eax, eax
ret