joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800f4ba0
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 0x1800f4bd3
mov r8d, dword [rcx + 8]
mov rcx, qword [rcx]
or r8d, 0x20019
call fcn.1800f3c00
mov rsi, rax
jmp 0x1800f4bd6
mov rsi, qword [rcx]
test rsi, rsi
je 0x1800f4c72
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 0x1800f4c4f
test edi, edi
je 0x1800f4c4a
dec edi
je 0x1800f4c32
sub edi, 2
je 0x1800f4c28
dec edi
jne 0x1800f4c4f
cmp dword [rsp + 0x68], 4
sete bl
jmp 0x1800f4c4f
cmp dword [rsp + 0x68], 3
sete bl
jmp 0x1800f4c4f
mov eax, dword [rsp + 0x68]
cmp eax, 1
je 0x1800f4c4a
cmp eax, 2
je 0x1800f4c4a
cmp eax, 6
je 0x1800f4c4a
cmp eax, 7
jne 0x1800f4c4f
mov ebx, 1
cmp rsi, qword [rbp]
je 0x1800f4c5d
mov rcx, rsi
call fcn.1800f3c80
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 0x1800f4ba0

Function at 0x1800f4d50
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.1800ec630
test rbx, rbx
je 0x1800f4da0
or edi, 0x20019
mov rdx, rbx
mov rcx, r13
mov r8d, edi
call fcn.1800f3c00
mov rsi, rax
jmp 0x1800f4da3
mov rsi, r13
mov qword [rsp + 0x70], r12
test rsi, rsi
je 0x1800f4eaa
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 0x1800f4e9d
mov eax, dword [rsp + 0x30]
cmp eax, 1
je 0x1800f4dfc
cmp eax, 2
je 0x1800f4dfc
cmp eax, 6
je 0x1800f4dfc
cmp eax, 7
jne 0x1800f4e9d
mov ecx, dword [rsp + 0x78]
add ecx, 2
call fcn.1800fb374
mov r8d, dword [rsp + 0x78]
xor edx, edx
add r8d, 2
mov rcx, rax
mov r12, rax
call fcn.1800fb1e0
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 0x1800f4e95
mov rbx, r12
cmp word [r12], ax
je 0x1800f4e79
nop dword [rax]
mov edx, dword [rbp + 8]
mov r8, rbx
mov rcx, rbp
call fcn.1800ec830
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 0x1800f4e50
cmp rsi, r13
je 0x1800f4e86
mov rcx, rsi
call fcn.1800f3c80
mov rcx, r12
call fcn.1800fb418
mov eax, 1
jmp 0x1800f4eac
mov rcx, r12
call fcn.1800fb418
cmp rsi, r13
je 0x1800f4eaa
mov rcx, rsi
call fcn.1800f3c80
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 0x1800f53a0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push r14
sub rsp, 0x58
mov r14, rcx
test rdx, rdx
je 0x1800f53c8
or r9d, 0x20006
mov r8d, r9d
call fcn.1800f3c30
mov rbx, rax
jmp 0x1800f53cb
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 0x1800f552b
mov rsi, qword [rsp + 0x90]
xor r12d, r12d
mov r15d, 2
mov edi, r12d
cmp dword [rsi + 8], r12d
jle 0x1800f543c
nop word [rax + rax]
lea rdx, [rsp + 0x78]
mov r8d, edi
mov rcx, rsi
call fcn.1800f4d30
mov rcx, qword [rax]
mov eax, dword [rcx - 8]
lea rcx, [rsp + 0x78]
lea r15d, [r15 + rax*2 + 2]
call fcn.1800e8250
inc edi
cmp edi, dword [rsi + 8]
jl 0x1800f5410
mov ecx, r15d
mov edi, r15d
call fcn.1800fb374
mov rbp, rax
test rax, rax
je 0x1800f552b
mov r8d, edi
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x38], r13
call fcn.1800fb1e0
mov r13, rbp
cmp dword [rsi + 8], r12d
jle 0x1800f54cd
nop
lea rdx, [rsp + 0x78]
mov r8d, r12d
mov rcx, rsi
call fcn.1800f4d30
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 0x1800f5490
lea rcx, [rsp + 0x78]
call fcn.1800e8250
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 0x1800f5470
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 0x1800f5516
cmp rbx, r14
je 0x1800f5507
mov rcx, rbx
call fcn.1800f3c80
mov rcx, rbp
call fcn.1800fb418
mov eax, 1
jmp 0x1800f552d
mov rcx, rbp
call fcn.1800fb418
cmp rbx, r14
je 0x1800f552b
mov rcx, rbx
call fcn.1800f3c80
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 0x1800f5910
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 0x1800f5939
or r8d, 0x20019
call fcn.1800f3c00
mov rdi, rax
jmp 0x1800f593c
mov rdi, rcx
or rbp, 0xffffffffffffffff
xor edx, edx
mov rcx, rsi
mov r8d, ebp
mov qword [rsp + 0x90], rbx
call fcn.1800ec630
test rdi, rdi
je 0x1800f5a74
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 0x1800f5a67
cmp dword [rsp + 0x60], ebx
jbe 0x1800f5a67
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.1800fb374
mov rbp, rax
test rax, rax
je 0x1800f5a67
cmp dword [rsp + 0x60], ebx
jbe 0x1800f5a4b
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rbp
inc r8d
add r8, r8
call fcn.1800fb1e0
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 0x1800f5a43
mov edx, dword [rsi + 8]
mov r8, rbp
mov rcx, rsi
call fcn.1800ec830
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x1800f5a00
mov rcx, rbp
call fcn.1800fb418
cmp rdi, r12
je 0x1800f5a60
mov rcx, rdi
call fcn.1800f3c80
mov eax, 1
jmp 0x1800f5a76
cmp rdi, r12
je 0x1800f5a74
mov rcx, rdi
call fcn.1800f3c80
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 0x1800f5910
mov r8, rdx
xor edx, edx
jmp 0x1800f6290
Function at 0x1800f5a90
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r12
sub rsp, 0x70
mov rsi, r9
mov r12, rcx
test rdx, rdx
je 0x1800f5ab9
or r8d, 0x20019
call fcn.1800f3c00
mov rdi, rax
jmp 0x1800f5abc
mov rdi, rcx
or rbx, 0xffffffffffffffff
xor edx, edx
mov rcx, rsi
mov r8d, ebx
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0xa0], r13
call fcn.1800ec630
test rdi, rdi
je 0x1800f5c32
xor r13d, r13d
lea rax, [rsp + 0x98]
xor r9d, r9d
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x60], r13d
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x98], r13d
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1800f5c25
cmp dword [rsp + 0x60], r13d
jbe 0x1800f5c25
mov eax, dword [rsp + 0x98]
mov ecx, 0x104
add eax, eax
cmp eax, ecx
cmova ecx, eax
mov eax, 2
mov dword [rsp + 0x98], ecx
inc ecx
mul rcx
cmovo rax, rbx
mov rcx, rax
call fcn.1800fb374
mov rbp, rax
test rax, rax
je 0x1800f5c25
mov ebx, r13d
cmp dword [rsp + 0x60], ebx
jbe 0x1800f5c09
nop word [rax + rax]
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rbp
inc r8d
add r8, r8
call fcn.1800fb1e0
mov r11d, dword [rsp + 0x98]
mov qword [rsp + 0x38], r13
inc r11d
mov qword [rsp + 0x30], r13
lea r9, [rsp + 0x64]
mov r8, rbp
mov edx, ebx
mov rcx, rdi
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x64], r11d
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1800f5c01
mov edx, dword [rsi + 8]
mov r8, rbp
mov rcx, rsi
call fcn.1800ec830
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x1800f5ba0
mov rcx, rbp
call fcn.1800fb418
cmp rdi, r12
je 0x1800f5c1e
mov rcx, rdi
call fcn.1800f3c80
mov eax, 1
jmp 0x1800f5c34
cmp rdi, r12
je 0x1800f5c32
mov rcx, rdi
call fcn.1800f3c80
xor eax, eax
mov r13, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xa8]
add rsp, 0x70
pop r12
pop rdi
pop rsi
ret
mov r9, r8
mov r8d, dword [rcx + 8]
mov rcx, qword [rcx]
jmp 0x1800f5a90
mov r8, rdx
xor edx, edx
jmp 0x1800f62b0
Function at 0x1800f62a0
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 0x1800f5939
or r8d, 0x20019
call fcn.1800f3c00
mov rdi, rax
jmp 0x1800f593c
mov rdi, rcx
or rbp, 0xffffffffffffffff
xor edx, edx
mov rcx, rsi
mov r8d, ebp
mov qword [rsp + 0x90], rbx
call fcn.1800ec630
test rdi, rdi
je 0x1800f5a74
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 0x1800f5a67
cmp dword [rsp + 0x60], ebx
jbe 0x1800f5a67
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.1800fb374
mov rbp, rax
test rax, rax
je 0x1800f5a67
cmp dword [rsp + 0x60], ebx
jbe 0x1800f5a4b
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rbp
inc r8d
add r8, r8
call fcn.1800fb1e0
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 0x1800f5a43
mov edx, dword [rsi + 8]
mov r8, rbp
mov rcx, rsi
call fcn.1800ec830
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x1800f5a00
mov rcx, rbp
call fcn.1800fb418
cmp rdi, r12
je 0x1800f5a60
mov rcx, rdi
call fcn.1800f3c80
mov eax, 1
jmp 0x1800f5a76
cmp rdi, r12
je 0x1800f5a74
mov rcx, rdi
call fcn.1800f3c80
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 0x1800f5910
mov r8, rdx
xor edx, edx
jmp 0x1800f6290
Function at 0x1800f62c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r12
sub rsp, 0x70
mov rsi, r9
mov r12, rcx
test rdx, rdx
je 0x1800f5ab9
or r8d, 0x20019
call fcn.1800f3c00
mov rdi, rax
jmp 0x1800f5abc
mov rdi, rcx
or rbx, 0xffffffffffffffff
xor edx, edx
mov rcx, rsi
mov r8d, ebx
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0xa0], r13
call fcn.1800ec630
test rdi, rdi
je 0x1800f5c32
xor r13d, r13d
lea rax, [rsp + 0x98]
xor r9d, r9d
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x60], r13d
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x98], r13d
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1800f5c25
cmp dword [rsp + 0x60], r13d
jbe 0x1800f5c25
mov eax, dword [rsp + 0x98]
mov ecx, 0x104
add eax, eax
cmp eax, ecx
cmova ecx, eax
mov eax, 2
mov dword [rsp + 0x98], ecx
inc ecx
mul rcx
cmovo rax, rbx
mov rcx, rax
call fcn.1800fb374
mov rbp, rax
test rax, rax
je 0x1800f5c25
mov ebx, r13d
cmp dword [rsp + 0x60], ebx
jbe 0x1800f5c09
nop word [rax + rax]
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rbp
inc r8d
add r8, r8
call fcn.1800fb1e0
mov r11d, dword [rsp + 0x98]
mov qword [rsp + 0x38], r13
inc r11d
mov qword [rsp + 0x30], r13
lea r9, [rsp + 0x64]
mov r8, rbp
mov edx, ebx
mov rcx, rdi
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x64], r11d
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1800f5c01
mov edx, dword [rsi + 8]
mov r8, rbp
mov rcx, rsi
call fcn.1800ec830
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x1800f5ba0
mov rcx, rbp
call fcn.1800fb418
cmp rdi, r12
je 0x1800f5c1e
mov rcx, rdi
call fcn.1800f3c80
mov eax, 1
jmp 0x1800f5c34
cmp rdi, r12
je 0x1800f5c32
mov rcx, rdi
call fcn.1800f3c80
xor eax, eax
mov r13, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xa8]
add rsp, 0x70
pop r12
pop rdi
pop rsi
ret
mov r9, r8
mov r8d, dword [rcx + 8]
mov rcx, qword [rcx]
jmp 0x1800f5a90
mov r8, rdx
xor edx, edx
jmp 0x1800f62b0
Function at 0x1800f62d0
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 0x1800f4bd3
mov r8d, dword [rcx + 8]
mov rcx, qword [rcx]
or r8d, 0x20019
call fcn.1800f3c00
mov rsi, rax
jmp 0x1800f4bd6
mov rsi, qword [rcx]
test rsi, rsi
je 0x1800f4c72
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 0x1800f4c4f
test edi, edi
je 0x1800f4c4a
dec edi
je 0x1800f4c32
sub edi, 2
je 0x1800f4c28
dec edi
jne 0x1800f4c4f
cmp dword [rsp + 0x68], 4
sete bl
jmp 0x1800f4c4f
cmp dword [rsp + 0x68], 3
sete bl
jmp 0x1800f4c4f
mov eax, dword [rsp + 0x68]
cmp eax, 1
je 0x1800f4c4a
cmp eax, 2
je 0x1800f4c4a
cmp eax, 6
je 0x1800f4c4a
cmp eax, 7
jne 0x1800f4c4f
mov ebx, 1
cmp rsi, qword [rbp]
je 0x1800f4c5d
mov rcx, rsi
call fcn.1800f3c80
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 0x1800f4ba0

