joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140080f70
Capabilities:
Parse pe header

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

Function at 0x14008f498
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14008f32b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14008f32b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14008f32b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14008f32b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14008f32b
cmp dword [rcx + 0x84], 0xe
jbe 0x14008f32b
cmp dword [rcx + 0xf8], 0
je 0x14008f32b
mov ecx, ebx
call fcn.14008f3cc
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14008f1bc
cmp dword [rbp + 0x20], 0
je 0x14008f378
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14008f380
int3
xor r8d, r8d
xor edx, edx
jmp 0x14008f2c4
Function at 0x1400a03e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400a0408
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400a0408
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140027970
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r8, qword [0x140061e00]
mov eax, 0xffffffff
test edx, edx
je 0x140027a34
mov r9d, edx
nop word [rax + rax]
movzx ecx, byte [r8]
lea r8, [r8 + 1]
xor eax, ecx
mov ecx, eax
and cl, 1
neg cl
sbb edx, edx
shr eax, 1
and edx, 0xedb88320
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
neg al
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
neg al
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
neg al
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
neg al
sbb eax, eax
shr edx, 1
and eax, 0xedb88320
xor eax, edx
sub r9, 1
jne 0x140027990
not eax
ret
Function at 0x14002e154
Capabilities:
Parse pe header

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

Function at 0x140031b58
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400319c3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400319c3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400319c3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400319c3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400319c3
cmp dword [rcx + 0x84], 0xe
jbe 0x1400319c3
cmp dword [rcx + 0xf8], 0
je 0x1400319c3
mov ecx, ebx
call fcn.140031a74
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140031850
nop
cmp dword [rbp + 0x20], 0
je 0x140031a11
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140031a1c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140031954
Function at 0x140042470
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400424f7
mov rsi, rbx
cmp word [rax], bp
je 0x1400424b6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400424a0
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14004249c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14003fcf8
mov rdi, rax
test rax, rax
je 0x1400424e4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14002f8e0
mov rbp, rdi
xor ecx, ecx
call fcn.14003e0c8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14004606c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140046082
mov al, 1
jmp 0x1400460e2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140046093
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400460e0
mov ecx, dword [rcx + 0x18]
nop
call fcn.140042c14
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400460e0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400460e0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400460e0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400460e2
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1400488a0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400488c8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400488c8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140002af0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140002b4d
lea rbx, [0x140037950]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002b34
cmp r10, 2
jb 0x140002b34
cmp byte [r9], r8b
jne 0x140002b34
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140002b10
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140002b8f
lea rbx, [0x140037950]
cmp r8b, 0x23
jne 0x140002b73
cmp byte [r9], r8b
jne 0x140002b73
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140002b60
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140002cd0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140002cea
mov qword [r8], 0
lea rdx, [0x1400374b0]
call fcn.140002ba0
mov rbx, rax
test rax, rax
jne 0x140002d0a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140002de1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002de1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140002de1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002de1
cmp rdi, 0xffffffffffffffff
je 0x140002de1
mov rax, qword [0x14005b9b8]
test rax, rax
je 0x140002d7e
inc dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140002de1
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140002dce
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14005b9b8]
test rax, rax
je 0x140002dc3
dec dword [rax + 0xf0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002dea
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140002ddc
mov qword [r14], rdi
mov rax, rsi
jmp 0x140002dec
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140005dd0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x140037950]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x3f20], ebx
jne 0x140005e66
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.140018290
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140009260
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x1400092b0
lea r11, [0x140037950]
nop dword [rax]
cmp r9b, 0x23
jne 0x140009293
cmp byte [r8], r9b
jne 0x140009293
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140009280
mov rcx, qword [0x14005b9b8]
not eax
movsxd rdx, dword [rcx + 0x3eb8]
mov r9, qword [rcx + 0x3ec0]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x140009311
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x140009309
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x14000930c
mov rdx, r8
test rdx, rdx
jne 0x1400092e0
cmp r9, r10
je 0x140009320
cmp dword [r9], eax
jne 0x140009320
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x140016b10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5cb0], 0
lea rbx, [rcx + 0x5cb8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140016bb7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140016b6a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1400193b0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003080
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5cb0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cc0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14005b9b0]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140016bbf
mov rcx, rbx
call fcn.140003080
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140017040
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14005b9b8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1400170a3
mov qword [rsp], rbx
lea rbx, [0x140037950]
nop dword [rax]
cmp r9b, 0x23
jne 0x140017083
cmp byte [r8], r9b
jne 0x140017083
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140017070
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c20]
not eax
mov r8, qword [r10 + 0x5c28]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x1400170cf
cmp dword [r8 + 8], eax
je 0x1400170d6
add r8, 0x48
cmp r8, rcx
jne 0x1400170c0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x140030860
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 0x1400308c1
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 0x140030880
mov ecx, dword [r9]
jmp 0x1400309a8
cmp ecx, 0x4e0
jb 0x1400309a8
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 0x1400308e0
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 0x140030930
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
Function at 0x140031680
Capabilities:
Check mutex on windows
Encode data using xor

Disassembly:
sub rsp, 0xb8
lea r8, str.main_click_mutex
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140031915
mov ecx, dword [0x140053bc8]
mov edx, 0x45
movsd xmm0, qword [0x140053bc0]
movups xmm1, xmmword [0x140053b90]
movzx eax, word [0x140053bcc]
movsd qword [rsp + 0x20], xmm0
xor ax, 0x36
movups xmm0, xmmword [0x140053b80]
xor word [rsp + 0x22], 0x31
xor word [rsp + 0x24], 0x32
xor word [rsp + 0x26], 0x33
mov dword [rsp + 0x28], ecx
xor cx, 0x34
xor word [rsp + 0x2a], 0x35
mov word [rsp + 0x28], cx
xor ecx, ecx
cmp dword [0x14005b238], 2
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [0x140053ba0]
movups xmmword [rsp + 0x40], xmm1
movups xmm1, xmmword [0x140053bb0]
movups xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x20], dx
mov word [rsp + 0x2c], ax
movups xmmword [rsp + 0x60], xmm1
jl 0x1400318b0
movdqa xmm5, xmmword [0x140054270]
lea rdx, [rsp + 0x30]
movdqa xmm4, xmmword [0x140054380]
mov eax, 5
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm7
movdqa xmm7, xmmword [0x1400542a0]
movaps xmmword [rsp + 0x80], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0x70], xmm9
movdqa xmm9, xmmword [0x1400542e0]
movd xmm8, eax
nop dword [rax]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 0x10]
paddd xmm2, xmm5
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rdx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x20
jl 0x1400317a0
movaps xmm9, xmmword [rsp + 0x70]
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0xa0]
jmp 0x1400318f3
lea r8, [rsp + 0x30]
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 2]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x3a
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x30
xor word [r8 - 2], ax
cmp ecx, 0x20
jl 0x1400318c0
mov r9d, 0x10
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
add rsp, 0xb8
ret
mov al, 1
add rsp, 0xb8
ret
Function at 0x140031920
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1300]
mov eax, 0x1400
call fcn.1400350f0
sub rsp, rax
mov rax, qword [0x14005b230]
xor rax, rsp
mov qword [rbp + 0x12f0], rax
movdqa xmm0, xmmword [0x140054330]
movdqu xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [0x140054340]
movdqu xmmword [rsp + 0x30], xmm1
movdqa xmm0, xmmword [0x140054350]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0x7a797877
mov dword [rsp + 0x54], 0x33323130
mov dword [rsp + 0x58], 0x37363534
mov word [rsp + 0x5c], 0x3938
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14005ba30], eax
jle 0x1400319e8
lea rcx, [0x14005ba30]
call fcn.1400343a0
cmp dword [0x14005ba30], 0xffffffff
jne 0x1400319e8
lea rcx, [0x140035950]
call fcn.140034650
lea rcx, [0x14005ba30]
call fcn.140034334
lea rdi, [0x14005b290]
mov rax, rdi
cmp qword [0x14005b2a8], 8
cmovae rax, qword [0x14005b290]
xor esi, esi
mov qword [0x14005b2a0], rsi
mov word [rax], si
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov dword [rbp + 0x12e4], 0xffffffff
mov dword [rsp + 0x64], eax
lea edx, [rsi + 1]
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul ecx, ecx, 0x6c078965
add ecx, edx
mov dword [rsp + rdx*4 + 0x64], ecx
mov eax, ecx
inc rdx
cmp rdx, 0x270
jb 0x140031a30
mov dword [rsp + 0x60], 0x270
mov ebx, 0x14
nop
lea rcx, [rsp + 0x60]
call fcn.140030860
mov ecx, eax
imul rax, rcx, 0x3e
cmp eax, 3
ja 0x140031a8a
lea rcx, [rsp + 0x60]
call fcn.140030860
mov ecx, eax
imul rax, rcx, 0x3e
cmp eax, 4
jb 0x140031a75
shr rax, 0x20
movsxd rcx, eax
movsx r9d, byte [rsp + rcx + 0x20]
mov rcx, qword [0x14005b2a0]
mov rdx, qword [0x14005b2a8]
cmp rcx, rdx
jae 0x140031ad0
lea rax, [rcx + 1]
mov qword [0x14005b2a0], rax
mov rax, rdi
cmp rdx, 8
cmovae rax, qword [0x14005b290]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], si
jmp 0x140031ad8
mov rcx, rdi
call fcn.1400312f0
sub rbx, 1
jne 0x140031a60
cmp qword [0x14005b2a8], 8
cmovae rdi, qword [0x14005b290]
mov rax, rdi
mov rcx, qword [rbp + 0x12f0]
xor rcx, rsp
call fcn.140034190
lea r11, [rsp + 0x1400]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140032040
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14005b230]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, r8
mov rsi, rdx
mov rbx, qword [0x14005b2d8]
cmp rbx, qword [0x14005b2e0]
je 0x1400320e0
mov ecx, 0x10
call fcn.140034668
mov rcx, qword [rdi]
mov qword [rax], rcx
mov qword [rax + 8], rsi
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140032d60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x1400320ce
mov rcx, qword [0x14005b2d8]
lea rax, [rcx + 0x10]
mov qword [0x14005b2d8], rax
jmp 0x1400320f1
mov dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov r9, rdi
mov r8, rsi
mov rdx, rbx
call fcn.140032790
mov rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140034190
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret