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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x1f0
mov qword [rbp - 0x1c8], rbx
mov qword [rbp - 0x1c0], rsi
mov qword [rbp - 0x1b8], rdi
mov qword [rbp - 0x1b0], r12
mov qword [rbp - 0x1a8], r13
mov qword [rbp - 0x1a0], r14
mov qword [rbp - 0x198], r15
mov dword [rbp + 0x10], ecx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov rax, qword [rbp + 0x18]
mov dword [rax], 0
mov dword [rbp - 0x180], 0xffffffff
mov dword [rbp - 0x17c], 4
mov rbx, qword [rbp + 0x20]
mov rdx, qword [rbx + 8]
mov rbx, qword [rbx]
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rdx
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x170]
call fcn.14001a170
lea rax, [rbp - 0x17c]
push rax
push qword [rbp + 0x18]
lea r9, [rbp - 0x180]
xor r8d, r8d
mov qword [rbp - 0x190], r8
mov qword [rbp - 0x188], r9
lea rcx, [rbp - 0x170]
sub rsp, 0x20
call fcn.14000b2c0
add rsp, 0x20
mov rdx, rax
mov r9, qword [rbp - 0x188]
mov r8, qword [rbp - 0x190]
mov rcx, qword [rbp + 0x28]
sub rsp, 0x20
call sub.ADVAPI32.dll_RegQueryValueExW
add rsp, 0x30
mov r9d, eax
lea rax, [0x140059300]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
lea r8, [rbp - 0x50]
lea rdx, str.stdwindows_registry.d
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x40], 0x16
lea rdx, [rbp - 0x40]
mov ecx, 0x281
call fcn.140057db0
sub rsp, 8
call fcn.1400599cf
add rsp, 8
jmp 0x1400599e4
mov eax, dword [rbp - 0x180]
cmp eax, dword [rbp + 0x10]
sete dl
lea rbx, [0x140059ae0]
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x30], 0
lea rcx, [rbp - 0x30]
sub rsp, 0x20
call fcn.140003f20
add rsp, 0x20
mov esi, dword [rbp - 0x180]
cmp esi, 4
je 0x140059aa4
cmp esi, 5
je 0x140059a2a
jmp 0x140059a36
mov rdx, qword [rbp + 0x18]
mov eax, dword [rdx]
bswap eax
mov dword [rdx], eax
jmp 0x140059aa4
lea rcx, [0x1400cced0]
sub rsp, 0x20
call fcn.140010940
add rsp, 0x20
mov rsi, rax
sub rsp, 8
lea rdx, str.Cannot_read_the_given_value_as_a_32_bit_integer
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x20], 0x2f
lea rbx, [rbp - 0x20]
push rbx
lea rdi, str.stdwindows_registry.d
mov qword [rbp - 8], rdi
mov qword [rbp - 0x10], 0x16
lea r9, [rbp - 0x10]
mov r8d, 0x297
xor edx, edx
mov rcx, rsi
sub rsp, 0x20
call fcn.140050480
add rsp, 0x30
mov rcx, rax
sub rsp, 0x20
call fcn.1400109f0
mov rbx, qword [rbp - 0x1c8]
mov rsi, qword [rbp - 0x1c0]
mov rdi, qword [rbp - 0x1b8]
mov r12, qword [rbp - 0x1b0]
mov r13, qword [rbp - 0x1a8]
mov r14, qword [rbp - 0x1a0]
mov r15, qword [rbp - 0x198]
mov rsp, rbp
pop rbp
ret
Function at 0x140059b50
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x1f0
mov qword [rbp - 0x1c8], rbx
mov qword [rbp - 0x1c0], rsi
mov qword [rbp - 0x1b8], rdi
mov qword [rbp - 0x1b0], r12
mov qword [rbp - 0x1a8], r13
mov qword [rbp - 0x1a0], r14
mov qword [rbp - 0x198], r15
mov dword [rbp + 0x10], ecx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov rax, qword [rbp + 0x18]
mov qword [rax], 0
mov dword [rbp - 0x180], 0xffffffff
mov dword [rbp - 0x17c], 8
mov rbx, qword [rbp + 0x20]
mov rdx, qword [rbx + 8]
mov rbx, qword [rbx]
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rdx
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x170]
call fcn.14001a170
lea rax, [rbp - 0x17c]
push rax
push qword [rbp + 0x18]
lea r9, [rbp - 0x180]
xor r8d, r8d
mov qword [rbp - 0x190], r8
mov qword [rbp - 0x188], r9
lea rcx, [rbp - 0x170]
sub rsp, 0x20
call fcn.14000b2c0
add rsp, 0x20
mov rdx, rax
mov r9, qword [rbp - 0x188]
mov r8, qword [rbp - 0x190]
mov rcx, qword [rbp + 0x28]
sub rsp, 0x20
call sub.ADVAPI32.dll_RegQueryValueExW
add rsp, 0x30
mov r9d, eax
lea rax, [0x140059300]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
lea r8, [rbp - 0x50]
lea rdx, str.stdwindows_registry.d
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x40], 0x16
lea rdx, [rbp - 0x40]
mov ecx, 0x2a5
call fcn.140057db0
sub rsp, 8
call fcn.140059c80
add rsp, 8
jmp 0x140059c95
mov eax, dword [rbp - 0x180]
cmp eax, dword [rbp + 0x10]
sete dl
lea rbx, [0x140059d80]
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x30], 0
lea rcx, [rbp - 0x30]
sub rsp, 0x20
call fcn.140003f20
add rsp, 0x20
mov esi, dword [rbp - 0x180]
cmp esi, 0xb
je 0x140059d3e
lea rcx, [0x1400cced0]
sub rsp, 0x20
call fcn.140010940
add rsp, 0x20
mov rsi, rax
sub rsp, 8
lea rax, str.Cannot_read_the_given_value_as_a_64_bit_integer
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], 0x2f
lea rdx, [rbp - 0x20]
push rdx
lea rbx, str.stdwindows_registry.d
mov qword [rbp - 8], rbx
mov qword [rbp - 0x10], 0x16
lea r9, [rbp - 0x10]
mov r8d, 0x2b0
xor edx, edx
mov rcx, rsi
sub rsp, 0x20
call fcn.140050480
add rsp, 0x30
mov rcx, rax
sub rsp, 0x20
call fcn.1400109f0
mov rbx, qword [rbp - 0x1c8]
mov rsi, qword [rbp - 0x1c0]
mov rdi, qword [rbp - 0x1b8]
mov r12, qword [rbp - 0x1b0]
mov r13, qword [rbp - 0x1a8]
mov r14, qword [rbp - 0x1a0]
mov r15, qword [rbp - 0x198]
mov rsp, rbp
pop rbp
ret
Function at 0x140059df0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x1e0
mov qword [rbp - 0x1b8], rbx
mov qword [rbp - 0x1b0], rsi
mov qword [rbp - 0x1a8], rdi
mov dword [rbp + 0x10], ecx
mov qword [rbp + 0x18], rdx
mov rdi, r8
mov rsi, r9
mov r10, qword [rbp + 0x18]
mov qword [r10], 0
mov qword [r10 + 8], 0
mov dword [rbp - 0x1a0], 0xffffffff
mov edx, 0x64
lea rcx, [0x1400d5d80]
call fcn.14000c680
mov qword [rbp - 0x190], rax
mov qword [rbp - 0x188], rdx
mov rcx, qword [rbp - 0x190]
call fcn.14002d4d0
mov dword [rbp - 0x180], eax
mov rdx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x170]
call fcn.14001a170
lea rcx, [rbp - 0x170]
sub rsp, 0x20
call fcn.14000b2c0
add rsp, 0x20
lea r8, [rbp - 0x1a0]
mov r9, qword [rbp - 0x188]
lea rdx, [rbp - 0x180]
push rdx
push r9
mov r9, r8
xor r8d, r8d
mov rdx, rax
mov rcx, rsi
sub rsp, 0x20
call sub.ADVAPI32.dll_RegQueryValueExW
add rsp, 0x30
mov edi, eax
cmp edi, 0xea
jne 0x140059f3a
lea rdx, [rbp - 0x190]
mov ecx, dword [rbp - 0x180]
sub rsp, 0x20
call fcn.140066fa0
add rsp, 0x20
lea rcx, [rbp - 0x170]
sub rsp, 0x20
call fcn.14000b2c0
add rsp, 0x20
lea r8, [rbp - 0x1a0]
mov r9, qword [rbp - 0x188]
lea rdx, [rbp - 0x180]
push rdx
push r9
mov r9, r8
xor r8d, r8d
mov rdx, rax
mov rcx, rsi
sub rsp, 0x20
call sub.ADVAPI32.dll_RegQueryValueExW
add rsp, 0x30
mov edi, eax
mov r9d, edi
lea rax, [0x140059300]
mov qword [rbp - 0x48], rax
xor ebx, ebx
mov qword [rbp - 0x50], rbx
lea r8, [rbp - 0x50]
lea rcx, str.stdwindows_registry.d
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x40], 0x16
lea rdx, [rbp - 0x40]
mov ecx, 0x2c7
sub rsp, 0x20
call fcn.140057db0
add rsp, 0x20
mov eax, dword [rbp - 0x1a0]
cmp eax, dword [rbp + 0x10]
sete dl
lea rsi, [0x14005a0a0]
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x30], rbx
lea rcx, [rbp - 0x30]
sub rsp, 0x20
call fcn.140003f20
add rsp, 0x20
mov ebx, dword [rbp - 0x1a0]
cmp ebx, 3
je 0x14005a020
lea rcx, [0x1400cced0]
sub rsp, 0x20
call fcn.140010940
add rsp, 0x20
mov rsi, rax
sub rsp, 8
lea rbx, str.Cannot_read_the_given_value_as_a_string
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x20], 0x27
lea rax, [rbp - 0x20]
push rax
lea rdx, str.stdwindows_registry.d
mov qword [rbp - 8], rdx
mov qword [rbp - 0x10], 0x16
lea r9, [rbp - 0x10]
mov r8d, 0x2d3
xor edx, edx
mov rcx, rsi
sub rsp, 0x20
call fcn.140050480
add rsp, 0x30
mov rcx, rax
sub rsp, 0x20
call fcn.1400109f0
lea rdx, [rbp - 0x190]
mov ecx, dword [rbp - 0x180]
sub rsp, 0x20
call fcn.140066fa0
add rsp, 0x20
mov rdx, qword [rbp - 0x188]
mov rax, qword [rbp - 0x190]
mov rsi, qword [rbp + 0x18]
mov qword [rsi], rax
mov qword [rsi + 8], rdx
sub rsp, 8
call fcn.14005a062
add rsp, 8
jmp 0x14005a077
mov rbx, qword [rbp - 0x1b8]
mov rsi, qword [rbp - 0x1b0]
mov rdi, qword [rbp - 0x1a8]
mov rsp, rbp
pop rbp
ret

