joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140092f90
Capabilities:
Create thread
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x80
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov esi, 1
imul eax, ebp
sub esi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea ebx, [r14 + 1]
mov rdi, rax
add ebx, ebp
imul ebx, eax
add ebx, ebp
cmp ebx, 1
ja 0x140093076
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rcx, str.panties
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov r8, rax
xor edx, edx
call fcn.1400dceb0
xor ecx, ecx
mov edx, 0x214
lea r8d, [rcx + 9]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LockResource]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
lea r8d, [rcx + 0x1d]
mov edx, 0x2a0
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x229
lea r8d, [rcx + 7]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x208
lea r8d, [rcx + 0x1c]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea eax, [rdi + rdi]
mov edi, esi
sub edi, eax
inc edi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r15, rax
cmp ebx, 2
jbe 0x14009309e
xor ecx, ecx
mov edx, 0xb5
lea r8d, [rcx + 0x11]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
movzx eax, r15b
lea r8, [0x140001b00]
imul dil
lea ebx, [rax - 1]
xor eax, eax
add bl, bpl
mov qword [rsp + 0x28], rax
xor edx, edx
add bl, r14b
xor ecx, ecx
mov dword [rsp + 0x20], eax
add bl, sil
movsx r9, bl
call qword [sym.imp.KERNEL32.dll_CreateThread]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp bl, dil
jne 0x1400930f3
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
lea r11, [rsp + 0x80]
lea rax, str.chard
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 0x140093580
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, 0x2c0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rcx, [rsp + 0x1a0]
mov edx, 0x104
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea rcx, [rsp + 0x60]
xor edx, edx
mov r8d, 0x140
mov r13, rax
call fcn.1400e27d0
lea rdx, [rsp + 0x60]
lea rcx, str.nonconformist
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor esi, esi
lea r8, [0x140001b00]
lea r9d, [rsi + 4]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rsi
mov rbx, rax
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r9d, [rsi + 4]
lea r8, [0x140001b00]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rsi
mov r12, rax
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
add r12d, 4
mov esi, 0x11
add edi, 0x11
sub sil, bl
mov r14, rax
movzx ebx, sil
mov ecx, ebx
imul ecx, eax
lea ecx, [rcx + rcx*2]
lea r12d, [r12 + rcx*2]
add r12d, edi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
mov r15, rax
movzx eax, sil
lea ebp, [rbx + 0xd]
add ebp, edi
lea r8d, [rcx + 0x1a]
mov edx, 0x3a5
imul dil
movzx edi, al
sub dil, r12b
sub dil, 0xf
add dil, r13b
add dil, r14b
call qword [sym.imp.KERNEL32.dll_FindResourceA]
sub r15b, dil
sub r15b, 0x20
lea rcx, [rsp + 0x30]
add r15b, bpl
lea ebx, [r15 + rax]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp bl, r12b
je 0x1400936d6
lea rdx, str.nonconformist
lea rcx, str.nonconformist
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_CopyFileA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rax, str.c2a2
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x2c0]
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 0x140093710
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
push r12
push r13
push r14
push r15
sub rsp, 0x170
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rsi, r9
mov r13, r8
mov r15, rdx
mov qword [rsp + 0x30], rdx
mov rbp, rcx
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rcx, rsi
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
xor ecx, ecx
mov edx, 0x12e
lea r8d, [rcx + 0x1d]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor eax, eax
lea r8, [0x140001b00]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor ecx, ecx
lea r8d, [rcx + 0x1d]
mov edx, 0x26a
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
or rdi, 0xffffffffffffffff
mov r14, rax
mov rbx, rdi
nop dword [rax]
inc rbx
cmp byte [rbx + rbp], 0
jne 0x1400937f0
imul ebx, r15d
mov rax, rdi
sub ebx, r13d
inc rax
cmp byte [rsi + rax], 0
jne 0x140093803
sub ebx, eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, rsi
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, r14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r12, rax
cmp ebx, r14d
je 0x140093850
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
lea rcx, [rsp + 0x50]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov rcx, rdi
inc rcx
cmp byte [rsi + rcx], 0
jne 0x140093853
movzx eax, byte [rsp + 0x1c0]
imul cl
movzx ecx, al
movzx eax, r13b
imul cl
movzx edx, al
movzx eax, r14b
imul bl
movzx ecx, al
movzx eax, byte [rsp + 0x38]
imul r13b
sub cl, al
mov al, 7
add dl, cl
imul byte [rsp + 0x48]
sub dl, al
sub dl, byte [rsp + 0x30]
cmp byte [rdi + rbp + 1], 0
lea rdi, [rdi + 1]
jne 0x140093893
add r14b, 3
lea eax, [rdi + rdx]
add al, r12b
add al, r15b
add al, r14b
add al, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x170]
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 0x140093a60
Capabilities:
Extract resource via kernel32 functions

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, 0x280
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, rcx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor edx, edx
mov rbx, rax
xor ecx, ecx
shl bl, 5
call qword [sym.imp.KERNEL32.dll_LoadResource]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, 0x20
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rsi, rax
cmp bl, 0x20
jl 0x140093b00
lea rcx, [rsp + 0x160]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0x20]
lea rcx, str.c1ret
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor ecx, ecx
mov edx, 0x249
lea r8d, [rcx + 8]
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r14, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r15, rax
cmp bl, 0x20
jne 0x140093b3c
xor ecx, ecx
mov edx, 0x179
lea r8d, [rcx + 0x15]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
movzx r8d, bl
lea rdx, str.c1a2
mov r9d, r8d
xor ecx, ecx
mov r12, rax
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
mov ebx, eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r13, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
mov r8d, eax
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], 0
jne 0x140093b92
lea ecx, [rbx + 4]
lea edx, [rsi + rsi*2]
shl edx, 2
imul ecx, r12d
sub edx, ecx
mov ecx, 1
sub ecx, r14d
imul ecx, r15d
add ecx, 0xfffff8f6
lea edx, [rcx + rdx*2]
sub edx, r13d
sub edx, ebp
sub edx, r8d
add eax, edx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x280]
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
Function at 0x140093c00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
movzx edi, cl
mov rbp, r9
mov rsi, r8
sub dil, byte [rsp + 0x58]
mov ebx, ecx
sub dil, r8b
sub dil, 0x3b
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r14, rax
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_GetForegroundWindow]
movsx ecx, dil
cmp ebx, ecx
jbe 0x140093c75
xor ecx, ecx
mov edx, 0x28d
lea r8d, [rcx + 0xc]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp dil, bl
je 0x140093c96
xor ecx, ecx
mov edx, 0x126
lea r8d, [rcx + 5]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
sub bl, byte [rbp + 0x18]
mov rbp, qword [rsp + 0x38]
add dil, 0xe
sub bl, r14b
lea eax, [rsi + rbx]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add al, dil
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400941c0
Capabilities:
Extract resource via kernel32 functions
Query environment variable

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x1a0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rdi, qword [rsp + 0x1f0]
mov r14d, r9d
mov r15, r8
movzx esi, dl
mov rbx, rcx
cmp byte [rsp + 0x1f8], dl
je 0x140094334
mov qword [r11 - 0x30], r12
mov qword [r11 - 0x38], r13
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor ecx, ecx
mov edx, 0x33d
mov qword [rsp + 0x20], rax
lea r8d, [rcx + 0x12]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
lea rcx, [rsp + 0x70]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor ecx, ecx
mov edx, 0x111
lea r8d, [rcx + 0x17]
mov r13, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
lea r8d, [rcx + 0x12]
mov edx, 0x108
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r12, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
or rcx, 0xffffffffffffffff
mov r10, rax
mov r8, rcx
nop dword [rax + rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x1400942a0
movzx eax, byte [rsp + 0x1f8]
mov r9d, r12d
mov rdx, rcx
imul eax, r14d
sub r9d, eax
movsx rax, sil
sub r9d, eax
sub r9d, r13d
mov r13, qword [rsp + 0x190]
sub r9d, dword [rsp + 0x28]
add r9d, 0x16
add r9d, r8d
nop dword [rax]
inc rdx
cmp byte [rdi + rdx], 0
jne 0x1400942e0
imul edx, dword [rsp + 0x20]
movzx eax, r10b
lea r8d, [rax + rax*2]
shl r8d, 2
sub r8d, edx
nop dword [rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140094300
imul ecx, r15d
lea edx, [r12 + 0x19]
add r8d, ecx
lea rcx, [rsp + 0x30]
sub r8d, r14d
add edx, r8d
lea r8, str.c2a1
call fcn.1400dab70
mov r12, qword [rsp + 0x198]
lea rax, str.economics
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x1a0
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret

Function at 0x140094360
Capabilities:
Create thread
Extract resource via kernel32 functions
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov edi, ecx
xor eax, eax
mov r9d, ecx
lea esi, [rdx + rdi]
mov qword [rsp + 0x28], rax
lea r8, [0x140001b00]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LockResource]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movsx ecx, dil
imul ecx, ebx
mov eax, 2
sub eax, ecx
lea eax, [rax + rax*4]
cmp eax, esi
jb 0x1400943c5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
lea rax, str.dead
add rsp, 0x30
pop rdi
ret
Function at 0x1400943f0
Capabilities:
Create thread
Extract resource via kernel32 functions

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, 0x190
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov r14d, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r12, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor edx, edx
xor ecx, ecx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0x40]
lea rcx, str.cart
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor ecx, ecx
mov edx, 0x27e
lea r8d, [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LockResource]
lea ecx, [r12*8]
mov r15d, 1
sub r15d, ecx
lea rcx, str.cart
mov qword [rsp + 0x38], rax
imul r15d, r14d
add r15d, 7
lea esi, [r15 + 1]
movzx edx, sil
shl dl, 3
add sil, dl
movzx ebx, sil
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.resident
mov r9d, ebx
mov r8d, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
mov ecx, r15d
mov r13d, eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
movzx esi, sil
mov ecx, esi
lea r8d, [r14 + r13*4]
mov qword [rsp + 0x30], rax
mov edi, 5
imul ecx, ebp
imul edx, ecx, 0x3c
imul r8d, r12d
add r8d, edx
imul r8b
sub dil, al
cmp dil, r15b
jne 0x140094541
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor eax, eax
mov qword [rsp + 0x28], rax
lea r8, [0x140001b00]
movzx r9d, bl
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
imul ebp, dword [rsp + 0x38]
lea eax, [r15 + r15*8]
sub eax, r13d
add eax, esi
lea ecx, [rbp*2]
lea eax, [rax + rax*4]
add ecx, ebp
shl ecx, 2
sub eax, ecx
imul ecx, r12d, 0x1f
sub eax, ecx
movsx rcx, dil
add eax, ecx
sub eax, dword [rsp + 0x30]
sub eax, 5
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x190]
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
Function at 0x140094fc0
Capabilities:
Create thread
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
xor eax, eax
movzx esi, r9b
mov edi, edx
mov rbx, rcx
mov qword [rsp + 0x28], rax
lea r8, [0x140001b00]
mov r9d, esi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor ecx, ecx
mov edx, 0x31d
lea r8d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
cmp edi, esi
jne 0x14009503e
lea ecx, [rax + 2]
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
lea rax, str.c2a0
add rsp, 0x30
pop rdi
ret
Function at 0x1400958a0
Capabilities:
Extract resource via kernel32 functions

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, 0x190
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov ebx, dword [rcx + 0x18]
mov rsi, rcx
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r13, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, dword [rsi + 8]
xor ecx, ecx
sub edi, ebx
mov edx, 0x2b0
lea r8d, [rcx + 0x1a]
mov rbp, rax
mov qword [rsp + 0x58], rax
sub edi, 0x40
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
lea r8d, [rcx + 0x10]
mov edx, 0x2e7
mov r14, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r12, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
mov r15, rax
mov eax, dword [rsi + 0x20]
shl r13d, 6
sub eax, edi
lea r8d, [rcx + 0x10]
mov edx, 0xc8
add eax, 0xfffffffd
mov qword [rsp + 0x48], r13
add eax, r13d
mov dword [rsp + 0x44], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, qword [rsi + 0x10]
mov qword [rsp + 0x50], rax
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140095966
imul r13d, r12d, 0x2a
add ebp, 0x39
add r13d, ebp
add r13d, ecx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rcx, [rsp + 0x70]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rcx, str.inlay
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0x68], rax
cmp dword [rsp + 0x40], ebp
jge 0x1400959fc
mov dword [rsp + 0x30], 0x10
xor r9d, r9d
mov r8, rbx
mov rdx, rbx
mov rcx, rsi
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
imul r15d, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x58]
imul ebx, ebp
lea eax, [rbx + rbx*4]
sub eax, r15d
add eax, r13d
imul r14d, r12d
lea eax, [rcx + rax*2]
lea ecx, [r14 + rax*2]
mov rax, qword [rsp + 0x60]
sub ecx, dword [rsp + 0x48]
mov eax, dword [rax + 0x18]
sub ecx, dword [rsp + 0x68]
add eax, 0xffffffe6
sub ecx, dword [rsp + 0x50]
sub ecx, edi
add ecx, dword [rsp + 0x40]
add eax, ecx
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x190]
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
Function at 0x1400961e0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x140
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov r15, r9
mov esi, r8d
mov rdi, rdx
mov ebp, ecx
cmp r8d, ecx
je 0x14009625b
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor ecx, ecx
mov edx, 0xd4
lea r8d, [rcx + 2]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
or rbx, 0xffffffffffffffff
mov r14, rax
nop dword [rax + rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140096270
imul ebx, ebp
add ebx, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, 1
movzx ecx, al
shl r14d, 5
shl ecx, 3
sub edi, ecx
imul edi, r15d
add edi, r14d
sub edi, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp ebx, edi
jb 0x1400962ba
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea rax, str.forgery
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x140]
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 0x1400962f0
Capabilities:
Create thread

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x1b0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
movsxd rbp, r8d
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rcx, [rsp + 0x60]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea rcx, [rsp + 0x60]
mov edx, 0x104
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor r14d, r14d
test bpl, bpl
jne 0x14009642e
mov qword [rsp + 0x1d0], rsi
mov qword [rsp + 0x1d8], rdi
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
movzx esi, ax
lea edx, [r14 + 0x72]
lea r8d, [r14 + 0x11]
imul eax, ebx, 0x1e
mov ebx, esi
xor ecx, ecx
sub ebx, eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebp
lea r9d, [r14 + 4]
lea r8, str.legal
lea rdx, [0x1400ed3b4]
mov ecx, esi
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], ebp
lea r8, [0x1400ed360]
lea rdx, [0x1400ed360]
lea ecx, [r14 + 4]
xor r9d, r9d
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea r8d, [r14 + 9]
mov edx, 0x3da
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, qword [rsp + 0x1d8]
mov rsi, qword [rsp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
lea r8, [0x140001b00]
mov r9d, 8
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateThread]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
lea rcx, [rsp + 0x60]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor ecx, ecx
mov edx, 0x3d4
lea r8d, [rcx + 5]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0x60]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0x60]
lea rcx, str.glue
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rax, str.c9a2
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x1b0
pop r14
pop rbp
pop rbx
ret