joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180032180
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 0x180031ddf
mov r8d, r9d
or r8d, 0x2001f
call fcn.1800312c0
mov rbx, rax
jmp 0x180031de2
mov rbx, rcx
test rbx, rbx
je 0x180031e79
mov rcx, rbx
test rbp, rbp
je 0x180031e14
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x180031e6c
cmp rbx, rdi
je 0x180031e0d
mov rcx, rbx
call fcn.180031340
mov eax, 1
jmp 0x180031e7b
mov edx, esi
call fcn.180031c10
test eax, eax
je 0x180031e6c
cmp rbx, rdi
je 0x180031e2c
mov rcx, rbx
call fcn.180031340
mov rax, qword [0x18013f460]
test rax, rax
je 0x180031e55
test esi, esi
je 0x180031e55
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 0x180031e7b
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
jmp 0x180031e7b
cmp rbx, rdi
je 0x180031e79
mov rcx, rbx
call fcn.180031340
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 0x180031da0

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

Disassembly:
mov r8, rdx
xor edx, edx
jmp fcn.180032180

Function at 0x180032220
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 0x180032253
mov r8d, dword [rcx + 8]
mov rcx, qword [rcx]
or r8d, 0x20019
call fcn.1800312c0
mov rsi, rax
jmp 0x180032256
mov rsi, qword [rcx]
test rsi, rsi
je 0x1800322f2
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_RegQueryValueExA]
test eax, eax
jne 0x1800322cf
test edi, edi
je 0x1800322ca
dec edi
je 0x1800322b2
sub edi, 2
je 0x1800322a8
dec edi
jne 0x1800322cf
cmp dword [rsp + 0x68], 4
sete bl
jmp 0x1800322cf
cmp dword [rsp + 0x68], 3
sete bl
jmp 0x1800322cf
mov eax, dword [rsp + 0x68]
cmp eax, 1
je 0x1800322ca
cmp eax, 2
je 0x1800322ca
cmp eax, 6
je 0x1800322ca
cmp eax, 7
jne 0x1800322cf
mov ebx, 1
cmp rsi, qword [rbp]
je 0x1800322dd
mov rcx, rsi
call fcn.180031340
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
Function at 0x180032380
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.18002cc40
test rbx, rbx
je 0x1800323d0
or edi, 0x20019
mov rdx, rbx
mov rcx, r13
mov r8d, edi
call fcn.1800312c0
mov rsi, rax
jmp 0x1800323d3
mov rsi, r13
mov qword [rsp + 0x70], r12
test rsi, rsi
je 0x1800324d7
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_RegQueryValueExA]
test eax, eax
jne 0x1800324ca
mov eax, dword [rsp + 0x30]
cmp eax, 1
je 0x18003242c
cmp eax, 2
je 0x18003242c
cmp eax, 6
je 0x18003242c
cmp eax, 7
jne 0x1800324ca
mov ecx, dword [rsp + 0x78]
add ecx, 2
call fcn.180045488
mov r8d, dword [rsp + 0x78]
xor edx, edx
add r8d, 2
mov rcx, rax
mov r12, rax
call fcn.180043ef0
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_RegQueryValueExA]
test eax, eax
jne 0x1800324c2
mov rbx, r12
cmp byte [r12], al
je 0x1800324a6
nop dword [rax]
mov edx, dword [rbp + 8]
mov r8, rbx
mov rcx, rbp
call fcn.18002ce40
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
mov eax, ecx
add rbx, rax
cmp byte [rbx], 0
jne 0x180032480
cmp rsi, r13
je 0x1800324b3
mov rcx, rsi
call fcn.180031340
mov rcx, r12
call fcn.180045904
mov eax, 1
jmp 0x1800324d9
mov rcx, r12
call fcn.180045904
cmp rsi, r13
je 0x1800324d7
mov rcx, rsi
call fcn.180031340
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 0x1800329a0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push r14
sub rsp, 0x58
mov r14, rcx
test rdx, rdx
je 0x1800329c8
or r9d, 0x20006
mov r8d, r9d
call fcn.1800312f0
mov rbx, rax
jmp 0x1800329cb
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 0x180032b24
mov rsi, qword [rsp + 0x90]
xor r12d, r12d
mov r15d, 1
mov edi, r12d
cmp dword [rsi + 8], r12d
jle 0x180032a3c
nop word [rax + rax]
lea rdx, [rsp + 0x78]
mov r8d, edi
mov rcx, rsi
call fcn.180032310
mov rcx, qword [rax]
mov eax, dword [rcx - 8]
lea rcx, [rsp + 0x78]
lea r15d, [r15 + rax + 1]
call fcn.180027bd0
inc edi
cmp edi, dword [rsi + 8]
jl 0x180032a10
mov ecx, r15d
mov edi, r15d
call fcn.180045488
mov rbp, rax
test rax, rax
je 0x180032b24
mov r8d, edi
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x38], r13
call fcn.180043ef0
mov r13, rbp
cmp dword [rsi + 8], r12d
jle 0x180032ac6
nop
lea rdx, [rsp + 0x78]
mov r8d, r12d
mov rcx, rsi
call fcn.180032310
mov rdx, r13
mov rcx, qword [rax]
nop word [rax + rax]
movzx eax, byte [rcx]
inc rdx
inc rcx
mov byte [rdx - 1], al
test al, al
jne 0x180032a90
lea rcx, [rsp + 0x78]
call fcn.180027bd0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r13
inc r12d
repne scasb al, byte [rdi]
not rcx
mov eax, ecx
add r13, rax
cmp r12d, dword [rsi + 8]
jl 0x180032a70
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_RegSetValueExA]
mov r13, qword [rsp + 0x38]
test eax, eax
jne 0x180032b0f
cmp rbx, r14
je 0x180032b00
mov rcx, rbx
call fcn.180031340
mov rcx, rbp
call fcn.180045904
mov eax, 1
jmp 0x180032b26
mov rcx, rbp
call fcn.180045904
cmp rbx, r14
je 0x180032b24
mov rcx, rbx
call fcn.180031340
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 0x180032f20
Capabilities:
Query or enumerate registry key

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0x70
mov rsi, r9
mov r12, rcx
test rdx, rdx
je 0x180032f45
or r8d, 0x20019
call fcn.1800312c0
mov rdi, rax
jmp 0x180032f48
mov rdi, rcx
or r8d, 0xffffffff
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0xa0], rbp
call fcn.18002cc40
test rdi, rdi
je 0x180033081
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_RegQueryInfoKeyA]
test eax, eax
jne 0x180033074
cmp dword [rsp + 0x60], ebx
jbe 0x180033074
mov eax, dword [rsp + 0x98]
mov ecx, 0x104
cmp eax, ecx
cmovb eax, ecx
mov dword [rsp + 0x98], eax
lea ecx, [rax + 1]
call fcn.180045488
mov rbp, rax
test rax, rax
je 0x180033074
cmp dword [rsp + 0x60], ebx
jbe 0x180033058
nop word [rax + rax]
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rbp
inc r8d
call fcn.180043ef0
mov r9d, dword [rsp + 0x98]
mov r8, rbp
mov edx, ebx
mov rcx, rdi
inc r9d
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x180033050
mov edx, dword [rsi + 8]
mov r8, rbp
mov rcx, rsi
call fcn.18002ce40
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x180033010
mov rcx, rbp
call fcn.180045904
cmp rdi, r12
je 0x18003306d
mov rcx, rdi
call fcn.180031340
mov eax, 1
jmp 0x180033083
cmp rdi, r12
je 0x180033081
mov rcx, rdi
call fcn.180031340
xor eax, eax
mov rbp, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop r12
pop rdi
pop rsi
ret
mov r9, r8
mov r8d, dword [rcx + 8]
mov rcx, qword [rcx]
jmp 0x180032f20
Function at 0x1800330a0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0x70
mov rsi, r9
mov r12, rcx
test rdx, rdx
je 0x1800330c5
or r8d, 0x20019
call fcn.1800312c0
mov rdi, rax
jmp 0x1800330c8
mov rdi, rcx
or r8d, 0xffffffff
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0xa8], r13
call fcn.18002cc40
test rdi, rdi
je 0x180033237
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_RegQueryInfoKeyA]
test eax, eax
jne 0x18003322a
cmp dword [rsp + 0x60], r13d
jbe 0x18003322a
mov eax, dword [rsp + 0x98]
mov ecx, 0x104
add eax, eax
cmp eax, ecx
cmova ecx, eax
mov dword [rsp + 0x98], ecx
inc ecx
call fcn.180045488
mov rbp, rax
test rax, rax
je 0x18003322a
mov qword [rsp + 0x90], rbx
mov ebx, r13d
cmp dword [rsp + 0x60], ebx
jbe 0x180033206
nop word [rax + rax]
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rbp
inc r8d
call fcn.180043ef0
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_RegEnumValueA]
test eax, eax
jne 0x1800331fe
mov edx, dword [rsi + 8]
mov r8, rbp
mov rcx, rsi
call fcn.18002ce40
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x1800331a0
mov rcx, rbp
call fcn.180045904
mov rbx, qword [rsp + 0x90]
cmp rdi, r12
je 0x180033223
mov rcx, rdi
call fcn.180031340
mov eax, 1
jmp 0x180033239
cmp rdi, r12
je 0x180033237
mov rcx, rdi
call fcn.180031340
xor eax, eax
mov r13, qword [rsp + 0xa8]
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 0x1800330a0
mov r8, rdx
xor edx, edx
jmp 0x1800338b0
Function at 0x180033890
Capabilities:
Query or enumerate registry key

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0x70
mov rsi, r9
mov r12, rcx
test rdx, rdx
je 0x180032f45
or r8d, 0x20019
call fcn.1800312c0
mov rdi, rax
jmp 0x180032f48
mov rdi, rcx
or r8d, 0xffffffff
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0xa0], rbp
call fcn.18002cc40
test rdi, rdi
je 0x180033081
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_RegQueryInfoKeyA]
test eax, eax
jne 0x180033074
cmp dword [rsp + 0x60], ebx
jbe 0x180033074
mov eax, dword [rsp + 0x98]
mov ecx, 0x104
cmp eax, ecx
cmovb eax, ecx
mov dword [rsp + 0x98], eax
lea ecx, [rax + 1]
call fcn.180045488
mov rbp, rax
test rax, rax
je 0x180033074
cmp dword [rsp + 0x60], ebx
jbe 0x180033058
nop word [rax + rax]
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rbp
inc r8d
call fcn.180043ef0
mov r9d, dword [rsp + 0x98]
mov r8, rbp
mov edx, ebx
mov rcx, rdi
inc r9d
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x180033050
mov edx, dword [rsi + 8]
mov r8, rbp
mov rcx, rsi
call fcn.18002ce40
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x180033010
mov rcx, rbp
call fcn.180045904
cmp rdi, r12
je 0x18003306d
mov rcx, rdi
call fcn.180031340
mov eax, 1
jmp 0x180033083
cmp rdi, r12
je 0x180033081
mov rcx, rdi
call fcn.180031340
xor eax, eax
mov rbp, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop r12
pop rdi
pop rsi
ret
mov r9, r8
mov r8d, dword [rcx + 8]
mov rcx, qword [rcx]
jmp 0x180032f20

Function at 0x1800338a0
Capabilities:
Query or enumerate registry key

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

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0x70
mov rsi, r9
mov r12, rcx
test rdx, rdx
je 0x1800330c5
or r8d, 0x20019
call fcn.1800312c0
mov rdi, rax
jmp 0x1800330c8
mov rdi, rcx
or r8d, 0xffffffff
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0xa8], r13
call fcn.18002cc40
test rdi, rdi
je 0x180033237
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_RegQueryInfoKeyA]
test eax, eax
jne 0x18003322a
cmp dword [rsp + 0x60], r13d
jbe 0x18003322a
mov eax, dword [rsp + 0x98]
mov ecx, 0x104
add eax, eax
cmp eax, ecx
cmova ecx, eax
mov dword [rsp + 0x98], ecx
inc ecx
call fcn.180045488
mov rbp, rax
test rax, rax
je 0x18003322a
mov qword [rsp + 0x90], rbx
mov ebx, r13d
cmp dword [rsp + 0x60], ebx
jbe 0x180033206
nop word [rax + rax]
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rbp
inc r8d
call fcn.180043ef0
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_RegEnumValueA]
test eax, eax
jne 0x1800331fe
mov edx, dword [rsi + 8]
mov r8, rbp
mov rcx, rsi
call fcn.18002ce40
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x1800331a0
mov rcx, rbp
call fcn.180045904
mov rbx, qword [rsp + 0x90]
cmp rdi, r12
je 0x180033223
mov rcx, rdi
call fcn.180031340
mov eax, 1
jmp 0x180033239
cmp rdi, r12
je 0x180033237
mov rcx, rdi
call fcn.180031340
xor eax, eax
mov r13, qword [rsp + 0xa8]
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 0x1800330a0
mov r8, rdx
xor edx, edx
jmp 0x1800338b0