Function at 0x14005ae60
Capabilities:
Get file attributes

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rcx, qword [rbp + 0x10]
call sub.KERNEL32.dll_GetFileAttributesW
mov rsp, rbp
pop rbp
ret
Function at 0x140066fd0
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r13
mov rdi, rcx
mov rsi, rdx
mov r12, r8
mov r13, r9
mov dword [rdi], 0
mov rcx, qword [rsi]
call fcn.14002d4d0
mov dword [rdi], eax
xor edx, edx
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x50], rdx
mov r9, rdi
mov r8, qword [rsi + 8]
mov edx, r12d
mov rcx, r13
call sub.ADVAPI32.dll_RegEnumKeyExW
mov ebx, eax
cmp ebx, 0xea
je 0x140067051
mov eax, ebx
mov rbx, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
mov rdi, qword [rbp - 0x18]
mov r12, qword [rbp - 0x10]
mov r13, qword [rbp - 8]
mov rsp, rbp
pop rbp
ret
mov rdx, rsi
mov rcx, qword [rsi]
add rcx, rcx
call fcn.14001bc00
mov rcx, qword [rsi]
call fcn.14002d4d0
mov dword [rdi], eax
xor r8d, r8d
mov qword [rbp - 0x38], r8
mov qword [rbp - 0x40], r8
mov qword [rbp - 0x48], r8
mov qword [rbp - 0x50], r8
mov r9, rdi
mov r8, qword [rsi + 8]
mov edx, r12d
mov rcx, r13
call sub.ADVAPI32.dll_RegEnumKeyExW
mov ebx, eax
cmp ebx, 0xea
jne 0x140067036
jmp 0x140067051

Function at 0x1400670a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r13
mov rdi, rcx
mov rsi, rdx
mov r12, r8
mov r13, r9
mov dword [rdi], 0
mov rcx, qword [rsi]
call fcn.14002d4d0
mov dword [rdi], eax
xor edx, edx
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x50], rdx
mov r9, rdi
mov r8, qword [rsi + 8]
mov edx, r12d
mov rcx, r13
call sub.ADVAPI32.dll_RegEnumValueW
mov ebx, eax
cmp ebx, 0xea
je 0x140067121
mov eax, ebx
mov rbx, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
mov rdi, qword [rbp - 0x18]
mov r12, qword [rbp - 0x10]
mov r13, qword [rbp - 8]
mov rsp, rbp
pop rbp
ret
mov rdx, rsi
mov rcx, qword [rsi]
add rcx, rcx
call fcn.14001bc00
mov rcx, qword [rsi]
call fcn.14002d4d0
mov dword [rdi], eax
xor r8d, r8d
mov qword [rbp - 0x38], r8
mov qword [rbp - 0x40], r8
mov qword [rbp - 0x48], r8
mov qword [rbp - 0x50], r8
mov r9, rdi
mov r8, qword [rsi + 8]
mov edx, r12d
mov rcx, r13
call sub.ADVAPI32.dll_RegEnumValueW
mov ebx, eax
cmp ebx, 0xea
jne 0x140067106
jmp 0x140067121
Function at 0x140067e30
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rdi
mov rsi, rcx
mov rdi, qword [rsi]
mov rdx, qword [rsi + 8]
mov rax, qword [rsi]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
xor r8d, r8d
cmp qword [rbp - 0x20], r8
je 0x140067e77
mov rcx, qword [rbp - 0x18]
cmp byte [r8 + rcx], 0x80
jb 0x140067e6e
mov rdi, r8
jmp 0x140067e77
inc r8
cmp r8, qword [rbp - 0x20]
jb 0x140067e5e
mov rax, qword [rsi]
cmp rax, rdi
jb 0x140067ecb
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
sub rax, rdi
mov rdx, qword [rsi + 8]
add rdx, rdi
mov qword [rsi], rax
mov qword [rsi + 8], rdx
mov rcx, rsi
call fcn.1400058c0
xor al, 1
je 0x140067ebb
inc rdi
mov rcx, rsi
call fcn.14003da90
mov rcx, rsi
call fcn.1400058c0
xor al, 1
jne 0x140067ea4
mov rax, rdi
mov rsi, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x28]
mov rsp, rbp
pop rbp
ret
mov qword [rbp - 0x40], 0
mov r9, rax
mov r8, rdi
mov edx, 0x6e5
lea rcx, str.std_rangeprimitives.d
call fcn.140010870
int3

Function at 0x14006a4b0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rdi
mov rdi, rcx
mov rsi, rdx
mov rcx, rsi
call fcn.1400058c0
xor al, 1
je 0x14006a4f0
mov rcx, rsi
call fcn.140054f30
mov edx, eax
mov rcx, rdi
call fcn.1400773c0
mov rcx, rsi
call fcn.1400058c0
xor al, 1
jne 0x14006a4d2
mov rsi, qword [rbp - 0x10]
mov rdi, qword [rbp - 8]
mov rsp, rbp
pop rbp
ret
Function at 0x140073de0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rdi
mov qword [rbp + 0x10], rcx
call fcn.14007e430
mov qword [rbp - 0x60], rax
mov rsi, qword [rbp + 0x10]
lea rdi, [rbp - 0x50]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
lea rcx, [rbp - 0x50]
call fcn.140073c40
xor al, 1
je 0x140073e63
lea rcx, [rbp - 0x50]
call fcn.140073be0
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x10], rax
mov rdx, qword [rbp - 0x18]
mov qword [rbp - 8], rdx
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x60]
call fcn.14007e470
lea rcx, [rbp - 0x50]
call fcn.140073c70
lea rcx, [rbp - 0x50]
call fcn.140073c40
xor al, 1
jne 0x140073e1f
lea rcx, [rbp - 0x60]
call fcn.14004c690
mov rsi, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x68]
mov rsp, rbp
pop rbp
ret
Function at 0x14007da80
Capabilities:
Create thread
Resume thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rsi
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp + 0x20], r8
mov ecx, 0x10
call fcn.14008af5c
mov rdx, qword [rbp + 0x20]
mov rbx, qword [rdx]
mov rdx, qword [rdx + 8]
mov qword [rax], rbx
mov qword [rax + 8], rdx
mov dword [rbp - 0x20], 0
cmp byte [0x1400dc6b8], 0
jne 0x14007daf5
lea rsi, [rbp - 0x20]
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x40], 4
mov r9, rax
lea r8, [0x14007dbf0]
mov edx, dword [rbp + 0x18]
xor ecx, ecx
call fcn.14008d42c
test rax, rax
mov qword [rbp - 0x18], rax
jne 0x14007db04
xor eax, eax
mov rbx, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x28]
mov rsp, rbp
pop rbp
ret
lea rcx, [0x1400dc430]
call sub.KERNEL32.dll_EnterCriticalSection
inc qword [0x1400dc408]
mov rdx, qword [0x1400dc408]
lea rdx, [rdx + rdx*2]
lea rdx, [rdx*8]
mov rcx, qword [0x1400dc410]
call fcn.14008af64
mov qword [0x1400dc410], rax
mov ebx, dword [rbp - 0x20]
mov rsi, qword [0x1400dc408]
lea rsi, [rsi + rsi*2]
lea rsi, [rsi*8]
add rsi, rax
mov dword [rsi - 0x18], ebx
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax + 8]
mov rbx, qword [rax]
mov rcx, qword [0x1400dc408]
lea rcx, [rcx + rcx*2]
lea rcx, [rcx*8]
add rcx, qword [0x1400dc410]
mov qword [rcx - 0x10], rbx
mov qword [rcx - 8], rdx
mov rcx, qword [rbp - 0x18]
call sub.KERNEL32.dll_ResumeThread
cmp eax, 0xffffffff
je 0x14007dbcd
mov rcx, qword [rbp - 0x18]
call sub.KERNEL32.dll_CloseHandle
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax + 8]
or rdx, qword [rax]
je 0x14007dbaf
call fcn.140082ca0
mov ebx, dword [rbp - 0x20]
lea rcx, [0x1400dc430]
call sub.KERNEL32.dll_LeaveCriticalSection
mov eax, ebx
mov rbx, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x28]
mov rsp, rbp
pop rbp
ret
lea rsi, str.Error_resuming_thread
mov qword [rbp - 8], rsi
mov qword [rbp - 0x10], 0x15
lea rcx, [rbp - 0x10]
call fcn.1400207d0
int3

Function at 0x14007dc50
Capabilities:
Terminate thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp - 8], rsi
mov dword [rbp + 0x10], ecx
mov r8d, dword [rbp + 0x10]
xor edx, edx
mov ecx, 0x10004a
call sub.KERNEL32.dll_OpenThread
mov rsi, rax
test rsi, rsi
jne 0x14007dc80
mov rsi, qword [rbp - 8]
mov rsp, rbp
pop rbp
ret
cmp byte [0x1400dc6b8], 0
je 0x14007dca6
mov edx, 1
mov rcx, rsi
call sub.KERNEL32.dll_TerminateThread
mov edx, 0xa
mov rcx, rsi
call sub.KERNEL32.dll_WaitForSingleObject
jmp 0x14007dcb3
mov edx, 0xffffffff
mov rcx, rsi
call sub.KERNEL32.dll_WaitForSingleObject
mov rcx, rsi
call sub.KERNEL32.dll_CloseHandle
mov rsi, qword [rbp - 8]
mov rsp, rbp
pop rbp
ret
Function at 0x140082be0
Capabilities:
Resume thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rdi
mov qword [rbp + 0x10], rcx
mov rdi, qword [rbp + 0x10]
mov eax, dword [rdi + 0x10]
mov qword [rbp - 0x18], rax
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, eax
mov rax, qword [rbp - 0x18]
cmp eax, ecx
je 0x140082c40
mov rcx, qword [rdi + 0xb0]
call sub.KERNEL32.dll_ResumeThread
cmp eax, 0xffffffff
jne 0x140082c40
mov rcx, rdi
call fcn.140017050
xor al, 1
je 0x140082c80
mov rcx, rdi
call fcn.140020370
mov rbx, qword [rbp - 0x28]
mov rdi, qword [rbp - 0x20]
mov rsp, rbp
pop rbp
ret
movsx edx, byte [rdi + 0x90]
xor dl, 1
je 0x140082c5a
mov rbx, qword [rdi + 0x88]
mov rax, qword [rbx]
mov qword [rbx + 8], rax
mov qword [rbp + 0x10], rdi
xor eax, eax
mov rdi, qword [rbp + 0x10]
add rdi, 0xb8
mov ecx, 0x10
rep stosq qword [rdi], rax
mov rbx, qword [rbp - 0x28]
mov rdi, qword [rbp - 0x20]
mov rsp, rbp
pop rbp
ret
lea rdx, str.Unable_to_resume_thread
mov qword [rbp - 8], rdx
mov qword [rbp - 0x10], 0x17
lea rcx, [rbp - 0x10]
call fcn.1400207d0
int3
Function at 0x1400851c0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rdi
mov rdi, rcx
mov rsi, rdx
mov rcx, rsi
call fcn.1400784b0
xor al, 1
je 0x140085208
mov rcx, rsi
call fcn.140078550
mov edx, eax
mov rcx, rdi
call fcn.14004f530
mov rcx, rsi
call fcn.1400784f0
mov rcx, rsi
call fcn.1400784b0
xor al, 1
jne 0x1400851e2
mov rsi, qword [rbp - 0x10]
mov rdi, qword [rbp - 8]
mov rsp, rbp
pop rbp
ret

Function at 0x140086ec0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rdi
mov rsi, rcx
xor edi, edi
mov rcx, rsi
call fcn.140052900
xor al, 1
je 0x140086ef8
inc rdi
mov rcx, rsi
call fcn.140052920
mov rcx, rsi
call fcn.140052900
xor al, 1
jne 0x140086ee1
mov rax, rdi
mov rsi, qword [rbp - 0x10]
mov rdi, qword [rbp - 8]
mov rsp, rbp
pop rbp
ret

Function at 0x140088ff0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rdi
mov rdi, rcx
mov rsi, rdx
mov rcx, rsi
call fcn.1400058c0
xor al, 1
je 0x140089030
mov rcx, rsi
call fcn.140089280
mov edx, eax
mov rcx, rdi
call fcn.140007880
mov rcx, rsi
call fcn.1400058c0
xor al, 1
jne 0x140089012
mov rsi, qword [rbp - 0x10]
mov rdi, qword [rbp - 8]
mov rsp, rbp
pop rbp
ret

Function at 0x140089090
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rdi
mov rdi, rcx
mov rsi, rdx
mov rcx, rsi
call fcn.140052900
xor al, 1
je 0x1400890d8
mov rcx, rsi
call fcn.140052910
mov edx, eax
mov rcx, rdi
call fcn.14004f530
mov rcx, rsi
call fcn.140052920
mov rcx, rsi
call fcn.140052900
xor al, 1
jne 0x1400890b2
mov rsi, qword [rbp - 0x10]
mov rdi, qword [rbp - 8]
mov rsp, rbp
pop rbp
ret

Function at 0x140094850
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1400946e3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400946e3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400946e3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400946e3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400946e3
cmp dword [rcx + 0x84], 0xe
jbe 0x1400946e3
cmp dword [rcx + 0xf8], 0
je 0x1400946e3
mov ecx, ebx
call fcn.140094784
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140094574
cmp dword [rbp + 0x20], 0
je 0x140094730
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140094738
int3
xor r8d, r8d
xor edx, edx
jmp 0x14009467c
Function at 0x14000e1f0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov rax, qword [0x140222820]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov rcx, rdx
mov rbx, r8
call qword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64]
xor edx, edx
lea rcx, [rbp]
mov r8d, 0x410
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rbx]
cmp dword [r8 + 4], 0
je 0x14000e26b
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64]
mov r9, rdi
lea r8, str.__s___s
lea rcx, [rbp]
mov qword [rsp + 0x20], rax
mov edx, 0x410
call fcn.1400040e8
and qword [rsp + 0x60], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x60]
mov edx, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14000e39b
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x68]
and qword [rsp + 0x68], 0
mov r9d, 2
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov edx, 0x20f01ff
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x70]
and qword [rsp + 0x70], 0
xor r8d, r8d
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
xor eax, eax
lea rcx, [rbp - 0x70]
xorps xmm0, xmm0
mov qword [rbp - 0x78], rax
xor edx, edx
movups xmmword [rsp + 0x78], xmm0
lea ebx, [rax + 0x70]
mov r8d, ebx
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x68]
lea rax, str.winsta0default
mov qword [rbp - 0x60], rax
lea r8, [rbp]
lea rax, [rsp + 0x78]
mov dword [rbp - 0x70], ebx
mov qword [rsp + 0x50], rax
xor r9d, r9d
lea rax, [rbp - 0x70]
mov rdx, rdi
mov qword [rsp + 0x48], rax
and qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x628
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
setne bl
test eax, eax
je 0x14000e372
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test bl, bl
je 0x14000e39b
mov al, 1
jmp 0x14000e39d
xor al, al
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.14001af50
lea r11, [rsp + 0x520]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x140010c58
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 9], 0
mov rdx, rcx
je 0x140010c8b
xor r8d, r8d
mov cl, r8b
movabs rax, 0x51533f1509c71599
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 9
jb 0x140010c64
mov byte [rdx + 9], 0
mov rax, rdx
ret
Function at 0x140010c90
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x25], 0
mov rdx, rcx
je 0x140010cc3
xor r8d, r8d
mov cl, r8b
movabs rax, 0x61a7ddf587214d1b
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 0x25
jb 0x140010c9c
mov byte [rdx + 0x25], 0
mov rax, rdx
ret

Function at 0x140010cc8
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 7], 0
mov rdx, rcx
je 0x140010cfb
xor r8d, r8d
mov cl, r8b
movabs rax, 0x33936bbb8fbf972b
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 7
jb 0x140010cd4
mov byte [rdx + 7], 0
mov rax, rdx
ret

Function at 0x140010d00
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xc], 0
mov rdx, rcx
je 0x140010d33
xor r8d, r8d
mov cl, r8b
movabs rax, 0xb5e3ff6f79e787bf
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 0xc
jb 0x140010d0c
mov byte [rdx + 0xc], 0
mov rax, rdx
ret

Function at 0x140010d38
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 9], 0
mov rdx, rcx
je 0x140010d6b
xor r8d, r8d
mov cl, r8b
movabs rax, 0x717f5d0f8b9d9be7
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 9
jb 0x140010d44
mov byte [rdx + 9], 0
mov rax, rdx
ret