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

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 r14
push r15
sub rsp, 0x30
mov r12, r8
mov rsi, rdx
xor ecx, ecx
movabs r15, 0xcbf29ce484222325
movzx eax, byte [r8 + rcx]
xor r15, rax
movabs rdx, 0x100000001b3
imul r15, rdx
inc rcx
cmp rcx, 8
jb 0x18005d1f7
mov rax, qword [0x1801779a0]
and rax, r15
add rax, rax
mov rcx, qword [0x180177988]
mov rbx, qword [rcx + rax*8 + 8]
mov r14, qword [0x180177978]
cmp rbx, r14
jne 0x18005d243
mov rbx, r14
mov rbp, r14
jmp 0x18005d28a
mov rdx, qword [rcx + rax*8]
mov rax, qword [r8]
jmp 0x18005d255
cmp rbx, rdx
je 0x18005d284
mov rbx, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
jne 0x18005d24c
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
mov r14, rbx
mov rbp, rbx
movabs rax, 0x7ffffffffffffff
cmp qword [0x180177980], rax
je 0x18005d400
lea rax, [0x180177978]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x28], 0
mov ecx, 0x20
call fcn.1800a4bc4
mov rdi, rax
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [r12]
movdqu xmmword [rax + 0x10], xmm0
mov r8, qword [0x180177980]
lea rcx, [r8 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x18005d2e9
cvtsi2ss xmm0, rcx
jmp 0x18005d2fe
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x1801779a8]
xorps xmm1, xmm1
test rcx, rcx
js 0x18005d314
cvtsi2ss xmm1, rcx
jmp 0x18005d329
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x180177970]
jbe 0x18005d393
call fcn.18005d410
mov rcx, qword [0x1801779a0]
and rcx, r15
add rcx, rcx
mov rdx, qword [0x180177988]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [0x180177978]
cmp rax, rbx
je 0x18005d37f
mov r8, qword [rdx + rcx*8]
mov rcx, qword [rdi + 0x10]
jmp 0x18005d376
mov rbx, rax
cmp rax, r8
je 0x18005d3d6
mov rax, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
jne 0x18005d36a
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r14, qword [rsp + 0x20]
mov r8, qword [0x180177980]
mov rdx, qword [rbx + 8]
inc r8
mov qword [0x180177980], r8
mov qword [rdi], r14
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rax, qword [0x1801779a0]
and rax, r15
add rax, rax
mov rcx, qword [0x180177988]
mov r8, qword [rcx + rax*8]
cmp r8, qword [0x180177978]
jne 0x18005d3dd
mov qword [rcx + rax*8], rdi
jmp 0x18005d3ef
mov qword [rsp + 0x20], rax
jmp 0x18005d384
cmp r8, rbp
jne 0x18005d3e8
mov qword [rcx + rax*8], rdi
jmp 0x18005d3f4
cmp qword [rcx + rax*8 + 8], rdx
jne 0x18005d3f4
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x18005d262
lea rcx, str.unordered_map_set_too_long
call fcn.1800a1734
int3
Function at 0x18005d410
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x180177980]
xorps xmm0, xmm0
add rcx, 1
js 0x18005d431
cvtsi2ss xmm0, rcx
jmp 0x18005d446
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x180177970]
call fcn.1800ce4a4
movss xmm1, dword [0x18014f000]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x18005d478
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x18005d478
movabs rax, 0x8000000000000000
mov rcx, rax
mov rdx, qword [0x1801779a8]
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x18005d4ad
cmp rdx, 0x200
jae 0x18005d4aa
shl rdx, 3
cmp rdx, rcx
jae 0x18005d4ad
mov rdx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
ja 0x18005d626
mov rbx, qword [0x180177978]
lea rax, [rdx - 1]
or rax, 1
mov edi, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x180177988]
lea rdx, [rdi + rdi]
call fcn.180015ee4
mov rax, qword [0x180177978]
lea r9, [rdi - 1]
mov qword [0x1801779a0], r9
mov qword [0x1801779a8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18005d61b
mov rcx, qword [rcx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx edx, byte [rax + r8 + 0x10]
movabs r10, 0x100000001b3
xor r11, rdx
inc r8
imul r11, r10
cmp r8, 8
jb 0x18005d534
mov rdi, qword [0x180177988]
and r11, r9
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x18005d572
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x18005d5e1
mov r10, qword [rdi + r11*8 + 8]
mov rdx, qword [rax + 0x10]
cmp rdx, qword [r10 + 0x10]
jne 0x18005d5b6
mov r10, qword [r10]
cmp r10, rax
je 0x18005d56b
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 0x18005d56b
mov r10, qword [r10 + 8]
cmp rdx, qword [r10 + 0x10]
je 0x18005d5f5
cmp qword [rdi + r11*8], r10
jne 0x18005d5ac
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 [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
je 0x18005d61b
mov r9, qword [0x1801779a0]
jmp 0x18005d524
mov r10, qword [r10]
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 0x18005d5e1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1800a1734
int3
Function at 0x18005d634
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov al, byte [rcx]
mov rbx, rdx
mov r8, rcx
jmp 0x18005d67e
cmp al, 0x5c
jne 0x18005d64f
mov eax, 0x2f
jmp 0x18005d667
mov al, byte [r8]
sub al, 0x41
cmp al, 0x19
ja 0x18005d663
movsx eax, byte [r8]
add eax, 0x20
cdqe
jmp 0x18005d667
movsx rax, byte [r8]
xor rbx, rax
movabs r9, 0x100000001b3
imul rbx, r9
inc r8
mov al, byte [r8]
test al, al
jne 0x18005d644
movabs rax, 0x7fffffffffffffff
and rbx, rax
movabs rax, 0xcbf29ce484222325
cmp rdx, rax
jne 0x18005d6a9
mov rdx, rcx
mov rcx, rbx
call fcn.180039b58
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x18005d7b8
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x30
mov rbp, r8
mov rdi, rdx
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
and qword [rcx + 0x10], 0
and qword [rcx + 0x18], 0
or rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp byte [rdx + r8], 0
jne 0x18005d7f0
call fcn.180014074
nop
lea rcx, [rbx + 0x20]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
and qword [rcx + 0x10], 0
and qword [rcx + 0x18], 0
inc rsi
cmp byte [rsi + rbp], 0
jne 0x18005d814
mov r8, rsi
mov rdx, rbp
call fcn.180014074
movabs rcx, 0xcbf29ce484222325
jmp 0x18005d869
cmp al, 0x5c
jne 0x18005d83f
mov eax, 0x2f
jmp 0x18005d855
mov al, byte [rdi]
sub al, 0x41
cmp al, 0x19
ja 0x18005d851
movsx eax, byte [rdi]
add eax, 0x20
cdqe
jmp 0x18005d855
movsx rax, byte [rdi]
xor rcx, rax
movabs rdx, 0x100000001b3
imul rcx, rdx
inc rdi
mov al, byte [rdi]
test al, al
jne 0x18005d834
movabs rax, 0x7fffffffffffffff
and rcx, rax
mov qword [rbx + 0x40], rcx
and qword [rbx + 0x48], 0
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x18005dd7c
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x180168b6c]
mov rax, qword gs:[0x58]
mov edx, 0x10
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x180179af8], eax
jg 0x18005ddc5
cmp byte [0x180179afc], 0
jne 0x18005ddc0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
lea rcx, [0x180179af8]
call fcn.1800a47b0
cmp dword [0x180179af8], 0xffffffff
jne 0x18005dda3
call fcn.18005ddf4
mov byte [0x180179afc], al
lea rcx, [0x180179af8]
call fcn.1800a4744
jmp 0x18005dda3
Function at 0x18005fe28
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x180163140]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov ebx, 0x104
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.1800cecc0
mov edx, ebx
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x18014f0c0]
movdqu xmmword [rsp + 0x58], xmm1
movsd xmm0, qword [str._d3d11.dll]
movsd qword [rsp + 0x48], xmm0
movzx eax, word [0x1801489a0]
mov word [rsp + 0x50], ax
mov byte [rsp + 0x52], 0
lea rax, [rbp - 0x70]
or r9, 0xffffffffffffffff
inc r9
cmp byte [rax + r9], 0
jne 0x18005feaf
lea r8, [rbp - 0x70]
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.18002116c
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], 0xf
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
mov esi, 0x1000
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x18005ff53
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, rsi
jb 0x18005ff4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180060057
call fcn.1800a4700
movdqa xmm0, xmmword [0x18014f040]
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x28], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x18005ffa7
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, rsi
jb 0x18005ff9a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18006005d
call fcn.1800a4700
movdqa xmm0, xmmword [0x18014f040]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov r8d, 0x11
lea rdx, [0x1801489a8]
lea rcx, [rsp + 0x68]
call fcn.180014074
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rdx, qword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x18006002a
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, rsi
jb 0x180060025
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180060051
call fcn.1800a4700
mov rax, rbx
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1800a46e0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.1800aabb4
nop
call fcn.1800aabb4
nop
call fcn.1800aabb4
int3
Function at 0x1800641e8
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rbx, rdx
xor r14d, r14d
mov dword [rax - 0x38], r14d
mov qword [rdx], r14
mov qword [rdx + 8], r14
mov qword [rdx + 0x10], r14
lea r15d, [r14 + 1]
mov dword [rax - 0x38], r15d
mov rax, qword [rcx]
test rax, rax
je 0x180064236
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180064236
movsxd rdi, dword [rax + 0x3c]
add rdi, rax
jmp 0x180064239
mov rdi, r14
movzx eax, word [rdi + 0x14]
lea rsi, [rdi + 0x18]
add rsi, rax
mov qword [rsp + 0x60], rsi
movzx ebp, r14w
cmp r14w, word [rdi + 6]
jae 0x1800642a2
mov rax, rsi
test rax, rax
je 0x18006427f
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x180064270
mov qword [rdx], rsi
add qword [rbx + 8], 8
jmp 0x18006428c
lea r8, [rsp + 0x60]
mov rcx, rbx
call fcn.18004ed3c
jmp 0x18006428c
lea rcx, str.There_was_an_invalid_section_:O
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add bp, r15w
add rsi, 0x28
mov qword [rsp + 0x60], rsi
mov rax, rsi
cmp bp, word [rdi + 6]
jb 0x180064257
mov rax, rbx
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x1800647f4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov ebx, edx
mov rdi, rcx
lea rdx, [fcn.1800647f4]
lea rcx, [rax + 0x18]
call fcn.1800641b8
movzx edx, bx
mov r8d, 0xa
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
test rax, rax
jne 0x180064859
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
and qword [rdi + 0x10], 0
and qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
jmp 0x1800648a2
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbp, rax
test rax, rax
je 0x18006483c
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_LockResource]
xorps xmm0, xmm0
mov r8d, ebx
movups xmmword [rdi], xmm0
and qword [rdi + 0x10], 0
mov rdx, rax
and qword [rdi + 0x18], 0
mov rcx, rdi
call fcn.180014074
mov rbx, qword [rsp + 0x40]
mov rax, rdi
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1800654b8
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
and dword [rsp + 0x40], 0
lea r9, [rsp + 0x40]
mov r8d, 0x40
mov rbx, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8, rbx
mov edx, 0x90
mov rcx, rdi
call fcn.1800cecc0
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180065524
Capabilities:
Allocate or change rwx memory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x20
and dword [rax + 0x20], 0
lea r9, [rax + 0x20]
mov rsi, r8
mov rbx, rdx
mov rdx, rsi
mov r8d, 0x40
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.1800ce620
mov r8d, dword [rsp + 0x48]
lea r9, [rsp + 0x48]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1800655a0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
and dword [rax + 8], 0
mov rsi, r9
mov rdi, r8
lea r9, [rax + 8]
mov rbx, rdx
mov r8d, 0x40
mov rdx, rsi
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r10, rsi
mov rdx, rbp
test rsi, 0xfffffffffffffff8
je 0x180065614
mov rax, qword [rdi]
sub r10, 8
mov rcx, rax
add rdi, 8
and rax, qword [rbx]
not rcx
and rcx, qword [rdx]
add rbx, 8
or rcx, rax
mov qword [rdx], rcx
add rdx, 8
test r10, 0xfffffffffffffff8
jne 0x1800655e6
test r10, r10
je 0x180065637
sub rdi, rbx
mov al, byte [rbx + rdi]
mov cl, al
and al, byte [rbx]
not cl
inc rbx
and cl, byte [rdx]
or cl, al
mov byte [rdx], cl
inc rdx
sub r10, 1
jne 0x18006561c
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rsi
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x18006630c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x40
mov rsi, rdx
mov qword [rax + 8], rdx
mov rbp, qword [r8]
and qword [rdx], 0
and qword [rdx + 0x10], 0
mov r14d, 0x1000
mov qword [rdx + 8], r14
lea rbx, [rbp - 0x1000]
mov rdi, 0xffffffffffffeffb
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rcx, rax
test rax, rax
jne 0x180066382
sub rdi, r14
lea rbx, [rbp + 5]
add rbx, rdi
movsxd rax, edi
cmp rdi, rax
je 0x18006634e
jmp 0x18006639f
sub rbx, rbp
sub rbx, 5
movsxd rax, ebx
cmp rbx, rax
je 0x1800663a1
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor ecx, ecx
mov qword [rsi], rcx
test rcx, rcx
je 0x1800663bc
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
lea rdx, str.Failed_to_allocate
lea rcx, [rsp + 0x20]
call fcn.180014200
lea rdx, [0x180161188]
lea rcx, [rsp + 0x20]
call fcn.1800a6da0
int3
Function at 0x180066c90
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x180163140]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
xorps xmm0, xmm0
test eax, eax
je 0x180066d36
movups xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [0x18014f040]
movdqu xmmword [rsp + 0x40], xmm1
mov byte [rsp + 0x30], 0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
test rax, rax
je 0x180066d1d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x180066d1d
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180066cfd
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.180021a54
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbx + 0x10], xmm1
jmp 0x180066d4e
movups xmmword [rbx], xmm0
and qword [rbx + 0x10], 0
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800a46e0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret

Function at 0x18006751c
Capabilities:
Encode data using xor

Disassembly:
sub r8, rdx
mov rcx, rdx
mov rdx, r8
jmp fcn.18002293c
Function at 0x180068550
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
jmp 0x1800685bd
cmp ecx, 0x29
jne 0x1800685d2
cmp dword [rbx + 0x1c], 0
jne 0x1800685c7
test dword [rbx + 0x80], 0x10000000
je 0x18006870d
cmp ecx, 0x5d
jne 0x180068594
test dword [rbx + 0x80], 0x10000000
je 0x1800686d6
mov dl, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.180069694
mov dil, 1
mov rcx, rbx
call fcn.180068504
test dil, dil
je 0x1800685b8
mov rcx, rbx
call fcn.18006954c
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
je 0x1800685c7
cmp ecx, 0x7c
jne 0x180068564
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0x2e
jne 0x1800685ef
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.18006880c
mov rcx, rbx
call fcn.180068504
jmp 0x1800685b0
cmp ecx, 0x5c
jne 0x18006864d
mov rcx, rbx
call fcn.180068504
test byte [rbx + 0x80], 0x80
je 0x180068640
mov al, byte [rbx + 0x78]
cmp al, 0x62
jne 0x180068624
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.18006880c
mov rcx, rbx
call fcn.180068504
jmp 0x1800685b8
cmp al, 0x42
jne 0x180068640
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.18006880c
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x18006861a
mov rcx, rbx
call fcn.1800692cc
jmp 0x1800685b0
cmp ecx, 0x5b
jne 0x18006866d
mov rcx, rbx
call fcn.180068504
mov rcx, rbx
call fcn.18006917c
cmp dword [rbx + 0x7c], 0x5d
jne 0x1800686e1
jmp 0x1800685e5
cmp ecx, 0x28
jne 0x180068690
mov rcx, rbx
call fcn.180068504
mov rcx, rbx
call fcn.180069414
cmp dword [rbx + 0x7c], 0x29
mov dil, al
jne 0x1800686ec
jmp 0x1800685a3
cmp ecx, 0x5e
jne 0x18006869d
lea edx, [rcx - 0x5c]
jmp 0x180068611
cmp ecx, 0x24
jne 0x1800686aa
lea edx, [rcx - 0x21]
jmp 0x180068611
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x180068702
cmp ecx, 0x3f
je 0x180068702
cmp ecx, 0x7b
je 0x180068702
cmp ecx, 0x7d
jne 0x18006857f
test dword [rbx + 0x80], 0x10000000
je 0x1800686f7
jmp 0x180068594
mov edx, 4
call fcn.180067d34
int3
mov edx, 4
call fcn.180067d34
int3
mov edx, 5
call fcn.180067d34
int3
mov edx, 6
call fcn.180067d34
int3
mov edx, 0xa
call fcn.180067d34
int3
mov edx, 5
call fcn.180067d34
int3
Function at 0x18006d188
Capabilities:
Enumerate threads

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x180163140]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r13, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rbp - 0x49], rax
cmp rax, 0xffffffffffffffff
jne 0x18006d1ee
xorps xmm6, xmm6
movdqu xmmword [rbp - 0x29], xmm6
xor edi, edi
mov qword [rbp - 0x19], rdi
jmp 0x18006d2bb
xorps xmm0, xmm0
movdqu xmmword [rbp - 5], xmm0
and qword [rbp + 0xb], 0
mov r14d, 0x1c
mov dword [rbp - 9], r14d
lea rdx, [rbp - 9]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
jne 0x18006d232
xorps xmm6, xmm6
movdqu xmmword [rbp - 0x29], xmm6
xor edi, edi
mov qword [rbp - 0x19], rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18006d2bb
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
xor esi, esi
mov qword [rbp - 0x31], rsi
mov rdi, qword [rbp - 0x39]
cmp dword [rbp - 9], 0x10
setb al
mov dword [rbp - 9], r14d
test al, al
je 0x18006d28a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rbp + 3], eax
jne 0x18006d28a
cmp rdi, rsi
je 0x18006d272
mov eax, dword [rbp - 1]
mov dword [rdi], eax
add rdi, 4
mov qword [rbp - 0x39], rdi
jmp 0x18006d28a
lea r8, [rbp - 1]
mov rdx, rdi
lea rcx, [rbp - 0x41]
call fcn.18006d3bc
mov rsi, qword [rbp - 0x31]
mov rdi, qword [rbp - 0x39]
lea rdx, [rbp - 9]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x18006d244
movups xmm6, xmmword [rbp - 0x41]
movdqu xmmword [rbp - 0x29], xmm6
movsd xmm0, qword [rbp - 0x31]
movsd qword [rbp - 0x19], xmm0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rbp - 0x19]
movq rbx, xmm6
mov rsi, rbx
psrldq xmm6, 8
movq r15, xmm6
cmp rbx, r15
je 0x18006d325
mov r8d, dword [rsi]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov r14, rax
mov qword [rbp - 0x11], rax
test rax, rax
je 0x18006d30e
mov qword [rbp - 0x49], rax
mov rcx, qword [r13 + 0x38]
test rcx, rcx
je 0x18006d38a
mov rdx, qword [rcx]
mov r8, qword [rdx + 0x10]
lea rdx, [rbp - 0x49]
call r8
nop
test r14, r14
je 0x18006d31c
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsi, 4
cmp rsi, r15
jne 0x18006d2d2
test rbx, rbx
je 0x18006d35d
sub rdi, rbx
and rdi, 0xfffffffffffffffc
mov rax, rbx
cmp rdi, 0x1000
jb 0x18006d352
add rdi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18006d390
mov rdx, rdi
mov rcx, rbx
call fcn.1800a4700
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1800a46e0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
call fcn.1800a16f0
nop
call fcn.1800aabb4
int3