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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x00065100]
xor rax, rsp
mov qword [rsp + 0x48], rax
and qword [rsp + 0x30], 0
xor eax, eax
mov rbp, r9
mov qword [rcx + 0x178], rax
mov qword [rcx + 0x180], rax
mov qword [rcx + 0x188], rax
mov qword [rcx + 0x190], rax
and qword [rcx + 0x158], rax
and qword [rcx + 0x160], rax
mov r13, r8
mov rsi, rcx
mov r12d, 0xd
mov dword [rcx + 0x198], edx
cmp r9, 0xc
jne 0x4aa2b
mov rax, qword [r8]
mov qword [rcx + 0x178], rax
mov eax, dword [r8 + 8]
mov dword [rcx + 0x180], eax
mov byte [rcx + 0x187], 1
jmp 0x4aad9
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rax
mov rcx, r9
shl rcx, 3
mov rax, rcx
shr rax, 0x18
mov byte [rsp + 0x44], al
mov rax, rcx
shr rcx, 8
shr rax, 0x10
mov byte [rsp + 0x46], cl
mov byte [rsp + 0x45], al
mov al, r9b
shl al, 3
mov byte [rsp + 0x47], al
test r9, r9
je 0x4aaad
mov edi, 0x10
cmp rbp, rdi
cmovb rdi, rbp
xor ecx, ecx
test rdi, rdi
je 0x4aa8f
mov al, byte [rcx + r13]
inc rcx
xor byte [rsi + rcx + 0x177], al
cmp rcx, rdi
jb 0x4aa7c
lea r8, [rsi + 0x178]
lea rdx, [rsi + 0x178]
mov rcx, rsi
call fcn.0004a7e8
add r13, rdi
sub rbp, rdi
jne 0x4aa69
xor ecx, ecx
mov al, byte [rsp + rcx + 0x38]
inc rcx
xor byte [rsi + rcx + 0x177], al
cmp rcx, 0x10
jb 0x4aaaf
lea r8, [rsi + 0x178]
lea rdx, [rsi + 0x178]
mov rcx, rsi
call fcn.0004a7e8
lea rax, [rsp + 0x30]
lea r9, [rsi + 0x168]
lea rdx, [rsi + 0x178]
mov r8d, 0x10
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.000315dc
test eax, eax
jne 0x4ab57
mov rdi, qword [rsp + 0xb0]
mov qword [rsi + 0x160], r12
mov ebx, 0x10
cmp r12, rbx
cmovb rbx, r12
xor ecx, ecx
test rbx, rbx
je 0x4ab37
mov al, byte [rcx + rdi]
inc rcx
xor byte [rsi + rcx + 0x187], al
cmp rcx, rbx
jb 0x4ab25
lea r8, [rsi + 0x188]
lea rdx, [rsi + 0x188]
mov rcx, rsi
call fcn.0004a7e8
add rdi, rbx
sub r12, rbx
jne 0x4ab12
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.00055060
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x4acd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x00065100]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [rcx + 0x168]
mov r8, qword [rcx + 0x160]
mov rsi, rdx
mov rdx, qword [rcx + 0x158]
mov qword [rsi], rax
mov rax, qword [rcx + 0x170]
shl rdx, 3
xor ebx, ebx
shl r8, 3
mov qword [rsi + 8], rax
cmp rdx, rbx
jne 0x4ad2c
cmp r8, rbx
je 0x4ae0f
xor eax, eax
lea rdi, [rcx + 0x188]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov rax, r8
shr rax, 0x38
mov byte [rsp + 0x2f], dl
mov byte [rsp + 0x27], r8b
mov byte [rsp + 0x20], al
mov rax, r8
shr rax, 0x30
mov byte [rsp + 0x21], al
mov rax, r8
shr rax, 0x28
mov byte [rsp + 0x22], al
mov rax, r8
shr rax, 0x20
mov byte [rsp + 0x23], al
mov rax, r8
shr rax, 0x18
mov byte [rsp + 0x24], al
mov rax, r8
shr rax, 0x10
mov byte [rsp + 0x25], al
mov rax, r8
shr rax, 8
mov byte [rsp + 0x26], al
mov rax, rdx
shr rax, 0x38
mov byte [rsp + 0x28], al
mov rax, rdx
shr rax, 0x30
mov byte [rsp + 0x29], al
mov rax, rdx
shr rax, 0x28
mov byte [rsp + 0x2a], al
mov rax, rdx
shr rax, 0x20
mov byte [rsp + 0x2b], al
mov rax, rdx
shr rax, 0x18
mov byte [rsp + 0x2c], al
mov rax, rdx
shr rax, 0x10
mov byte [rsp + 0x2d], al
mov rax, rdx
mov rdx, rbx
shr rax, 8
mov byte [rsp + 0x2e], al
mov al, byte [rsp + rdx + 0x20]
xor byte [rdi + rdx], al
inc rdx
cmp rdx, 0x10
jb 0x4ade5
mov r8, rdi
mov rdx, rdi
call fcn.0004a7e8
mov al, byte [rdi + rbx]
xor byte [rsi + rbx], al
inc rbx
cmp rbx, 0x10
jb 0x4ae00
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.00055060
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x4c198
Capabilities:
Encrypt data using openssl rsa

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x40
xor eax, eax
mov rbp, r8
lea r8, [r11 - 0x28]
mov qword [r9], rax
mov qword [r9 + 8], rax
mov qword [r9 + 0x10], rax
mov rdi, r9
call fcn.0004c7a8
test eax, eax
je 0x4c1d3
add eax, 0xffffd580
jmp 0x4c218
cmp qword [0x00059b80], 0
lea rbx, [0x00059b80]
mov rcx, rbx
je 0x4c213
mov rsi, qword [rsp + 0x28]
cmp qword [rcx + 8], rsi
jne 0x4c206
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rcx]
mov r8, rsi
call fcn.000555c0
test eax, eax
je 0x4c22d
add rbx, 0x28
mov rcx, rbx
cmp qword [rbx], 0
jne 0x4c1ec
mov eax, 0xffffd380
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
test rbx, rbx
je 0x4c213
mov eax, dword [rbx + 0x20]
mov dword [rbp], eax
cmp eax, 1
jne 0x4c255
cmp dword [rdi], 5
je 0x4c247
cmp dword [rdi], 0
jne 0x4c24e
cmp qword [rdi + 8], 0
je 0x4c255
mov eax, 0xffffd580
jmp 0x4c218
xor eax, eax
jmp 0x4c218
Function at 0x4c40c
Capabilities:
Encrypt data using openssl rsa

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
lea rbx, [0x00059920]
mov rcx, rbx
test rdi, rdi
je 0x4c461
cmp qword [0x00059920], 0
je 0x4c461
mov rsi, qword [rdi + 8]
cmp qword [rcx + 8], rsi
jne 0x4c454
mov rdx, qword [rdi + 0x10]
mov rcx, qword [rcx]
mov r8, rsi
call fcn.000555c0
test eax, eax
je 0x4c473
add rbx, 0x28
mov rcx, rbx
cmp qword [rbx], 0
jne 0x4c43b
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, rbx
jmp 0x4c463
Function at 0x52ee8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x00065100]
xor rax, rsp
mov qword [rsp + 0x20], rax
mov r13, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x88]
mov r14, r9
mov r15, rcx
test r8b, 7
je 0x52f34
mov eax, 0xffffffce
jmp 0x52fe8
cmp edx, 1
jne 0x52f99
test r8, r8
je 0x52fe6
lea rbp, [r8 - 1]
mov rbx, rdi
sub r13, r9
shr rbp, 3
sub rbx, r9
inc rbp
mov rcx, r14
mov edx, 8
mov al, byte [r13 + rcx]
xor al, byte [rcx]
mov byte [rbx + rcx], al
inc rcx
sub rdx, 1
jne 0x52f5e
mov r8, rdi
mov rdx, rdi
mov rcx, r15
call fcn.00052c0c
mov r11, qword [rdi]
add r13, 8
add rdi, 8
add rbx, 8
sub rbp, 1
mov qword [r14], r11
jne 0x52f56
jmp 0x52fe6
test r8, r8
je 0x52fe6
lea rbp, [r8 - 1]
mov r12, r9
shr rbp, 3
sub r12, rdi
inc rbp
mov rbx, qword [r13]
mov r8, rdi
mov rdx, r13
mov rcx, r15
call fcn.00052c0c
mov ecx, 8
mov al, byte [r12 + rdi]
xor byte [rdi], al
inc rdi
sub rcx, 1
jne 0x52fc6
add r13, 8
sub r12, 8
sub rbp, 1
mov qword [r14], rbx
jne 0x52faf
xor eax, eax
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.00055060
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x53578
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x00065100]
xor rax, rsp
mov qword [rsp + 0x20], rax
mov r13, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x88]
mov r14, r9
mov r15, rcx
test r8b, 7
je 0x535c4
mov eax, 0xffffffce
jmp 0x53678
cmp edx, 1
jne 0x53629
test r8, r8
je 0x53676
lea rbp, [r8 - 1]
mov rbx, rdi
sub r13, r9
shr rbp, 3
sub rbx, r9
inc rbp
mov rcx, r14
mov edx, 8
mov al, byte [r13 + rcx]
xor al, byte [rcx]
mov byte [rbx + rcx], al
inc rcx
sub rdx, 1
jne 0x535ee
mov r8, rdi
mov rdx, rdi
mov rcx, r15
call fcn.00053014
mov r11, qword [rdi]
add r13, 8
add rdi, 8
add rbx, 8
sub rbp, 1
mov qword [r14], r11
jne 0x535e6
jmp 0x53676
test r8, r8
je 0x53676
lea rbp, [r8 - 1]
mov r12, r9
shr rbp, 3
sub r12, rdi
inc rbp
mov rbx, qword [r13]
mov r8, rdi
mov rdx, r13
mov rcx, r15
call fcn.00053014
mov ecx, 8
mov al, byte [r12 + rdi]
xor byte [rdi], al
inc rdi
sub rcx, 1
jne 0x53656
add r13, 8
sub r12, 8
sub rbp, 1
mov qword [r14], rbx
jne 0x5363f
xor eax, eax
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.00055060
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x54188
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
mov r12d, dword [r8]
mov rbx, rdx
mov edx, dword [rdx]
mov r11, r8
mov r10, rcx
mov rsi, rcx
mov ebp, 0x10
mov r13d, 0xff
xor edx, dword [rsi]
add rsi, 4
mov ecx, edx
movzx r9d, dx
mov edi, edx
shr ecx, 8
and r9w, r13w
movzx r8d, cx
shr ecx, 8
mov eax, ecx
and r8w, r13w
shr eax, 8
movzx edx, al
movzx eax, cx
mov edx, dword [r10 + rdx*4 + 0x48]
movzx ecx, al
movzx eax, r8w
add edx, dword [r10 + rcx*4 + 0x448]
xor edx, dword [r10 + rax*4 + 0x848]
movzx eax, r9w
add edx, dword [r10 + rax*4 + 0xc48]
xor edx, r12d
sub rbp, 1
mov r12d, edi
jne 0x541bb
mov eax, dword [r10 + 0x44]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
xor eax, edi
mov rdi, qword [rsp + 0x30]
mov dword [rbx], eax
mov eax, dword [r10 + 0x40]
mov rbx, qword [rsp + 0x18]
xor eax, edx
mov dword [r11], eax
pop r13
pop r12
ret

Function at 0x5424c
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
mov r12d, dword [r8]
mov rbx, rdx
mov edx, dword [rdx]
mov r11, r8
mov r10, rcx
lea rsi, [rcx + 0x44]
mov ebp, 0x10
mov r13d, 0xff
xor edx, dword [rsi]
sub rsi, 4
mov ecx, edx
movzx r9d, dx
mov edi, edx
shr ecx, 8
and r9w, r13w
movzx r8d, cx
shr ecx, 8
mov eax, ecx
and r8w, r13w
shr eax, 8
movzx edx, al
movzx eax, cx
mov edx, dword [r10 + rdx*4 + 0x48]
movzx ecx, al
movzx eax, r8w
add edx, dword [r10 + rcx*4 + 0x448]
xor edx, dword [r10 + rax*4 + 0x848]
movzx eax, r9w
add edx, dword [r10 + rax*4 + 0xc48]
xor edx, r12d
sub rbp, 1
mov r12d, edi
jne 0x54280
mov eax, dword [r10]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
xor eax, edi
mov rdi, qword [rsp + 0x30]
mov dword [rbx], eax
mov eax, dword [r10 + 4]
mov rbx, qword [rsp + 0x18]
xor eax, edx
mov dword [r11], eax
pop r13
pop r12
ret
Function at 0x544f4
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r13
mov rsi, rcx
xor r11d, r11d
xor r10d, r10d
xor ecx, ecx
mov rbx, r8
mov rdi, rdx
test r9, r9
je 0x5463a
lea r13, [0x000573c0]
mov rax, r9
sub rax, r10
cmp rax, 2
jb 0x54543
cmp byte [r10 + r8], 0xd
jne 0x54543
cmp byte [r10 + r8 + 1], 0xa
je 0x54582
mov al, byte [r10 + r8]
cmp al, 0xa
je 0x54582
cmp al, 0x3d
jne 0x5455a
inc ecx
cmp ecx, 2
ja 0x54651
cmp al, 0x7f
ja 0x54651
movzx eax, al
cmp byte [rax + r13], 0x7f
je 0x54651
cmp byte [rax + r13], 0x40
jae 0x5457f
test ecx, ecx
jne 0x54651
inc r11
inc r10
cmp r10, r9
jb 0x54528
test r11, r11
je 0x5463a
lea rax, [r11 + r11*2]
lea rax, [rax + rax + 7]
shr rax, 3
test rsi, rsi
je 0x54658
cmp qword [rdx], rax
jb 0x54658
xor r9d, r9d
xor r11d, r11d
mov r8d, 3
mov rdx, rsi
test r10, r10
je 0x54634
cmp byte [rbx], 0xd
je 0x5462b
cmp byte [rbx], 0xa
je 0x5462b
movzx eax, byte [rbx]
movzx ecx, byte [rax + r13]
xor eax, eax
cmp cl, 0x40
sete al
and ecx, 0x3f
inc r11
sub r8d, eax
mov eax, r9d
mov r9d, ecx
shl eax, 6
or r9d, eax
cmp r11, 4
jne 0x5462b
xor r11d, r11d
test r8d, r8d
je 0x5460e
mov eax, r9d
shr eax, 0x10
mov byte [rdx], al
inc rdx
cmp r8d, 1
jbe 0x5461f
mov eax, r9d
shr eax, 8
mov byte [rdx], al
inc rdx
cmp r8d, 2
jbe 0x5462b
mov byte [rdx], r9b
inc rdx
inc rbx
sub r10, 1
jne 0x545c6
sub rdx, rsi
mov qword [rdi], rdx
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov r13, qword [rsp + 0x20]
ret
mov eax, 0xffffffd4
jmp 0x5463c
mov qword [rdx], rax
mov eax, 0xffffffd6
jmp 0x5463c
Function at 0x2897e7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
sar bh, cl
mov r11b, 0x22
mov qword [rsp + 0x10], rdi
sub edi, edi
movsx r11d, bx
movzx ebx, r8b
bswap r9w
movzx r10, si
movsxd r8, r10d
mov r11, rcx
sete r10b
cmove r8w, r14w
xchg r8b, r10b
mov r8, rdi
nop
jmp 0x289826
movzx r9d, byte [r11]
movsxd r10, esp
dec r10b
setne r10b
movzx r10d, byte [rdx]
inc r11
jmp 0x289840
inc rdx
jmp 0x28984c
test bl, bl
je 0x28986c
mov ecx, r8d
mov eax, 0x162a5c53
cmc
rol eax, cl
cmc
add al, r8b
clc
cmc
xor r9b, al
inc r8
clc
test r9b, r9b
jmp 0x289874
je 0x289888
cmp r9b, r10b
jmp 0x289882
je 0x289826
cmp r9b, r10b
jmp 0x289890
jae 0x2898b5
or eax, 0xffffffff
setp bl
mov ebx, r12d
not bx
mov rbx, qword [rsp + 8]
mov dil, r14b
movsx di, dil
mov rdi, qword [rsp + 0x10]
ret
mov rbx, qword [rsp + 8]
seta dil
jmp 0x2898c3
mov eax, edi
mov rdi, qword [rsp + 0x10]
jmp 0x2898cf
ret
Function at 0x160001858
Capabilities:
Manipulate console buffer

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1600ef078]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor eax, eax
mov ebx, ecx
xorps xmm0, xmm0
mov dword [rsp + 0x30], eax
mov ecx, 0xfffffff5
mov word [rsp + 0x34], ax
movups xmmword [rsp + 0x20], xmm0
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov ecx, 0xfffffff5
mov word [rsp + 0x24], bx
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, dword [rsp + 0x24]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.160056220
add rsp, 0x40
pop rbx
ret

Function at 0x1600023a8
Capabilities:
Create thread
Hide graphical window
Set console window title

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1600ef078]
xor rax, rsp
mov qword [rbp - 0x10], rax
and dword [rbp - 0x50], 0
call qword [sym.imp.KERNEL32.dll_AllocConsole]
and qword [rbp - 0x48], 0
mov ecx, 1
call fcn.160062ac8
mov r9, rax
lea r8, [0x1600b1b14]
lea rdx, [0x1600b1b18]
lea rcx, [rbp - 0x48]
call fcn.160062990
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
lea rcx, str.TPP_Mod
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [0x16010cef8], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x18], 0xf
mov eax, dword [str.Console]
mov dword [rbp - 0x30], eax
movzx eax, word [0x1600b1b2c]
mov word [rbp - 0x2c], ax
mov al, byte [0x1600b1b2e]
mov byte [rbp - 0x2a], al
mov ecx, 1
call fcn.1600565f4
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x50], 2
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x28], rcx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x160002b1c]
xor edx, edx
xor ecx, ecx
call fcn.160062dc0
mov qword [rbp - 0x40], rax
test rax, rax
je 0x160002528
mov dword [rbp - 0x50], 3
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.160024fac
cmp dword [0x16010cef0], 0
jne 0x160002537
xorps xmm0, xmm0
movaps xmm1, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
movdqu xmmword [0x16010cee8], xmm1
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x16000250d
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x160002508
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x160002522
call fcn.160056240
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.160056220
add rsp, 0x80
pop rbp
ret
call fcn.16005d234
nop
and dword [rbp - 0x38], 0
mov ecx, 6
call fcn.160054674
nop
call fcn.16005d2ac
int3
Function at 0x160018764
Capabilities:
Create thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1600ef078]
xor rax, rsp
mov qword [rbp - 8], rax
and dword [rbp - 0x50], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov eax, 0xf
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
movsd xmm0, qword [str.Async_Scheduler]
movsd qword [rbp - 0x28], xmm0
mov eax, dword [0x1600daaa8]
mov dword [rbp - 0x20], eax
movzx eax, word [0x1600daaac]
mov word [rbp - 0x1c], ax
mov al, byte [0x1600daaae]
mov byte [rbp - 0x1a], al
mov ecx, 1
call fcn.1600565f4
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x50], 2
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x28], rcx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x160019778]
xor edx, edx
xor ecx, ecx
call fcn.160062dc0
mov qword [rbp - 0x40], rax
test rax, rax
je 0x160018885
mov dword [rbp - 0x50], 3
lea rdx, [rbp - 0x28]
mov rcx, rax
call fcn.160024fac
cmp dword [0x16010d140], 0
jne 0x160018894
xorps xmm0, xmm0
movaps xmm1, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
movdqu xmmword [0x16010d138], xmm1
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x16001886a
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x160018865
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x16001887f
call fcn.160056240
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.160056220
add rsp, 0x80
pop rbp
ret
call fcn.16005d234
nop
and dword [rbp - 0x38], 0
mov ecx, 6
call fcn.160054674
nop
call fcn.16005d2ac
int3
Function at 0x16001a74c
Capabilities:
Get common file path

Disassembly:
push rbp
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1600ef078]
xor rax, rsp
mov qword [rbp + 0x80], rax
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x70]
call fcn.160058fa0
mov edx, 0x104
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x1600e26a0]
movdqu xmmword [rsp + 0x58], xmm1
movsd xmm0, qword [str._dinput8.dll]
movsd qword [rsp + 0x48], xmm0
mov eax, dword [0x1600dac08]
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x70]
or r9, 0xffffffffffffffff
inc r9
cmp byte [rax + r9], 0
jne 0x16001a7c7
lea r8, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.160005440
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x38], xmm1
and qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x160142ef0], rax
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x16001a869
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x16001a864
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x16001a8da
call fcn.160056240
movdqa xmm0, xmmword [0x1600e2670]
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x28], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x16001a8b5
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x16001a8b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x16001a8d4
call fcn.160056240
lea rax, [0x160142ef0]
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.160056220
add rsp, 0x190
pop rbp
ret
call fcn.16005d234
nop
call fcn.16005d234
nop
Function at 0x16001ed88
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
inc dword [0x160104c78]
mov r9d, 0x138
mov edx, dword [0x160104c80]
xorps xmm0, xmm0
cmp edx, r9d
jne 0x16001edf4
lea r8, [0x160104c90]
mov edx, dword [r8 - 8]
xor edx, dword [r8]
lea r8, [r8 + 8]
btr edx, 0x1f
xor rdx, qword [r8 - 0x10]
mov al, dl
and al, 1
neg al
movabs rax, 0xb5026f5aa96619e9
sbb rcx, rcx
shr rdx, 1
and rcx, rax
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x16001edaf
jmp 0x16001ee08
cmp edx, 0x270
jb 0x16001ee0e
lea rcx, [0x160104c80]
call fcn.160020380
mov edx, dword [0x160104c80]
mov eax, edx
lea rcx, [0x160104c88]
inc edx
xorps xmm2, xmm2
mov rcx, qword [rcx + rax*8]
mov rax, rcx
mov dword [0x160104c80], edx
shr rax, 0x1d
movabs rdx, 0x38eb3ffff6d3
and rax, qword [0x160106008]
xor rcx, rax
mov rax, rcx
and rax, rdx
shl rax, 0x11
xor rcx, rax
mov rax, rcx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rcx, rax
mov rdx, rcx
shr rdx, 0x2b
xor rdx, rcx
js 0x16001ee71
cvtsi2sd xmm2, rdx
jmp 0x16001ee86
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2sd xmm2, rax
addsd xmm2, xmm2
mov rbx, qword [0x160104c70]
subsd xmm2, xmm0
addsd xmm2, xmm0
movsd xmm0, qword [0x160106018]
subsd xmm0, qword [0x160106010]
mulsd xmm2, qword [0x1600e2610]
mulsd xmm2, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rbx
addsd xmm2, qword [0x160106010]
mulsd xmm0, qword [0x1600e2650]
mulsd xmm2, xmm0
cvttsd2si rax, xmm2
sub rbx, rax
cmp qword [0x160104c68], rbx
cmovl rbx, qword [0x160104c68]
mov qword [0x160104c70], rbx
call fcn.1600556f0
imul rcx, rbx, 0x2710
add rcx, rax
mov qword [0x16010e340], rcx
add rsp, 0x20
pop rbx
ret
Function at 0x16001f780
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov rax, qword [0x1600ef078]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rdx
mov ecx, 0xb0
lea rdx, [0x1600a4b90]
call fcn.160057228
mov rbx, rax
test rax, rax
je 0x16001f99a
lea rcx, [rax + 1]
xor edx, edx
mov r8d, 0xaf
call fcn.160058fa0
mov esi, 1
lea rcx, [rbx + 8]
mov byte [rbx], sil
lea edx, [rsi + 1]
call fcn.160054278
lea rcx, [rbx + 0x58]
call fcn.1600557f0
xorps xmm0, xmm0
mov qword [0x16013e658], rbx
movups xmmword [rbx + 0xa0], xmm0
lea rax, [rbp + 7]
mov dword [rsp + 0x28], 0x20
lea rbx, str.1104156817845665792
mov qword [rsp + 0x20], rax
mov r8, rbx
or r9d, 0xffffffff
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea rcx, [rbp + 7]
call fcn.160024184
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [0x16010d290]
mov dword [0x16013e778], eax
call fcn.1600542b4
test eax, eax
jne 0x16001f9d6
test rdi, rdi
je 0x16001f87f
movups xmm0, xmmword [rdi]
movups xmmword [0x16013e980], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [0x16013e990], xmm1
movups xmm0, xmmword [rdi + 0x20]
jmp 0x16001f89c
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm0
movups xmmword [0x16013e980], xmm0
movups xmmword [0x16013e990], xmm0
movups xmmword [0x16013e9a0], xmm0
lea rcx, [0x16010d290]
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [0x16013ebb0], xmm0
movups xmmword [0x16013ebc0], xmm0
movups xmmword [0x16013ebd0], xmm0
call fcn.1600542d8
cmp qword [0x160142be8], 0
jne 0x16001f9a2
lea rax, [0x160106028]
mov rdx, rsi
mov qword [0x16012e3b0], rax
lea rcx, [0x16012e3d0]
sub rdx, rbx
lea rax, [rdx + rbx]
cmp rax, 0x40
jae 0x16001f915
mov al, byte [rbx]
add rbx, rsi
mov byte [rcx], al
add rcx, rsi
cmp byte [rbx], 0
jne 0x16001f8fc
mov rbx, qword [0x16013e658]
lea rax, [0x16012e3b0]
mov byte [rcx], 0
mov ecx, 8
mov qword [0x160142be8], rax
lea rax, [0x16001fd0c]
mov qword [0x16012e3c0], rax
lea rax, [0x16001fd14]
mov qword [0x16012e3c8], rax
xchg byte [rbx], sil
call fcn.1600565f4
lea rcx, [rbp - 0x61]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x160020268]
and dword [rsp + 0x20], 0
xor ecx, ecx
xor edx, edx
mov qword [rax], rbx
call fcn.160062dc0
mov qword [rbp - 0x69], rax
test rax, rax
je 0x16001f9c7
cmp dword [rbx + 0xa8], 0
jne 0x16001f9de
movaps xmm1, xmmword [rbp - 0x69]
movdqu xmmword [rbx + 0xa0], xmm1
jmp 0x16001f9a2
and qword [0x16013e658], 0
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.160056220
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
and dword [rbp - 0x61], 0
mov ecx, 6
call fcn.160054674
int3
mov ecx, eax
call fcn.160054638
int3
call fcn.16005d2ac
int3