Function at 0x1800338d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r9d, r8d
mov r8, rdx
xor edx, edx
jmp fcn.180032220
Function at 0x180033aa0
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x10], 0
mov rbx, rcx
jne 0x180033ab8
xor eax, eax
add rsp, 0x30
pop rbx
ret
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rax, qword [rbx + 0x28]
mov r9d, dword [rbx + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rax, qword [rbx + 0x10]
lea rdx, [rsp + 0x20]
lea ecx, [r8 + 2]
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edx, dword [rbx + 0x34]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x180033b0a
mov rcx, qword [rbx + 0x10]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [rbx + 0x18], 0
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x180033d60
Capabilities:
Create thread
Resume thread

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x10], 0
mov rbx, rcx
jne 0x180033e10
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov edi, dword [rcx + 0x38]
mov esi, 4
test edi, edi
je 0x180033dae
call fcn.180036de0
test eax, eax
je 0x180033dae
mov rcx, rbx
call fcn.180033cd0
lea ecx, [rdi - 0x2000]
cmp eax, ecx
jbe 0x180033da7
add edi, eax
mov esi, 0x10004
jmp 0x180033db0
xor edi, edi
lea rax, [rbx + 8]
lea r8, [0x180033c30]
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 0x180033e10
mov edx, dword [rbx + 0x3c]
mov dword [rbx + 0x18], 1
test edx, edx
je 0x180033dfb
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 0x180036340
Capabilities:
Get common file path
Get file version info

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x18011a300]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov eax, dword [0x18013f604]
test eax, eax
jne 0x180036468
mov byte [rsp + 0x150], al
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x151]
call fcn.180043ef0
mov edx, 0x104
lea rcx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x180036462
mov byte [rsp + 0x40], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x41]
call fcn.180043ef0
lea r9, str.user32.dll
lea r8, [rsp + 0x150]
lea rdx, [0x1800d1c4c]
lea rcx, [rsp + 0x40]
call fcn.180043b88
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [rsp + 0x24], eax
mov ecx, eax
call fcn.180045488
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180036462
mov r9, rax
mov r8d, dword [rsp + 0x24]
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x40]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x18003645a
mov qword [rsp + 0x28], 0
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x28]
lea rdx, str.VarFileInfoTranslation
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x18003645a
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
mov dword [0x18013f604], ecx
jmp 0x18003645a
mov rcx, rbx
call fcn.180045904
mov eax, dword [0x18013f604]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.180043ec0
add rsp, 0x270
pop rbx
ret
Function at 0x180036aa0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push rdi
sub rsp, 0x150
mov rax, qword [0x18011a300]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp dword [0x18013f608], 0
jne 0x180036c44
lea rcx, [0x18013f480]
mov edi, 1
mov dword [0x18013f480], 0x94
mov dword [0x18013f608], edi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
xor r11d, r11d
cmp dword [0x18013f490], 2
sete r11b
mov dword [0x180119ddc], r11d
test r11d, r11d
je 0x180036c28
lea rcx, [0x18013f520]
mov qword [rsp + 0x160], rbx
mov dword [0x18013f520], 0x9c
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.GetNativeSystemInfo
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetProductInfo
mov rcx, rbx
mov qword [0x18013f478], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x18013f5c0]
mov qword [0x18013f5f0], rax
mov rax, qword [0x18013f478]
test rax, rax
je 0x180036b7c
call rax
jmp 0x180036b82
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x18013f524]
cmp eax, 6
jae 0x180036b9b
cmp eax, 5
jne 0x180036bb2
cmp dword [0x18013f528], 2
jb 0x180036bb2
mov eax, dword [0x18013f470]
cmp word [0x18013f5c0], 9
cmove eax, edi
mov dword [0x18013f470], eax
lea rcx, str.Ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180036be0
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [0x18013f5f8], rax
jmp 0x180036be7
mov rbx, qword [0x18013f5f8]
test rbx, rbx
je 0x180036c20
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x110
call fcn.180043ef0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call rbx
mov ecx, dword [0x18013f48c]
test eax, eax
cmove ecx, dword [rsp + 0x2c]
mov dword [0x18013f48c], ecx
mov rbx, qword [rsp + 0x160]
lea rdx, [0x18013f488]
lea rcx, [0x18013f484]
call fcn.180036960
call fcn.1800366a0
mov eax, edi
jmp 0x180036c49
mov eax, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180043ec0
add rsp, 0x150
pop rdi
ret

Function at 0x180038540
Capabilities:
Get common file path

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x18011a300]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rcx
mov rsi, r8
mov edi, edx
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], 0
call fcn.180043ef0
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x1800385a4
lea r8, [rsp + 0x20]
mov r9, rsi
mov edx, edi
mov rcx, rbx
call fcn.180038270
jmp 0x1800385aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [0x18013f60c], eax
test eax, eax
je 0x1800385be
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test ebx, ebx
sete al
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.180043ec0
add rsp, 0x140
pop rdi
pop rsi
pop rbx
ret
jmp 0x180038540