joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400555f0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1401c73e8]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, 0xffff
movzx esi, dx
mov rbx, rcx
cmp di, dx
jne 0x140055621
xor eax, eax
jmp 0x14005576f
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x14005565e
mov r9, qword [rcx + 0x58]
movsxd r10, dword [r9]
lea rdx, [r8 + r10*2]
cmp r8, rdx
jae 0x14005565e
lea ecx, [r10 - 1]
movzx eax, si
mov dword [r9], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], si
jmp 0x14005576f
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xb0], rbp
je 0x140055764
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x1400556a5
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400556ce
movzx ecx, si
mov rdx, qword [rbx + 0x80]
call fcn.14013af70
cmp ax, di
je 0x140055764
movzx edi, si
jmp 0x140055764
lea r8, [rsp + 0x40]
mov word [rsp + 0x50], si
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x52]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
je 0x140055724
sub eax, 1
je 0x140055724
cmp eax, 2
jne 0x140055764
movzx ecx, word [rsp + 0x50]
jmp 0x1400556b1
mov rbp, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rbp, rax
je 0x140055751
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbp
mov edx, 1
call fcn.140130b10
cmp rbp, rax
jne 0x140055764
lea rax, [rsp + 0x50]
mov byte [rbx + 0x72], 1
cmp qword [rsp + 0x48], rax
movzx eax, si
jne 0x140055767
movzx eax, di
mov rbp, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140122510
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x140055e70
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1401c73e8]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140055f44
cmp byte [rcx + 0x72], 0
je 0x140055f44
mov rax, qword [rcx]
mov qword [rsp + 0x78], rdi
mov edi, 0xffff
mov edx, edi
call qword [rax + 0x18]
cmp di, ax
je 0x140055f40
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
je 0x140055f06
sub eax, 1
je 0x140055f0a
cmp eax, 2
jne 0x140055f40
mov byte [rbx + 0x72], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140122510
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140055f37
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.140130b10
cmp rdi, rax
jne 0x140055f40
cmp byte [rbx + 0x72], 0
sete al
jmp 0x140055eee
xor al, al
jmp 0x140055eee
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140122510
add rsp, 0x60
pop rbx
ret

Function at 0x140056c70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140056ce5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140056ce5
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140056cd5
nop
cmp rbx, rcx
jae 0x140056ce5
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140056cc0
cmp rbx, rcx
jae 0x140056ce5
cmp word [rbx], 0
je 0x140056ce5
mov rax, rbx
jmp 0x140056ce7
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14005a720
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x1401c73e8]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov r14, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call fcn.140124d50
mov r9d, 1
lea r8d, [r9 + 0x22]
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x14005a986
lea rax, str.McAfee
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 6
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x70]
mov rsi, 0xffffffffffffffff
mov rax, rsi
inc rax
cmp word [rcx + rax*2], 0
jne 0x14005a7b1
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm1
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.14005a580
mov rbx, rax
xor r15d, r15d
cmp rdi, rax
je 0x14005a81b
mov rcx, rdi
call fcn.1400285b0
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
lea rcx, [rsp + 0x50]
call fcn.1400285b0
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14005a832
mov rdx, qword [rdi]
mov r8, rsi
inc r8
cmp word [rdx + r8*2], r15w
jne 0x14005a835
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r15w
lea rcx, [rsp + 0x20]
call fcn.140028220
nop
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.14005b130
movzx ebx, al
lea rcx, [rsp + 0x20]
call fcn.1400285b0
test bl, bl
je 0x14005a986
lea rax, str.WebAdvisor
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0xa
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14005a8a7
mov rcx, qword [rdi]
mov qword [rsp + 0x40], rcx
mov rax, rsi
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x14005a8b0
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm1
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.14005a580
mov rbx, rax
cmp rdi, rax
je 0x14005a917
mov rcx, rdi
call fcn.1400285b0
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
lea rcx, [rsp + 0x50]
call fcn.1400285b0
cmp qword [rdi + 0x18], 8
jb 0x14005a930
mov rdi, qword [rdi]
nop dword [rax + rax]
inc rsi
cmp word [rdi + rsi*2], 0
jne 0x14005a930
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r15w
mov r8, rsi
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140028220
nop
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.14005b130
movzx ebx, al
lea rcx, [rsp + 0x20]
call fcn.1400285b0
test bl, bl
je 0x14005a986
mov al, 1
jmp 0x14005a988
xor al, al
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140122510
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x290
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005b080
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x1401c73e8]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.140124d50
xor r9d, r9d
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x26]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14005b0d4
xor al, al
jmp 0x14005b10f
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14005b0e0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140028220
mov r8d, SafeArrayUnlock
lea rdx, str.McAfeeWebadvisor
mov rcx, rbx
call fcn.140025c40
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140122510
add rsp, 0x250
pop rbx
ret

Function at 0x14005b130
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x14005b14a
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14005b1c8
bt eax, 0xa
jae 0x14005b1c8
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14005b168
mov rdx, qword [rbx]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x14005b170
xor eax, eax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], ax
lea rcx, [rsp + 0x20]
call fcn.140028220
nop
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
call fcn.1400fd0dc
shr rax, 0x20
test eax, eax
jne 0x14005b204
lea rcx, [rsp + 0x20]
call fcn.1400285b0
cmp qword [rbx + 0x18], 8
jb 0x14005b1d2
mov rbx, qword [rbx]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14005b1f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14005b1f3
xor al, al
jmp 0x14005b1f9
mov al, 1
jmp 0x14005b1f9
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
lea r8, [rsp + 0x20]
mov edx, eax
call fcn.14005a230
int3
Function at 0x14005dbe0
Capabilities:
Get session information
Get session user name
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1401c73e8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
mov qword [rcx], rdi
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], 7
mov word [rcx], di
lea r8d, [rdi + 7]
lea rdx, [0x14019a308]
call fcn.140028220
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x48], edi
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
cmp eax, 0xffffffff
jne 0x14005dc4e
lea rcx, str.Error_retrieving_session_id_for_generating_log_name.
jmp 0x14005dcc3
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x40]
mov r8d, 5
mov edx, eax
xor ecx, ecx
call qword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
test eax, eax
je 0x14005dcbc
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x14005dcbc
mov eax, dword [rsp + 0x48]
cmp eax, 2
jbe 0x14005dca2
mov r8d, eax
shr r8, 1
dec r8
mov rcx, rbx
call fcn.140028220
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
jmp 0x14005dcc9
lea rcx, str.WTSQuerySessionInformation_failed_to_retrieve_the_size_of_the_current_user_name_for_the_log_name.
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
jmp 0x14005dcc9
lea rcx, str.WTSQuerySessionInformation_failed_to_retrieve_current_user_name_for_the_log_name.
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140122510
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x14005df00
Capabilities:
Enumerate processes on remote desktop session host

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1401c73e8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r15, r8
mov ebp, edx
mov r14, rcx
test rcx, rcx
jne 0x14005df2d
xor al, al
jmp 0x14005dfe7
mov qword [rsp + 0x88], rbx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x58], rsi
lea r9, [rsp + 0x30]
xor esi, esi
mov qword [rsp + 0x50], rdi
xor edx, edx
mov qword [rsp + 0x30], rsi
xor ecx, ecx
mov dword [rsp + 0x38], esi
mov ebx, esi
mov qword [rsp + 0x20], rax
lea r8d, [rsi + 1]
call qword [sym.imp.WTSAPI32.dll_WTSEnumerateProcessesW]
test eax, eax
je 0x14005dfc0
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14005dfc0
mov r8d, dword [rsp + 0x38]
mov rbx, rdx
test r8d, r8d
je 0x14005dfc0
mov edi, esi
cmp ebp, 0xfffffffa
je 0x14005df94
lea rax, [rdi + rdi*2]
cmp ebp, dword [rdx + rax*8]
jne 0x14005dfb9
lea rax, [rdi + rdi*2]
mov rcx, qword [rdx + rax*8 + 8]
test rcx, rcx
je 0x14005dfb9
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14005dffe
mov rdx, qword [rsp + 0x30]
mov r8d, dword [rsp + 0x38]
inc esi
cmp esi, r8d
jb 0x14005df84
xor dil, dil
mov rsi, qword [rsp + 0x58]
test rbx, rbx
je 0x14005dfd6
mov rcx, rbx
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov rbx, qword [rsp + 0x88]
movzx eax, dil
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140122510
add rsp, 0x60
pop r15
pop r14
pop rbp
ret
mov rax, qword [rsp + 0x30]
lea rcx, [rdi + rdi*2]
mov dil, 1
mov ecx, dword [rax + rcx*8 + 4]
mov dword [r15], ecx
jmp 0x14005dfc3
Function at 0x14005e020
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1401c73e8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rdx
mov r14, rcx
mov rdi, qword [rdx]
mov qword [rdx + 8], rdi
mov rdx, qword [rdx + 0x10]
sub rdx, rdi
movabs rbp, 0x73615a240e6c2b45
mov rax, rbp
imul rdx
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 1
jae 0x14005e088
mov edx, 1
mov rcx, rbx
call fcn.14005ea60
jmp 0x14005e0a3
xor edx, edx
mov r8d, 0x238
mov rcx, rdi
call fcn.140124d50
lea rax, [rdi + 0x238]
mov qword [rbx + 8], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
mov qword [rsp + 0x28], rax
xor eax, eax
mov qword [rsp + 0x30], rax
movdqa xmm0, xmmword [0x1401a4080]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], ax
xor sil, sil
cmp rdi, 0xffffffffffffffff
je 0x14005e1e5
mov rax, qword [rbx]
mov dword [rax], 0x238
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14005e1e5
mov rsi, qword [r14]
nop word [rax + rax]
mov r8, qword [rbx]
mov rcx, qword [rbx + 8]
sub rcx, r8
mov rax, rbp
imul rcx
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0x238
lea rcx, [r8 - 0x20c]
add rcx, rax
mov rdx, rsi
call fcn.14012efb0
test eax, eax
jne 0x14005e1a2
mov rcx, qword [rbx + 8]
sub rcx, qword [rbx]
mov rax, rbp
imul rcx
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
inc rdx
add rdx, rax
mov rcx, rbx
call fcn.14005e710
mov r8, qword [rbx]
mov rcx, qword [rbx + 8]
sub rcx, r8
mov rax, rbp
imul rcx
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0x238
mov dword [rax + r8 - 0x238], 0x238
mov r8, qword [rbx]
mov rcx, qword [rbx + 8]
sub rcx, r8
mov rax, rbp
imul rcx
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0x238
lea rdx, [r8 - 0x238]
add rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14005e110
mov sil, 1
mov rcx, qword [rbx + 8]
sub rcx, qword [rbx]
mov rax, rbp
imul rcx
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
dec rdx
add rdx, rax
mov rcx, rbx
call fcn.14005e710
nop
lea rcx, [rsp + 0x30]
call fcn.1400285b0
nop
lea rcx, [rdi - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14005e22a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, sil
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140122510
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14005f900
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1401c73e8]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rdi, rcx
mov qword [rsp + 0x50], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x70]
call fcn.140124d50
xor r9d, r9d
lea r8d, [rbx + 0x18]
lea rdx, [rbp - 0x70]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x14005f981
mov qword [rdi], rbx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 7
mov word [rdi], bx
jmp 0x14005fadd
lea rax, str._McRebootA5E6DEAA56_.lnk
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x18
lea rax, [rbp - 0x70]
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x70]
mov r15, 0xffffffffffffffff
mov rax, r15
nop dword [rax]
inc rax
cmp word [rcx + rax*2], bx
jne 0x14005f9b0
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm1
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.14005a580
nop
mov rsi, qword [rbp - 0x80]
cmp rsi, 0x104
jae 0x14005fa7f
lea r14, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae r14, qword [rsp + 0x70]
cmp rsi, 8
jae 0x14005fa24
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x48], 7
jmp 0x14005fa6e
mov rbx, rsi
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
mov rdx, rbx
add rdx, 1
cmovb rdx, r15
lea rcx, [rsp + 0x30]
call fcn.140028530
mov qword [rsp + 0x30], rax
lea r8, [rsi*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.140125070
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rsi
lea rdx, [rsp + 0x30]
mov ebx, 2
jmp 0x14005faa1
mov qword [rsp + 0x50], rbx
movdqa xmm0, xmmword [0x1401a4080]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], bx
lea rdx, [rsp + 0x50]
mov ebx, 4
mov dword [rsp + 0x20], ebx
mov rcx, rdi
call fcn.140025cc0
or ebx, 1
test bl, 4
je 0x14005fac3
and ebx, 0xfffffffb
lea rcx, [rsp + 0x50]
call fcn.1400285b0
nop
test bl, 2
je 0x14005fad3
lea rcx, [rsp + 0x30]
call fcn.1400285b0
nop
lea rcx, [rsp + 0x70]
call fcn.1400285b0
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140122510
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140063d30
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x1401c73e8]
xor rax, rsp
mov qword [rbp + 0xc8], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rbp + 0x40], rdx
mov byte [r8], 0
mov rcx, qword [rcx + 0xa8]
test rcx, rcx
je 0x140063da0
mov byte [rbp + 0xc0], 0
mov rax, qword [rcx]
mov r9, r8
lea r8, [rbp + 0xc0]
mov rax, qword [rax + 0x10]
call qword [0x14016fb70]
cmp byte [rbp + 0xc0], 0
jne 0x140063f33
lea r9, [rdi + 0xd0]
mov r11, qword [rbx + 0x10]
mov rax, rbx
mov r10, qword [rbx + 0x18]
cmp r10, 8
jb 0x140063dbb
mov rax, qword [rbx]
mov rcx, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 8
jb 0x140063dc9
mov r9, qword [r9]
cmp rcx, r11
jne 0x140063e0e
test rcx, rcx
je 0x140063f33
movzx edx, word [r9]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x140063e0e
sub r9, rax
cmp dx, r8w
ja 0x140063e0e
cmp rcx, 1
je 0x140063f33
dec rcx
add rax, 2
movzx edx, word [r9 + rax]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x140063dec
mov rcx, rbx
cmp r10, 8
jb 0x140063e1a
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 4
lea r9, str.http
mov rdx, r11
call fcn.14003b930
test rax, rax
jne 0x140063f33
mov byte [rsi], 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
mov dword [rbp + 0x50], 0x70
lea rax, str.open
mov qword [rbp + 0x60], rax
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140063e88
mov rax, qword [rbx]
mov qword [rbp + 0x68], rax
mov dword [rbp + 0x80], 1
mov dword [rbp + 0x54], 0x100000
lea rcx, [rbp + 0x50]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x140063f33
call fcn.1400595a0
mov r8d, 1
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.140059480
lea rax, str.EmbeddedBrowser.cpp
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], 0x34c
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x48]
call fcn.140026620
lea rdx, str.ShellExecuteEx_failed:
lea rcx, [rsp + 0x48]
call fcn.140026650
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.14003cd90
lea rcx, [rbp - 0x20]
call fcn.14005be70
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x20]
call fcn.1400fa82c
nop
mov rcx, rbx
call fcn.1400285b0
mov rcx, qword [rbp + 0xc8]
xor rcx, rsp
call fcn.140122510
mov rbx, qword [rsp + 0x208]
add rsp, 0x1d0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140068d60
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x1401c73e8]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rsi, rcx
mov dword [rcx + 0xf8], edx
test edx, edx
je 0x140068ed3
sub edx, 1
je 0x140068ead
sub edx, 1
je 0x140068ea1
sub edx, 1
je 0x140068e57
cmp edx, 1
je 0x140068e33
call fcn.1400595a0
mov r8d, 1
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140059480
lea rax, str.HtmlUI.cpp
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x113
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.140026620
lea rdx, str.unsupported_ZOrderPosition
lea rcx, [rsp + 0x50]
call fcn.140026650
lea rcx, [rsp + 0xe8]
call fcn.14005be70
nop
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0xe8], rax
lea rcx, [rsp + 0xe8]
call fcn.1400fa82c
nop
xor al, al
jmp 0x140068ed5
mov rbx, qword [rcx + 0x58]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [rsp + 0x30], reloc.OLEAUT32.dll_SafeArrayGetLBound
xor ecx, ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
mov rdx, rbx
mov rcx, rax
jmp 0x140068ec7
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rdx, [rsp + 0x148]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
mov r8d, 0xffffffff
mov edx, edi
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rcx, qword [rsi + 0x58]
call qword [sym.imp.USER32.dll_BringWindowToTop]
xor r8d, r8d
mov edx, edi
mov ecx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
jmp 0x140068ed3
mov rcx, qword [rcx + 0x58]
call qword [sym.imp.USER32.dll_BringWindowToTop]
jmp 0x140068ed3
mov dword [rsp + 0x30], reloc.OLEAUT32.dll_SafeArrayGetLBound
xor ecx, ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
mov rdx, qword [rsi + 0x58]
mov rcx, qword [rsi + 0x60]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.dll_SetWindowPos]
mov al, 1
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140122510
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret