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

Disassembly:
mov r11, rsp
push rbp
push rsi
sub rsp, 0x68
xor eax, eax
mov esi, edx
xor r9d, r9d
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x48], rax
lea rax, [r11 + 0x18]
xor r8d, r8d
xor edx, edx
mov qword [r11 - 0x50], rax
lea rax, [r11 + 0x20]
mov rbp, rcx
mov qword [r11 - 0x58], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x18002717c
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x60], rdi
cmp dword [rsp + 0x98], eax
je 0x180027152
mov eax, dword [rsp + 0x90]
mov ecx, 0x104
cmp eax, ecx
cmovb eax, ecx
mov dword [rsp + 0x90], eax
lea ecx, [rax + 1]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.180032838
mov rbx, rax
test rax, rax
je 0x180027178
nop word [rax + rax]
mov r8d, dword [rsp + 0x90]
xor edx, edx
mov rcx, rbx
inc r8d
add r8, r8
call fcn.180034650
mov r9d, dword [rsp + 0x90]
mov r8, rbx
xor edx, edx
mov rcx, rbp
inc r9d
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x180027170
mov r8d, esi
mov rdx, rbx
mov rcx, rbp
or r8d, 0x2001f
call fcn.180026720
mov rdi, rax
test rax, rax
je 0x180027170
mov edx, esi
mov rcx, rax
call fcn.180026ff0
mov rcx, rdi
test eax, eax
je 0x18002716b
call fcn.1800267a0
mov r11, qword [0x1800d98d8]
test r11, r11
je 0x18002712d
test esi, esi
je 0x18002712d
xor r9d, r9d
mov r8d, esi
mov rdx, rbx
mov rcx, rbp
call r11
jmp 0x180027139
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x180027170
dec dword [rsp + 0x98]
jne 0x1800270a0
mov rcx, rbx
call fcn.1800327c0
mov eax, 1
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x60]
add rsp, 0x68
pop rsi
pop rbp
ret
call fcn.1800267a0
mov rcx, rbx
call fcn.1800327c0
xor eax, eax
jmp 0x180027157
xor eax, eax
add rsp, 0x68
pop rsi
pop rbp
ret
Function at 0x180027190
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
mov esi, r9d
mov rbp, r8
mov r12, rdx
mov rdi, rcx
test rdx, rdx
je 0x1800271cf
mov r8d, r9d
or r8d, 0x2001f
call fcn.180026720
mov rbx, rax
jmp 0x1800271d2
mov rbx, rcx
test rbx, rbx
je 0x180027269
mov rcx, rbx
test rbp, rbp
je 0x180027204
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x18002725c
cmp rbx, rdi
je 0x1800271fd
mov rcx, rbx
call fcn.1800267a0
mov eax, 1
jmp 0x18002726b
mov edx, esi
call fcn.180026ff0
test eax, eax
je 0x18002725c
cmp rbx, rdi
je 0x18002721c
mov rcx, rbx
call fcn.1800267a0
mov rax, qword [0x1800d98d8]
test rax, rax
je 0x180027245
test esi, esi
je 0x180027245
xor r9d, r9d
mov r8d, esi
mov rdx, r12
mov rcx, rdi
call rax
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
jmp 0x18002726b
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
jmp 0x18002726b
cmp rbx, rdi
je 0x180027269
mov rcx, rbx
call fcn.1800267a0
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
mov r9d, dword [rcx + 8]
mov rcx, qword [rcx]
jmp 0x180027190

Function at 0x180027450
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
mov esi, r9d
mov rbp, r8
mov r12, rdx
mov rdi, rcx
test rdx, rdx
je 0x1800271cf
mov r8d, r9d
or r8d, 0x2001f
call fcn.180026720
mov rbx, rax
jmp 0x1800271d2
mov rbx, rcx
test rbx, rbx
je 0x180027269
mov rcx, rbx
test rbp, rbp
je 0x180027204
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x18002725c
cmp rbx, rdi
je 0x1800271fd
mov rcx, rbx
call fcn.1800267a0
mov eax, 1
jmp 0x18002726b
mov edx, esi
call fcn.180026ff0
test eax, eax
je 0x18002725c
cmp rbx, rdi
je 0x18002721c
mov rcx, rbx
call fcn.1800267a0
mov rax, qword [0x1800d98d8]
test rax, rax
je 0x180027245
test esi, esi
je 0x180027245
xor r9d, r9d
mov r8d, esi
mov rdx, r12
mov rcx, rdi
call rax
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
jmp 0x18002726b
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
jmp 0x18002726b
cmp rbx, rdi
je 0x180027269
mov rcx, rbx
call fcn.1800267a0
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
mov r9d, dword [rcx + 8]
mov rcx, qword [rcx]
jmp 0x180027190

Function at 0x180027460
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov r8, rdx
xor edx, edx
jmp fcn.180027450
Function at 0x1800274c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x40
mov edi, r9d
mov r12, r8
mov rbp, rcx
test rdx, rdx
je 0x1800274f3
mov r8d, dword [rcx + 8]
mov rcx, qword [rcx]
or r8d, 0x20019
call fcn.180026720
mov rsi, rax
jmp 0x1800274f6
mov rsi, qword [rcx]
test rsi, rsi
je 0x180027592
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rbx
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
xor ebx, ebx
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18002756f
test edi, edi
je 0x18002756a
dec edi
je 0x180027552
sub edi, 2
je 0x180027548
dec edi
jne 0x18002756f
cmp dword [rsp + 0x68], 4
sete bl
jmp 0x18002756f
cmp dword [rsp + 0x68], 3
sete bl
jmp 0x18002756f
mov eax, dword [rsp + 0x68]
cmp eax, 1
je 0x18002756a
cmp eax, 2
je 0x18002756a
cmp eax, 6
je 0x18002756a
cmp eax, 7
jne 0x18002756f
mov ebx, 1
cmp rsi, qword [rbp]
je 0x18002757d
mov rcx, rsi
call fcn.1800267a0
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret
xor eax, eax
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret
mov r9d, r8d
mov r8, rdx
xor edx, edx
jmp 0x1800274c0

Function at 0x180027600
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x40
mov rbp, qword [rsp + 0x90]
mov r14, r8
mov rbx, rdx
mov r13, rcx
or r8d, 0xffffffff
xor edx, edx
mov rcx, rbp
mov edi, r9d
call fcn.180024d20
test rbx, rbx
je 0x180027650
or edi, 0x20019
mov rdx, rbx
mov rcx, r13
mov r8d, edi
call fcn.180026720
mov rsi, rax
jmp 0x180027653
mov rsi, r13
mov qword [rsp + 0x70], r12
test rsi, rsi
je 0x18002775a
lea rax, [rsp + 0x78]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, r14
mov rcx, rsi
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18002774d
mov eax, dword [rsp + 0x30]
cmp eax, 1
je 0x1800276ac
cmp eax, 2
je 0x1800276ac
cmp eax, 6
je 0x1800276ac
cmp eax, 7
jne 0x18002774d
mov ecx, dword [rsp + 0x78]
add ecx, 2
call fcn.180032838
mov r8d, dword [rsp + 0x78]
xor edx, edx
add r8d, 2
mov rcx, rax
mov r12, rax
call fcn.180034650
lea rdx, [rsp + 0x78]
xor r9d, r9d
mov qword [rsp + 0x28], rdx
xor r8d, r8d
mov rcx, rsi
mov rdx, r14
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180027745
mov rbx, r12
cmp word [r12], ax
je 0x180027729
nop dword [rax]
mov edx, dword [rbp + 8]
mov r8, rbx
mov rcx, rbp
call fcn.180024ee0
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
and ecx, ecx
cmp word [rbx + rcx*2], ax
lea rbx, [rbx + rcx*2]
jne 0x180027700
cmp rsi, r13
je 0x180027736
mov rcx, rsi
call fcn.1800267a0
mov rcx, r12
call fcn.1800327c0
mov eax, 1
jmp 0x18002775c
mov rcx, r12
call fcn.1800327c0
cmp rsi, r13
je 0x18002775a
mov rcx, rsi
call fcn.1800267a0
xor eax, eax
mov r12, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x180027780
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push r14
sub rsp, 0x58
mov r14, rcx
test rdx, rdx
je 0x1800277a8
or r9d, 0x20006
mov r8d, r9d
call fcn.180026750
mov rbx, rax
jmp 0x1800277ab
mov rbx, rcx
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x30], r15
test rbx, rbx
je 0x18002790b
mov rsi, qword [rsp + 0x90]
xor r12d, r12d
mov r15d, 2
mov edi, r12d
cmp dword [rsi + 8], r12d
jle 0x18002781c
nop word [rax + rax]
lea rdx, [rsp + 0x78]
mov r8d, edi
mov rcx, rsi
call fcn.1800275e0
mov rcx, qword [rax]
mov eax, dword [rcx - 8]
lea rcx, [rsp + 0x78]
lea r15d, [r15 + rax*2 + 2]
call fcn.180023290
inc edi
cmp edi, dword [rsi + 8]
jl 0x1800277f0
mov ecx, r15d
mov edi, r15d
call fcn.180032838
mov rbp, rax
test rax, rax
je 0x18002790b
mov r8d, edi
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x38], r13
call fcn.180034650
mov r13, rbp
cmp dword [rsi + 8], r12d
jle 0x1800278ad
nop
lea rdx, [rsp + 0x78]
mov r8d, r12d
mov rcx, rsi
call fcn.1800275e0
mov rdx, r13
mov rcx, qword [rax]
nop word [rax + rax]
movzx eax, word [rcx]
add rdx, 2
add rcx, 2
mov word [rdx - 2], ax
test ax, ax
jne 0x180027870
lea rcx, [rsp + 0x78]
call fcn.180023290
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r13
inc r12d
repne scasw ax, word [rdi]
not rcx
and ecx, ecx
lea r13, [r13 + rcx*2]
cmp r12d, dword [rsi + 8]
jl 0x180027850
mov rdx, qword [rsp + 0x80]
mov r9d, 7
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r13, qword [rsp + 0x38]
test eax, eax
jne 0x1800278f6
cmp rbx, r14
je 0x1800278e7
mov rcx, rbx
call fcn.1800267a0
mov rcx, rbp
call fcn.1800327c0
mov eax, 1
jmp 0x18002790d
mov rcx, rbp
call fcn.1800327c0
cmp rbx, r14
je 0x18002790b
mov rcx, rbx
call fcn.1800267a0
xor eax, eax
mov r15, qword [rsp + 0x30]
mov r12, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x70]
add rsp, 0x58
pop r14
pop rbx
ret
Function at 0x180027930
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x70
mov rsi, r9
mov r12, rcx
test rdx, rdx
je 0x180027959
or r8d, 0x20019
call fcn.180026720
mov rdi, rax
jmp 0x18002795c
mov rdi, rcx
or rbp, 0xffffffffffffffff
xor edx, edx
mov rcx, rsi
mov r8d, ebp
mov qword [rsp + 0x90], rbx
call fcn.180024d20
test rdi, rdi
je 0x180027a94
xor ebx, ebx
lea rax, [rsp + 0x98]
xor r9d, r9d
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x98], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x180027a87
cmp dword [rsp + 0x60], ebx
jbe 0x180027a87
mov eax, dword [rsp + 0x98]
mov ecx, 0x104
cmp eax, ecx
cmovb eax, ecx
mov dword [rsp + 0x98], eax
lea ecx, [rax + 1]
mov eax, 2
mul rcx
cmovo rax, rbp
mov rcx, rax
call fcn.180032838
mov rbp, rax
test rax, rax
je 0x180027a87
cmp dword [rsp + 0x60], ebx
jbe 0x180027a6b
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rbp
inc r8d
add r8, r8
call fcn.180034650
mov r9d, dword [rsp + 0x98]
mov r8, rbp
mov edx, ebx
mov rcx, rdi
inc r9d
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x180027a63
mov edx, dword [rsi + 8]
mov r8, rbp
mov rcx, rsi
call fcn.180024ee0
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x180027a20
mov rcx, rbp
call fcn.1800327c0
cmp rdi, r12
je 0x180027a80
mov rcx, rdi
call fcn.1800267a0
mov eax, 1
jmp 0x180027a96
cmp rdi, r12
je 0x180027a94
mov rcx, rdi
call fcn.1800267a0
xor eax, eax
mov rbx, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xa0]
add rsp, 0x70
pop r12
pop rdi
pop rsi
ret
mov r9, r8
mov r8d, dword [rcx + 8]
mov rcx, qword [rcx]
jmp 0x180027930
mov r8, rdx
xor edx, edx
jmp 0x180027ce0
Function at 0x180027cf0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x70
mov rsi, r9
mov r12, rcx
test rdx, rdx
je 0x180027959
or r8d, 0x20019
call fcn.180026720
mov rdi, rax
jmp 0x18002795c
mov rdi, rcx
or rbp, 0xffffffffffffffff
xor edx, edx
mov rcx, rsi
mov r8d, ebp
mov qword [rsp + 0x90], rbx
call fcn.180024d20
test rdi, rdi
je 0x180027a94
xor ebx, ebx
lea rax, [rsp + 0x98]
xor r9d, r9d
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x98], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x180027a87
cmp dword [rsp + 0x60], ebx
jbe 0x180027a87
mov eax, dword [rsp + 0x98]
mov ecx, 0x104
cmp eax, ecx
cmovb eax, ecx
mov dword [rsp + 0x98], eax
lea ecx, [rax + 1]
mov eax, 2
mul rcx
cmovo rax, rbp
mov rcx, rax
call fcn.180032838
mov rbp, rax
test rax, rax
je 0x180027a87
cmp dword [rsp + 0x60], ebx
jbe 0x180027a6b
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rbp
inc r8d
add r8, r8
call fcn.180034650
mov r9d, dword [rsp + 0x98]
mov r8, rbp
mov edx, ebx
mov rcx, rdi
inc r9d
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x180027a63
mov edx, dword [rsi + 8]
mov r8, rbp
mov rcx, rsi
call fcn.180024ee0
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x180027a20
mov rcx, rbp
call fcn.1800327c0
cmp rdi, r12
je 0x180027a80
mov rcx, rdi
call fcn.1800267a0
mov eax, 1
jmp 0x180027a96
cmp rdi, r12
je 0x180027a94
mov rcx, rdi
call fcn.1800267a0
xor eax, eax
mov rbx, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xa0]
add rsp, 0x70
pop r12
pop rdi
pop rsi
ret
mov r9, r8
mov r8d, dword [rcx + 8]
mov rcx, qword [rcx]
jmp 0x180027930
mov r8, rdx
xor edx, edx
jmp 0x180027ce0
Function at 0x180027d00
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x40
mov edi, r9d
mov r12, r8
mov rbp, rcx
test rdx, rdx
je 0x1800274f3
mov r8d, dword [rcx + 8]
mov rcx, qword [rcx]
or r8d, 0x20019
call fcn.180026720
mov rsi, rax
jmp 0x1800274f6
mov rsi, qword [rcx]
test rsi, rsi
je 0x180027592
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rbx
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
xor ebx, ebx
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18002756f
test edi, edi
je 0x18002756a
dec edi
je 0x180027552
sub edi, 2
je 0x180027548
dec edi
jne 0x18002756f
cmp dword [rsp + 0x68], 4
sete bl
jmp 0x18002756f
cmp dword [rsp + 0x68], 3
sete bl
jmp 0x18002756f
mov eax, dword [rsp + 0x68]
cmp eax, 1
je 0x18002756a
cmp eax, 2
je 0x18002756a
cmp eax, 6
je 0x18002756a
cmp eax, 7
jne 0x18002756f
mov ebx, 1
cmp rsi, qword [rbp]
je 0x18002757d
mov rcx, rsi
call fcn.1800267a0
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret
xor eax, eax
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret
mov r9d, r8d
mov r8, rdx
xor edx, edx
jmp 0x1800274c0

Function at 0x1800280d0
Capabilities:
Create thread
Resume thread

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x10], 0
mov rbx, rcx
jne 0x180028180
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov edi, dword [rcx + 0x38]
mov esi, 4
test edi, edi
je 0x18002811e
call fcn.1800489c0
test eax, eax
je 0x18002811e
mov rcx, rbx
call fcn.180028060
lea ecx, [rdi - 0x2000]
cmp eax, ecx
jbe 0x180028117
add edi, eax
mov esi, 0x10004
jmp 0x180028120
xor edi, edi
lea rax, [rbx + 8]
lea r8, [0x180027fc0]
mov edx, edi
mov qword [rsp + 0x28], rax
mov r9, rbx
xor ecx, ecx
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov qword [rbx + 0x10], rax
test rax, rax
je 0x180028180
mov edx, dword [rbx + 0x3c]
mov dword [rbx + 0x18], 1
test edx, edx
je 0x18002816b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
add rsp, 0x30
pop rbx
ret
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x18002b0c0
Capabilities:
Create process on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x408
mov rax, qword [0x1800c4650]
xor rax, rsp
mov qword [rsp + 0x3f0], rax
mov rdi, qword [rsp + 0x470]
xor r15d, r15d
mov rbp, rcx
mov rbx, r8
mov r14, rdx
lea rcx, [rsp + 0xe1]
mov r12d, r15d
xor edx, edx
mov r8d, 0x103
mov rsi, r9
mov r13d, r15d
mov byte [rsp + 0xe0], r12b
call fcn.180034650
test r14, r14
je 0x18002b14b
lea r8, [rsp + 0xe0]
mov r9d, 0x103
or edx, 0xffffffff
mov rcx, r14
mov dword [rsp + 0x20], r15d
call fcn.1800253d0
lea r13, [rsp + 0xe0]
lea rcx, [rsp + 0x1f1]
xor edx, edx
mov r8d, 0x1f3
mov byte [rsp + 0x1f0], r12b
call fcn.180034650
test rbx, rbx
je 0x18002b193
lea r8, [rsp + 0x1f0]
mov r9d, 0xf9
or edx, 0xffffffff
mov rcx, rbx
mov dword [rsp + 0x20], r15d
call fcn.180025530
lea r12, [rsp + 0x1f0]
xor edx, edx
lea rcx, [rsp + 0x78]
mov dword [rsp + 0x70], WSAGetLastError
lea r8d, [rdx + 0x60]
call fcn.180034650
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov rdx, r12
mov rcx, r13
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
mov qword [rsp + 0x50], r15
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ebx, eax
test eax, eax
je 0x18002b234
test rsi, rsi
je 0x18002b207
mov ecx, dword [rsp + 0x60]
mov dword [rsi], ecx
mov rcx, qword [rsp + 0x50]
test rdi, rdi
je 0x18002b221
mov qword [rdi], rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18002b23d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18002b23d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 8], eax
mov eax, ebx
mov rcx, qword [rsp + 0x3f0]
xor rcx, rsp
call fcn.1800327a0
add rsp, 0x408
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18002c1e0
Capabilities:
Create process on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x6f8
mov rax, qword [0x1800c4650]
xor rax, rsp
mov qword [rsp + 0x6e0], rax
mov rsi, qword [rsp + 0x760]
mov rdi, qword [rsp + 0x768]
xor r15d, r15d
mov r13, r8
mov r12, rcx
mov r14, rdx
lea r8d, [r15 + 0x60]
lea rcx, [rsp + 0x78]
xor edx, edx
mov rbx, r9
mov ebp, r15d
mov dword [rsp + 0x70], WSAGetLastError
call fcn.180034650
xor eax, eax
lea rcx, [rsp + 0x2f2]
xor edx, edx
mov r8d, 0x3e6
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov word [rsp + 0x2f0], r15w
call fcn.180034650
test r13, r13
je 0x18002c29a
lea r8, [rsp + 0x2f0]
mov r9d, 0x1f4
or edx, 0xffffffff
mov rcx, r13
mov dword [rsp + 0x20], r15d
call fcn.180025520
lea rbp, [rsp + 0x2f0]
lea rcx, [rsp + 0xe2]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0xe0], r15w
call fcn.180034650
test rbx, rbx
je 0x18002c2eb
lea r8, [rsp + 0xe0]
mov r9d, 0x104
or edx, 0xffffffff
mov rcx, rbx
mov dword [rsp + 0x20], r15d
call fcn.180025520
lea r11, [rsp + 0xe0]
mov qword [rsp + 0x80], r11
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov rdx, rbp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov rcx, r14
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
test eax, eax
je 0x18002c363
test rsi, rsi
je 0x18002c336
mov ecx, dword [rsp + 0x60]
mov dword [rsi], ecx
mov rcx, qword [rsp + 0x50]
test rdi, rdi
je 0x18002c350
mov qword [rdi], rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18002c36e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18002c36e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 8], eax
mov eax, ebx
mov rcx, qword [rsp + 0x6e0]
xor rcx, rsp
call fcn.1800327a0
add rsp, 0x6f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18002d230
Capabilities:
Acquire debug privileges

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x1f90
call fcn.180034bf0
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1800c4650]
xor rax, rsp
mov qword [rsp + 0x1f80], rax
mov esi, r9d
mov r14, r8
mov r13, rdx
mov rdi, rcx
or r8d, 0xffffffff
xor edx, edx
mov rcx, r13
call fcn.180025df0
or r8d, 0xffffffff
xor edx, edx
mov rcx, r14
call fcn.180024d20
call fcn.180072440
mov rbx, qword [0x1800dd6d8]
test rbx, rbx
je 0x18002d39f
cmp esi, 0xffffffff
jne 0x18002d2bf
mov rbx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov rcx, rdi
call qword [rbx + 0x70]
mov esi, eax
mov rbx, qword [0x1800dd6d8]
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x40], ebp
xor edx, edx
mov r8d, 0x1f3c
lea rcx, [rsp + 0x44]
call fcn.180034650
lea r8, [rsp + 0x20]
mov edx, 0x1f40
lea rcx, [rsp + 0x40]
call rbx
test eax, eax
je 0x18002d396
mov eax, dword [rsp + 0x20]
shr eax, 2
test eax, eax
je 0x18002d38f
lea rbx, [rsp + 0x40]
mov r12d, eax
nop dword [rax + rax]
cmp esi, 0xfffffffe
je 0x18002d324
mov rax, qword [rdi]
mov edx, dword [rbx]
mov rcx, rdi
call qword [rax + 0x70]
cmp esi, eax
jne 0x18002d386
test ebp, ebp
jne 0x18002d345
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea r8d, [rbp + 1]
lea rdx, str.SeDebugPrivilege
call fcn.18002fb60
mov ebp, 1
mov r8d, dword [rbx]
mov edx, dword [r13 + 8]
mov rcx, r13
call fcn.180025fb0
mov r11, qword [rdi]
mov r8d, dword [rbx]
lea rdx, [rsp + 0x28]
mov rcx, rdi
call qword [r11 + 0x80]
nop
lea r8, [rsp + 0x28]
mov edx, dword [r14 + 8]
mov rcx, r14
call fcn.180024f30
nop
lea rcx, [rsp + 0x28]
call fcn.180023290
add rbx, 4
dec r12
jne 0x18002d310
mov eax, 1
jmp 0x18002d3a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi + 8], eax
xor eax, eax
mov rcx, qword [rsp + 0x1f80]
xor rcx, rsp
call fcn.1800327a0
add rsp, 0x1f90
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret