joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401f0c50
Capabilities:
Get disk information

Disassembly:
push rbp
sub rsp, 0x250
mov rax, qword [0x14033e210]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x14031a010]
mov rbp, rcx
call sub.msvcrt.dll_wcspbrk
test rax, rax
je 0x1401f0dab
mov qword [rsp + 0x268], rbx
xor ebx, ebx
mov qword [rsp + 0x270], rsi
mov qword [rsp + 0x278], rdi
call sub.msvcrt.dll__errno
mov esi, dword [rax]
call sub.msvcrt.dll__errno
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], ebx
call sub.msvcrt.dll__wfullpath
mov rdi, rax
test rax, rax
je 0x1401f0ccf
call sub.msvcrt.dll__errno
mov dword [rax], esi
jmp 0x1401f0d00
call sub.msvcrt.dll__errno
cmp dword [rax], 0x22
jne 0x1401f0d89
call sub.msvcrt.dll__errno
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], esi
call sub.msvcrt.dll__wfullpath
mov rbx, rax
mov rdi, rax
test rax, rax
je 0x1401f0d89
mov rax, 0xffffffffffffffff
mov rcx, rax
nop word [rax + rax]
inc rcx
cmp word [rdi + rcx*2], 0
jne 0x1401f0d10
cmp rcx, 3
je 0x1401f0dff
inc rax
cmp word [rdi + rax*2], 0
jne 0x1401f0d24
cmp rax, 5
jb 0x1401f0d89
movzx eax, word [rdi]
cmp ax, 0x5c
je 0x1401f0d43
cmp ax, 0x2f
jne 0x1401f0d89
movzx eax, word [rdi + 2]
cmp ax, 0x5c
je 0x1401f0d53
cmp ax, 0x2f
jne 0x1401f0d89
movzx eax, word [rdi + 4]
cmp ax, 0x5c
je 0x1401f0d89
cmp ax, 0x2f
je 0x1401f0d89
movzx eax, word [rdi + 6]
lea rcx, [rdi + 6]
test ax, ax
je 0x1401f0d89
cmp ax, 0x5c
je 0x1401f0dc4
cmp ax, 0x2f
je 0x1401f0dc4
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x1401f0d70
mov rcx, rbx
call fcn.1401eaa0c
xor al, al
mov rsi, qword [rsp + 0x270]
mov rbx, qword [rsp + 0x268]
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401e4950
add rsp, 0x250
pop rbp
ret
cmp word [rcx], 0
je 0x1401f0d89
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
je 0x1401f0d89
cmp ax, 0x5c
je 0x1401f0df2
cmp ax, 0x2f
je 0x1401f0df2
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x1401f0dd7
jmp 0x1401f0dff
cmp word [rcx], 0
je 0x1401f0dff
cmp word [rcx + 2], 0
jne 0x1401f0d89
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov rcx, rbx
cmp eax, 1
jbe 0x1401f0d8c
call fcn.1401eaa0c
mov al, 1
jmp 0x1401f0d93
Function at 0x1800d8720
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1800c354e
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1800c3531
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1800c351c
Function at 0x40117a
Capabilities:
Execute anti-debugging instructions

Disassembly:
xor eax, eax
cpuid
mov eax, 1
cpuid
movabs r9, 0xb2d05e00
cpuid
rdtsc
shl rdx, 0x20
or rax, rdx
mov rcx, rax
fldpi
frndint
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, rcx
cmp rax, r9
jb 0x40119d
push rbp
mov rbp, rsp
sub rsp, 8
mov r10, 0xa
mov rcx, 0xffffffff9f345678
dec rcx
xor r9, r9
mov rax, rcx
jne 0x4011c8
xor rax, rax
mov rax, rbx
add rax, rdx
nop
nop
nop
dec r10
xor r11, r11
jne 0x4011c1
xor rax, rax
mov rax, 0xa
dec rax
nop
nop
add rsp, 8
pop rbp
ret
Function at 0x4031a4
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov dword [rax + 0x10], edx
mov byte [rax + 8], cl
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov r12d, r9d
mov rsi, r8
mov r13d, edx
mov dil, cl
cmp byte [0x00471251], 0
jne 0x4033c9
cmp dword [0x00471988], edx
jne 0x40320b
test r8, r8
je 0x403206
mov r8d, r12d
lea rdx, [0x0043e880]
mov rcx, rsi
call fcn.00406620
test eax, eax
jne 0x40320b
jmp 0x4033c9
mov dword [0x00471988], r13d
test rsi, rsi
je 0x403235
test r12d, r12d
je 0x403235
mov r9, r12
mov r8, rsi
mov edx, 0x2800
lea rcx, [0x0043e880]
call fcn.00406a88
jmp 0x40324a
xor edx, edx
mov r8d, 0x2800
lea rcx, [0x0043e880]
call fcn.00406400
nop
jmp 0x40326c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x0047198c]
cmp eax, 0x2710
jae 0x4032a4
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x0047198c], eax
mov eax, dword [0x00471990]
cmp eax, 0xa
jae 0x4033c9
inc eax
mov dword [0x00471990], eax
jmp 0x4032b7
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x0047198c], eax
and dword [0x00471990], 0
lea r14, [0x004719e0]
mov qword [rsp + 0x30], r14
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rcx, qword [0x00471970]
cmp qword [0x00471968], 0
jne 0x4032f1
test rcx, rcx
jne 0x4032f1
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4033c9
test dil, dil
je 0x4033bf
xor edi, edi
mov qword [rsp + 0x20], rdi
cmp byte [0x00471ab5], dil
je 0x40334f
mov rcx, qword [0x00471978]
test rcx, rcx
je 0x403320
call fcn.00406700
test rax, rax
jne 0x403348
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
call qword [sym.imp.USER32.dll_GetThreadDesktop]
mov rdi, rax
mov qword [rsp + 0x20], rax
mov rcx, qword [0x00471980]
cmp rcx, rax
je 0x403348
call qword [sym.imp.USER32.dll_SetThreadDesktop]
mov rcx, qword [0x00471970]
inc dword [0x00471994]
test rcx, rcx
je 0x403367
mov rax, qword [rcx]
mov r8, rsi
mov edx, r13d
call qword [rax]
jmp 0x4033a7
mov eax, r13d
mov qword [rsp + 0x38], rax
and dword [rsp + 0x40], 0
and qword [rsp + 0x48], 0
test rsi, rsi
je 0x40338e
test r12d, r12d
je 0x40338e
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x48], rsi
lea r9, [rsp + 0x38]
xor r8d, r8d
lea edx, [r8 + 0x4a]
mov rcx, qword [0x00471968]
call qword [sym.imp.USER32.dll_SendMessageA]
test rdi, rdi
je 0x4033bf
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetThreadDesktop]
mov rcx, rdi
call qword [sym.imp.USER32.dll_CloseDesktop]
nop
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x403708
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov r12, rdx
mov rdi, rcx
and dword [rcx], 0
and dword [rcx + 4], 0
and dword [rcx + 8], 0
and dword [rcx + 0xc], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edx, edx
mov rcx, r12
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
movsxd rsi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jle 0x4037d1
mov rcx, rsi
call fcn.00406c08
mov rbx, rax
mov qword [rsp + 0x20], rax
mov r9, rax
mov r8d, esi
xor edx, edx
mov rcx, r12
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
and qword [rsp + 0x68], 0
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x68]
lea rdx, [0x00417ab4]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4037c2
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x4037c2
movzx eax, word [rcx + 0xa]
mov dword [rdi], eax
movzx eax, word [rcx + 8]
mov dword [rdi + 4], eax
movzx eax, word [rcx + 0xe]
mov dword [rdi + 8], eax
movzx eax, word [rcx + 0xc]
mov dword [rdi + 0xc], eax
jmp 0x4037c9
mov rcx, rbx
call fcn.00406a80
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x403b70
Capabilities:
Enumerate threads

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x0041c0d8]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rsi, [0x00471ac0]
mov qword [rbp - 0x40], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea r12, vtable.list_iterator_unsigned_long_int_.0
mov qword [rbp - 0x60], r12
xor edi, edi
mov qword [rbp - 0x50], rdi
lea rax, [0x00471b00]
mov qword [rbp - 0x58], rax
mov rax, qword [0x00471b00]
test rax, rax
je 0x403c86
test rdi, rdi
jne 0x403bf3
mov rdi, rax
mov qword [rbp - 0x50], rax
jmp 0x403bfb
mov rdi, qword [rdi + 8]
mov qword [rbp - 0x50], rdi
test rdi, rdi
je 0x403c86
cmp qword [rdi], 0
je 0x403c86
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [rbp - 0x48]
call fcn.0040392c
nop
mov rbx, qword [rbp - 0x48]
cmp rbx, 0xffffffffffffffff
jne 0x403c27
jmp 0x403bd5
mov dword [rbp - 0x30], 0x1c
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
jne 0x403c41
jmp 0x403c6f
mov rax, qword [rdi]
mov ecx, dword [rax]
cmp dword [rbp - 0x24], ecx
jne 0x403c5e
xor r8d, r8d
lea rdx, [0x00403b50]
mov ecx, dword [rbp - 0x28]
call qword [sym.imp.USER32.dll_EnumThreadWindows]
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x403c41
test rbx, rbx
je 0x403bd5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403bd5
mov qword [rbp - 0x60], r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
adc eax, dword [rcx]
add byte [rax - 0x75], cl
invalid
invalid
xor rcx, rsp
call fcn.004063a0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r12, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x403f14
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0xa8]
sub rsp, 0x190
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x0041c0d8]
xor rax, rsp
mov qword [rbp + 0x80], rax
lea r14, [0x00471ac0]
mov qword [rsp + 0x40], r14
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea r15, vtable.list_iterator_unsigned_long_int_.0
mov qword [rsp + 0x20], r15
and qword [rsp + 0x30], 0
lea rax, [0x00471b00]
mov qword [rsp + 0x28], rax
mov rbx, qword [0x00471b00]
test rbx, rbx
je 0x404117
mov rdi, rbx
mov qword [rsp + 0x30], rbx
mov r12, rdi
test rbx, rbx
je 0x403fc0
test rdi, rdi
jne 0x403fb7
mov rdi, rbx
mov qword [rsp + 0x30], rbx
jmp 0x403fc0
mov rdi, qword [rdi + 8]
mov qword [rsp + 0x30], rdi
mov rax, qword [r12]
test rax, rax
je 0x40410e
mov esi, dword [rax]
mov dword [rsp + 0x50], 0x130
xor r8d, r8d
lea edx, [r8 + 2]
lea rcx, [rsp + 0x38]
call fcn.0040392c
nop
lea rdx, [rsp + 0x50]
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32First]
jmp 0x404012
cmp dword [rsp + 0x58], esi
je 0x404019
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x403ffe
jmp 0x40402f
test rbx, rbx
je 0x404046
cmp rbx, 0xffffffffffffffff
je 0x404046
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x404046
test rbx, rbx
je 0x404043
cmp rbx, 0xffffffffffffffff
je 0x404043
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, 0xffffffff
mov rax, qword [r12]
cmp esi, dword [rax]
je 0x404107
mov rbx, qword [0x00471b00]
test rbx, rbx
je 0x40410e
mov rcx, rbx
xor esi, esi
test rbx, rbx
je 0x40410e
cmp rcx, r12
je 0x404086
mov rsi, rcx
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x404070
jmp 0x40410e
mov rbx, qword [rcx + 8]
cmp qword [0x00471b10], rcx
sete r12b
call fcn.00406a80
test rsi, rsi
jne 0x4040d0
test rbx, rbx
jne 0x4040bb
mov qword [0x00471b00], rbx
and qword [0x00471b08], rbx
and qword [0x00471b10], rbx
jmp 0x40410e
mov qword [0x00471b00], rbx
test r12b, r12b
je 0x40410e
mov qword [0x00471b10], rbx
jmp 0x40410e
test rbx, rbx
jne 0x4040ee
and qword [rsi + 8], rbx
mov qword [0x00471b08], rsi
test r12b, r12b
je 0x404107
mov qword [0x00471b10], rsi
jmp 0x404107
mov qword [rsi + 8], rbx
mov rax, qword [0x00471b10]
test r12b, r12b
cmovne rax, rsi
mov qword [0x00471b10], rax
mov rbx, qword [0x00471b00]
test rdi, rdi
jne 0x403fa0
mov qword [rsp + 0x20], r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.004063a0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x405034
Capabilities:
Compare security identifiers

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x0041c0d8]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor ebx, ebx
mov qword [rbp - 0x39], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp - 0x39]
lea edx, [rbx + 8]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x405080
xor al, al
jmp 0x405128
mov rcx, qword [rbp - 0x39]
mov r9d, 0x54
lea rax, [rbp - 0x29]
lea edx, [r9 - 0x53]
lea r8, [rbp - 0x19]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x4050b1
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x405079
lea rax, [rbp - 0x31]
xor r9d, r9d
lea rcx, [rbp - 0x25]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
lea r8d, [r9 + 0x12]
mov dl, 1
mov dword [rsp + 0x28], ebx
mov qword [rbp - 0x31], rbx
mov dword [rsp + 0x20], ebx
mov dword [rbp - 0x25], ebx
mov word [rbp - 0x21], 0x500
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x40511c
mov rdx, qword [rbp - 0x31]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
mov rcx, qword [rbp - 0x31]
test eax, eax
setne dil
test rcx, rcx
je 0x405119
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov bl, dil
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.004063a0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x407a37
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x0041c0d8]
jne 0x4063ba
rol rcx, 0x10
test cx, 0xffff
jne 0x4063b6
repz ret
ror rcx, 0x10
jmp 0x407990
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x0041d800]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x0041d8f8]
mov qword [rsp + 0x58], rax
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 0x407a15
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, [0x0041d800]
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 0x407a37
mov rax, qword [rsp + 0x88]
mov qword [0x0041d8f8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x0041d898], rax
mov rax, qword [0x0041d8f8]
mov qword [0x0041d770], rax
mov rax, qword [rsp + 0x90]
mov qword [0x0041d880], rax
mov dword [0x0041d760], 0xc0000409
mov dword [0x0041d764], 1
mov rax, qword [0x0041c0d8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x0041c0e0]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x0041d7f8], eax
mov ecx, 1
call fcn.0040bfb8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x00415518]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x0041d7f8], 0
jne 0x407abe
mov ecx, 1
call fcn.0040bfb8
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 0x40847c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.004082ec
Function at 0x40e300
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x0041c0d8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.0040a858
xor ebx, ebx
cmp qword [0x0041e7c0], rbx
mov rdi, rax
jne 0x40e413
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x40e4ea
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x40e4ea
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x0041e7c0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x0041e7c8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x0041e7d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x0041e7e0], rax
test rax, rax
je 0x40e40a
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x0041e7d8], rax
jmp 0x40e41a
mov rax, qword [0x0041e7d8]
jmp 0x40e421
mov rax, qword [0x0041e7d8]
mov r11, qword [0x0041e7e0]
cmp rax, rdi
je 0x40e488
cmp r11, rdi
je 0x40e488
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x0041e7e0]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x40e488
test rax, rax
je 0x40e488
call rsi
test rax, rax
je 0x40e482
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x40e482
test byte [rsp + 0x40], 1
jne 0x40e488
bts ebp, 0x15
jmp 0x40e4c8
mov rcx, qword [0x0041e7c8]
cmp rcx, rdi
je 0x40e4c8
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x40e4c8
call rax
mov rbx, rax
test rax, rax
je 0x40e4c8
mov rcx, qword [0x0041e7d0]
cmp rcx, rdi
je 0x40e4c8
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x40e4c8
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x0041e7c0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x40e4ea
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x40e4ec
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.004063a0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140002060
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rdi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov r9, rcx
movabs rbp, 0xc2b2ae3d27d4eb4f
movabs rsi, 0x9e3779b185ebca87
movabs r14, 0x27d4eb2f165667c5
movabs r15, 0x7a1435883d4d519d
cmp rdi, 0x20
jb 0x140002159
mov r8, qword [r9 + 0x18]
mov rdx, qword [rcx + 8]
mov rax, r8
mov r9, qword [r9 + 0x20]
mov rcx, qword [rcx + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rcx
rol rax, 7
add r10, rax
mov rax, rdx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rdx, rbp
imul rcx, rbp
imul r8, rbp
imul r9, rbp
rol rdx, 0x1f
imul rdx, rsi
rol rcx, 0x1f
xor r10, rdx
rol r8, 0x1f
imul r10, rsi
imul rcx, rsi
imul r8, rsi
sub r10, r15
rol r9, 0x1f
xor r10, rcx
imul r10, rsi
imul r9, rsi
sub r10, r15
xor r10, r8
imul r10, rsi
sub r10, r15
xor r10, r9
imul r10, rsi
add rax, r10
add rax, rdi
jmp 0x140002161
lea rax, [rdi + r14]
add rax, qword [rcx + 0x18]
lea rdx, [r11 + 8]
cmp rdx, rbx
ja 0x14000219a
nop word [rax + rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, rbp
add r11, 8
rol rcx, 0x1f
imul rcx, rsi
xor rax, rcx
rol rax, 0x1b
imul rax, rsi
sub rax, r15
cmp rdx, rbx
jbe 0x140002170
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x1400021c5
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rsi
xor rax, rcx
rol rax, 0x17
imul rax, rbp
add rax, r8
cmp r11, rbx
jae 0x1400021eb
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r14
xor rax, rcx
rol rax, 0xb
imul rax, rsi
cmp r11, rbx
jb 0x1400021d0
mov rbx, qword [rsp + 0x18]
mov rcx, rax
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
shr rcx, 0x21
xor rcx, rax
imul rcx, rbp
mov rbp, qword [rsp + 0x20]
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
ret

Function at 0x14000a500
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor eax, eax
lea rbx, [rsp + 0x30]
mov rbp, rdx
mov word [rsp + 0x30], ax
movzx edx, byte [rcx]
mov rsi, rcx
mov edi, 0x28
test dl, dl
je 0x14000a5a5
nop
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x14000a55d
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x14000a550
cmp rcx, 1
jb 0x14000a5d6
mov byte [rsp + 0x20], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x21], 0
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x14000a573
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x20]
call fcn.14000fbb0
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x14000a540
mov rdx, rbp
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14000c100
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
call fcn.14000f874
int3
Function at 0x14000a660
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a6a5
xor al, al
jmp 0x14000a6f2
cmp word [rbx], 0
je 0x14000a6bd
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a6b0
cmp word [rsp + 0x30], 0
je 0x14000a6eb
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a713
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a6d0
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000c100
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000f874
int3
Function at 0x14000b540
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002fdd8]
test rcx, rcx
je 0x14000b57b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000b56e
mov rcx, qword [0x14002fdd8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002fdd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14002fde8], 0
je 0x14000b66e
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x1400298b8]
mov qword [rsp + 0x80], rsi
lea rsi, [0x140032610]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b64f
test al, 0x10
je 0x14000b64f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000b5f5
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret