joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400868b0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x148
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x130], rax
cmp dword [rsp + 0x170], 0
jne 0x1400868df
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
cmp dword [rsp + 0x170], 0
jne 0x140086905
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edx, 0xcd
mov r8d, 0x12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor r8d, r8d
mov edx, 0xd6
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x148
ret
Function at 0x140086980
Capabilities:
Copy file
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1d0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x238]
mov r12d, dword [rsp + 0x230]
movsx ebx, r9b
mov r13, rdx
mov rdi, rcx
mov qword [rsp + 0x60], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r14, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rsp + 0x70], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, 0xffff
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
movsxd rsi, eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rsp + 0x80]
xor edx, edx
mov r8d, 0x140
mov qword [rsp + 0x68], rax
call fcn.1400e27d0
lea rdx, [rsp + 0x80]
lea rcx, str.group
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea rdx, str.c1a2
lea rcx, str.c1a2
lea ebp, [rax + 4]
mov r8d, esi
lea ebp, [rbp + rsi*8]
add ebp, r14d
call qword [sym.imp.KERNEL32.dll_CopyFileA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
lea r8, [0x1400ed4d4]
mov r9d, ebp
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], edx
lea rdx, str.c0a5
mov ecx, 1
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rbx, rax
test eax, eax
jg 0x140086aa4
mov ecx, 0x10
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea r8, str.c1a2
lea rdx, str.angora
mov qword [rdi], rax
xor eax, eax
mov r9d, ebp
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 1
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], esi
mov ecx, r12d
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_CreateWindowExA]
xor ecx, ecx
mov edx, 0x258
mov qword [rdi + 8], rax
lea rax, str.ocelot
lea r8d, [rcx + 0xb]
mov qword [rdi + 0x10], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor edx, edx
xor ecx, ecx
mov qword [rdi + 0x20], 0
mov qword [rdi + 0x28], rbx
mov qword [rdi + 0x18], rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, r14d
imul ecx, esi
add ecx, dword [r13 + 0x18]
mov qword [rdi + 0x30], rax
lea eax, [rbx + rbx]
mov qword [rdi + 0x38], rbx
sub ecx, eax
lea eax, [r15 + r15*4]
sub ecx, eax
lea eax, [rbp + 2]
sub ecx, ebx
sub ecx, r15d
sub ecx, dword [rsp + 0x70]
add ecx, dword [rsp + 0x60]
add ecx, dword [rsp + 0x68]
add ecx, r14d
add eax, ecx
mov dword [rdi + 0x40], eax
mov rax, rdi
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x210]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140086ba0
Capabilities:
Copy file
Create thread
Query environment variable

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x150
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov r12, qword [rsp + 0x1b0]
mov rdi, qword [rsp + 0x1c0]
mov ebp, r9d
mov rsi, r8
mov rbx, rdx
mov r14, rcx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
xor ecx, ecx
lea r8d, [rcx + 0x15]
mov edx, 0x23d
movzx r15d, ax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, qword [rbx + 0x28]
or rax, 0xffffffffffffffff
mov rbx, rax
nop dword [rax]
inc rbx
cmp byte [rcx + rbx], 0
jne 0x140086c10
mov rcx, rax
nop dword [rax]
inc rcx
cmp byte [rdi + rcx], 0
jne 0x140086c20
add ebx, ecx
nop dword [rax + rax]
inc rax
cmp byte [rsi + rax], 0
jne 0x140086c30
add ebx, eax
mov eax, 0xfffffff9
lea rcx, [rsp + 0x30]
sub eax, r12d
mov edx, 0x104
add ebx, eax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov edx, 0x3e
lea r8d, [rdx - 0x27]
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp r15d, 0x10
je 0x140086ca6
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
lea rdx, str.rambler
lea rcx, str.rambler
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_CopyFileA]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor eax, eax
lea r8, [0x140001b00]
mov r9, rbp
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
mov qword [r14], rdi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [r14 + 8], rax
mov rax, r14
mov qword [r14 + 0x10], rdi
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x150
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140086d00
Capabilities:
Create thread
Extract resource via kernel32 functions

Disassembly:
push rbx
push 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
movsxd rbx, r8d
mov rsi, rdx
lea r8d, [rcx + 0x13]
mov edx, 0x246
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
test ebx, ebx
je 0x140086d5c
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
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]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
lea rcx, [0x1400ed86c]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r9, rbx
xor r8d, r8d
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
lea rcx, [0x1400ed4d4]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r9, rbx
xor r8d, r8d
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
xor ecx, ecx
mov edx, 0x230
lea r8d, [rcx + 7]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x124
lea r8d, [rcx + 0xc]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rdx, [0x1400ed4d4]
xor r9d, r9d
mov r8, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
xor ecx, ecx
lea r8d, [rcx + 6]
mov edx, 0x106
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor ecx, ecx
lea r8d, [rcx + 6]
mov edx, 0x1c8
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x38f
lea r8d, [rcx + 0xd]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0x60]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov edx, 0x73
xor ecx, ecx
lea r8d, [rdx - 0x72]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea rax, [0x1400ed4d4]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x180
pop rdi
pop rsi
pop rbx
ret
Function at 0x140087860
Capabilities:
Extract resource via kernel32 functions

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, 0x2f0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov qword [rsp + 0x68], rcx
lea rcx, [rsp + 0xc0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov qword [rsp + 0x88], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [rsp + 0x1d0]
mov edx, 0x104
mov edi, eax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov qword [rsp + 0xa0], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
movsxd rsi, eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
movsx rbp, sil
movzx ebx, al
mov r15, rax
mov qword [rsp + 0x60], rax
xor eax, eax
lea r12d, [rbp*8]
shl bl, 2
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rbp
movsx r14d, bl
mov dword [rsp + 0x38], 0xd
mov dword [rsp + 0x30], r14d
add r12d, ebp
lea r9d, [rax + 0xd]
lea r8, str.interview
lea rdx, str.c2a2
mov ecx, r14d
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 0xe
lea r13d, [r12 - 2]
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov r8d, dword [rsp + 0xa0]
imul r14d, r15d
imul ecx, edi, 0x75
add ecx, 0x27
mov qword [rsp + 0xb0], rax
movsx rdi, bl
add ecx, r14d
mov ebx, eax
sub eax, edi
mov r15d, 0xffffffb8
sub r15d, r8d
sub r15d, ecx
mov rcx, qword [rsp + 0x60]
lea r11d, [rcx - 0xf3]
sub eax, r15d
add r11d, eax
mov al, 7
movzx edx, r11b
imul cl
add al, 0x22
add al, r8b
add al, sil
mov rsi, qword [rsp + 0x60]
movzx ecx, al
movzx r10d, al
mov eax, ebx
shl cl, 2
sub dl, cl
mov ecx, 0xfffffff9
imul eax, r13d
sub ecx, r15d
sub dl, 2
add ecx, ecx
movzx r9d, dl
sub ecx, eax
lea eax, [r8 + r8*8]
add ecx, eax
lea eax, [r10 + r10*4]
add ecx, eax
sub ecx, ebp
add ecx, r9d
add ecx, r14d
add ecx, r11d
add ecx, esi
mov r14, qword [rsp + 0x68]
lea rax, [0x1400ed3f4]
mov dword [r14], ecx
mov qword [r14 + 8], rax
mov eax, 0xa
sub eax, r11d
lea ecx, [r13 + 1]
imul edx, eax, 7
mov eax, dword [rsp + 0x88]
imul ecx, esi
sub edx, ecx
imul eax, r12d
add edx, eax
lea eax, [rbx + rbx*2]
lea ecx, [rdx + rax*2]
xor edx, edx
sub ecx, r9d
sub ecx, r10d
sub ecx, edi
sub ecx, r15d
mov dword [r14 + 0x10], ecx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [r14 + 0x20], rsi
mov qword [r14 + 0x18], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [r14 + 0x28], rax
mov rax, r14
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x2f0]
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 0x140087a90
Capabilities:
Create thread
Query environment variable

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x180
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rdi, qword [rsp + 0x1e8]
movzx esi, byte [rsp + 0x1f0]
mov ebp, r8d
mov r14d, edx
mov r15, rcx
cmp edx, r8d
jbe 0x140087b17
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rcx, [rsp + 0x30]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
xor ecx, ecx
mov edx, 0x35c
lea r8d, [rcx + 5]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, r15d
imul ebx, ebp
sub ebx, edi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r12, rax
cmp ebx, r14d
je 0x140087b39
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movzx eax, sil
movzx edi, bl
lea r8, [0x140001b00]
xor edx, edx
xor ecx, ecx
imul bpl
sub dil, al
xor eax, eax
sub dil, r12b
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
sub dil, r14b
add dil, r15b
movzx r9d, dil
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp sil, bpl
jb 0x140087b84
lea rcx, [rsp + 0x30]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp sil, dil
jae 0x140087bfd
mov edx, 0x8b
xor ecx, ecx
lea r8d, [rdx - 0x7b]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rdx, [0x1400ed3f4]
mov r9d, ebx
movzx r8d, sil
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0x30]
lea rcx, str.hail
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor ecx, ecx
mov edx, 0x267
lea r8d, [rcx + 0x11]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov edx, 0x1e
lea r8d, [rdx - 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x31f
lea r8d, [rcx + 0x1b]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x180
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140087c50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x130], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp bl, 0x40
jg 0x140087caf
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LockResource]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x140
pop rbx
ret

Function at 0x140087d00
Capabilities:
Create thread
Query environment variable

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, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, rdx
mov esi, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov edx, 0x310
mov r8d, 0xb
xor ecx, ecx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov edx, 0x218
mov r8d, 0x11
xor ecx, ecx
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]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edx, 0x25e
mov r8d, 0xb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea r9, [0x1400ed3b8]
lea rcx, [rsp + 0x30]
mov rdx, rbx
mov r8, rax
call fcn.1400db020
movsx eax, dil
imul r14d, esi
sub r14d, eax
add r14d, 6
cmp r14d, ebp
jne 0x140087df2
mov edx, 0x10c
mov r8d, 0xb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rax, str.c0a5
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140087e30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x180
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rbx, rcx
lea rcx, [rsp + 0x60]
mov edx, 0x104
mov rdi, r8
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea rcx, str.mirror
mov qword [rsp + 0x28], rcx
lea rcx, str.vixen
lea r8, [0x1400ed3f4]
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x30]
mov r9, rax
xor edx, edx
call fcn.1400db980
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
lea esi, [rax*4]
cmp eax, esi
jbe 0x140087ec7
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetLastError]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp esi, ebx
jge 0x140087eed
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rax, rdi
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140088220
Capabilities:
Copy file
Extract resource via kernel32 functions
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push 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 r14, rcx
xor ecx, ecx
mov rbp, r8
lea r8d, [rcx + 4]
mov edx, 0x3d7
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0x20]
mov edx, 0x104
mov r15, rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rsi, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, r15
mov r13, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ecx, ecx
mov edx, 0x34b
lea r8d, [rcx + 0x17]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x1400ed4d4]
movsxd rbx, edi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x1400ed4d4]
mov r9, rbx
mov r8, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
lea rdx, str.element
mov r8d, edi
imul ecx, r15d, 7
sub ebp, ecx
lea rcx, str.cultivar
mov r12d, eax
lea ebx, [rbp*2 - 0x14]
sub ebx, esi
add ebx, r14d
call qword [sym.imp.KERNEL32.dll_CopyFileA]
cmp eax, r12d
je 0x14008831e
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0x20]
lea rcx, str.whirlpool
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rax, r13
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140088ba0
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, 0x50
mov r13d, r8d
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
or rbx, 0xffffffffffffffff
mov r9, rbx
nop dword [rax]
inc r9
cmp byte [rdi + r9], 0
jne 0x140088be0
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rsi + rax], 0
jne 0x140088bf0
imul r9d, eax
mov rax, rbx
lea ebp, [r9 + r9*2]
add ebp, ebp
inc rax
cmp byte [rdi + rax], 0
jne 0x140088c06
mov rcx, rbx
inc rcx
cmp byte [rsi + rcx], 0
jne 0x140088c12
imul eax, ecx
lea r15d, [rax*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r14, rax
mov qword [rsp + 0x38], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdx, rax
mov qword [rsp + 0x98], rax
movzx eax, r14b
sub dl, 9
imul r15b
movzx ecx, al
shl cl, 2
lea r14d, [rcx + rax]
xor ecx, ecx
add r14b, bpl
add r14b, dl
mov edx, 0x3d
lea r8d, [rdx - 0x20]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rdx, [0x1400ed4d4]
lea rcx, [0x1400ed4d4]
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
lea rdx, [0x1400ed4d4]
lea rcx, str.igloo
movsx r8d, r14b
call qword [sym.imp.KERNEL32.dll_CopyFileA]
xor ecx, ecx
mov edx, 0xf4
lea r8d, [rcx + 0x1b]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rbx
mov r12, rax
inc rdx
cmp byte [rdi + rdx], 0
jne 0x140088cd6
mov rax, rbx
inc rax
cmp byte [rsi + rax], 0
jne 0x140088ce2
imul edx, eax
mov rcx, rbx
lea rax, str.cameo
imul edx, r13d
nop dword [rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x140088d00
imul ecx, dword [rsp + 0x98]
imul eax, r15d, 0x19
shl ecx, 3
sub ecx, eax
lea eax, [r12 + rdx]
add ecx, eax
lea eax, [rbp - 2]
add eax, ecx
mov dword [rsp + 0x40], eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, rax
cmp r15d, ebp
jae 0x140088da1
lea rax, str.c0a1
mov rcx, rbx
inc rcx
cmp byte [rax + rcx], 0
jne 0x140088d41
mov al, 7
imul cl
movzx ecx, r14b
shl cl, 2
movzx edx, al
movzx eax, byte [rsp + 0x30]
add r14b, cl
imul bpl
add al, r8b
add al, al
sub al, r14b
sub al, dl
sub al, byte [rsp + 0x38]
sub al, 2
add al, r12b
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140088d76
add al, bl
lea r8, [0x140001b00]
xor edx, edx
movzx r9d, al
xor eax, eax
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r11, [rsp + 0x50]
lea rax, str.c3a3
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