Function at 0x1800f6760
Capabilities:
Create thread
Resume thread

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x10], 0
mov rbx, rcx
jne 0x1800f6810
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov edi, dword [rcx + 0x38]
mov esi, 4
test edi, edi
je 0x1800f67ae
call fcn.18012a390
test eax, eax
je 0x1800f67ae
mov rcx, rbx
call fcn.1800f66d0
lea ecx, [rdi - 0x2000]
cmp eax, ecx
jbe 0x1800f67a7
add edi, eax
mov esi, 0x10004
jmp 0x1800f67b0
xor edi, edi
lea rax, [rbx + 8]
lea r8, [0x1800f6630]
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 0x1800f6810
mov edx, dword [rbx + 0x3c]
mov dword [rbx + 0x18], 1
test edx, edx
je 0x1800f67fb
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 0x1800f81c0
Capabilities:
Get user security identifier

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x40
xor ebx, ebx
lea rax, [rsp + 0x78]
mov rsi, rdx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rdx], rbx
mov rbp, rcx
mov rdx, rcx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x70], ebx
mov dword [rsp + 0x68], ebx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x1800f8220
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x1800f8220
xor eax, eax
add rsp, 0x40
pop rsi
pop rbp
pop rbx
ret
mov ecx, dword [rsp + 0x70]
mov qword [rsp + 0x60], rdi
call fcn.1800fb374
mov ecx, dword [rsp + 0x68]
mov qword [rsi], rax
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1800fb374
mov r8, qword [rsi]
mov rdi, rax
test r8, r8
je 0x1800f828b
test rax, rax
je 0x1800f829c
lea rax, [rsp + 0x78]
lea r9, [rsp + 0x70]
mov rdx, rbp
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov ebx, eax
test rdi, rdi
je 0x1800f8298
mov rcx, rdi
call fcn.1800fb418
test ebx, ebx
jne 0x1800f82a9
mov rcx, qword [rsi]
test rcx, rcx
je 0x1800f82a9
call fcn.1800fb418
mov eax, ebx
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800fa470
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x6a0
mov rax, qword [0x180222e50]
xor rax, rsp
mov qword [rsp + 0x690], rax
mov rdi, rdx
mov r8, rdx
mov edx, 4
mov rbp, rcx
call qword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
mov ebx, eax
test eax, eax
je 0x1800fa5dd
mov qword [rsp + 0x6d0], rsi
lea rcx, [rsp + 0x482]
xor esi, esi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x480], si
call fcn.1800fb1e0
lea rdx, str._s
lea rcx, [rsp + 0x480]
mov r8, rbp
call fcn.1800fc264
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x24c
mov dword [rsp + 0x20], esi
call fcn.1800fb1e0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x480]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1800fa5d3
nop
lea rdx, [0x1801d1fec]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1800fa5b0
lea rdx, [0x1801d1fe8]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1800fa5b0
xor eax, eax
lea rcx, [rsp + 0x272]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x270], ax
call fcn.1800fb1e0
lea r9, [rsp + 0x4c]
lea rdx, [0x1801aa048]
lea rcx, [rsp + 0x270]
mov r8, rbp
call fcn.1800fc264
test byte [rsp + 0x20], 0x10
lea rcx, [rsp + 0x270]
je 0x1800fa5a0
mov rdx, rdi
call fcn.1800fa470
jmp 0x1800fa5ae
mov r8, rdi
mov edx, 4
call qword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
mov ebx, eax
test ebx, ebx
je 0x1800fa5ca
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1800fa520
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rsi, qword [rsp + 0x6d0]
mov eax, ebx
mov rcx, qword [rsp + 0x690]
xor rcx, rsp
call fcn.1800fbf40
add rsp, 0x6a0
pop rdi
pop rbp
pop rbx
ret
Function at 0x180106067
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x180222e50]
jne 0x1800fbf5a
rol rcx, 0x10
test cx, 0xffff
jne 0x1800fbf56
repz ret
ror rcx, 0x10
jmp 0x180105fc0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x18023ff40]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x180240038]
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 0x180106045
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, [0x18023ff40]
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 0x180106067
mov rax, qword [rsp + 0x88]
mov qword [0x180240038], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x18023ffd8], rax
mov rax, qword [0x180240038]
mov qword [0x18023feb0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x18023ffc0], rax
mov dword [0x18023fea0], 0xc0000409
mov dword [0x18023fea4], 1
mov rax, qword [0x180222e50]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180222e58]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x18023ff38], eax
mov ecx, 1
call fcn.1801146fc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1801d2370]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x18023ff38], 0
jne 0x1801060ee
mov ecx, 1
call fcn.1801146fc
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 0x180121ab4
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 [0x180222e50]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.180102be8
xor ebx, ebx
cmp qword [0x180240fe8], rbx
mov rdi, rax
jne 0x180121bc7
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x180121c9e
lea rdx, [0x1801d56d0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180121c9e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x180240fe8], 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 [0x180240ff0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x1801d5688]
mov rcx, rsi
mov qword [0x180240ff8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x180241008], rax
test rax, rax
je 0x180121bbe
lea rdx, [0x1801d5670]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x180241000], rax
jmp 0x180121bce
mov rax, qword [0x180241000]
jmp 0x180121bd5
mov rax, qword [0x180241000]
mov r11, qword [0x180241008]
cmp rax, rdi
je 0x180121c3c
cmp r11, rdi
je 0x180121c3c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x180241008]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x180121c3c
test rax, rax
je 0x180121c3c
call rsi
test rax, rax
je 0x180121c36
lea rcx, [rsp + 0x30]
mov r9d, recvfrom
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x180121c36
test byte [rsp + 0x40], 1
jne 0x180121c3c
bts ebp, 0x15
jmp 0x180121c7c
mov rcx, qword [0x180240ff0]
cmp rcx, rdi
je 0x180121c7c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180121c7c
call rax
mov rbx, rax
test rax, rax
je 0x180121c7c
mov rcx, qword [0x180240ff8]
cmp rcx, rdi
je 0x180121c7c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180121c7c
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x180240fe8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180121c9e
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x180121ca0
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800fbf40
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret