joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000fc54
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x14001f040]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov rdi, rax
test rax, rax
jne 0x14000fcd5
mov r8, qword [0x14001f038]
mov rcx, qword [0x14001e444]
lea edx, [rax + 8]
call qword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov ecx, dword [0x14001f040]
mov rdx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.DLL_TlsSetValue]
mov rbx, qword [0x14001f030]
jmp 0x14000fcc1
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x14000fcbe
mov rcx, qword [rbx + 0x10]
add rcx, rdi
call rdx
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000fcac
lea rcx, [0x14000fbb8]
mov rdx, rdi
call fcn.1400158d4
mov rbx, qword [rsp + 0x30]
lea rax, [rdi + rsi]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000fcec
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebx, ecx
mov rbp, r8
mov rdi, rdx
and ecx, 7
je 0x14000fd16
mov eax, 8
sub eax, ecx
add ebx, eax
mov rcx, qword [0x14001f038]
test rcx, rcx
jne 0x14000fd59
call qword [sym.imp.KERNEL32.DLL_TlsAlloc]
mov rcx, qword [0x14001e444]
movsxd r8, ebx
mov edx, 8
mov dword [0x14001f040], eax
call qword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov ecx, dword [0x14001f040]
mov rdx, rax
call qword [sym.imp.KERNEL32.DLL_TlsSetValue]
mov rcx, qword [0x14001f038]
mov rsi, rcx
movsxd rax, ebx
add rcx, rax
mov qword [0x14001f038], rcx
mov ecx, dword [0x14001f040]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov r9, qword [0x14001f038]
mov rcx, qword [0x14001e444]
mov r8, rax
mov edx, 8
call qword [sym.imp.KERNEL32.DLL_HeapReAlloc]
mov ecx, dword [0x14001f040]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_TlsSetValue]
test rdi, rdi
jne 0x14000fdad
test rbp, rbp
je 0x14000fdd4
lea rcx, [0x14001f030]
mov edx, 0x28
call fcn.1400108c0
mov qword [rax], rsi
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rbp
test rdi, rdi
je 0x14000fdd4
lea rcx, [rbx + rsi]
call rdi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140010c70
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
xor r8d, r8d
mov edx, 0x1000
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_HeapCreate]
mov qword [0x14001f300], rax
call qword [sym.imp.KERNEL32.DLL_TlsAlloc]
mov dword [0x14001d1d0], eax
call fcn.140011800
add rsp, 0x28
ret

Function at 0x140010dd0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rsp + 0x20], eax
mov ecx, dword [0x14001d1d0]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.DLL_SetLastError]
mov rax, qword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x140010e20
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov ecx, dword [0x14001d1d0]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov qword [rsp + 0x28], rax
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x10]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
jne 0x140010e86
movsxd rax, dword [rsp + 0x20]
add rax, 0xa
mov r8, rax
xor edx, edx
mov rcx, qword [0x14001f300]
call qword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov rcx, qword [rsp + 0x40]
mov qword [rcx], rax
jmp 0x140010eb1
movsxd rax, dword [rsp + 0x20]
add rax, 0xa
mov r9, rax
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x14001f300]
call qword [sym.imp.KERNEL32.DLL_HeapReAlloc]
mov rcx, qword [rsp + 0x40]
mov qword [rcx], rax
movsxd rax, dword [rsp + 0x20]
xor edx, edx
mov ecx, 2
div rcx
movsxd rcx, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x28]
add rcx, qword [rdx]
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call fcn.140011430
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 0x10], rax
add rsp, 0x38
ret

Function at 0x140010ff0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
cmp dword [0x14001d1d0], 0xffffffff
jne 0x14001101f
call fcn.140010c70
mov ecx, dword [0x14001d1d0]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov rdx, rax
lea rcx, [0x140010fa0]
call fcn.1400158d4
jmp 0x140011050
mov ecx, dword [0x14001d1d0]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
test rax, rax
jne 0x140011050
call fcn.140011800
mov ecx, dword [0x14001d1d0]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov rdx, rax
lea rcx, [0x140010fa0]
call fcn.1400158d4
add rsp, 0x28
ret

Function at 0x140011130
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x38
mov ecx, dword [0x14001d1d0]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x10]
add rax, 2
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x10], rax
add rsp, 0x38
ret

Function at 0x140011160
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [0x14001d1d0]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov qword [rsp + 0x20], rax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
add rax, qword [rcx + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
add rsp, 0x38
ret

Function at 0x1400111b0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x38
mov ecx, dword [0x14001d1d0]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
add rsp, 0x38
ret
Function at 0x1400111e0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x38
mov ecx, dword [0x14001d1d0]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
add rsp, 0x38
ret

Function at 0x140011210
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x38
mov ecx, dword [0x14001d1d0]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
add rax, qword [rcx + 0x10]
add rsp, 0x38
ret

Function at 0x140011240
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov ecx, dword [0x14001d1d0]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
cmp qword [rsp + 0x40], rax
jb 0x14001129b
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
add rax, qword [rcx + 0x10]
cmp qword [rsp + 0x40], rax
ja 0x14001129b
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
inc rax
jmp 0x14001129d
xor eax, eax
add rsp, 0x38
ret

Function at 0x1400112b0
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [0x14001d1d0]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov qword [rsp + 0x20], rax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
add rax, qword [rcx]
add rsp, 0x38
ret

Function at 0x1400112e0
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov ecx, dword [0x14001d1d0]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov qword [rsp + 0x28], rax
cmp dword [rsp + 0x58], 0xffffffff
jne 0x140011310
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x58], eax
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x10]
lea rax, [rcx + rax*2]
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 8]
sub rcx, 4
cmp rax, rcx
jl 0x140011380
mov eax, dword [rsp + 0x20]
add eax, 0x4000
cdqe
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
add rax, 0xa
mov r9, rax
mov rax, qword [rsp + 0x28]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x14001f300]
call qword [sym.imp.KERNEL32.DLL_HeapReAlloc]
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rax
movsxd rax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x28]
add rax, qword [rcx]
mov qword [rsp + 0x30], rax
movsxd rax, dword [rsp + 0x58]
movsxd rcx, dword [rsp + 0x50]
lea rax, [rax + rcx*2]
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x1400113c0
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [0x14001d1d0]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov qword [rsp + 0x20], rax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x10], rax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx]
xor edx, edx
mov word [rcx + rax], dx
add rsp, 0x38
ret

Function at 0x140011400
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [0x14001d1d0]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov qword [rsp + 0x20], rax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx]
lea rax, [rcx + rax - 1]
add rsp, 0x38
ret

Function at 0x1400114b0
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [0x14001d1d0]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x40]
shl eax, 1
cdqe
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x10]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x10], rax
add rsp, 0x38
ret

Function at 0x140011800
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x38
mov r8d, 0x18
xor edx, edx
mov rcx, qword [0x14001f300]
call qword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov qword [rsp + 0x20], rax
mov r8d, 0x10
xor edx, edx
mov rcx, qword [0x14001f300]
call qword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov rcx, qword [rsp + 0x20]
mov qword [rcx], rax
mov rax, qword [rsp + 0x20]
mov qword [rax + 8], 0x10
mov rax, qword [rsp + 0x20]
mov qword [rax + 0x10], 0
mov rdx, qword [rsp + 0x20]
mov ecx, dword [0x14001d1d0]
call qword [sym.imp.KERNEL32.DLL_TlsSetValue]
add rsp, 0x38
ret
Function at 0x1400158d4
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
cmp dword [0x14001f108], 0
mov r14, rdx
mov r15, rcx
lea rbx, [0x14001f118]
jne 0x140015921
call qword [sym.imp.KERNEL32.DLL_TlsAlloc]
mov rcx, rbx
mov dword [0x14001f140], eax
call qword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
mov dword [0x14001f108], 1
mov ecx, dword [0x14001f140]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov rbp, rax
test rax, rax
jne 0x1400159f6
mov rcx, qword [0x14001e444]
lea edx, [rax + 8]
lea r8d, [rax + 0x28]
call qword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x140015a21
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov rax, qword [0x14001f110]
test rax, rax
je 0x140015971
mov qword [rax], rbp
mov rcx, rbx
mov qword [rbp + 8], rax
mov qword [0x14001f110], rbp
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.DLL_GetCurrentThread]
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
lea r9, [rbp + 0x20]
mov r8, rdi
mov rcx, rax
mov rdx, rbx
mov dword [rsp + 0x20], 0x100000
call qword [sym.imp.KERNEL32.DLL_DuplicateHandle]
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x18]
lea r8, [0x140015a3c]
mov r9, rbp
mov dword [rsp + 0x28], 8
or dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.DLL_RegisterWaitForSingleObject]
mov ecx, dword [0x14001f140]
mov rdx, rbp
call qword [sym.imp.KERNEL32.DLL_TlsSetValue]
mov rcx, qword [0x14001e444]
xor edx, edx
lea r8d, [rdx + 0x18]
call qword [sym.imp.KERNEL32.DLL_HeapAlloc]
test rax, rax
je 0x140015a21
mov qword [rax + 8], r15
mov qword [rax + 0x10], r14
mov rcx, qword [rbp + 0x10]
mov qword [rax], rcx
mov qword [rbp + 0x10], rax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x1545430
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x154543d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x154544d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1545435
lea eax, [rcx + 1]
jmp 0x154545b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x154546e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1545454
sub eax, 3
jb 0x154548e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x15454dd
sar eax, 1
movsxd rbp, eax
jb 0x15454c4
jmp 0x154549c
add ebx, ebx
jne 0x154549a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x15454c4
inc ecx
add ebx, ebx
jne 0x15454aa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x15454c4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x15454bd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x15454ac
add ecx, 2
jmp 0x15454c9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.015453f2
jmp 0x154543d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x462e00
mov dl, 0x87
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1545529
cmp rsi, rcx
jae 0x1545531
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1545510
cmp al, 0x8f
ja 0x1545510
cmp byte [rsi - 2], 0xf
je 0x1545516
sub al, 0xe8
cmp al, 1
ja 0x15454fa
cmp rsi, rcx
jae 0x1545531
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1545500
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1545531
lodsb al, byte [rsi]
jmp 0x1545510
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x113a000]
mov eax, dword [rdi]
or eax, eax
je 0x154558e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x11478b0]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x154553e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1545588
mov qword [rbx], rax
add rbx, 8
jmp 0x154555e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x15455d2
cmp al, 0xef
ja 0x15455ba
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x154559a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x15455a9
mov eax, dword [rdi]
add rdi, 4
jmp 0x15455a9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1545626
sub rsp, 0xffffffffffffff80
jmp 0x45af20
Function at 0x1400111f9
Capabilities:
Compare security identifiers

Disassembly:
jmp 0x140011b10
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1c8
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x2a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1e8]
mov rax, qword [0x14001e008]
xor rax, rbp
mov qword [rbp + 0x158], rax
lea rcx, [0x1400240b7]
call fcn.1400113d4
mov dword [rbp + 4], 0
mov qword [rbp + 0x48], 0
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x140011c8f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140011c8f
mov eax, dword [rbp + 0x24]
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x140011c7e
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x24]
mov r8, qword [rbp + 0x48]
mov edx, 1
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140011c7e
mov byte [rbp + 0x64], 0
mov byte [rbp + 0x65], 0
mov byte [rbp + 0x66], 0
mov byte [rbp + 0x67], 0
mov byte [rbp + 0x68], 0
mov byte [rbp + 0x69], 5
lea rax, [rbp + 0x88]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x12
mov dl, 1
lea rcx, [rbp + 0x64]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140011c7e
mov rdx, qword [rbp + 0x88]
mov rax, qword [rbp + 0x48]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x140011c71
mov dword [rbp + 4], 1
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp qword [rbp + 0x48], 0
je 0x140011c8f
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ucrtbased.dll_free]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x60]
lea rdx, [0x14001ada0]
call fcn.140011357
mov eax, edi
mov rcx, qword [rbp + 0x158]
xor rcx, rbp
call fcn.1400111c7
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

Function at 0x140011217
Capabilities:
Terminate process

Disassembly:
jmp 0x1400137f0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400112b2
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014b40
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014b60
xor al, al
jmp 0x140014be1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014b73
xor al, al
jmp 0x140014be1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014b9d
xor al, al
jmp 0x140014be1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014bb1
xor al, al
jmp 0x140014be1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014bc3
xor al, al
jmp 0x140014be1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014bdf
xor al, al
jmp 0x140014be1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400112d5
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140011900
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x488
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xba
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4a8]
mov rax, qword [0x14001e008]
xor rax, rbp
mov qword [rbp + 0x458], rax
lea rcx, [0x1400240b7]
call fcn.1400113d4
xor edx, edx
mov ecx, 2
call fcn.1400111b3
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x14001197b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateToolhelp32Snapshot_failed_with_error__lu_n
call fcn.14001104b
xor eax, eax
jmp 0x140011a71
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x50], 0x238
lea rax, [rbp + 0x54]
mov rdi, rax
xor eax, eax
mov ecx, 0x234
rep stosb byte [rdi], al
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 8]
call fcn.14001124e
test eax, eax
je 0x140011a50
mov r8d, dword [rbp + 0x58]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + reloc.SHELL32.dll_IsUserAnAdmin], rax
cmp qword [rbp + reloc.SHELL32.dll_IsUserAnAdmin], 0
je 0x140011a33
lea r8, [rbp + 0x2c8]
mov edx, 0xa
mov rcx, qword [rbp + reloc.SHELL32.dll_IsUserAnAdmin]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140011a26
mov rcx, qword [rbp + 0x2c8]
call fcn.1400111f9
test eax, eax
je 0x140011a19
mov rax, qword [rbp + 0x480]
mov rcx, qword [rbp + 0x2c8]
mov qword [rax], rcx
mov dword [rbp + 0x24], 1
jmp 0x140011a4e
mov rcx, qword [rbp + 0x2c8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + reloc.SHELL32.dll_IsUserAnAdmin]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 8]
call fcn.14001137a
test eax, eax
je 0x140011a4e
cmp dword [rbp + 0x24], 0
je 0x1400119ae
jmp 0x140011a64
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Process32First_failed_with_error__lu_n
call fcn.14001104b
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x24]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ae80]
call fcn.140011357
mov rax, rdi
mov rcx, qword [rbp + 0x458]
xor rcx, rbp
call fcn.1400111c7
lea rsp, [rbp + 0x468]
pop rdi
pop rbp
ret
Function at 0x14001130c
Capabilities:
Create process on windows
Create process suspended

Disassembly:
jmp 0x140011d30
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1f8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x3a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x218]
mov rax, qword [0x14001e008]
xor rax, rbp
mov qword [rbp + 0x198], rax
lea rcx, [0x1400240b7]
call fcn.1400113d4
mov dword [rbp + 0x10], 0x68
lea rax, [rbp + 0x18]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
lea rax, [rbp + 0x98]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rbp + 0x98]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10
xor r9d, r9d
mov r8, qword [rbp + 0x1c8]
mov edx, 2
mov rcx, qword [rbp + 0x1c0]
call qword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
mov dword [rbp + 0xc4], eax
cmp dword [rbp + 0xc4], 0
jne 0x140011e18
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_create_a_process_with_the_impersonated_token._Error:__lu_n
call fcn.14001104b
jmp 0x140011e3e
lea rcx, str.Successfully_launched_a_new_process_with_SYSTEM_privileges._n
call fcn.1400111a9
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0xc4]
mov edi, eax
lea rcx, [rbp - 0x50]
lea rdx, [0x14001af40]
call fcn.140011357
mov eax, edi
mov rcx, qword [rbp + 0x198]
xor rcx, rbp
call fcn.1400111c7
lea rsp, [rbp + 0x1a8]
pop rdi
pop rbp
ret