joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44fd40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x44feb7
movzx edx, byte [rax]
test edx, edx
jne 0x44fd74
nop dword [rax]
test r8b, r8b
jne 0x44fd74
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x44fd87
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x44fe77
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x44fe65
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x44fe57
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x44fddd
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x44fe20
mov eax, 1
cmp rax, rbx
ja 0x44fe0b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.00462960
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x44fe4f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x44fe13
mov rcx, r11
mov eax, r12d
jmp 0x44fde2
mov rcx, rbx
call fcn.004628a0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.004628a0
mov eax, r8d
mov rcx, rbx
call fcn.00462960
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x44fead
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x44fe70
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x44fd8d
mov eax, edx
mov rcx, rbx
call fcn.004628a0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.004628a0
nop
int3

Function at 0x455a80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x455b35
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call fcn.00453700
nop
test bl, bl
je 0x455b2f
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x00455b80]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.004604a0
xorps xmm15, xmm15
mov r14, qword [0x005c6590]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.004605c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00455a80
Function at 0x458aa0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x458b4f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x00458ba0]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.004604a0
xorps xmm15, xmm15
mov r14, qword [0x005c6590]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.004605c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.00458aa0
Function at 0x4623c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x403d43
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.00409ae0
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004605c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x403d20
cmp byte [0x005c638b], 0
je 0x4623d5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45f600
jmp 0x403d20

Function at 0x4623e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005c6660]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005c638b], 0
je 0x462415
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005c6980]
aesenc xmm0, xmmword [0x005c6990]
aesenc xmm0, xmmword [0x005c69a0]
movq rax, xmm0
ret
jmp 0x409d00

Function at 0x462420
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005c6660]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005c638b], 0
je 0x462456
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005c6980]
aesenc xmm0, xmmword [0x005c6990]
aesenc xmm0, xmmword [0x005c69a0]
movq rax, xmm0
ret
jmp 0x409d60

Function at 0x4641e0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x464214
mov rcx, 0x28
jmp 0x46421f
shl rcx, 3
add rcx, 0x1480
mov qword [0x005c6590], rcx
pop rbp
ret
Function at 0x47b820
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47b8ea
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.004032e0
xorps xmm15, xmm15
mov r14, qword [0x005c6590]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x47b8cf
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x00491ce0]
xor ebx, ebx
mov rcx, rdx
call fcn.00449100
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.0047be00
inc rbx
cmp rcx, rbx
jae 0x47b8be
mov edi, 1
lea rsi, [0x00491ce0]
call fcn.004491e0
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x004c8d58]
lea rsi, [0x004c86e0]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004605c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0047b820
Function at 0x1400011b0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x40
xor edi, edi
mov rbp, rdx
xor r9d, r9d
mov qword [rsp + 0x30], rdi
lea r8d, [rdi + 1]
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000120e
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x50], rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov dword [rbp], eax
test eax, eax
je 0x14000127e
add eax, 0xa
mov ecx, eax
mov ebp, eax
call fcn.140001a4c
mov rdi, rax
test rax, rax
je 0x140001271
mov r8, rbp
xor edx, edx
mov rcx, rax
call fcn.140005bb0
lea r9, [rsp + 0x60]
mov r8d, esi
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14000127e
mov rcx, rdi
call fcn.140001a0c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14000128a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x1400012a0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x370
mov rax, qword [0x14000e008]
xor rax, rsp
mov qword [rsp + 0x360], rax
lea rcx, [rsp + 0x24]
xor edi, edi
xor edx, edx
mov r8d, 0x234
mov dword [rsp + 0x20], edi
call fcn.140005bb0
lea rcx, [0x14000c650]
mov edx, 0x3ff
call fcn.140001b60
lea ecx, [rdi + 2]
xor edx, edx
mov dword [rsp + 0x20], 0x238
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140001323
lea rdx, [rsp + 0x20]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x140001330
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140001383
lea r8, [rsp + 0x4c]
lea rdx, [0x14000c66c]
lea rcx, [rsp + 0x260]
call fcn.140001970
lea rdx, str.explorer.exe
lea rcx, [rsp + 0x260]
call fcn.14000191c
test eax, eax
je 0x140001374
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140001330
jmp 0x140001378
mov edi, dword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.140001730
mov rbx, qword [rsp + 0x380]
add rsp, 0x370
pop rdi
ret
Function at 0x1400013b0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xf0
mov rdi, rcx
lea rcx, [0x14000c650]
xor esi, esi
mov edx, 0x3ff
mov qword [rsp + 0x108], rsi
call fcn.140001b60
lea rcx, str.explorer.exe
call fcn.1400012a0
xor edx, edx
mov ecx, 0x400
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x14000140e
mov eax, 0xfffffffe
jmp 0x14000158f
lea r8, [rsp + 0x108]
mov edx, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140001430
or eax, 0xffffffff
jmp 0x14000158f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x110]
xor r8d, r8d
mov qword [rsp + 0x110], rsi
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov rcx, qword [rsp + 0x108]
mov eax, 5
mov word [rsp + 0xc0], ax
lea rax, str.winsta0default
xor r9d, r9d
mov qword [rsp + 0x90], rax
xor eax, eax
mov r8, rdi
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
xor edx, edx
mov dword [rsp + 0x80], 0x68
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x430
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x98], rsi
mov dword [rsp + 0xa0], esi
mov dword [rsp + 0xa4], esi
mov dword [rsp + 0xa8], esi
mov dword [rsp + 0xac], esi
mov dword [rsp + 0xb0], esi
mov dword [rsp + 0xb4], esi
mov dword [rsp + 0xb8], esi
mov dword [rsp + 0xbc], 1
mov word [rsp + 0xc2], si
mov qword [rsp + 0xc8], rsi
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0xe0], rsi
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
mov rcx, qword [rsp + 0x110]
test rcx, rcx
je 0x140001569
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400015d0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
lea rcx, [0x1400015b0]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
lea rcx, section..text
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000c650]
mov edx, 0x3ff
call fcn.140001b60
mov rcx, qword [rdi + 8]
lea rdx, str._R0001:
call fcn.140001b04
test rax, rax
je 0x14000166d
lea rcx, [rax + 7]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x140001660
lea rdx, str.R0010001
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140001660
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call rbx
nop
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001660
mov rcx, qword [rdi + 8]
lea rdx, str._runp2p:
call fcn.140001b04
test rax, rax
je 0x1400016c3
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x1400016ee
lea rdx, str.R0010002
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400016ee
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call rax
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x38]
call fcn.1400011b0
mov rcx, qword [rdi + 8]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, rbx
call fcn.1400013b0
mov rcx, rbx
call fcn.140001a0c
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400021bf
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14000e008]
jne 0x14000174a
rol rcx, 0x10
test cx, 0xffff
jne 0x140001746
repz ret
ror rcx, 0x10
jmp 0x140002118
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14000f4e0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14000f5d8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14000219d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14000f4e0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400021bf
mov rax, qword [rsp + 0x88]
mov qword [0x14000f5d8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14000f578], rax
mov rax, qword [0x14000f5d8]
mov qword [0x14000f450], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14000f560], rax
mov dword [0x14000f440], 0xc0000409
mov dword [0x14000f444], 1
mov rax, qword [0x14000e008]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14000e010]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14000f4d8], eax
mov ecx, 1
call fcn.140005b90
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000b360]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14000f4d8], 0
jne 0x140002246
mov ecx, 1
call fcn.140005b90
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1400046c8
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140006800
nop
cmp dword [0x14000fa58], 1
je 0x140004674
mov dword [0x14000fa54], 1
mov byte [0x14000fa50], r12b
test ebx, ebx
jne 0x140004660
mov rcx, qword [0x140011480]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000464d
mov rcx, qword [0x140011478]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x1400045ec
call fcn.140002e54
cmp qword [rdi], rax
jne 0x1400045ec
jmp 0x1400045d2
cmp rdi, rsi
jb 0x14000464d
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140002e54
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140011480]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140011478]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14000462b
cmp r13, rax
je 0x14000464b
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x1400045d2
lea rdx, [0x14000b320]
lea rcx, [0x14000b308]
call fcn.14000441c
lea rdx, [0x14000b330]
lea rcx, [0x14000b328]
call fcn.14000441c
nop
test r12d, r12d
je 0x140004683
mov ecx, 8
call fcn.140006700
test r12d, r12d
jne 0x1400046ae
mov dword [0x14000fa58], 1
lea ecx, [r12 + 8]
call fcn.140006700
mov ecx, r15d
call fcn.1400043b0
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x14000453c

Function at 0x1400046d4
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14000453c
Function at 0x140008994
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140002e54
xor ebx, ebx
mov rdi, rax
cmp qword [0x140010148], rbx
jne 0x140008a9a
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140008b6f
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140008b6f
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140010148], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140010150], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x140010158], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140010168], rax
test rax, rax
je 0x140008a91
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140010160], rax
jmp 0x140008aa1
mov rax, qword [0x140010160]
jmp 0x140008aa8
mov rax, qword [0x140010160]
mov r11, qword [0x140010168]
cmp rax, rdi
je 0x140008b10
cmp r11, rdi
je 0x140008b10
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140010168]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140008b10
test rax, rax
je 0x140008b10
call rsi
test rax, rax
je 0x140008b0a
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140008b0a
test byte [rsp + 0x38], 1
jne 0x140008b10
bts ebp, 0x15
jmp 0x140008b4e
mov rcx, qword [0x140010150]
cmp rcx, rdi
je 0x140008b4e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140008b4e
call rax
mov rbx, rax
test rax, rax
je 0x140008b4e
mov rcx, qword [0x140010158]
cmp rcx, rdi
je 0x140008b4e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140008b4e
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140010148]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140008b6f
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140008b71
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140001a10
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x210
mov rbx, rcx
lea r8, str.SOFTWARENational_InstrumentsLabVIEW_Run_Time
lea rcx, [rsp + 0x30]
mov edx, 0xc8
call fcn.140002510
lea rax, [rsp + 0x238]
mov dword [rsp + 0x230], 0x104
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x228], 0
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x238], 0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140001b15
mov rcx, qword [rsp + 0x238]
lea rax, [rsp + 0x230]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x228]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
lea rdx, str.NILVRunTimeManagerPath
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140001b15
mov rcx, qword [rsp + 0x238]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x228], 2
mov qword [rsp + 0x238], 0
jne 0x140001b0a
mov r8, rbx
lea rcx, [rsp + 0x100]
mov edx, 0x104
call fcn.140002510
mov r8d, 8
lea rcx, [rsp + 0x100]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
xor eax, eax
add rsp, 0x210
pop rbx
ret
mov rcx, qword [rsp + 0x238]
test rcx, rcx
je 0x140001b28
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x485
add rsp, 0x210
pop rbx
ret
Function at 0x140005458
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x14000522c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000522c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000522c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000522c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000522c
cmp dword [rcx + 0x84], 0xe
jbe 0x14000522c
cmp dword [rcx + 0xf8], esi
je 0x14000522c
mov ecx, r14d
call fcn.140005374
mov ecx, 2
call fcn.140003964
nop
cmp byte [0x14001c5c0], 0
jne 0x1400052f6
mov r15d, 1
mov eax, r15d
xchg dword [0x14001c5b4], eax
test ebx, ebx
jne 0x14000529f
mov rdi, qword [0x140018a50]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x14001c5b8]
cmp rcx, rax
je 0x140005296
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140006e04]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x14001c600]
jmp 0x1400052ab
cmp ebx, r15d
jne 0x1400052b1
lea rcx, [0x14001c618]
call fcn.140006204
nop
test ebx, ebx
jne 0x1400052c8
lea rdx, [0x14000d340]
lea rcx, [0x14000d320]
call fcn.140005d78
lea rdx, [0x14000d350]
lea rcx, [0x14000d348]
call fcn.140005d78
movzx eax, byte [0x14001c5c0]
test esi, esi
cmove eax, r15d
mov byte [0x14001c5c0], al
jmp 0x1400052f6
mov ecx, 2
call fcn.1400039b8
test esi, esi
jne 0x14000530d
mov ecx, r14d
call fcn.140005328
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400051bc