joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800089a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x18003e0a8]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x70], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x180008a2e
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x180008a2e
call fcn.180006520
mov ebx, eax
jmp 0x180008b53
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x180008a4f
call fcn.180006520
jmp 0x180008b42
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x180008a72
call fcn.180006520
jmp 0x180008b42
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x180008a94
mov ebx, 0x8007000e
jmp 0x180008b44
mov ecx, eax
test eax, eax
je 0x180008ac9
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x180008b8b
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x180008ac9
lea rcx, [rsp + 0x70]
call fcn.180006400
jmp 0x180008ad3
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x180008ae6
cmp qword [rsp + 0x70], 0
jne 0x180008af5
mov ebx, 0x8007000e
jmp 0x180008b44
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x180008b1f
call fcn.180006520
jmp 0x180008b42
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.1800084c0
mov ebx, eax
test rdi, rdi
je 0x180008b53
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x180008b6a
lea rcx, [rsp + 0x70]
call fcn.180006a20
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.18000b960
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80070216
call fcn.180002e70
int3
Function at 0x1800010d4
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x180076018]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea rax, [rsp + 0x38]
mov rdi, rcx
lea rdx, str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x20], rax
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x1800011e0
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov esi, 0x104
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x34], esi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x1800011d1
cmp dword [rsp + 0x30], 2
mov byte [rsp + 0x143], bl
jne 0x180001195
lea rcx, [rsp + 0x40]
mov r8d, esi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
dec eax
cmp eax, 0x103
setbe bl
jmp 0x1800011d1
lea rdx, [rsp + 0x40]
mov ecx, ebx
sub rdx, rdi
lea rax, [rsi + 0x7ffffefa]
cmp rax, rbx
je 0x1800011bd
mov al, byte [rdx + rdi]
cmp al, bl
je 0x1800011bd
mov byte [rdi], al
inc rdi
sub rsi, 1
jne 0x18000119f
cmp rsi, rbx
jne 0x1800011ca
dec rdi
mov ecx, 0x8007007a
cmp ecx, ebx
mov byte [rdi], bl
setge bl
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x1800011e2
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1800129b0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180008448
Capabilities:
Check for time delay via gettickcount
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x180076018]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbp, r9
mov rsi, r8
mov r14b, dl
mov r12, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
shl ebx, 2
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
xor edi, ebx
shl edi, 0xc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r15d, eax
xor r15d, edi
xor edi, edi
mov ebx, edi
lea r13d, [rdi + 1]
mov rdx, r12
mov rcx, rsi
call fcn.180002cf8
test r14b, r14b
je 0x180008532
mov edx, r15d
lea r8, [rsp + 0x20]
mov r9d, 8
mov ecx, edx
shr edx, 4
and ecx, 0xf
cmp ecx, 0xa
sbb al, al
and al, 0xf9
add al, 0x37
add al, cl
mov byte [r8], al
add r8, r13
sub r9, r13
jne 0x1800084c1
mov byte [rsp + 0x28], dil
test rbp, rbp
je 0x180008515
mov ecx, dword [rsi + 8]
cmp dword [rsi + 0xc], ecx
jne 0x1800084fc
mov rcx, rsi
call fcn.180003638
mov ecx, dword [rsi + 8]
mov rdx, qword [rsi]
mov r8d, 0x2e
mov eax, ecx
inc ecx
mov word [rdx + rax*2], r8w
mov word [rdx + rcx*2], di
mov dword [rsi + 8], ecx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1800030a8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 2
cmove eax, r13d
add r15d, eax
mov r14b, r13b
test rbp, rbp
je 0x180008549
lea rdx, str..tmp
mov rcx, rsi
call fcn.1800030a8
mov rcx, qword [rsi]
call fcn.180008ecc
test al, al
je 0x180008562
mov ecx, 0xb7
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x18000859a
test rbp, rbp
je 0x180008579
mov rdx, qword [rsi]
xor r8d, r8d
mov rcx, rbp
call fcn.1800099d0
test al, al
jmp 0x180008586
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1800085b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x18000859a
cmp eax, 0xb7
jne 0x1800085a6
add ebx, r13d
cmp ebx, 0x64
jb 0x1800084a3
mov rax, qword [rsi]
mov dword [rsi + 8], edi
mov word [rax], di
xor al, al
jmp 0x1800085b6
mov al, r13b
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800129b0
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1800085dc
Capabilities:
Delete file
Set file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.180009658
cmp eax, 0xffffffff
je 0x180008609
test al, 0x10
jne 0x180008609
test al, 1
je 0x180008609
and eax, 0xfffffffe
mov rcx, rbx
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x18000861a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x18000861a
mov al, 1
jmp 0x18000861c
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x180008968
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x180076018]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rcx
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov word [rsp + 0x20], cx
mov rax, qword [rdi]
mov dword [rdi + 8], ecx
mov word [rax], cx
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov ebx, eax
call fcn.180002cf8
lea eax, [rbx - 1]
cmp eax, 0x103
setbe al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1800129b0
mov rbx, qword [rsp + 0x258]
add rsp, 0x240
pop rdi
ret
Function at 0x180008a70
Capabilities:
Delete directory
Set file attributes

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rdi, rcx
lea rcx, [rbp + 0x17]
call fcn.180008d58
lea rcx, [rbp + 0x3f]
call fcn.1800028b8
nop
mov rdx, qword [rdi]
lea rcx, [rbp + 0x17]
call fcn.180008f2c
xor r14d, r14d
test al, al
je 0x180008ad8
mov ebx, dword [rbp + 0x37]
mov eax, ebx
shr eax, 4
test al, 1
jne 0x180008b00
mov ecx, 0x10b
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
mov rcx, qword [rbp + 0x3f]
call fcn.1800129dc
xor al, al
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
shr ebx, 0xa
mov rcx, qword [rbp + 0x3f]
call fcn.1800129dc
test bl, 1
jne 0x180008bf7
mov rdx, rdi
lea rcx, [rbp - 0x11]
call fcn.18000277c
nop
mov ebx, dword [rbp - 9]
cmp dword [rbp - 5], ebx
jne 0x180008b36
lea rcx, [rbp - 0x11]
call fcn.180003638
mov ebx, dword [rbp - 9]
mov rcx, qword [rbp - 0x11]
mov eax, ebx
mov edx, 0x5c
mov word [rcx + rax*2], dx
inc ebx
mov word [rcx + rbx*2], r14w
mov dword [rbp - 9], ebx
or qword [rbp - 1], 0xffffffffffffffff
lea rcx, [rbp + 7]
call fcn.1800028b8
nop
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 1]
call fcn.1800098f0
lea rcx, [rbp + 0x17]
call fcn.180008d58
lea rcx, [rbp + 0x3f]
call fcn.1800028b8
nop
jmp 0x180008bc0
cmp ebx, dword [rbp - 9]
jae 0x180008b91
mov dword [rbp - 9], ebx
mov rax, qword [rbp - 0x11]
mov word [rax + rbx*2], r14w
lea rdx, [rbp + 0x3f]
lea rcx, [rbp - 0x11]
call fcn.18000305c
mov eax, dword [rbp + 0x37]
shr eax, 4
test al, 1
je 0x180008bb3
lea rcx, [rbp - 0x11]
call fcn.180008a70
jmp 0x180008bbc
mov rcx, qword [rbp - 0x11]
call fcn.1800085dc
test al, al
je 0x180008c1d
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 1]
call fcn.180009814
test al, al
jne 0x180008b80
mov rcx, qword [rbp + 0x3f]
call fcn.1800129dc
nop
mov rcx, qword [rbp + 7]
call fcn.1800129dc
lea rcx, [rbp - 1]
call fcn.180008da4
nop
mov rcx, qword [rbp - 0x11]
call fcn.1800129dc
xor edx, edx
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x180008ae1
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
jmp 0x180008ae3
mov rcx, qword [rbp + 0x3f]
call fcn.1800129dc
nop
mov rcx, qword [rbp + 7]
call fcn.1800129dc
lea rcx, [rbp - 1]
call fcn.180008da4
nop
mov rcx, qword [rbp - 0x11]
jmp 0x180008adc
Function at 0x180009658
Capabilities:
Get file attributes

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, eax
mov eax, ecx
add rsp, 0x28
ret

Function at 0x180009a28
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [rcx]
mov rdi, rdx
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x180009a58
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x180009a58
xor al, al
jmp 0x180009a6b
mov ecx, dword [rsp + 0x30]
mov rax, rbx
shl rcx, 0x20
mov al, 1
add rcx, rbx
mov qword [rdi], rcx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180009b30
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rcx, qword [rcx]
mov rbx, r9
and dword [rsp + 0x58], 0
lea r9, [rsp + 0x58]
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0x58]
test eax, eax
mov dword [rbx], ecx
setne al
add rsp, 0x30
pop rbx
ret

Function at 0x180009d8c
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
cmp r8d, dword [section..data]
mov rbx, r9
mov rcx, qword [rcx]
lea r9, [rsp + 0x50]
cmova r8d, dword [section..data]
and dword [rsp + 0x50], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [rsp + 0x50]
test eax, eax
mov dword [rbx], ecx
setne al
add rsp, 0x30
pop rbx
ret
Function at 0x18000ac5c
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x120
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov r14, r9
mov r15, r8
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
mov dword [rbp + 0x50], ebx
cmp qword [rcx], rbx
je 0x18000aca8
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x18000aca8
mov qword [rdi], rbx
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.180002860
nop
mov r12d, 0x22
mov dl, r12b
lea rcx, [rsp + 0x50]
call fcn.1800027b8
mov rsi, rax
mov dword [rbp + 0x50], 1
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.18000305c
mov edx, dword [rsp + 0x58]
cmp dword [rsp + 0x5c], edx
jne 0x18000acfa
lea rcx, [rsp + 0x50]
call fcn.180003638
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov eax, edx
mov word [rcx + rax*2], r12w
inc edx
mov word [rcx + rdx*2], bx
mov dword [rsp + 0x58], edx
mov r8d, 0x20
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.1800025d4
mov dword [rbp + 0x50], 3
mov r8, r15
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.180002f18
nop
mov rcx, qword [rsp + 0x60]
call fcn.1800129dc
nop
mov rcx, qword [rsp + 0x50]
call fcn.1800129dc
nop
mov rcx, qword [rsp + 0x70]
call fcn.1800129dc
mov dword [rbp - 0x50], 0x68
mov qword [rbp - 0x48], rbx
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x14], ebx
mov word [rbp - 0xe], bx
mov qword [rbp - 8], rbx
lea rax, [rbp - 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp - 0x80]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x18000adbe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x18000adcf
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp - 0x68]
mov qword [rdi], rax
mov rcx, qword [rbp - 0x80]
call fcn.1800129dc
mov eax, ebx
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret

Function at 0x18000b188
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
and dword [rsp + 0x58], 0
lea rax, [r11 + 8]
mov rcx, qword [rcx]
lea r9, [r11 + 0x20]
mov qword [r11 - 0x10], rax
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add rsp, 0x38
ret
Function at 0x18000b1c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
and dword [r9], 0
mov rsi, r9
and dword [rax + 8], 0
mov rbx, r8
mov qword [rax - 0x20], r9
mov r14, rcx
mov rcx, qword [rcx]
lea r9, [rax + 8]
and qword [rax - 0x28], 0
xor r8d, r8d
mov rbp, rdx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x18000b20b
cmp eax, 0xea
jne 0x18000b263
mov edi, dword [rsi]
cmp rdi, qword [rbx + 8]
je 0x18000b23d
mov rcx, qword [rbx]
test rcx, rcx
je 0x18000b224
call fcn.1800129dc
and qword [rbx], 0
and qword [rbx + 8], 0
test rdi, rdi
je 0x18000b23d
mov rcx, rdi
call fcn.1800129d4
mov qword [rbx], rax
mov qword [rbx + 8], rdi
mov rax, qword [rbx]
lea r9, [rsp + 0x68]
and dword [rsp + 0x68], 0
xor r8d, r8d
mov rcx, qword [r14]
mov rdx, rbp
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x18000b278
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [r8]
lea r9, [rbp + 0x48]
xor r14d, r14d
mov rbx, r8
mov dword [r8 + 8], r14d
mov rsi, rcx
xor r8d, r8d
mov rdi, rdx
mov word [rax], r14w
lea rax, [rbp + 0x30]
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov dword [rbp + 0x48], r14d
mov dword [rbp + 0x30], r14d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x18000b2ce
cmp eax, 0xea
jne 0x18000b336
mov edx, dword [rbp + 0x30]
mov dword [rbp + 0x40], edx
cmp edx, dword [rbx + 0xc]
jbe 0x18000b2e1
mov rcx, rbx
call fcn.180003d00
mov rax, qword [rbx]
lea rcx, [rbp + 0x40]
mov qword [rsp + 0x28], rcx
lea r9, [rbp - 0x10]
mov rcx, qword [rsi]
xor r8d, r8d
mov rdx, rdi
mov dword [rbp - 0x10], r14d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rbp + 0x30]
cmp ecx, dword [rbp + 0x40]
mov rdx, qword [rbx]
cmova ecx, dword [rbp + 0x40]
mov dword [rbp + 0x30], ecx
shr rcx, 1
mov word [rdx + rcx*2], r14w
mov ecx, r14d
cmp word [rdx], r14w
je 0x18000b333
inc ecx
cmp word [rdx + rcx*2], r14w
jne 0x18000b32a
mov dword [rbx + 8], ecx
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x18000b3c4
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x180076018]
xor rax, rsp
mov qword [rbp + 0x170], rax
and qword [rsp + 0x48], 0
mov rsi, rdx
mov r8, rdx
mov rdi, rcx
mov rdx, qword [rcx]
mov r9d, 0x2001f
lea rcx, [rsp + 0x48]
call fcn.18000b138
jmp 0x18000b41a
lea rdx, [rsp + 0x60]
call fcn.18000b3c4
mov ebx, eax
test eax, eax
jne 0x18000b477
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x60]
and qword [rsp + 0x28], 0
xor edx, edx
and qword [rsp + 0x20], 0
mov dword [rsp + 0x40], 0x105
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea rcx, [rsp + 0x48]
test eax, eax
je 0x18000b410
call fcn.18000ae44
mov rcx, qword [rdi]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
lea rcx, [rsp + 0x48]
call fcn.18000ae44
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1800129b0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret

Function at 0x18000b520
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
mov rbx, r8
mov rcx, r8
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsi]
mov r9d, 1
xor r8d, r8d
mov rdx, rdi
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x18000b578
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov dword [r11 + 0x18], r8d
sub rsp, 0x38
mov rcx, qword [rcx]
lea rax, [r11 + 0x18]
mov r9d, 4
xor r8d, r8d
mov dword [r11 - 0x10], r9d
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x18000b5d0
Capabilities:
Set registry value

Disassembly:
movzx r8d, r8b
jmp fcn.18000b578
Function at 0x18000b654
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
xor esi, esi
mov r14, r8
mov r12, rdx
mov r13, rcx
mov ebp, esi
cmp dword [r8 + 8], esi
jbe 0x18000b69f
mov r8, qword [r8]
mov r9d, dword [r14 + 8]
mov rax, qword [r8]
lea r8, [r8 + 8]
mov eax, dword [rax + 8]
inc eax
add rbp, rax
sub r9, 1
jne 0x18000b68a
mov rbx, rsi
test rbp, rbp
je 0x18000b6c5
mov rcx, 0xffffffffffffffff
mov eax, 2
mul rbp
cmovo rax, rcx
mov rcx, rax
call fcn.1800129d4
mov rbx, rax
mov r15d, esi
cmp dword [r14 + 8], esi
jbe 0x18000b6fb
mov rcx, qword [r14]
mov edx, r15d
mov rdx, qword [rcx + rdx*8]
mov ecx, dword [rdx + 8]
mov rdx, qword [rdx]
inc ecx
mov edi, ecx
lea r8, [rcx + rcx]
lea rcx, [rbx + rsi*2]
call fcn.180014b80
add rsi, rdi
inc r15d
cmp r15d, dword [r14 + 8]
jb 0x18000b6ce
mov rcx, qword [r13]
lea eax, [rbp*2]
mov dword [rsp + 0x28], eax
mov r9d, 3
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rbx
mov edi, eax
call fcn.1800129dc
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x18000c538
Capabilities:
Check if file exists

Disassembly:
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rsi
mov rdi, r8
mov sil, dl
mov rbx, rcx
lea rcx, [rbp - 0x28]
call fcn.180007de0
nop
lea rdx, str.zipperui.exe
lea rcx, [rbp - 0x28]
call fcn.1800030a8
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor r14d, r14d
test eax, eax
jne 0x18000c5ba
lea rcx, [rbp - 0x18]
call fcn.18000cd60
nop
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.180002bb0
nop
mov rcx, qword [rbp - 0x18]
call fcn.1800129dc
lea rdx, str.zipperui.exe
lea rcx, [rbp - 0x28]
call fcn.1800030a8
mov qword [rbp + 0x38], r14
xor r9d, r9d
mov r8, rbx
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp + 0x38]
call fcn.18000ac5c
mov ebx, eax
test eax, eax
je 0x18000c5e4
mov rdx, qword [rbp - 0x28]
mov ecx, eax
call fcn.18000cb54
jmp 0x18000c624
test sil, sil
je 0x18000c5f8
or edx, 0xffffffff
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x18000c621
test rdi, rdi
je 0x18000c621
mov rax, qword [rbp + 0x38]
mov qword [rbp - 0x18], rax
mov rax, qword [rdi]
mov qword [rbp - 0x10], rax
or r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rbp - 0x18]
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ebx, r14d
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x18000c641
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x38]
test eax, eax
cmovne rcx, r14
mov qword [rbp + 0x38], rcx
mov rcx, qword [rbp - 0x28]
call fcn.1800129dc
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret