joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004878
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1400270d0]
xor rax, rsp
mov qword [rbp + 0x70], rax
and qword [rsp + 0x30], 0
mov r13, rcx
mov qword [rsp + 0x48], 0xffffffff80000001
xor edi, edi
mov qword [rsp + 0x50], 0xffffffff80000002
mov rcx, qword [rsp + rdi*8 + 0x48]
lea rax, [rsp + 0x30]
lea rdx, str.SoftwareJavaSoftJava_Runtime_Environment
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140004a15
mov r12, qword [rsp + 0x30]
lea r8, [rsp + 0x60]
mov r9d, 0x104
xor edx, edx
mov rcx, r12
xor esi, esi
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x140004a15
mov rdx, qword [r13 + 0x10]
lea rcx, [rsp + 0x60]
inc esi
call fcn.140007620
test eax, eax
je 0x140004956
test rbx, rbx
je 0x140004949
lea rcx, [rsp + 0x60]
mov rdx, rbx
call fcn.140007510
test eax, eax
jle 0x140004956
mov rcx, rbx
call fcn.140004318
lea rcx, [rsp + 0x60]
call fcn.1400042ec
mov rbx, rax
lea r8, [rsp + 0x60]
mov r9d, 0x104
mov edx, esi
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x140004917
test rbx, rbx
je 0x140004a15
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbx
mov rcx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, rbx
test eax, eax
je 0x1400049b6
call fcn.140004318
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140004a15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140004a15
call fcn.140004318
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
lea rdx, str.JavaHome
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x38]
test eax, eax
jne 0x1400049a9
test rcx, rcx
je 0x140004a03
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x60]
call fcn.1400042ec
mov rbx, rax
test rax, rax
jne 0x140004a5d
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140004a25
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc rdi
cmp rdi, 1
jle 0x1400048c3
xor eax, eax
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14000b3a0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rbp
ret
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140004a6d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
jmp 0x140004a34
Function at 0x140005d7c
Capabilities:
Create thread
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
and dword [rax + 0x20], 0
lea rax, [rax - 0x18]
mov rsi, r8
mov r9, r8
mov rbp, rcx
mov r8, rcx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov rdi, rdx
mov dword [rsp + 0x20], 0x10000
call fcn.14000cd9c
mov rbx, rax
test rax, rax
jne 0x140005de3
lea rax, [rsp + 0x30]
mov r9, rsi
mov r8, rbp
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], ebx
mov edx, edi
xor ecx, ecx
call fcn.14000cd9c
mov rbx, rax
cmp dword [0x140027080], 0
je 0x140005ea0
lea rcx, str.J2D_D3D
call fcn.14000a618
test rax, rax
je 0x140005e20
lea rdx, str.false
mov rcx, rax
call fcn.14001d0e4
neg eax
sbb ecx, ecx
and ecx, dword [0x140027080]
mov dword [0x140027080], ecx
lea rcx, str.J2D_D3D_PRELOAD
call fcn.14000a618
mov rdi, rax
test rax, rax
je 0x140005e55
lea rdx, str.false
mov rcx, rax
call fcn.14001d0e4
neg eax
sbb ecx, ecx
and ecx, dword [0x140027080]
mov dword [0x140027080], ecx
jmp 0x140005e5b
mov ecx, dword [0x140027080]
test ecx, ecx
jns 0x140005e92
and dword [0x140027080], 0
test rdi, rdi
je 0x140005ea0
lea rdx, str.true
mov rcx, rdi
call fcn.14001d0e4
mov ecx, dword [0x140027080]
mov edx, 1
test eax, eax
cmove ecx, edx
mov dword [0x140027080], ecx
test ecx, ecx
je 0x140005ea0
lea rcx, str.preloadD3D
call fcn.140005c14
test rbx, rbx
je 0x140005eca
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140005ed3
mov rcx, rsi
call rbp
mov dword [rsp + 0x68], eax
cmp dword [0x140028ae0], 0
je 0x140005eea
mov rax, qword [0x140028b00]
test rax, rax
je 0x140005eea
call rax
mov eax, dword [rsp + 0x68]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14000613c
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r14, rcx
mov ebx, 0x10
mov ecx, ebx
call fcn.140004294
lea ecx, [rbx + 0x70]
mov dword [rax + 0xc], ebx
mov rsi, rax
call fcn.140004294
and dword [rsi + 8], 0
mov ecx, ebx
mov qword [rsi], rax
call fcn.140004294
lea rdx, [0x140028b10]
mov rcx, r14
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
jne 0x1400061b3
mov rcx, rbp
call fcn.140004318
mov rcx, rsi
call fcn.140005f04
xor eax, eax
jmp 0x1400062f5
lea r15, [0x140028b3c]
mov qword [rbp], rax
mov qword [rbp + 8], r15
mov r12, qword [rbp + 8]
test r12, r12
je 0x1400061d2
and qword [rbp + 8], 0
jmp 0x1400061eb
mov rcx, qword [rbp]
lea rdx, [0x140028b10]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
neg eax
sbb r12, r12
and r12, r15
test r12, r12
je 0x1400062d7
mov rcx, r12
call fcn.14000ab20
cmp eax, 4
jl 0x1400061c2
movsxd rcx, eax
cmp byte [rcx + r12 - 4], 0x2e
jne 0x1400061c2
lea rbx, [rcx + r12 - 3]
lea rdx, [0x14001fd74]
mov rcx, rbx
call fcn.14000b3d0
test eax, eax
je 0x140006237
lea rdx, [0x14001fd70]
mov rcx, rbx
call fcn.14000b3d0
test eax, eax
jne 0x1400061c2
mov edx, 0x3b
mov rcx, r12
call fcn.14000cc1c
test rax, rax
jne 0x1400061c2
mov rcx, r14
call fcn.14000ab20
mov rcx, r12
mov rdi, rax
call fcn.14000ab20
lea ecx, [rax + rdi]
mov rbx, rax
movsxd rcx, ecx
call fcn.140004294
lea ecx, [rdi - 1]
mov rdx, r14
movsxd r8, ecx
mov rcx, rax
mov r13, rax
call fcn.14000acc0
lea r11d, [rbx + 1]
movsxd rcx, edi
lea rcx, [rcx + r13 - 1]
movsxd r8, r11d
mov rdx, r12
call fcn.14000acc0
mov r11d, dword [rsi + 8]
mov eax, dword [rsi + 0xc]
inc r11d
cmp eax, r11d
jge 0x1400062c4
add eax, eax
mov dword [rsi + 0xc], eax
cmp eax, r11d
jl 0x1400062a8
mov rcx, qword [rsi]
movsxd rdx, eax
shl rdx, 3
call fcn.1400042c0
mov qword [rsi], rax
movsxd rcx, dword [rsi + 8]
mov rax, qword [rsi]
mov qword [rax + rcx*8], r13
inc dword [rsi + 8]
jmp 0x1400061c2
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 8]
call fcn.140004318
mov rcx, rbp
call fcn.140004318
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x140006474
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edx, 0x2a
mov rdi, rcx
call fcn.14000cc1c
test rax, rax
jne 0x14000649a
mov rax, rdi
jmp 0x1400064ea
mov dl, 0x3b
mov rcx, rdi
call fcn.140006024
mov rcx, rax
mov rbx, rax
call fcn.140006314
mov dl, 0x3b
mov rcx, rbx
call fcn.140005f60
mov rcx, rbx
mov rsi, rax
call fcn.140005f04
lea rcx, str._JAVA_LAUNCHER_DEBUG
call fcn.14000a618
test rax, rax
je 0x1400064e7
lea rcx, str.Expanded_wildcards:_n____before:___s__n____after_:___s__n
mov r8, rsi
mov rdx, rdi
call fcn.14000a4b0
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140006694
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x80
cmp qword [rdx + 8], 0xffffffffffffffff
mov rbp, r8
mov rdi, rdx
mov esi, ecx
je 0x1400067eb
cmp qword [rdx], 0xffffffffffffffff
je 0x1400067eb
mov rdx, qword [rdx + 0x10]
xor r8d, r8d
call fcn.14000cf28
test rax, rax
js 0x1400067eb
mov rcx, qword [rdi + 8]
inc rcx
call fcn.14000bee4
mov rbx, rax
test rax, rax
je 0x1400067eb
mov r12, qword [rdi + 8]
mov rdx, rax
mov ecx, esi
mov r8d, r12d
call fcn.140018ab8
movsxd rcx, eax
cmp rcx, r12
jne 0x1400067e3
cmp dword [rdi + 0x18], 0
jne 0x140006735
mov byte [r12 + rbx], 0
test rbp, rbp
je 0x14000672d
mov eax, dword [rdi + 8]
mov dword [rbp], eax
mov rax, rbx
jmp 0x1400067ed
cmp dword [rdi + 0x18], 8
jne 0x1400067e3
mov eax, dword [rdi + 8]
and qword [rsp + 0x50], 0
and qword [rsp + 0x58], 0
and qword [rsp + 0x60], 0
mov r9d, 0x58
lea r8, str.1.2.8
lea rcx, [rsp + 0x20]
lea edx, [r9 - 0x67]
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x28], eax
call fcn.1400079d8
test eax, eax
js 0x1400067e3
mov rcx, qword [rdi]
inc rcx
call fcn.14000bee4
mov rsi, rax
test rax, rax
je 0x1400067e3
mov qword [rsp + 0x30], rax
mov eax, dword [rdi]
lea rcx, [rsp + 0x20]
mov edx, 1
mov dword [rsp + 0x38], eax
call fcn.140007ba8
mov rcx, rbx
test eax, eax
jns 0x1400067ba
call fcn.14000a810
mov rcx, rsi
jmp 0x1400067e6
mov rax, qword [rdi]
mov byte [rsi + rax], 0
call fcn.14000a810
lea rcx, [rsp + 0x20]
call fcn.140009200
test eax, eax
js 0x1400067b5
test rbp, rbp
je 0x1400067de
mov eax, dword [rdi]
mov dword [rbp], eax
mov rax, rsi
jmp 0x1400067ed
mov rcx, rbx
call fcn.14000a810
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret

Function at 0x14000688c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea rdx, [r8 - 0x14]
xor r8d, r8d
mov edi, ecx
call fcn.14000cf28
mov rsi, rax
test rax, rax
jns 0x1400068ba
or rax, 0xffffffffffffffff
jmp 0x1400068fa
mov r8d, 0x14
mov rdx, rbx
mov ecx, edi
call fcn.140018ab8
test eax, eax
js 0x1400068b4
movzx eax, byte [rbx + 2]
movzx ecx, byte [rbx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx]
shl ecx, 8
or ecx, eax
or rax, 0xffffffffffffffff
cmp ecx, 0x7064b50
cmove rax, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000690c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov rsi, rdx
mov edi, 2
mov rdx, 0xffffffffffffffea
mov r8d, edi
mov ebp, ecx
call fcn.14000cf28
mov rbx, rax
test rax, rax
js 0x140006a9c
lea r8d, [rdi + 0x14]
mov rdx, rsi
mov ecx, ebp
call fcn.140018ab8
test eax, eax
js 0x140006a9c
movzx eax, byte [rsi + 2]
movzx ecx, byte [rsi + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsi]
shl ecx, 8
or ecx, eax
cmp ecx, 0x6054b50
jne 0x1400069a9
mov rcx, rsi
call fcn.14000680c
test eax, eax
je 0x1400069a1
mov r8, rbx
mov rdx, rsi
mov ecx, ebp
call fcn.14000688c
mov rbx, rax
mov rax, rbx
jmp 0x140006aa0
mov r8d, edi
xor edx, edx
mov ecx, ebp
call fcn.14000cf28
mov r13, rax
test rax, rax
js 0x140006a9c
mov r12d, 0x10015
mov r8d, edi
mov ecx, ebp
cmp rax, r12
mov ebx, r12d
cmovl rbx, rax
mov rdx, rbx
neg rdx
call fcn.14000cf28
test rax, rax
js 0x140006a9c
mov ecx, r12d
call fcn.14000bee4
mov rdi, rax
test rax, rax
je 0x140006a9c
mov r8d, ebx
mov rdx, rax
mov ecx, ebp
call fcn.140018ab8
test eax, eax
js 0x140006a94
movsxd r12, eax
add eax, 0xffffffea
movsxd rbx, eax
add r12, rdi
add rbx, rdi
cmp rbx, rdi
jb 0x140006a94
cmp byte [rbx], 0x50
jne 0x140006a6b
movzx eax, byte [rbx + 2]
movzx ecx, byte [rbx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 1]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, 0x50
cmp ecx, 0x6054b50
jne 0x140006a6b
movzx eax, byte [rbx + 0x15]
shl eax, 8
movsxd rcx, eax
movzx eax, byte [rbx + 0x14]
or rcx, rax
lea rax, [rcx + rbx + 0x16]
cmp rax, r12
je 0x140006a70
dec rbx
jmp 0x140006a22
mov r8d, 0x16
mov rdx, rbx
mov rcx, rsi
call fcn.14000acc0
mov rcx, rdi
call fcn.14000a810
sub rbx, r12
add rbx, r13
jmp 0x140006985
mov rcx, rdi
call fcn.14000a810
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x14000a450
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14000a2c0

Function at 0x14000cc38
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
test rcx, rcx
jne 0x14000cc62
call fcn.14000c9b0
and dword [rax], 0
call fcn.14000c990
mov ebx, 0x16
mov dword [rax], ebx
call fcn.14000daac
mov eax, ebx
jmp 0x14000ccb2
test edx, 0xfffffff9
jne 0x14000cc45
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14000cc8b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14000c9d0
call fcn.14000c990
mov eax, dword [rax]
jmp 0x14000ccb2
test al, 0x10
jne 0x14000ccb0
test al, 1
je 0x14000ccb0
test bl, 2
je 0x14000ccb0
call fcn.14000c9b0
mov dword [rax], 5
call fcn.14000c990
mov dword [rax], 0xd
jmp 0x14000cc82
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x140011ee3
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400270d0]
jne 0x14000b3ba
rol rcx, 0x10
test cx, 0xffff
jne 0x14000b3b6
repz ret
ror rcx, 0x10
jmp 0x140011e3c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400297a0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140029898]
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 0x140011ec1
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, [0x1400297a0]
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 0x140011ee3
mov rax, qword [rsp + 0x88]
mov qword [0x140029898], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140029838], rax
mov rax, qword [0x140029898]
mov qword [0x140029710], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140029820], rax
mov dword [0x140029700], 0xc0000409
mov dword [0x140029704], 1
mov rax, qword [0x1400270d0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400270d8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140029798], eax
mov ecx, 1
call fcn.140016564
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140023870]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140029798], 0
jne 0x140011f6a
mov ecx, 1
call fcn.140016564
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 0x1400165b4
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 [0x1400270d0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14000db08
xor ebx, ebx
cmp qword [0x140029ca0], rbx
mov rdi, rax
jne 0x1400166c7
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14001679e
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001679e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140029ca0], 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 [0x140029ca8], 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 [0x140029cb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140029cc0], rax
test rax, rax
je 0x1400166be
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 [0x140029cb8], rax
jmp 0x1400166ce
mov rax, qword [0x140029cb8]
jmp 0x1400166d5
mov rax, qword [0x140029cb8]
mov r11, qword [0x140029cc0]
cmp rax, rdi
je 0x14001673c
cmp r11, rdi
je 0x14001673c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140029cc0]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14001673c
test rax, rax
je 0x14001673c
call rsi
test rax, rax
je 0x140016736
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 0x140016736
test byte [rsp + 0x40], 1
jne 0x14001673c
bts ebp, 0x15
jmp 0x14001677c
mov rcx, qword [0x140029ca8]
cmp rcx, rdi
je 0x14001677c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14001677c
call rax
mov rbx, rax
test rax, rax
je 0x14001677c
mov rcx, qword [0x140029cb0]
cmp rcx, rdi
je 0x14001677c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14001677c
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140029ca0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14001679e
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1400167a0
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000b3a0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140001910
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
push r15
movsxd rax, dword [rcx + 0x3c]
mov r8, rcx
mov ecx, 0x8664
mov rbp, rdx
cmp word [rax + r8 + 4], cx
jne 0x140001948
mov ecx, dword [rax + r8 + 0x88]
jmp 0x14000194d
mov ecx, dword [rax + r8 + 0x78]
mov r9d, ecx
xor r10d, r10d
mov r14d, dword [r9 + r8 + 0x20]
mov esi, dword [r9 + r8 + 0x24]
add r14, r8
mov ecx, dword [r9 + r8 + 0x18]
add rsi, r8
dec ecx
lea ebx, [rcx + r10]
shr ebx, 1
mov edx, dword [r14 + rbx*4]
add rdx, r8
cmp rbp, rdx
je 0x1400019ba
test rbp, rbp
je 0x1400019b2
test rdx, rdx
je 0x1400019ac
mov rax, rbp
sub rax, rdx
movsx r11d, byte [rax + rdx]
movsx edi, byte [rdx]
inc rdx
test r11b, r11b
je 0x1400019a1
cmp r11b, dil
je 0x14000198c
mov edx, r11d
sub edx, edi
js 0x1400019b2
test edx, edx
jle 0x1400019ba
lea r10d, [rbx + 1]
jmp 0x1400019b5
lea ecx, [rbx - 1]
cmp ecx, r10d
jae 0x14000196a
cmp ecx, r10d
jb 0x1400019de
movzx eax, word [rsi + rbx*2]
cmp eax, dword [r9 + r8 + 0x14]
jae 0x1400019de
mov eax, dword [r9 + r8 + 0x1c]
movzx ecx, word [rsi + rbx*2]
add rax, r8
mov eax, dword [rax + rcx*4]
add rax, r8
jmp 0x1400019e0
xor eax, eax
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
pop r15
pop r14
ret
Function at 0x140001d60
Capabilities:
Bypass uac via rpc

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x150
mov r14d, r9d
mov r15d, r8d
mov r12, rdx
mov r13, rcx
xor edx, edx
mov sil, dl
mov qword [rax + 0x30], rdx
mov dword [rax + 0x40], edx
mov rbx, qword [rsp + 0x1b8]
test rbx, rbx
je 0x140001db0
mov qword [rbx], rdx
mov qword [rbx + 8], rdx
mov qword [rbx + 0x10], rdx
lea rdi, [rsp + 0x88]
xor eax, eax
lea ecx, [rax + 0x18]
rep stosb byte [rdi], al
lea rdi, [rsp + 0x110]
lea ecx, [rax + 0x38]
rep stosb byte [rdi], al
mov dword [rsp + 0x134], 1
mov word [rsp + 0x138], dx
lea rdi, [rsp + 0xa0]
lea ecx, [rax + 0x70]
rep stosb byte [rdi], al
lea rdx, [rsp + 0x1b8]
lea rcx, str.201ef99a_7fa0_444c_9399_19ba84f12a1a
call fcn.1400102b8
test eax, eax
jne 0x140001f92
lea edx, [rax + 0x70]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.RPCRT4.dll_RpcAsyncInitializeHandle]
mov edi, eax
test eax, eax
jne 0x140001e4f
mov dword [rsp + 0xcc], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsp + 0xd0], rax
test rax, rax
jne 0x140001e4f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jne 0x140001f92
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x68], rax
or dword [rsp + 0x60], 0xffffffff
and qword [rsp + 0x58], 0
lea rax, [rsp + 0x110]
mov qword [rsp + 0x50], rax
lea rax, str.WinSta0Default
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r13
mov r9, qword [rsp + 0x1b8]
lea r8, [rsp + 0xa0]
lea rdx, [0x140022eb2]
lea rcx, [0x140022e10]
call qword [sym.imp.RPCRT4.dll_NdrAsyncClientCall]
or edi, 0xffffffff
mov edx, edi
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, edi
jne 0x140001efa
or ecx, 0xffffffff
call qword [sym.imp.RPCRT4.dll_RpcRaiseException]
lea rdx, [rsp + 0x198]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.RPCRT4.dll_RpcAsyncCompleteCall]
test eax, eax
jne 0x140001f5a
cmp qword [rsp + 0x198], 0
jne 0x140001f5a
test rbx, rbx
je 0x140001f4f
mov rax, qword [rsp + 0x88]
mov qword [rbx], rax
mov rax, qword [rsp + 0x90]
mov qword [rbx + 8], rax
mov eax, dword [rsp + 0x98]
mov dword [rbx + 0x10], eax
mov eax, dword [rsp + 0x9c]
mov dword [rbx + 0x14], eax
mov sil, 1
mov byte [rsp + 0x80], sil
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x140001f76
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rsp + 0xd0], 0
lea rcx, [rsp + 0x1b8]
call qword [sym.imp.RPCRT4.dll_RpcBindingFree]
jmp 0x140001f92
mov al, sil
lea r11, [rsp + 0x150]
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 r13
ret