joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c6c34
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x1400c6cb2
lea edi, [rax + 1]
mov eax, 2
movsxd rcx, edi
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14011a19c
mov rbx, rax
test rax, rax
je 0x1400c6cb2
mov r8d, edi
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowTextW]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov rcx, rbx
call fcn.1400c6da0
mov rcx, rbx
call fcn.140119d28
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400c8aa8
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x80
mov edi, edx
mov rbx, rcx
cmp edx, 0x10d
jne 0x1400c8ad3
call fcn.1400c8a50
mov al, 1
jmp 0x1400c8bf0
cmp edi, 0x10e
jne 0x1400c8b0b
mov ecx, 0x4fe
call fcn.1400a685c
mov r8, rax
mov dword [rsp + 0x28], 1
lea rax, [0x140140f10]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1400c8acc
call fcn.1400c832c
mov rsi, rax
cmp edi, 0x10f
jne 0x1400c8b2b
or dword [rbx + 0x100], 0xffffffff
lea r8, [0x140140f10]
jmp 0x1400c8ba0
lea eax, [rdi - 0x41a]
cmp eax, 0x7f
ja 0x1400c8bee
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x50]
call fcn.14011cde0
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], 0x50
xor r8d, r8d
mov dword [rsp + 0x34], 0x20
mov edx, edi
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x1400c8bee
mov rax, qword [rbx + 0xe8]
cmp qword [rsp + 0x60], rax
jae 0x1400c8bee
movsxd rax, dword [rsp + 0x60]
imul rcx, rax, 0x1304
mov dword [rbx + 0x100], eax
add rcx, qword [rbx + 0xe0]
call fcn.14009702c
mov r8, rax
lea rdx, str.ActivePath
lea rcx, str.InterfaceThemes
call fcn.1400be088
mov edx, dword [rbx + 0x1108]
cmp edx, 0xffffffff
je 0x1400c8bca
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov r8d, 8
mov edx, edi
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov rcx, rbx
mov dword [rbx + 0x1108], edi
call fcn.1400c71a8
jmp 0x1400c8acc
xor al, al
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400cab40
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x140183c48]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rcx
lea rdx, str.ViewAddress
lea rcx, str.GeneralToolbar
mov r8d, 1
call fcn.1400bd490
test eax, eax
je 0x1400cac26
mov rbx, qword [0x1401bdf98]
lea r8, [rbp - 0x49]
mov edx, 3
mov rcx, rdi
call fcn.1400c9b78
or dword [rbp - 0x41], 4
mov ecx, 0x12
and dword [rbp - 0x19], 0
mov dword [rbp - 0x49], 0x4c
mov dword [rbp - 0x45], 0x173
mov qword [rbp - 0x21], rbx
mov dword [rbp - 1], 3
call qword [sym.imp.USER32.dll_GetSysColor]
mov ecx, 0xf
mov dword [rbp - 0x3d], eax
call qword [sym.imp.USER32.dll_GetSysColor]
mov dword [rbp - 0x39], eax
mov ecx, reloc.SHELL32.dll_SHRestricted
mov eax, dword [rbp - 0x11]
lea rdx, [rbp + 0x37]
test eax, eax
cmove eax, ecx
mov rcx, rbx
mov dword [rbp - 0x11], eax
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp + 0x43]
lea r9, [rbp - 0x49]
mov rcx, qword [rdi + 0x10]
or r8, 0xffffffffffffffff
mov edx, 0x40a
mov dword [rbp - 0x15], eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 5
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14011a150
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400cb8c4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r8d, 2
lea rdx, [0x140154bd8]
lea rcx, str.GeneralToolbar
jmp fcn.1400bd490

Function at 0x1400cbc18
Capabilities:
Set registry value

Disassembly:
mov r8d, ecx
lea rdx, [0x140154bd8]
lea rcx, str.GeneralToolbar
jmp fcn.1400be0a0

Function at 0x1400d240c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x1401ea548], 0
je 0x1400d2427
or eax, 0xffffffff
jmp 0x1400d252f
mov rax, qword [0x1401da3f8]
test rax, rax
jg 0x1400d2447
dec rax
mov qword [0x1401da3f8], rax
and qword [0x1401ea458], 0
jmp 0x1400d241f
mov rbx, qword [0x1401ea458]
test rbx, rbx
jg 0x1400d249b
mov rcx, qword [0x1401ea448]
mov ebx, 0x2000
mov edx, ebx
call fcn.1400d26ac
movsxd rcx, eax
mov qword [0x1401ea458], rcx
test eax, eax
je 0x1400d243d
cmp rcx, 0xffffffffffffffff
je 0x1400d24d1
mov rax, qword [0x1401ea448]
add qword [0x1401ea498], rbx
mov qword [0x1401ea450], rax
call fcn.1400d1df4
mov rbx, qword [0x1401ea458]
mov rax, qword [0x1401da430]
test byte [rax + 0x80], 1
je 0x1400d2514
cmp byte [0x1401eb661], 0
je 0x1400d24e9
test rbx, rbx
je 0x1400d2514
mov rdx, qword [0x1401ea450]
lea rcx, [0x1401eb668]
mov r8, rbx
call fcn.1400d59ec
jmp 0x1400d250d
lea rdx, [0x1401aa992]
lea rcx, [0x1401cb7d8]
call fcn.14007e7f4
jmp 0x1400d243d
mov rdi, qword [0x1401ea450]
test rbx, rbx
je 0x1400d2514
call fcn.1400d573c
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.1400d58b0
inc rdi
sub rbx, 1
jne 0x1400d24f5
mov rbx, qword [0x1401ea458]
mov rax, qword [0x1401ea450]
dec rbx
mov qword [0x1401ea458], rbx
movzx eax, byte [rax]
inc qword [0x1401ea450]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400d57a8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140183c48]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov dil, r8b
mov rcx, rdx
call fcn.1400d575c
movsd xmm0, qword [rbx]
mov eax, dword [rbx + 8]
xor ebx, ebx
movsd qword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], eax
mov ecx, dword [0x1401eb5a8]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [rsp + rbx + 0x20], al
movzx ecx, byte [rsp + rbx + 0x20]
call fcn.1400d58b0
inc rbx
cmp rbx, 0xc
jl 0x1400d57e2
mov rax, qword [0x1401da430]
movzx ecx, byte [0x1401ea4c7]
test byte [rax + 0x80], 2
movzx eax, byte [0x1401ea4bf]
cmovne ecx, eax
movzx eax, byte [rsp + 0x2b]
cmp eax, ecx
je 0x1400d5840
or eax, 0xffffffff
jmp 0x1400d5895
test dil, dil
je 0x1400d5893
mov rbx, qword [0x1401ea458]
mov rax, qword [0x1401da3f8]
mov rdi, qword [0x1401ea450]
movsxd rcx, ebx
cmp rcx, rax
cmovg ebx, eax
test ebx, ebx
je 0x1400d5893
mov ecx, dword [0x1401eb5a8]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.1400d58b0
inc rdi
sub ebx, 1
jne 0x1400d5867
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14011a150
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400d58b0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov r8, qword [0x1401eb5a0]
mov eax, ecx
mov r9d, ecx
mov rdx, r8
mov rcx, qword [0x1401eb5a8]
xor rdx, rax
movzx eax, dl
lea rdx, [0x1401d9fd0]
shr r8d, 8
xor r8d, dword [rdx + rax*4]
movzx eax, r8b
add eax, dword [0x1401eb5a4]
imul eax, eax, 0x8088405
mov dword [0x1401eb5a0], r8d
inc eax
mov dword [0x1401eb5a4], eax
shr rax, 0x18
xor rax, rcx
shr ecx, 8
movzx eax, al
xor ecx, dword [rdx + rax*4]
mov eax, r9d
mov dword [0x1401eb5a8], ecx
ret

Function at 0x1400d5ba0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140183c48]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r14, qword [rsp + 0xa0]
mov r12, rdx
lea rdx, [rsp + 0x20]
mov rsi, r9
mov r15, r8
mov rbx, rcx
call fcn.1400d60a4
xor edi, edi
test rsi, rsi
je 0x1400d5c18
cmp byte [r14], dil
je 0x1400d5c18
movups xmm0, xmmword [rsi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rsi + 0x20]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rsi + 0x30]
movups xmmword [rbx + 0x30], xmm1
movups xmm0, xmmword [rsi + 0x40]
movups xmmword [rbx + 0x40], xmm0
movups xmm1, xmmword [rsi + 0x50]
movups xmmword [rbx + 0x50], xmm1
jmp 0x1400d5c4c
lea rax, [rbx + 0x60]
mov ecx, 0x40
xor byte [rax], 0x6a
inc rax
sub rcx, 1
jne 0x1400d5c21
mov rcx, rbx
call fcn.1400ab71c
mov r8d, 0x40
lea rdx, [rbx + 0x60]
mov rcx, rbx
call fcn.1400ab744
test rsi, rsi
je 0x1400d5c83
cmp byte [r14], dil
jne 0x1400d5c83
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rsi + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rsi + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rsi + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rsi + 0x50], xmm1
mov byte [r14], 1
mov r8d, 0x14
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400ab744
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400d60a4
test r15, r15
je 0x1400d5cbc
mov rcx, rdi
mov al, byte [rsp + rcx + 0x20]
inc edi
mov byte [rcx + r12], al
mov ecx, edi
cmp rcx, r15
jb 0x1400d5cab
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14011a150
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400d5cd8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
lea rbp, [rcx + 0x60]
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
cmp r8, 0x40
jbe 0x1400d5d24
call fcn.1400ab71c
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.1400ab744
mov rdx, rbp
mov rcx, rbx
call fcn.1400d60a4
mov edi, 0x14
jmp 0x1400d5d2c
mov rcx, rbp
call fcn.14011c290
xor eax, eax
mov qword [rbx + 0xa0], rdi
lea edx, [rax + 0x36]
test rdi, rdi
je 0x1400d5d53
mov ecx, eax
xor byte [rcx + rbx + 0x60], dl
inc eax
mov rdi, qword [rbx + 0xa0]
mov ecx, eax
cmp rcx, rdi
jb 0x1400d5d3f
mov r8d, 0x40
lea rcx, [rbx + 0x60]
sub r8, rdi
add rcx, rdi
call fcn.14011cde0
mov rcx, rbx
call fcn.1400ab71c
mov r8d, 0x40
mov rdx, rbp
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.1400ab744
Function at 0x1400d9b28
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140183c48]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rax, qword [rcx]
xor r8d, r8d
xor edx, edx
mov rbx, rcx
mov rax, qword [rax + 0x20]
call qword [case.0x1400a26d7.0]
mov rax, qword [rbx]
lea rdx, [rsp + 0x20]
mov r8d, 0x40
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [case.0x1400a26d7.0]
cmp eax, 0x40
jne 0x1400d9c1e
cmp byte [rsp + 0x20], 0x4d
jne 0x1400d9c1e
cmp byte [rsp + 0x21], 0x5a
jne 0x1400d9c1e
mov rax, qword [rbx]
xor r8d, r8d
mov edx, dword [rsp + 0x5c]
mov rcx, rbx
mov rax, qword [rax + 0x20]
call qword [case.0x1400a26d7.0]
mov rax, qword [rbx]
lea rdx, [rsp + 0x20]
mov r8d, 0x108
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [case.0x1400a26d7.0]
cmp eax, 0x108
jne 0x1400d9c1e
cmp byte [rsp + 0x20], 0x50
jne 0x1400d9c1e
cmp byte [rsp + 0x21], 0x45
jne 0x1400d9c1e
cmp byte [rsp + 0x22], 0
jne 0x1400d9c1e
cmp byte [rsp + 0x23], 0
jne 0x1400d9c1e
cmp byte [rsp + 0x38], 0xb
jne 0x1400d9c1e
cmp byte [rsp + 0x39], 1
jne 0x1400d9c05
cmp dword [rbp - 0x6c], 4
jbe 0x1400d9c05
mov eax, dword [rbp - 0x48]
jmp 0x1400d9c20
cmp byte [rsp + 0x38], 0xb
jne 0x1400d9c1e
cmp byte [rsp + 0x39], 2
jne 0x1400d9c1e
cmp dword [rbp - 0x5c], 4
jbe 0x1400d9c1e
mov eax, dword [rbp - 0x38]
jmp 0x1400d9c20
xor eax, eax
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.14011a150
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rbp
ret
Function at 0x1400db56c
Capabilities:
Hide graphical window

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rdx]
mov r9, rdx
and qword [r11 + 0x20], 0
lea rdx, [r11 + 0x20]
and qword [r11 + 0x10], 0
mov rdi, rcx
mov rcx, r9
mov rsi, r8
mov rax, qword [rax + 0x90]
call qword [case.0x1400a26d7.0]
mov ebx, eax
test eax, eax
js 0x1400db627
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400db635
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
lea rdx, [0x140159b70]
mov rax, qword [rax]
call qword [case.0x1400a26d7.0]
mov ebx, eax
test eax, eax
js 0x1400db615
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [case.0x1400a26d7.0]
mov ebx, eax
test eax, eax
js 0x1400db603
mov rcx, qword [rsp + 0x58]
mov rdx, rsi
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400a26d7.0]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400a26d7.0]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400a26d7.0]
test ebx, ebx
js 0x1400db635
mov rcx, qword [rsp + 0x68]
test rcx, rcx
jne 0x1400db6a6
cmp qword [rdi + 0x10], 0
je 0x1400db6a6
cmp qword [rdi + 0x58], 0
jne 0x1400db6a6
mov rdx, qword [rdi + 0x50]
test rdx, rdx
je 0x1400db6a6
mov rcx, rdi
call fcn.1400dc2f0
mov rsi, rax
test rax, rax
je 0x1400db6a6
mov rcx, qword [rdi + 8]
xor r9d, r9d
mov dword [rsp + 0x30], 0x204
xor r8d, r8d
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea edx, [r9 + 1]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rdi + 0x10]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0x10]
mov rdx, rsi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, rsi
call fcn.140125bf8
mov rsi, qword [rsp + 0x60]
shr ebx, 0x1f
xor bl, 1
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400dbbb4
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
mov eax, 0x2040
call fcn.14011a0f0
sub rsp, rax
mov rax, qword [0x140183c48]
xor rax, rsp
mov qword [rsp + 0x2030], rax
cmp dword [rcx + 0x64], 2
lea rbp, [0x140140f10]
mov rdi, rdx
lea r15, str.open
mov r14d, 1
jne 0x1400dbd81
call fcn.1400dad74
xor ebx, ebx
mov edx, eax
test eax, eax
je 0x1400dbd59
sub edx, r14d
je 0x1400dbd2c
sub edx, r14d
je 0x1400dbcf5
cmp edx, 2
je 0x1400dbc47
cmp eax, 5
je 0x1400dbd81
cmp eax, 3
je 0x1400dbd81
jmp 0x1400dbd7b
mov dword [rsp + 0x28], 0x800
lea r9, [rsp + 0x30]
mov r8, rbp
mov qword [rsp + 0x20], rbp
lea rdx, str.http_shellopencommand
mov rcx, 0xffffffff80000000
call fcn.1400bd4d4
mov edx, 0x22
cmp word [rsp + 0x30], dx
jne 0x1400dbd81
lea rcx, [rsp + 0x32]
call fcn.14011b3d8
mov rsi, rax
test rax, rax
je 0x1400dbd81
lea rcx, [rsp + 0x30]
call fcn.14009702c
mov rcx, rax
lea rdx, str.opera.exe
mov r8d, 9
call fcn.1400afa78
test eax, eax
jne 0x1400dbd81
mov r9, rdi
mov word [rsi + 2], bx
lea r8, str._newwindow__s
mov edx, 0x800
lea rcx, [rsp + 0x1030]
call fcn.140004dcc
mov dword [rsp + 0x28], r14d
lea r9, [rsp + 0x1030]
mov qword [rsp + 0x20], rdi
lea r8, [rsp + 0x30]
jmp 0x1400dbd6d
mov r9, rdi
lea r8, str.__new_window__s
mov edx, 0x800
lea rcx, [rsp + 0x1030]
call fcn.140004dcc
mov dword [rsp + 0x28], r14d
lea r9, [rsp + 0x1030]
mov qword [rsp + 0x20], rdi
lea r8, str.chrome.exe
jmp 0x1400dbd6d
mov r9, rdi
lea r8, str._new_window__s
mov edx, 0x800
lea rcx, [rsp + 0x1030]
call fcn.140004dcc
lea r9, [rsp + 0x1030]
lea r8, str.firefox.exe
jmp 0x1400dbd63
mov r9, rdi
lea r8, str.iexplore.exe
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rbp
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rbx, rax
cmp rbx, 0x20
ja 0x1400dbd9c
mov dword [rsp + 0x28], r14d
xor r9d, r9d
mov r8, rdi
mov qword [rsp + 0x20], rbp
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rsp + 0x2030]
xor rcx, rsp
call fcn.14011a150
lea r11, [rsp + 0x2040]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1400dd9e0
Capabilities:
Get disk information
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x4360]
mov eax, 0x4460
call fcn.14011a0f0
sub rsp, rax
mov rax, qword [0x140183c48]
xor rax, rsp
mov qword [rbp + 0x4350], rax
mov rax, rdx
mov rdi, rcx
mov r14d, 0x800
lea rdx, [rbp + 0xf50]
mov r8d, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x7fe
ja 0x1400ddc36
mov r9d, r14d
lea r8, [rbp + 0xf50]
lea rdx, [rbp + 0xf50]
lea rcx, [0x1401be3f0]
call fcn.140058dc8
lea rcx, [rbp + 0xf50]
call fcn.14009702c
mov edx, 0x3a
mov rcx, rax
call fcn.14011b3d8
xor esi, esi
test rax, rax
je 0x1400ddabc
cmp byte [0x1401ed6aa], sil
jne 0x1400ddabc
lea ecx, [rsi + 0x65]
call fcn.1400a685c
mov ecx, 0x528
mov rbx, rax
call fcn.1400a685c
lea r9d, [rsi + 0x31]
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.1400e9e04
cmp eax, 1
jne 0x1400ddc32
mov byte [0x1401ed6aa], al
mov r8, r14
lea rdx, [rbp + 0xf50]
lea rcx, [rsp + 0x50]
call fcn.1400ac908
lea rcx, [rsp + 0x50]
call fcn.140097080
mov ebx, 0xa00
cmp word [rsp + 0x50], si
jne 0x1400ddbd8
mov r8, r14
lea rdx, [rbp + 0x3350]
lea rcx, [rbp + 0xf50]
call fcn.1400962c0
mov dword [rsp + 0x38], esi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rsi
lea rcx, [rbp + 0x3350]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1400ddc36
test dword [rsp + 0x40], 0x80000
je 0x1400ddc36
mov ecx, 0x65e
call fcn.1400a685c
lea r9, [rbp + 0x3350]
jmp 0x1400ddbfe
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140015654
test al, al
jne 0x1400ddaea
lea rcx, [rsp + 0x50]
call fcn.14009702c
cmp word [rax], si
je 0x1400ddbef
mov ecx, 0x14e
call fcn.1400a685c
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r8, str.__s__n_s
mov rdx, rbx
lea rcx, [rbp + 0x1f50]
call fcn.140004dcc
mov ecx, 0x65
call fcn.1400a685c
mov r8, rax
lea rdx, [rbp + 0x1f50]
mov r9d, 0x34
mov rcx, rdi
call fcn.1400e9e04
cmp eax, 6
jne 0x1400ddc32
xor r8d, r8d
lea rcx, [rsp + 0x50]
xor edx, edx
call fcn.1400855e4
lea rcx, [rsp + 0x50]
call fcn.140085aac
test al, al
je 0x1400ddb59
jmp 0x1400ddaea
mov ecx, 0x6c
call fcn.1400a685c
lea r9, [rsp + 0x50]
mov r8, rax
lea rcx, [rbp + 0x1f50]
mov rdx, rbx
call fcn.140004dcc
mov ecx, 0x65
call fcn.1400a685c
mov r8, rax
lea rdx, [rbp + 0x1f50]
mov r9d, 0x30
mov rcx, rdi
call fcn.1400e9e04
xor al, al
jmp 0x1400ddc38
mov al, 1
mov rcx, qword [rbp + 0x4350]
xor rcx, rsp
call fcn.14011a150
lea r11, [rsp + 0x4460]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400e8628
Capabilities:
Check if file exists
Get common file path
Get file attributes
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x1040
call fcn.14011a0f0
sub rsp, rax
mov rax, qword [0x140183c48]
xor rax, rsp
mov qword [rsp + 0x1030], rax
xor ebp, ebp
mov sil, r8b
cmp word [0x14018cce8], bp
mov rdi, rdx
mov rbx, rcx
je 0x1400e866f
lea rdx, [0x14018cce8]
jmp 0x1400e86ff
lea r9, [0x140140f10]
mov dword [rsp + 0x20], edi
mov r8, rbx
lea rdx, str.TempFolder
lea rcx, [0x1401411d8]
call fcn.1400bd620
mov r8d, 0x800
mov word [rsp + 0x30], bp
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp word [rbx], bp
je 0x1400e86cc
dec eax
cmp eax, 0x7fe
ja 0x1400e86c7
mov r8, rdi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400ac908
cmp word [rbx], bp
jne 0x1400e86d3
test sil, sil
je 0x1400e86e1
jmp 0x1400e8707
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400e8707
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1400e86f5
cmp word [rbx], bp
jne 0x1400e8707
lea rdx, str._rartemp
mov rcx, rbx
mov r8, rdi
call fcn.1400ac908
mov rdx, rdi
mov rcx, rbx
call fcn.1400953f0
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.14011a150
mov rbx, qword [rsp + 0x1070]
add rsp, 0x1040
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400e8738
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor r8d, r8d
lea rdx, str.NoDrives
lea rcx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
mov esi, eax
call fcn.1400bd490
xor r9d, r9d
lea r8, str.NoDrives
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
mov rcx, 0xffffffff80000002
mov edi, eax
call fcn.1400bd278
xor edx, edx
lea rcx, str.NoDrives
mov ebx, eax
call fcn.1400e85c8
or eax, ebx
mov rbx, qword [rsp + 0x30]
or eax, edi
not eax
and eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400e8a74
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov eax, 0x2030
call fcn.14011a0f0
sub rsp, rax
mov rax, qword [0x140183c48]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov rdi, rdx
mov rsi, r8
mov rdx, rcx
mov r8d, 0x7ff
lea rcx, [rsp + 0x1020]
mov bl, r9b
call fcn.1400ac908
xor ebp, ebp
test bl, bl
je 0x1400e8b0e
cmp byte [0x1401bbad0], bpl
jne 0x1400e8ad6
cmp byte [0x1401bba1b], bpl
lea r9d, [rbp + 0x61]
je 0x1400e8adc
mov r9d, SHRestricted
lea rcx, [rsp + 0x1020]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bp
jne 0x1400e8ae8
lea rcx, [rsp + 0x1020]
mov edx, 2
lea rcx, [rcx + rax*2]
lea r8, [0x140156a00]
call fcn.140004dcc
mov ebx, 0x800
lea rcx, [rsp + 0x20]
mov edx, ebx
xor r8d, r8d
call fcn.1400e8628
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.1400953f0
mov r8d, ebx
lea rdx, [rsp + 0x1020]
lea rcx, [rsp + 0x20]
call fcn.1400ac8e0
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.140086124
test rax, rax
je 0x1400e8b79
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400e8b79
mov r8, rsi
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400ac908
mov al, 1
jmp 0x1400e8b9e
mov ecx, 0x1f7
call fcn.1400a685c
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.1400eea18
lea rcx, [0x1401cb7d8]
call fcn.14007e89c
xor al, al
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.14011a150
mov rbx, qword [rsp + 0x2068]
add rsp, 0x2030
pop rdi
pop rsi
pop rbp
ret