joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1091454
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x430
mov rax, qword [0x010d71a0]
xor rax, rsp
mov qword [rsp + 0x420], rax
xor ebx, ebx
mov rsi, rcx
cmp dword [0x010e53d0], ebx
je 0x1091527
lea rdx, [0x01084478]
lea ecx, [rbx + 0x1d]
call fcn.01091f4c
lea rcx, [rsp + 0x20]
mov edx, 0x400
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x20]
repne scasw ax, word [rdi]
mov rax, qword [0x010844a8]
lea rcx, [rsp + 0x20]
mov qword [rdi - 2], rax
mov rax, qword [0x010844b0]
mov qword [rdi + 6], rax
mov rax, qword [0x010844b8]
mov qword [rdi + 0xe], rax
mov eax, dword [0x010844c0]
mov dword [rdi + 0x16], eax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp rax, rbx
mov rdi, rax
je 0x109151a
lea rdx, [0x010844c8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp rax, rbx
je 0x1091511
xor edx, edx
mov rcx, rsi
call rax
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [0x010e5310]
mov dword [rcx], 1
mov eax, ebx
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.010a6e90
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1091554
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x430
mov rax, qword [0x010d71a0]
xor rax, rsp
mov qword [rsp + 0x420], rax
cmp dword [0x010e53d0], 0
mov rbx, rcx
je 0x109161c
lea rdx, [0x010844e8]
mov ecx, 0x1d
call fcn.01091f4c
lea rcx, [rsp + 0x20]
mov edx, 0x400
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x20]
repne scasw ax, word [rdi]
mov rax, qword [0x010844a8]
lea rcx, [rsp + 0x20]
mov qword [rdi - 2], rax
mov rax, qword [0x010844b0]
mov qword [rdi + 6], rax
mov rax, qword [0x010844b8]
mov qword [rdi + 0xe], rax
mov eax, dword [0x010844c0]
mov dword [rdi + 0x16], eax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
mov rdi, rax
je 0x1091612
lea rdx, [0x01084520]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1091609
mov rcx, rbx
call rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x010e5310]
and dword [rax], 0
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.010a6e90
mov rbx, qword [rsp + 0x448]
add rsp, 0x430
pop rdi
ret
Function at 0x1091644
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r13
sub rsp, 0x280
mov rax, qword [0x010d71a0]
xor rax, rsp
mov qword [rsp + 0x270], rax
and dword [rsp + 0x30], 0
mov rbp, rcx
lea rcx, [rsp + 0x34]
xor edx, edx
mov r8d, 0x234
call fcn.010a84b0
mov rax, qword [0x010d7100]
lea rcx, [0x010d7100]
call qword [rax + 0x18]
xor edx, edx
lea rdi, [rax + 0x18]
lea ecx, [rdx + 2]
mov qword [rsp + 0x20], rdi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
or r13, 0xffffffffffffffff
cmp rax, r13
mov rsi, rax
jne 0x10916f8
lea rdx, [rdi - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x10916d1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rbp]
mov eax, r13d
sub rdx, 0x18
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x10916f1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
jmp 0x1091820
lea rdx, [rsp + 0x30]
mov rcx, rax
mov dword [rsp + 0x30], 0x238
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x10917d7
mov ebx, 1
xor eax, eax
lea rdi, [rsp + 0x5c]
mov rcx, r13
repne scasw ax, word [rdi]
lea rdx, [rsp + 0x5c]
not rcx
sub rcx, rbx
mov r8d, ecx
lea rcx, [rsp + 0x20]
call fcn.01091af0
lea rcx, [rsp + 0x20]
call fcn.01091850
mov rdx, qword [rbp]
mov rdi, qword [rsp + 0x20]
cmp dword [rdx - 0x10], 0
je 0x10917b0
test rdx, rdx
je 0x10917b0
cmp dword [rdi - 0x10], 0
jl 0x10917b0
mov rcx, rdi
call fcn.010a7184
test rax, rax
je 0x10917b0
sub rax, rdi
sar rax, 1
cmp eax, r13d
je 0x10917b0
lea rdx, [0x01084570]
mov ecx, 0x1d
call fcn.01091f4c
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov ecx, 0x1f0fff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
je 0x10917c1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x10917d9
lea rdx, [0x010845a8]
mov ecx, 0x1d
call fcn.01091f4c
lea rdx, [rsp + 0x30]
mov rcx, rsi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x10917d9
jmp 0x109171a
xor ebx, ebx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rdi - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x10917fe
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rbp]
mov ecx, r13d
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ecx
add ecx, r13d
test ecx, ecx
jg 0x109181e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.010a6e90
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop rdi
pop rsi
ret
Function at 0x10919cc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov r13, rcx
mov r12d, edx
lea rcx, [0x010dab40]
xor edx, edx
xor ebx, ebx
call fcn.010a6418
lea ebp, [rbx + 1]
jmp 0x1091aa9
test rbx, rbx
jne 0x1091ab5
mov eax, r12d
lea edx, [rbx + 6]
xor r9d, r9d
shr eax, 4
mov rcx, rsi
add ax, 1
movzx r8d, ax
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
mov rbx, rax
je 0x1091a98
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x1091a45
xor ebx, ebx
jmp 0x1091a93
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rdi, rax
je 0x1091a41
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, r12d
mov r11d, eax
add r11, rdi
and ecx, 0xf
jbe 0x1091a82
cmp rdi, r11
jae 0x1091a41
add ecx, 0xffffffff
movzx eax, word [rdi]
lea rdi, [rdi + rax*2 + 2]
jne 0x1091a70
cmp rdi, r11
jae 0x1091a41
movzx eax, word [rdi]
neg ax
sbb rbx, rbx
and rbx, rdi
test rbx, rbx
jne 0x1091ab7
lea rcx, [0x010dab40]
mov edx, ebp
call fcn.010a6418
add ebp, 1
test rax, rax
mov rsi, rax
jne 0x1091a02
xor esi, esi
test rsi, rsi
jne 0x1091ac0
xor eax, eax
jmp 0x1091ace
mov r8d, r12d
mov rdx, rsi
mov rcx, r13
call fcn.01091c1c
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x1091c1c
Capabilities:
Extract resource via kernel32 functions

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
sub rsp, 0x20
mov eax, r8d
mov rbp, rdx
mov ebx, r8d
shr eax, 4
mov rsi, rcx
mov r8d, 6
add ax, 1
mov rcx, rbp
movzx edx, ax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
mov r12, rax
je 0x1091d85
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1091d85
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rdi, rax
je 0x1091d85
mov rdx, r12
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rdi
and ebx, 0xf
jbe 0x1091cbd
cmp rdi, r11
jae 0x1091d85
add ebx, 0xffffffff
movzx eax, word [rdi]
lea rdi, [rdi + rax*2 + 2]
jne 0x1091ca7
cmp rdi, r11
jae 0x1091d85
cmp word [rdi], 0
je 0x1091d85
mov rax, qword [rsi]
movzx ebx, word [rdi]
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, ebx
or ecx, eax
jge 0x1091cf1
mov edx, ebx
mov rcx, rsi
call fcn.01091dc0
movzx ecx, word [rdi]
lea r8, [rdi + 2]
cmp ecx, 0xffffffff
jne 0x1091d0e
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r8
repne scasw ax, word [rdi]
not rcx
and ecx, ecx
movsxd r9, ecx
mov rcx, qword [rsi]
lea rdi, [rbx + rbx]
mov rdx, rdi
add r9, r9
call fcn.010a7748
test eax, eax
je 0x1091d5c
cmp eax, 0xc
je 0x1091d51
cmp eax, 0x16
je 0x1091d46
cmp eax, 0x22
je 0x1091d46
cmp eax, 0x50
je 0x1091d5c
mov ecx, 0x80004005
call fcn.01091f1c
int3
mov ecx, 0x80070057
call fcn.01091f1c
int3
mov ecx, 0x8007000e
call fcn.01091f1c
int3
test ebx, ebx
js 0x1091d7a
mov rcx, qword [rsi]
cmp ebx, dword [rcx - 0xc]
jg 0x1091d7a
mov dword [rcx - 0x10], ebx
mov rcx, qword [rsi]
mov eax, 1
and word [rdi + rcx], 0
jmp 0x1091d87
mov ecx, 0x80070057
call fcn.01091f1c
int3
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
Function at 0x1091f4c
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
push r12
push r13
sub rsp, 0xff0
mov rax, qword [0x010d71a0]
xor rax, rsp
mov qword [rsp + 0xfe0], rax
mov qword [rsp + 0x38], rsp
mov ebx, ecx
lea rcx, [0x010e5060]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp ebx, dword [0x010e4ca4]
jb 0x1091f9b
xor al, al
jmp 0x1091fb5
mov rcx, qword [0x010e5058]
test rcx, rcx
jne 0x1091fab
mov al, 1
jmp 0x1091fb5
mov rax, rbx
cmp byte [rbx + rcx], 0
setne al
movzx eax, al
test eax, eax
jne 0x1091fcd
lea rdx, [0x010920aa]
mov rcx, qword [rsp + 0x38]
call fcn.010b3050
lea r13, [rsp + 0x1030]
lea r8, [0x010e5090]
mov esi, 0x7d0
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.010a6eb8
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd r12, eax
mov rdx, qword [0x010e53e0]
test rdx, rdx
je 0x1092050
mov rcx, rbx
imul rcx, rcx, 0x84
lea rdi, [rcx + rdx + 4]
call qword [sym.imp.WINMM.dll_timeGetTime]
mov ebx, eax
sub ebx, dword [0x010e4a74]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r9d, eax
mov ecx, esi
sub ecx, r12d
movsxd rdx, ecx
lea rcx, [rsp + r12*2 + 0x40]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], ebx
lea r8, [0x01084610]
call fcn.010a7ab8
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
sub esi, eax
movsxd rdx, esi
cdqe
lea rcx, [rsp + rax*2 + 0x40]
mov r9, r13
mov r8, qword [rsp + 0x1028]
call fcn.010a7a50
cmp byte [0x010e53dc], 0
je 0x109208c
lea rcx, [rsp + 0x40]
call fcn.01092204
jmp 0x1092097
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
and qword [rsp + 0x30], 0
lea rcx, [0x010e5060]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0xfe0]
xor rcx, rsp
call fcn.010a6e90
add rsp, 0xff0
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret

Function at 0x10920f0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
sub rsp, 0xfe0
mov rax, qword [0x010d71a0]
xor rax, rsp
mov qword [rsp + 0xfd0], rax
mov qword [rsp + 0x28], rsp
mov ebx, ecx
lea rcx, [0x010e5060]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp ebx, dword [0x010e4ca4]
jb 0x1092139
xor al, al
jmp 0x1092153
mov rcx, qword [0x010e5058]
test rcx, rcx
jne 0x1092149
mov al, 1
jmp 0x1092153
mov rax, rbx
cmp byte [rbx + rcx], 0
setne al
movzx eax, al
test eax, eax
jne 0x109216b
lea rdx, [0x010921bd]
mov rcx, qword [rsp + 0x28]
call fcn.010b3050
lea r9, [rsp + 0x1000]
mov r8, qword [rsp + 0xff8]
mov edx, 0x7d0
lea rcx, [rsp + 0x30]
call fcn.010a7a50
cmp byte [0x010e53dc], 0
je 0x109219f
lea rcx, [rsp + 0x30]
call fcn.01092204
jmp 0x10921aa
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
and qword [rsp + 0x20], 0
lea rcx, [0x010e5060]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0xfd0]
xor rcx, rsp
call fcn.010a6e90
add rsp, 0xfe0
pop rbx
ret
Function at 0x1092204
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x010d71a0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov rcx, qword [0x010e4e48]
mov r9d, 2
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
or rcx, 0xffffffffffffffff
xor eax, eax
and qword [rsp + 0x20], rax
mov rdi, rbx
lea r9, [rsp + 0x30]
repne scasw ax, word [rdi]
mov rdx, rbx
not rcx
lea r8d, [rcx + rcx - 2]
mov rcx, qword [0x010e4e48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x010e4e48]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov r8d, 4
mov word [rsp + 0x38], 0xd
mov word [rsp + 0x3a], 0xa
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.010a6e90
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret

Function at 0x10922b8
Capabilities:
Query or enumerate registry value
Set registry value
Write file on windows

Disassembly:
mov r11, rsp
push rbx
push rbp
push rdi
sub rsp, 0x50
lea rax, [r11 + 0x20]
lea rbp, [0x010e4e50]
lea r9, [r11 + 0x18]
mov qword [r11 - 0x40], rax
lea rdx, [0x01084678]
xor r8d, r8d
mov qword [r11 - 0x48], rbp
mov rbx, rcx
mov dword [r11 + 0x20], 0x104
mov dword [r11 + 0x18], 4
mov byte [0x010e53dc], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1092431
cmp dword [rsp + 0x80], 1
jne 0x1092431
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
mov rcx, rbp
je 0x1092375
and qword [rsp + 0x30], rax
lea r8d, [rax + 3]
xor r9d, r9d
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80000080
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov qword [0x010e4e48], rax
je 0x109247e
mov byte [0x010e53dc], 1
jmp 0x109247e
lea r8, [0x01084688]
mov edx, 0x104
call fcn.010a6eb8
and qword [rsp + 0x30], 0
xor r9d, r9d
lea r8d, [r9 + 3]
mov edx, 0x40000000
mov rcx, rbp
mov dword [rsp + 0x28], 0x80000080
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x010e4e48], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10923f6
and qword [rsp + 0x30], 0
lea r8d, [rax + 3]
xor r9d, r9d
mov edx, 0x40000000
mov rcx, rbp
mov dword [rsp + 0x28], 0x80000080
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x010e4e48], rax
jmp 0x10923fd
mov rax, qword [0x010e4e48]
cmp rax, 0xffffffffffffffff
je 0x109247e
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x78]
mov r8d, 4
mov rcx, rax
mov byte [rsp + 0x78], 0xff
mov byte [rsp + 0x79], 0xfe
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1092369
lea r8, [0x01084608]
mov edx, 0x104
mov rcx, rbp
call fcn.010a6eb8
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbp
lea rdx, [0x01084678]
lea r9d, [rax + 1]
repne scasw ax, word [rdi]
xor r8d, r8d
not rcx
add ecx, 1
mov dword [rsp + 0x28], ecx
mov rcx, rbx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [0x010e53dc], 0
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
Function at 0x109e670
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
xor ebx, ebx
mov rdi, r8
mov r8d, dword [r8]
mov esi, edx
mov r9d, edx
lea ebp, [rbx + 0x1d]
lea rdx, [0x01089f78]
mov ecx, ebp
mov qword [rax - 0x10], rbx
call fcn.01091f4c
lea r8, [rsp + 0x38]
lea rdx, [0x010823e8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov rcx, qword [rsp + 0x38]
cmp rcx, rbx
je 0x109e784
cmp esi, ebx
lea rdx, [0x01089fb0]
je 0x109e70f
lea r9d, [rbx + 4]
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, ebp
cmp eax, ebx
je 0x109e701
lea rdx, [0x01089fc8]
jmp 0x109e76f
lea rdx, [0x0108a008]
call fcn.01091f4c
jmp 0x109e75f
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov dword [rsp + 0x68], ebx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x109e766
mov r8d, dword [rsp + 0x68]
cmp r8d, ebx
je 0x109e766
lea rdx, [0x0108a038]
xor ecx, ecx
call fcn.01091f4c
mov r11d, dword [rsp + 0x68]
mov dword [rdi], r11d
mov ebx, 1
jmp 0x109e777
lea rdx, [0x0108a058]
mov ecx, ebp
mov r8d, eax
call fcn.01091f4c
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x109e795
lea rdx, [0x0108a0a0]
mov r8d, eax
mov ecx, ebp
call fcn.01091f4c
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x109eb28
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov esi, edx
mov r8d, edx
mov rbx, rcx
lea rdx, [0x0108a258]
mov ecx, 0x1d
call fcn.01091f4c
xor edi, edi
lea r8, [rsp + 0x38]
and qword [rsp + 0x38], rdi
and dword [rsp + 0x34], edi
lea rdx, [0x01084640]
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x30], 4
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x109ebc6
lea rax, [rsp + 0x30]
lea rdx, [0x010899e0]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x109ebbb
mov eax, 0x80070006
jmp 0x109ecf6
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbx
call fcn.0109f39c
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [rbx + 0x100], rdi
je 0x109ec02
lea rcx, [0x01089a08]
xor r8d, r8d
xor edx, edx
call qword [rbx + 0xc8]
mov ecx, 0xa
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x010e5378], 0
je 0x109ec35
mov rax, qword [rbx + 0xd0]
test rax, rax
je 0x109ecd4
or r8d, 0xffffffff
test esi, esi
mov rcx, rdi
je 0x109ec2c
lea edx, [r8 + 2]
jmp 0x109ec2e
xor edx, edx
call rax
jmp 0x109ecd4
mov rax, qword [rbx + 0xd8]
and dword [rsp + 0x60], 0
or dword [rsp + 0x68], 0xffffffff
test rax, rax
je 0x109ec9c
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call rax
test al, al
je 0x109ec9c
mov r9d, dword [rsp + 0x68]
mov r8d, dword [rsp + 0x60]
lea rdx, [0x0108a1c0]
mov ecx, 0x1d
call fcn.01091f4c
mov r11d, dword [rsp + 0x60]
test r11d, r11d
je 0x109ecad
lea r8, [rbx + 0x124]
mov edx, 1
mov rcx, rbx
mov dword [r8], r11d
call fcn.0109e670
jmp 0x109ecad
lea rdx, [0x0108a210]
mov ecx, 0x1d
call fcn.01091f4c
test esi, esi
mov rcx, rbx
je 0x109ecc5
call fcn.0109e874
mov r8d, dword [rbx + 0x124]
mov rcx, rbx
jmp 0x109ecc8
xor r8d, r8d
or r9d, 0xffffffff
mov rdx, rdi
call fcn.0109e7b4
mov rax, qword [rbx + 0xf8]
test rax, rax
je 0x109ece5
mov rcx, rdi
call rax
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x109ecf4
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x109eff4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rdi, qword [0x010e5310]
mov ebp, edx
mov r8d, edx
lea rdx, [0x0108a2d8]
mov ecx, 0x1d
call fcn.01091f4c
xor esi, esi
lea r8, [rsp + 0x30]
and qword [rsp + 0x30], rsi
and dword [rsp + 0x78], esi
lea rdx, [0x01084640]
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x70], 4
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x109f093
lea rax, [rsp + 0x70]
lea rdx, [0x010899e0]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x109f088
mov eax, 0x80070006
jmp 0x109f163
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call fcn.0109f39c
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r11, qword [rdi + 0xc8]
test r11, r11
je 0x109f0cf
lea rcx, [0x01089a08]
xor r8d, r8d
xor edx, edx
call r11
mov ecx, 0xa
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Sleep]
test ebp, ebp
je 0x109f101
lea rdx, [0x0108a300]
mov r8d, ebp
mov ecx, 0x1d
mov dword [rdi + 0x124], ebp
call fcn.01091f4c
lea r8, [rdi + 0x124]
mov edx, 1
mov rcx, rdi
call fcn.0109e670
cmp dword [rdi + 0x50], 0
mov rcx, rdi
je 0x109f11b
call fcn.0109e874
mov r8d, dword [rdi + 0x124]
mov rcx, rdi
jmp 0x109f11e
xor r8d, r8d
or r9d, 0xffffffff
mov rdx, rsi
call fcn.0109e7b4
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r11, qword [rdi + 0xf8]
test r11, r11
je 0x109f147
mov rcx, rsi
call r11
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rdi + 0x58]
test rcx, rcx
je 0x109f161
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x109f178
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rsi
push rdi
push r12
sub rsp, 0x40
mov rdi, qword [0x010e5310]
mov r12d, edx
mov r8d, edx
lea rdx, [0x0108a338]
mov ecx, 0x1d
call fcn.01091f4c
xor esi, esi
lea r8, [rsp + 0x30]
and qword [rsp + 0x30], rsi
and dword [rsp + 0x78], esi
lea rdx, [0x01084640]
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x70], 4
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x109f219
lea rax, [rsp + 0x70]
lea rdx, [0x010899e0]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x109f20e
mov eax, 0x80070006
jmp 0x109f386
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call fcn.0109f39c
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rdi + 0xc8]
test rax, rax
je 0x109f254
lea rcx, [0x0108a2b8]
xor r8d, r8d
xor edx, edx
call rax
mov ecx, 0xa
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Sleep]
test r12d, r12d
je 0x109f288
lea rdx, [0x0108a300]
mov r8d, r12d
mov ecx, 0x1d
mov dword [rdi + 0x124], r12d
call fcn.01091f4c
lea r8, [rdi + 0x124]
mov edx, 1
mov rcx, rdi
call fcn.0109e670
cmp dword [rdi + 0x50], 0
mov rcx, rdi
je 0x109f2a2
call fcn.0109e874
mov r8d, dword [rdi + 0x124]
mov rcx, rdi
jmp 0x109f2a5
xor r8d, r8d
or r9d, 0xffffffff
mov rdx, rsi
call fcn.0109e7b4
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rdi + 0xf8]
test rax, rax
je 0x109f2cd
mov rcx, rsi
call rax
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
lea rdx, [0x0108a370]
lea ecx, [rsi + 0x1d]
call fcn.01091f4c
mov r11, qword [rdi + 0xc8]
test r11, r11
je 0x109f307
lea rcx, [0x0108a2c8]
xor r8d, r8d
xor edx, edx
call r11
mov rsi, rax
test r12d, r12d
je 0x109f33b
lea rdx, [0x0108a300]
mov r8d, r12d
mov ecx, 0x1d
mov dword [rdi + 0x124], r12d
call fcn.01091f4c
lea r8, [rdi + 0x124]
mov edx, 1
mov rcx, rdi
call fcn.0109e670
cmp dword [rdi + 0x50], 0
mov rcx, rdi
je 0x109f355
call fcn.0109e874
mov r8d, dword [rdi + 0x124]
mov rcx, rdi
jmp 0x109f358
xor r8d, r8d
or r9d, 0xffffffff
mov rdx, rsi
call fcn.0109e7b4
mov rax, qword [rdi + 0xf8]
test rax, rax
je 0x109f375
mov rcx, rsi
call rax
mov rcx, qword [rdi + 0x58]
test rcx, rcx
je 0x109f384
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret