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

Disassembly:
cmp byte [rcx + 0x12], 0
mov r8, rcx
je 0x140009331
xor eax, eax
cmp dword [0x140010018], 5
jl 0x1400092ff
movdqa xmm2, xmmword [0x14000c6d0]
lea rdx, [rcx + 4]
movdqa xmm3, xmmword [0x14000c710]
mov r9, 0xfffffffffffffffe
movdqa xmm4, xmmword [0x14000cad0]
sub r9, rcx
movdqa xmm5, xmmword [0x14000c740]
mov r10d, 2
sub r10, rcx
movzx ecx, word [rdx - 4]
movq xmm0, rax
punpcklqdq xmm0, xmm0
add rax, 8
paddq xmm0, xmm2
andps xmm0, xmm3
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [r9 + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm2
andps xmm0, xmm3
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, r8
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm2
andps xmm0, xmm3
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [r10 + rdx]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm2
andps xmm0, xmm3
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp rax, 0x10
jb 0x140009213
cmp rax, 0x12
jae 0x14000932c
movabs r9, 0x89f52b3945a9b135
nop dword [rax]
movzx ecx, al
mov rdx, r9
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [r8 + rax], dl
inc rax
cmp rax, 0x12
jb 0x140009310
mov byte [r8 + 0x12], 0
ret

Function at 0x140009cc4
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
mov qword [rcx], rdi
mov dword [rcx + 8], edi
mov ecx, 0x400
call fcn.1800295b8
mov qword [rbx], rax
mov r8d, edi
nop word [rax + rax]
mov eax, edi
lea r8, [r8 + 4]
mov ecx, edi
shr ecx, 1
mov edx, ecx
xor edx, 0xaddb4567
and al, 1
cmove edx, ecx
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xaddb4567
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xaddb4567
and cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xaddb4567
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xaddb4567
and cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xaddb4567
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xaddb4567
and cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xaddb4567
and dl, 1
cmove ecx, eax
mov rax, qword [rbx]
inc edi
mov dword [r8 + rax - 4], ecx
cmp edi, 0x100
jl 0x180008350
mov dword [rbx + 8], 0xffffffff
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180024ef0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 8
mov r10, r8
mov r9, rdx
test rdx, rdx
jne 0x180024f06
xor eax, eax
add rsp, 8
ret
mov qword [rsp], rbx
lea rbx, [0x180065070]
not ecx
cmp r10, 8
jb 0x180024ff4
mov r11, r10
shr r11, 3
imul rax, r11, 0xfffffffffffffff8
add r10, rax
nop dword [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
mov edx, dword [rbx + rax*4]
xor edx, ecx
movzx ecx, byte [r9 + 1]
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 2]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 3]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 4]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 5]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 6]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 7]
add r9, 8
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov ecx, dword [rbx + rax*4]
xor ecx, edx
sub r11, 1
jne 0x180024f30
test r10, r10
je 0x180025020
nop dword [rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
xor rdx, rax
shr eax, 8
movzx r8d, dl
mov ecx, dword [rbx + r8*4]
xor ecx, eax
sub r10, 1
jne 0x180025000
mov rbx, qword [rsp]
not ecx
mov eax, ecx
add rsp, 8
ret
Function at 0x1800253d0
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r14
sub rsp, 0x48
mov rax, qword [0x180074020]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, qword [rcx + 0x20]
mov r14, rdx
mov edi, r8d
mov rbx, rcx
test rsi, rsi
je 0x1800254ed
mov eax, dword [rcx + 0x28]
mov qword [r11 + 0x20], rbp
mov qword [r11 - 0x28], r15
mov r15d, dword [rbx + 0x2c]
lea ecx, [rax + rdi]
cmp ecx, r15d
jb 0x1800254d6
add eax, edi
add r15d, r15d
cmp r15d, ecx
cmovbe r15d, eax
xor eax, eax
mov qword [r11 - 0x40], rax
xor r9d, r9d
xor edx, edx
mov dword [r11 - 0x48], r15d
lea rcx, [rax - 1]
lea r8d, [rax + 4]
call qword [sym.imp.KERNEL32.DLL_CreateFileMappingW]
mov rbp, rax
test rax, rax
je 0x18002547a
movsxd rax, r15d
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0xf001f
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov rsi, rax
test rax, rax
jne 0x1800254a3
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, 0x300
mov rbp, qword [rsp + 0x88]
mov r15, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800292f0
add rsp, 0x48
pop r14
pop rdi
pop rsi
pop rbx
ret
mov r8d, dword [rbx + 0x2c]
mov rcx, rsi
mov rdx, qword [rbx + 0x20]
call fcn.18002afc0
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [rbx + 0x28]
mov dword [rbx + 0x2c], r15d
mov qword [rbx + 0x20], rsi
mov qword [rbx + 8], rbp
mov ecx, eax
mov r8, rdi
add rcx, rsi
mov rdx, r14
call fcn.18002afc0
add dword [rbx + 0x28], edi
mov eax, edi
jmp 0x18002547f
mov rcx, qword [rcx]
test rcx, rcx
je 0x180025517
xor eax, eax
lea r9, [rsp + 0x30]
mov r8d, edi
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [rsp + 0x30]
jmp 0x18002548c
mov dword [rbx + 0x14], 0x1000000
xor eax, eax
jmp 0x18002548c

Function at 0x180025690
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x180074020]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rcx
mov rbp, rdx
mov rcx, qword [rcx + 0x88]
test rcx, rcx
je 0x180025703
mov eax, dword [rdi + 0x94]
mov esi, dword [rdi + 0x90]
cmp eax, esi
jae 0x180025747
sub esi, eax
lea rdx, [rcx + rax]
cmp esi, r8d
mov rcx, rbp
cmova esi, r8d
mov r8d, esi
call fcn.18002afc0
mov ecx, dword [rdi + 0x70]
mov rdx, rbp
add dword [rdi + 0x94], esi
add dword [rdi + 0x6c], esi
mov r8d, esi
call fcn.180024ef0
mov dword [rdi + 0x70], eax
mov eax, esi
jmp 0x180025749
mov rcx, qword [rdi + 0x78]
test rcx, rcx
je 0x180025740
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x180025747
mov ebx, dword [rsp + 0x30]
mov rdx, rbp
add dword [rdi + 0x6c], ebx
mov r8d, ebx
mov ecx, dword [rdi + 0x70]
call fcn.180024ef0
mov dword [rdi + 0x70], eax
mov eax, ebx
jmp 0x180025749
mov dword [rdi + 0x14], 0x1000000
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800292f0
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000cf10
Capabilities:
Encode data using xor

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x508
mov rax, qword [0x180065010]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
cmp qword [0x180068068], 0
jne 0x18000cf63
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [rsp + 0x118]
mov qword [0x180068068], rax
lea rcx, [0x1804710e8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [0x1804710e8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x180068060]
inc eax
mov dword [0x180068060], eax
cmp dword [0x180068060], 1
jne 0x18000cf93
mov rcx, qword [0x180068068]
call fcn.180023fb0
add al, ch
sbb eax, 0x48000170
lea ecx, [0x1804710e8]
lea rcx, [0x1804710e8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movabs rax, 0xb1513af1048ad682
mov qword [0x1804680a0], rax
mov ecx, 0x5303e7a6
std
outsb dx, byte [rsi]
scasd eax, dword [rdi]
sti
rol dword [rdx - 0x6c], cl
mov r13b, 0xa2
xor dword [rbx - 0x7d72bd29], ebp
movabs byte [0x94ed31c65ce325c4], al
mov edx, 0x1a976c34
and eax, 0xdfba9188
mov ecx, 0xd991c99f
cmp dword [rdi - 0x31a354cc], 0xba94e531
xor al, 0x22
lahf
sbb bl, byte [rbp + 0x70]
pushfq
mov edi, 0xce5cab34
xor ebp, esp
xchg esp, eax
mov edx, 0x1a9f2234
pop rbp
jo 0x18000cf8d
je 0x18000cfe1
xlatb
mov ebp, 0xbec1e000
xor al, 0x98
add eax, 0xb5719e0a
stosb byte [rdi], al
xor dword [rbx - 0x31c5529], ebp
xchg ecx, eax
mov edx, 0x4527b848
shr dword [rdi], cl
invalid

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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov rcx, qword [rcx]
mov edx, dword [rsp + 0x10]
mov dword [rax + rcx], edx
mov rax, qword [rsp + 8]
mov dword [rax + 8], 1
jmp 0x180011961
mov rax, qword [rsp + 8]
mov eax, dword [rax + 8]
inc eax
mov rcx, qword [rsp + 8]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 8]
cmp dword [rax + 8], 0x270
jge 0x1800119f8
mov rax, qword [rsp + 8]
mov eax, dword [rax + 8]
dec eax
cdqe
mov rcx, qword [rsp + 8]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 8]
mov edx, dword [rdx + 8]
dec edx
movsxd rdx, edx
mov r8, qword [rsp + 8]
mov r8, qword [r8]
mov edx, dword [r8 + rdx*4]
shr edx, 0x1e
mov eax, dword [rcx + rax*4]
xor eax, edx
imul eax, eax, 0x6c078965
mov rcx, qword [rsp + 8]
add eax, dword [rcx + 8]
mov rcx, qword [rsp + 8]
movsxd rcx, dword [rcx + 8]
mov rdx, qword [rsp + 8]
mov rdx, qword [rdx]
mov dword [rdx + rcx*4], eax
mov rax, qword [rsp + 8]
movsxd rax, dword [rax + 8]
mov rcx, qword [rsp + 8]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 8]
movsxd rdx, dword [rdx + 8]
mov r8, qword [rsp + 8]
mov r8, qword [r8]
mov eax, dword [rcx + rax*4]
mov dword [r8 + rdx*4], eax
jmp 0x18001194f
mov rax, qword [rsp + 8]
mov ecx, dword [rsp + 0x10]
mov dword [rax + 0x1c], ecx
mov rax, qword [rsp + 8]
mov byte [rax + 0x20], 0
mov rax, qword [rsp + 8]
mov byte [rax + 0x21], 1
ret
Function at 0x180013190
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov byte [rsp + 0x18], r8b
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x2c], eax
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x1800131cd
movzx edx, byte [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call fcn.180013270
movzx eax, al
mov dword [rsp + 0x28], eax
jmp 0x18001320c
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
mov eax, dword [rax]
test eax, eax
jne 0x1800131fc
movzx edx, byte [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call fcn.180013270
movzx eax, al
test eax, eax
je 0x1800131fc
mov dword [rsp + 0x24], 1
jmp 0x180013204
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x180013222
mov al, 1
jmp 0x180013264
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
test eax, eax
jne 0x180013237
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x2c]
cmp eax, dword [rsp + 0x48]
jb 0x18001324e
cmp dword [rsp + 0x48], 0xffffffff
jne 0x180013262
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 2]
movzx eax, ax
test eax, eax
je 0x1800131ac
xor al, al
add rsp, 0x38
ret
Function at 0x180023fb0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x180065010]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov eax, 8
imul rax, rax, 0
lea rcx, [0x180065aa8]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x60], 0x48
mov byte [rsp + 0x61], 0xb8
mov byte [rsp + 0x62], 0x82
mov byte [rsp + 0x63], 0xd6
mov byte [rsp + 0x64], 0x8a
mov byte [rsp + 0x65], 4
mov byte [rsp + 0x66], 0xf1
mov byte [rsp + 0x67], 0x3a
mov byte [rsp + 0x68], 0x51
mov byte [rsp + 0x69], 0xb1
mov byte [rsp + 0x70], 0x48
mov byte [rsp + 0x71], 0xb8
mov byte [rsp + 0x72], 0x27
mov byte [rsp + 0x73], 0x45
mov byte [rsp + 0x74], 0xd3
mov byte [rsp + 0x75], 0x2f
mov byte [rsp + 0x76], 0xc6
mov byte [rsp + 0x77], 0xd6
mov byte [rsp + 0x78], 0xf1
mov byte [rsp + 0x79], 0xa2
movabs rax, 0x91fd1542d7ab34ba
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x20], 0
mov r8d, 0xa
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
call fcn.18004fce0
test eax, eax
je 0x1800240b1
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x180024089
mov r8d, 0xa
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
call fcn.18004fce0
test eax, eax
je 0x1800240d9
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x1800240b1
mov rax, qword [rsp + 0x28]
add rax, 0x11
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x50], 0x40
mov dword [rsp + 0x54], 0
mov eax, dword [rsp + 0x30]
lea r9, [rsp + 0x54]
mov r8d, dword [rsp + 0x50]
mov edx, eax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
jmp 0x180024147
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x40], rax
je 0x180024189
mov eax, dword [rsp + 0x20]
movzx eax, byte [rsp + rax + 0x80]
mov rcx, qword [rsp + 0x40]
movzx ecx, byte [rcx]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x40]
mov byte [rcx], al
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 7
mov dword [rsp + 0x20], eax
jmp 0x18002413a
mov eax, dword [rsp + 0x30]
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x54]
mov edx, eax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180039980
add rsp, 0x98
ret
Function at 0x140001c30
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
movzx ecx, word [0x140091390]
movzx eax, byte [0x140091392]
movsd xmm0, qword [str.CETTUU]
xor al, 0x40
movsd qword [rbp - 0x50], xmm0
xor byte [rbp - 0x4f], 0x37
xor byte [rbp - 0x4e], 0x38
xor byte [rbp - 0x4d], 0x39
xor byte [rbp - 0x4c], 0x3a
xor byte [rbp - 0x4b], 0x3b
xor byte [rbp - 0x4a], 0x3c
xor byte [rbp - 0x49], 0x3d
mov word [rbp - 0x48], cx
xor cl, 0x3e
xor byte [rbp - 0x47], 0x3f
mov byte [rbp - 0x48], cl
lea rcx, [rbp - 0x50]
mov byte [rbp - 0x50], 0x75
mov byte [rbp - 0x46], al
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r9, rax
test rax, rax
jne 0x140001c9f
add rsp, 0x70
pop rbp
ret
movzx eax, word [0x1400914d0]
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmm0, xmmword [str.cetULRQQ_]
mov word [rbp - 0x20], ax
movzx eax, byte [0x1400914d2]
mov byte [rbp - 0x1e], al
movups xmmword [rbp - 0x30], xmm0
jl 0x140001e03
movdqa xmm0, xmmword [0x140094470]
lea rdx, [rbp - 0x2c]
movdqa xmm4, xmmword [0x140094400]
movdqa xmm3, xmmword [0x140094490]
movdqa xmm5, xmmword [0x140094420]
movdqa xmmword [rbp - 0x40], xmm0
mov r8d, dword [rbp - 0x40]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x140094440]
nop dword [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm4
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, 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
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movd dword [rdx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, 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
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x140001d10
movaps xmm6, xmmword [rsp + 0x60]
cmp ecx, 0x13
jge 0x140001e3f
movsxd rax, ecx
lea r8, [rbp - 0x30]
add r8, rax
nop dword [rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
inc ecx
sub al, dl
add al, 0x36
xor byte [r8 - 1], al
cmp ecx, 0x13
jl 0x140001e10
lea rdx, [rbp - 0x30]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400a3370], rax
mov al, 1
add rsp, 0x70
pop rbp
ret
Function at 0x140004970
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov r14d, 4
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov r15d, Ordinal_41
mov eax, dword [r15 + rsi]
mov r12d, Ordinal_50
test al, 1
jne 0x140004a18
or eax, 1
mov dword [r15 + rsi], eax
mov ebx, r12d
add rbx, rsi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbx + 0x1384], 0xffffffff
mov dword [rbx + 4], eax
mov ecx, 1
lea r8, [rbx + 8]
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [r8], edx
inc rcx
lea r8, [r8 + 4]
cmp rcx, 0x270
jb 0x1400049f0
mov dword [rbx], 0x270
mov eax, dword [r15 + rsi]
mov ecx, Ordinal_26
test al, 2
jne 0x140004a39
or eax, 2
mov dword [r15 + rsi], eax
mov qword [rsi + rcx], rbp
mov qword [rsi + rcx + 8], reloc.WS2_32.dll_ntohs
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov dword [rsp + 0x20], 1
lea r15, [rsi + rcx]
mov ebx, r12d
add rbx, rsi
lea r12, [0x140091508]
nop word [rax + rax]
dec r14
mov qword [rsp + 0x28], rbx
mov rbp, qword [r15]
mov rdx, qword [r15 + 8]
sub rdx, rbp
cmp rdx, 0xffffffffffffffff
jne 0x140004aa5
mov rcx, rbx
call fcn.140011620
mov esi, eax
shl rsi, 0x20
mov rcx, rbx
call fcn.140011620
mov eax, eax
or rsi, rax
jmp 0x140004ab5
inc rdx
lea rcx, [rsp + 0x28]
call fcn.140011430
mov rsi, rax
lea rax, [rsi + rbp]
movzx r9d, byte [rax + r12]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x140004aea
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x140004adf
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140004afa
xor r8d, r8d
mov edx, 1
mov rcx, rdi
call fcn.1400044e0
test r14, r14
jne 0x140004a70
mov rax, rdi
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140011620
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 0x140011681
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 0x140011640
mov ecx, dword [r9]
jmp 0x14001176b
cmp ecx, 0x4e0
jb 0x14001176b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
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 [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1400116a0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
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 [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1400116f0
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