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

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400315cb
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.14003b3ac
lea rdx, [0x1400a0300]
lea rcx, [rsp + 0x20]
call fcn.14004bf1c
int3

Function at 0x14003bd20
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x1400a9b78]
xor edx, edx
jmp fcn.1400315b8

Function at 0x14003c698
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x1400a9b78]
jmp fcn.1400315b8

Function at 0x140047b0c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x140047bc8]
mov r9, qword [r9 + 8]
jmp fcn.140039558

Function at 0x140047ba0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x140047bd8]
mov r9, qword [r9 + 8]
jmp fcn.140039558

Function at 0x140055490
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov r14, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.140051794
mov rax, qword [rbp - 0x58]
mov edi, 0xfde9
cmp dword [rax + 0xc], edi
jne 0x1400554db
xor ebx, ebx
cmp byte [rbp - 0x48], bl
je 0x14005550f
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14005550f
call fcn.140065d00
xor ebx, ebx
test eax, eax
jne 0x1400554fd
cmp byte [rbp - 0x48], bl
je 0x1400554f6
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, 1
jmp 0x14005550f
cmp byte [rbp - 0x48], bl
je 0x14005550d
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, ebx
mov r9d, edi
mov qword [rbp - 0x30], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x28], rbx
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x20], rbx
mov rcx, rsi
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rbx
mov byte [rbp - 8], bl
call fcn.140051618
mov esi, eax
test eax, eax
je 0x14005554b
call fcn.140055b5c
or edi, 0xffffffff
mov dword [rax], esi
jmp 0x1400555a4
mov r9d, edi
mov qword [rbp - 0x60], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x58], rbx
lea rdx, [rbp - 0x60]
mov qword [rbp - 0x50], rbx
mov rcx, r14
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
mov byte [rbp - 0x38], bl
call fcn.140051618
mov edi, eax
test eax, eax
je 0x140055587
call fcn.140055b5c
mov dword [rax], edi
or edi, 0xffffffff
jmp 0x140055596
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x20]
call fcn.14006a2d4
mov edi, eax
cmp byte [rbp - 0x38], bl
je 0x1400555a4
mov rcx, qword [rbp - 0x50]
call fcn.14006526c
cmp byte [rbp - 8], bl
je 0x1400555b2
mov rcx, qword [rbp - 0x20]
call fcn.14006526c
lea r11, [rsp + 0x80]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140055f74
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
test rcx, rcx
jne 0x140055f93
call fcn.14006a53c
jmp 0x140056048
and qword [rbp - 0x30], 0
lea rcx, [rbp - 0x50]
and qword [rbp - 0x28], 0
xor edx, edx
and qword [rbp - 0x20], 0
and qword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
mov byte [rbp - 8], 0
call fcn.140051794
mov rax, qword [rbp - 0x48]
mov r9d, 0xfde9
cmp dword [rax + 0xc], r9d
jne 0x140055fde
cmp byte [rbp - 0x38], 0
je 0x140056013
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140056013
call fcn.140065d00
test eax, eax
jne 0x140055fff
cmp byte [rbp - 0x38], al
je 0x140055ff7
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140056013
cmp byte [rbp - 0x38], 0
je 0x140056010
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
xor r9d, r9d
lea r8, [rbp + 0x10]
mov rcx, rbx
lea rdx, [rbp - 0x30]
call fcn.140051618
test eax, eax
je 0x14005602c
or ebx, 0xffffffff
jmp 0x140056037
mov rcx, qword [rbp - 0x20]
call fcn.14006a53c
mov ebx, eax
cmp byte [rbp - 8], 0
je 0x140056046
mov rcx, qword [rbp - 0x20]
call fcn.14006526c
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rbp
ret
Function at 0x140068ac4
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140068ae4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140055ad0
or eax, 0xffffffff
jmp 0x140068ae6
xor eax, eax
add rsp, 0x28
ret
Function at 0x14006dfe4
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14006e014
xor eax, eax
jmp 0x14006e0d7
mov rbp, rbx
cmp word [rax], si
je 0x14006e039
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14006e020
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14006e01c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140068b7c
movsxd r14, eax
test eax, eax
jne 0x14006e077
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14006e00d
mov rcx, r14
call fcn.1400652a8
mov rdi, rax
test rax, rax
jne 0x14006e090
xor ecx, ecx
call fcn.14006526c
jmp 0x14006e06c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140068b7c
test eax, eax
jne 0x14006e0c1
mov rcx, rdi
call fcn.14006526c
jmp 0x14006e0cb
xor ecx, ecx
call fcn.14006526c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14006e0f4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14006e17b
mov rsi, rbx
cmp word [rax], bp
je 0x14006e13a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14006e124
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14006e120
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400652a8
mov rdi, rax
test rax, rax
je 0x14006e168
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14004bff0
mov rbp, rdi
xor ecx, ecx
call fcn.14006526c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140072054
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x1400aa4e0]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x1400720b2
cmp word [rdx], r12w
jne 0x1400720b2
or byte [rax + r8*8 + 0x38], cl
jmp 0x1400720b8
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x140072213
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x1400721ee
lea r9, [rcx + 2]
cmp ax, r13w
je 0x1400720f1
mov rcx, r9
jmp 0x140072114
cmp r9, rdx
jae 0x14007212b
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x1400720d5
jmp 0x140072213
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400721e8
cmp dword [rsp + 0x80], edi
je 0x1400721e8
mov rdx, r14
lea r11, [0x1400aa4e0]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x1400721c1
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x140072194
mov word [rbx], r12w
jmp 0x14007220f
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x14007219d
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x14007220f
cmp word [rsp + 0x70], r12w
jne 0x1400721ce
cmp rbx, rsi
je 0x14007218e
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.14006ae04
cmp word [rsp + 0x70], r12w
je 0x140072213
mov word [rbx], r13w
jmp 0x14007220f
lea r11, [0x1400aa4e0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x14007220b
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x140072213
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140075858
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140051794
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400758e2
cmp byte [rbp - 0x21], r15b
je 0x1400758dd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140075918
call fcn.140065d00
test eax, eax
jne 0x140075904
cmp byte [rbp - 0x21], r15b
je 0x1400758fc
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140075918
cmp byte [rbp - 0x21], r15b
je 0x140075915
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140051618
test eax, eax
jne 0x1400759b8
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140051794
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140075957
cmp byte [rbp - 0x21], r15b
je 0x14007598c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14007598c
call fcn.140065d00
test eax, eax
jne 0x140075978
cmp byte [rbp - 0x21], r15b
je 0x140075971
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14007598c
cmp byte [rbp - 0x21], r15b
je 0x140075989
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140051618
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400759b8
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400759bb
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400759c9
mov rcx, rdi
call fcn.14006526c
cmp byte [rbp + 0x3f], r15b
je 0x1400759d8
mov rcx, qword [rbp + 0x27]
call fcn.14006526c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140076720
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14006ae04
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14006ae04
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140076870
cmp rax, 0xffffffffffffffff
je 0x140076870
xor edi, edi
test rbp, rbp
jle 0x14007681b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400651f4
mov rbx, rax
test rax, rax
jne 0x1400767a8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140076811
mov edx, 0x8000
mov ecx, r14d
call fcn.140062e48
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14006827c
cmp eax, 0xffffffff
je 0x1400767f1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400767b8
mov edx, r15d
mov ecx, r14d
call fcn.140062e48
jmp 0x140076811
cmp byte [rsi + 0x38], dil
je 0x140076808
cmp dword [rsi + 0x34], 5
jne 0x140076808
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], recvfrom
cmp byte [rsi + 0x30], dil
je 0x140076811
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14006526c
jmp 0x140076884
jns 0x140076884
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14006ae04
cmp rax, 0xffffffffffffffff
jne 0x14007683c
cmp byte [rsi + 0x30], dil
je 0x140076884
mov edi, dword [rsi + 0x2c]
jmp 0x140076884
mov ecx, r14d
call fcn.14006ab1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140076884
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, recvfrom
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], recvfrom
jmp 0x140076884
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14007687d
mov eax, dword [rsi + 0x2c]
jmp 0x140076882
mov eax, socket
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14006ae04
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x180001498
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x180033a40]
mov edx, 1
mov r8d, edx
call fcn.18001bf6c
mov rcx, qword [0x180033b30]
lea rdx, [0x180001a7c]
mov r9d, 1
xor r8d, r8d
add rsp, 0x28
jmp fcn.1800204e8

Function at 0x180001950
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
lea rcx, [0x18003691e]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
movzx ecx, word [rdx + 0x14]
lea r8, [rcx + rdx + 0x18]
movzx ecx, word [rdx + 6]
test ecx, ecx
je 0x180001995
bt dword [r8 + 0x24], 0x1f
jb 0x180001998
add r8, 0x28
add ecx, 0xffffffff
jne 0x180001984
xor r8d, r8d
xor edi, edi
test r8, r8
je 0x180001a60
mov ebx, dword [r8 + 0xc]
xor ecx, ecx
add rbx, rax
mov eax, dword [r8 + 8]
mov dword [rsp + 0x50], ecx
lea rsi, [rax + rbx - 0x10]
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
lea rax, [0x1800065e0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x20], rax
cmp rbx, rsi
ja 0x180001a60
mov rax, qword [rbx]
cmp rax, rbx
jne 0x180001a58
cmp rax, qword [rbx + 8]
jne 0x180001a58
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
lea rcx, [rsp + 0x20]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x20]
lea rcx, [0x180036d7a]
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x180001a3d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
mov qword [rax], rcx
mov qword [rcx + 8], rax
mov ecx, dword [rsp + 0x50]
test ecx, ecx
cmovne rdi, rbx
add rbx, 0x10
test ecx, ecx
je 0x1800019f4
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rax, rdi
add rsp, 0x40
pop rdi
ret
Function at 0x18000228c
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rcx, qword [0x1800339a8]
xor edx, edx
lea r8d, [rdx + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rbx, rax
je 0x18000239e
mov rcx, qword [0x180033bd0]
lea rsi, [0x180000000]
lea rcx, [rcx + rsi + 0x37e52]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rdi, rax
je 0x18000238a
mov rcx, qword [0x180033bd0]
lea rdx, [rcx + rsi + 0x37e39]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [rbx], rax
je 0x18000238a
mov rax, qword [0x180033bd0]
mov rcx, rdi
lea rdx, [rax + rsi + 0x37e5a]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [rbx + 8], rax
je 0x18000238a
mov rax, qword [0x180033bd0]
mov rcx, rdi
lea rdx, [rax + rsi + 0x37e62]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [rbx + 0x10], rax
je 0x18000238a
mov rax, qword [0x180033bd0]
mov rcx, rdi
lea rdx, [rax + rsi + 0x37a2d]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [rbx + 0x18], rax
je 0x18000238a
mov rax, qword [0x180033bd0]
mov rcx, rdi
lea rdx, [rax + rsi + 0x37d3a]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [rbx + 0x20], rax
jne 0x18000239e
mov rcx, qword [0x1800339a8]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ebx, ebx
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1800023b4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rcx, qword [0x1800339a8]
xor edx, edx
mov r8d, 0x105
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rdi, rax
je 0x180002454
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x22]
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov ebx, 1
test eax, eax
jne 0x180002408
mov r8d, ebx
mov edx, ebx
mov rcx, rdi
call fcn.18001bf6c
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x20]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jne 0x180002430
mov r8d, ebx
mov edx, ebx
mov rcx, rdi
call fcn.18001bf6c
lea rcx, [0x180036508]
mov edx, ebx
call fcn.18001e178
mov rcx, qword [0x1800339a8]
mov r8, rdi
xor edx, edx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180002459
mov ebx, 8
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x180002468
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ebx, ebx
call fcn.1800087b4
cmp rax, rbx
mov rdi, rax
je 0x1800024aa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, ebx
jne 0x180002498
mov rcx, rdi
call fcn.18000b40c
mov ebx, eax
mov rcx, qword [0x1800339a8]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180002544
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
mov rbp, rcx
mov rcx, qword [0x180033b38]
mov edi, r8d
mov rsi, rdx
xor ebx, ebx
lea r8, [rsp + 0x68]
lea r12d, [rbx + 1]
mov edx, r12d
call fcn.18002a0d4
cmp eax, ebx
jne 0x1800025ac
mov rcx, qword [rsp + 0x68]
lea r9d, [rbx + 3]
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x68]
cmp eax, ebx
cmove ebx, r12d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret

Function at 0x18000268c
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
and qword [rsp + 0x48], 0
mov rdi, r8
lea r8, [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
mov ebx, eax
jne 0x1800026cd
mov rcx, qword [rsp + 0x48]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1800028e0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [0x180033b20]
lea r8, [rsp + 0x48]
mov edx, 1
call fcn.18002a0d4
test eax, eax
mov ebx, eax
jne 0x18000293c
mov rcx, qword [rsp + 0x48]
lea r9d, [rax + 3]
lea rdx, [0x180036213]
xor r8d, r8d
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x180002fa8
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r12
sub rsp, 0x40
and dword [rsp + 0x34], 0
and dword [rsp + 0x30], 0
lea rax, [r11 - 0x18]
mov rsi, r9
mov rbp, r8
mov qword [r11 - 0x20], rax
and qword [r11 - 0x28], 0
lea r9, [r11 - 0x14]
xor r8d, r8d
mov rdi, rdx
mov r12, rcx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov r11d, dword [rsp + 0x30]
test r11d, r11d
jne 0x180003001
lea edi, [r11 + 2]
jmp 0x180003035
mov rcx, qword [0x1800339a8]
mov r8, r11
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rbx, rax
jne 0x180003052
lea edi, [rax + 8]
test rbx, rbx
je 0x180003035
mov rcx, qword [0x1800339a8]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r12
ret
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, rdi
mov rcx, r12
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov edi, eax
jne 0x18000301e
mov ecx, dword [rsp + 0x30]
mov qword [rbp], rbx
mov dword [rsi], ecx
jmp 0x180003035