joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b94f0
Capabilities:
Copy file
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x170
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rdi, rcx
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
add ebx, 0x227
mov esi, edi
imul esi, edi
lea ecx, [rsi + rdi]
add ebx, ecx
cmp ebx, 1
jbe 0x1400b9561
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
imul eax, edi, 0x226
add eax, 5
add eax, esi
add ebx, eax
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
xor ecx, ecx
lea r8d, [rcx + 0x1c]
mov edx, 0x151
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0x20]
lea rcx, str.angle
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp ebx, 1
jne 0x1400b95d1
lea rdx, str.observatory
lea rcx, str.codpiece
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_CopyFileA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rax, str.neologism
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400ba1c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x180
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x170], rax
movsx rbp, dl
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov esi, 4
mov rbx, rbp
mov rdi, rax
sub esi, ebp
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp esi, 0x40
jle 0x1400ba320
mov qword [rsp + 0x1a0], r14
xor r14d, r14d
lea r8, [0x140001b00]
mov r9, rbx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateThread]
shl dil, 4
sub bpl, dil
shl bpl, 2
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
mov ebx, eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
movsxd rdi, esi
movsx edx, bpl
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], 4
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], edx
mov r9d, 4
lea rsi, [0x1400ed4fc]
lea rdx, str.dune_buggy
mov r8, rsi
mov ecx, r9d
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea rcx, [rsp + 0x60]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea r8d, [r14 + 0x12]
mov edx, 0x27d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rcx, str.dune_buggy
movzx ebx, bl
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.c1a3
mov r9, rdi
mov rcx, rax
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
mov r14, qword [rsp + 0x1a0]
mov rax, rsi
jmp 0x1400ba327
lea rax, [0x1400ed4fc]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x180
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400baa70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x140
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov ebp, ecx
movsx ebx, r9b
mov rsi, rcx
sub ebp, ebx
mov rdi, r8
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 0x5a
xor ecx, ecx
lea r8d, [rdx - 0x43]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, ebx
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
imul eax, edi
sub r14d, eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp esi, ebx
jge 0x1400baaf7
lea rdx, [0x1400edd8c]
mov r9d, r14d
mov r8d, ebp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rax, str.c8a2
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x140
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400bb990
Capabilities:
Copy file
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
movzx r14d, byte [rsp + 0xb0]
mov rbp, qword [rsp + 0xb8]
or rbx, 0xffffffffffffffff
xor r13d, r13d
mov r15d, r8d
mov r12, rdx
mov rsi, rcx
cmp r14d, 8
jg 0x1400bba92
mov rdi, rbx
nop word [rax + rax]
inc rdi
cmp byte [rcx + rdi], r13b
jne 0x1400bb9e0
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rax + rbp], r13b
jne 0x1400bb9f0
imul edi, eax
lea r8, [0x140001b00]
mov r9, r15
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r13
shl edi, 3
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateThread]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
mov edx, 0x259
lea r8d, [rcx + 0xe]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], 8
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], 8
lea r8, str.c1a0
lea rdx, str.c1a0
mov r9d, r15d
mov ecx, 8
mov dword [rsp + 0x28], 8
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_CreateWindowExA]
xor ecx, ecx
lea r8d, [rcx + 0xb]
mov edx, 0x1a6
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea r8, [0x140001b00]
mov r9d, 8
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
inc rbx
cmp byte [rsi + rbx], r13b
jne 0x1400bbab6
sub ebx, r14d
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
movzx eax, dil
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], 8
xor r9d, r9d
mov r8, r12
mov rdx, r12
imul bl
movsx ecx, al
mov dword [rsp + 0x20], ecx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp r15d, 8
jb 0x1400bbb6e
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], 8
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], r15d
lea rdx, str.rack
mov r9d, r14d
mov r8, rbp
mov ecx, r14d
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], r14d
call qword [sym.imp.USER32.dll_CreateWindowExA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rdx, str.rack
lea rcx, [0x1400ed3f4]
mov r8d, 8
call qword [sym.imp.KERNEL32.dll_CopyFileA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea r11, [rsp + 0x60]
lea rax, str.plane
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400bc780
Capabilities:
Create thread
Extract resource via kernel32 functions
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x180
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rdi, rcx
xor ecx, ecx
mov edx, 0x240
lea r8d, [rcx + 0x1b]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
or rbx, 0xffffffffffffffff
mov rbp, rax
nop dword [rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x1400bc7d0
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp ebx, dword [rsp + 0x1b0]
jne 0x1400bc80d
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rcx, str.cord
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
xor eax, eax
lea r8, [0x140001b00]
movsxd r9, ebp
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [rsp + 0x30]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor ecx, ecx
mov edx, 0x19d
lea r8d, [rcx + 0xc]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0x30]
lea rcx, [0x1400ed4d4]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400bc8a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x1a0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x190], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
lea rcx, str.interviewer
lea edi, [rax - 1]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor ecx, ecx
mov edx, 0x3e1
lea r8d, [rcx + 0x16]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor ecx, ecx
mov edx, 0x33d
lea r8d, [rcx + 7]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov edx, 0x6c
xor ecx, ecx
lea r8d, [rdx - 0x59]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
imul ecx, edi, 7
sub ecx, ebx
sub ecx, esi
add ecx, 4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rcx, [rsp + 0x50]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
lea rcx, [rsp + 0x50]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
mov edx, 0xd6
lea r8d, [rcx + 6]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x235
lea r8d, [rcx + 0x1d]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor ecx, ecx
lea r8d, [rcx + 0x1c]
mov edx, 0x2f2
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0x50]
lea rcx, str.joey
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov edx, 0x4e
lea r8d, [rdx - 0x44]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor edx, edx
mov r8d, 0x140
lea rcx, [rsp + 0x50]
call fcn.1400e27d0
lea rdx, [rsp + 0x50]
lea rcx, str.c6a1
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea rax, str.c12a1
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400bd000
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x140
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x130], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
movsx ebx, al
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbp, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rcx, [rsp + 0x20]
mov edx, 0x104
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov rsi, rax
cmp ebx, 0x40
jne 0x1400bd0bb
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
lea r8d, [rbx - 0x38]
mov edx, 0x244
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea r8d, [rbx - 0x29]
mov edx, 0x157
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea r8d, [rbx - 0x35]
mov edx, 0x39a
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LockResource]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
lea r8d, [rcx + 0x1d]
mov edx, 0x37c
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x380
lea r8d, [rcx + 0x17]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
or rdx, 0xffffffffffffffff
mov r8, rax
lea rax, str.c1ret
inc rdx
cmp byte [rax + rdx], 0
jne 0x1400bd0f7
mov ecx, edi
mov eax, esi
imul eax, edi
imul ecx, ebp
shl ecx, 6
sub eax, ecx
sub eax, r8d
add eax, esi
sub eax, edx
add eax, 0x10
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400bd150
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x2c0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
lea rcx, [rsp + 0x1a0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov r14, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rsi, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
imul ebp, esi, 0xfffffffb
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rsp + 0x60]
xor edx, edx
mov r8d, 0x140
mov rdi, rax
call fcn.1400e27d0
lea rdx, [rsp + 0x60]
lea rcx, str.slice
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
movzx ecx, sil
shl cl, 3
mov r15, rax
add sil, cl
lea ecx, [rax + rax]
sub sil, bpl
sub sil, bl
lea ebx, [rdi + 0xb]
add sil, 3
movzx edx, sil
sub ecx, edx
add ebx, ecx
cmp ebp, edx
ja 0x1400bd293
xor edi, edi
movsxd rax, ebx
lea r8, str.whole
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], edi
lea rdx, str.scorn
mov r9d, ebp
xor ecx, ecx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea r8, [0x140001b00]
movzx r9d, sil
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [rsp + 0x30], ebp
xor r9d, r9d
mov r8, r14
mov rdx, r15
mov rcx, r14
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor eax, eax
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1400bdfc0
Capabilities:
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x180
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rdi, rcx
movzx ebp, r8b
mov rsi, rdx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x140
mov rbx, r9
call fcn.1400e27d0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor r14d, r14d
lea r8, [0x140001b00]
mov r9d, ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
movzx eax, sil
sub dil, 3
lea r8, [0x140001b00]
xor edx, edx
mov qword [rsp + 0x28], r14
imul dil
movzx ebx, al
mov dword [rsp + 0x20], r14d
sub bl, cl
xor ecx, ecx
movzx r9d, bl
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp bl, bpl
jae 0x1400be08b
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rax, str.piracy
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x180
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400be0b0
Capabilities:
Create thread
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x198
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x180], rax
movzx r12d, r9b
mov r15, r8
mov esi, edx
mov r13, rcx
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rbx, rax
mov qword [rsp + 0x30], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, 0xffff
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
movzx ecx, bpl
movzx edi, al
mov r14d, eax
imul edi, ecx
add edi, 9
cmp bpl, dil
je 0x1400be1e1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
sub bl, al
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor eax, eax
lea r8, [0x140001b00]
mov qword [rsp + 0x28], rax
movzx r9d, bpl
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
lea r8, [0x140001b00]
mov qword [rsp + 0x28], rax
movzx r9d, r14b
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
lea r8, [0x140001b00]
mov qword [rsp + 0x28], rax
movsx r9, bl
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0x40]
lea rcx, str.rainbow
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbx, qword [rsp + 0x30]
cmp esi, edi
jae 0x1400be1f1
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movzx eax, r14b
shl dil, 2
imul bl
movzx ecx, al
movzx eax, bpl
imul cl
movzx ecx, byte [r13 + 0x10]
sub cl, al
lea eax, [rdi + rcx]
add al, sil
add al, r15b
add al, r12b
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x198
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400be4e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1a0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov ebx, ecx
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x30], ebx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0x38], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r12, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rcx, [rsp + 0x50]
mov edx, 0x104
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor ecx, ecx
mov edx, 0x144
lea r8d, [rcx + 0x17]
mov r13, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0xff
lea r8d, [rcx + 0x18]
mov r14, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0xa1
lea r8d, [rcx + 0x19]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor eax, eax
lea r8, [0x140001b00]
mov qword [rsp + 0x28], rax
mov r9d, ebx
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x140
mov rbp, rax
call fcn.1400e27d0
lea rdx, [rsp + 0x50]
lea rcx, [0x1400ed4b8]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
add dil, dil
sub bl, dil
lea rcx, [rsp + 0x50]
mov edx, 0x104
add bl, 9
mov r15, rax
add bl, r12b
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov ecx, dword [rsp + 0x30]
add ecx, eax
lea edi, [r15 - 3]
mov edx, 0x34f
add edi, ecx
xor ecx, ecx
mov rsi, rax
lea r8d, [rcx + 0xe]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea ecx, [r14*2]
mov r14, qword [rsp + 0x48]
add ecx, r13d
mov r10, rax
movzx r9d, bl
lea edx, [rcx + rcx*2]
mov ecx, 1
mov r8d, r9d
sub ecx, r14d
imul r8d, ebp
imul ecx, dword [rsp + 0x30]
add ecx, r12d
add ecx, edx
add r8d, ecx
imul r10d, edi
lea eax, [r8*4]
mov ecx, r10d
mov r11, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
sub ecx, eax
imul r9d, esi
sub ecx, r11d
mov eax, edx
imul ecx, r8d
imul eax, r12d
add ecx, r9d
add ecx, eax
lea eax, [r11*4]
sub ecx, eax
lea eax, [r14 - 3]
sub ecx, r13d
sub ecx, r15d
add ecx, r10d
add ecx, dword [rsp + 0x30]
add ecx, edx
add ecx, r11d
add eax, ecx
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret