joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e96d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
mov r9, rdx
mov r14, rcx
je 0x1400e97bd
mov r12d, dword [rdx + 8]
cmp r12d, dword [rcx + 0x20]
jne 0x1400e9728
mov rdx, qword [rcx + 0x18]
mov r8d, r12d
mov rcx, qword [r9]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400e97bd
mov r9, qword [rsp + 0x58]
mov r15, qword [r14 + 8]
xor ebp, ebp
dec r15
mov edx, 0x811c9dc5
mov ecx, ebp
test r12, r12
je 0x1400e9755
mov r8, qword [r9]
movzx eax, byte [r8 + rcx]
inc rcx
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r12
jb 0x1400e9740
mov edi, edx
and rdi, r15
nop word [rax + rax]
mov rbx, rdi
shl rbx, 4
add rbx, qword [r14]
mov esi, dword [rbx + 8]
mov r13d, esi
cmp esi, r12d
jne 0x1400e9787
mov rdx, qword [r9]
mov r8d, esi
mov rcx, qword [rbx]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400e97b8
cmp esi, dword [r14 + 0x20]
jne 0x1400e97a0
mov rdx, qword [r14 + 0x18]
mov r8, r13
mov rcx, qword [rbx]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400e97bd
inc rdi
add rdi, rbp
inc rbp
and rdi, r15
cmp rbp, r15
ja 0x1400e97bd
mov r9, qword [rsp + 0x58]
jmp 0x1400e9760
mov rax, rbx
jmp 0x1400e97bf
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x1400ea000
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x20
mov r14, qword [rcx + 8]
xor ebp, ebp
mov r12d, dword [rdx + 8]
dec r14
mov r10, rdx
mov r13, rcx
mov r9d, 0x811c9dc5
mov r8d, ebp
test r12, r12
je 0x1400ea057
mov rdx, qword [rdx]
nop
movzx eax, byte [rdx + r8]
inc r8
xor eax, r9d
imul r9d, eax, 0x1000193
cmp r8, r12
jb 0x1400ea040
mov edi, r9d
and rdi, r14
mov qword [rsp + 0x50], r15
mov rbx, rdi
shl rbx, 4
add rbx, qword [r13]
mov esi, dword [rbx + 8]
mov r15d, esi
cmp esi, dword [r13 + 0x20]
jne 0x1400ea091
mov rdx, qword [r13 + 0x18]
mov r8d, esi
mov rcx, qword [rbx]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400ea0c0
mov r10, qword [rsp + 0x58]
cmp esi, r12d
jne 0x1400ea0a8
mov rdx, qword [r10]
mov r8, r15
mov rcx, qword [rbx]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400ea0cf
inc rdi
add rdi, rbp
inc rbp
and rdi, r14
cmp rbp, r14
ja 0x1400ea0d4
mov r10, qword [rsp + 0x58]
jmp 0x1400ea062
mov rax, qword [rsp + 0x58]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
inc qword [r13 + 0x10]
mov rax, rbx
jmp 0x1400ea0d6
xor eax, eax
mov r15, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x1400ef2f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140135880]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
mov r8b, 1
xor edx, edx
add rcx, 8
call fcn.1400ea2f0
xor ebp, ebp
mov ecx, dword [rax]
lea eax, [rcx - 0x11a]
test eax, 0xfffffffc
jne 0x1400ef4ef
cmp ecx, 0x11c
je 0x1400ef4ef
cmp byte [rbx + 1], 0
je 0x1400ef39b
lea rcx, [rbx + 0x88]
mov eax, dword [rbx + 0x28]
mov dword [rsp + 0x20], eax
movups xmm1, xmmword [rbx + 0x2c]
movups xmmword [rsp + 0x24], xmm1
mov rdx, qword [rbx + 0x90]
cmp rdx, qword [rbx + 0x98]
je 0x1400ef391
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
psrldq xmm1, 0xc
movd dword [rdx + 0x10], xmm1
add qword [rbx + 0x90], 0x14
jmp 0x1400ef39b
lea r8, [rsp + 0x20]
call fcn.1400ed030
mov eax, dword [rbx + 0x28]
cmp eax, 0x11d
je 0x1400ef4ef
cmp eax, 0x11a
jne 0x1400ef4d5
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
je 0x1400ef4d5
mov r8, qword [rbx + 0x40]
cmp byte [r8], 0x21
jne 0x1400ef4d5
nop dword [rax]
lea edx, [rcx - 1]
movzx eax, byte [rdx + r8]
cmp al, 0x20
je 0x1400ef3e2
sub al, 9
cmp al, 4
ja 0x1400ef3e8
mov ecx, edx
test edx, edx
jne 0x1400ef3d0
movzx r9d, byte [rbx + 0xb8]
mov byte [rsp + 0x38], r9b
movups xmm1, xmmword [rbx + 0x2c]
movups xmmword [rsp + 0x3c], xmm1
mov eax, ecx
add rax, r8
lea rdx, [r8 + 1]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rbp
cmp rdx, rax
jne 0x1400ef433
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
jmp 0x1400ef44e
sub rax, rdx
mov r8, rax
lea rcx, [rsp + 0x50]
call fcn.140072240
movups xmm1, xmmword [rsp + 0x3c]
movzx r9d, byte [rsp + 0x38]
mov rdx, qword [rbx + 0xa8]
cmp rdx, qword [rbx + 0xb0]
je 0x1400ef48b
mov byte [rdx], r9b
movups xmmword [rdx + 4], xmm1
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdx + 0x18], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rdx + 0x28], xmm1
mov edx, 0xf
mov byte [rsp + 0x50], 0
add qword [rbx + 0xa8], 0x38
jmp 0x1400ef4a1
lea r8, [rsp + 0x38]
lea rcx, [rbx + 0xa0]
call fcn.1400ed250
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400ef4d5
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ef4d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ef4e8
call fcn.1400ff5e8
xor r8d, r8d
xor edx, edx
lea rcx, [rbx + 8]
call fcn.1400ea2f0
jmp 0x1400ef329
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400ff9a0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400fcfe0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x140135880]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
mov rcx, qword [0x1401432b8]
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400fd028
nop dword [rax]
cmp dword [rax + 0x20], 4
jge 0x1400fd01c
mov rax, qword [rax + 0x10]
jmp 0x1400fd022
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1400fd010
cmp byte [rcx + 0x19], 0
jne 0x1400fd104
cmp dword [rcx + 0x20], 4
jg 0x1400fd104
lea r8, [rcx + 0x28]
mov r10, qword [r8 + 0x10]
mov rdx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x1400fd051
mov rdx, qword [r8]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x1400fd083
movabs r11, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r11
inc rcx
cmp rcx, r10
jb 0x1400fd070
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14007c2a0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400fd0be
cmp rcx, qword [rbx + 8]
je 0x1400fd0be
cmp qword [rbx + 0x10], 1
jne 0x1400fd0c2
mov al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400ff9a0
add rsp, 0x80
pop rbx
ret
xor al, al
jmp 0x1400fd0a8
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1400fd120
nop
mov r8, rax
lea rdx, [0x14011c8d0]
lea rcx, [rsp + 0x58]
call fcn.140078500
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400fcf80
lea rdx, [0x140130d18]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [0x14011c940]
call sub.msvcp140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
int3

Function at 0x1400fe7fc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, [0x14011ca60]
mov r9d, 2
call qword [sym.imp.kernel32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400fe836
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400fe83b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.kernel32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400fe884
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14011c960]
cmp byte [rcx + rax], 0
je 0x1400fe884
dec r8
sub rdx, 1
jne 0x1400fe86a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140100290
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1401002da
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401002da
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401002da
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401002da
cmp dword [rcx + 0x84], 0xe
jbe 0x1401002da
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401002dc
xor al, al
add rsp, 0x28
ret
Function at 0x140004990
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140004a08
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140004a08
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x1400049f5
nop
cmp rbx, rcx
jae 0x140004a08
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x1400049e0
cmp rbx, rcx
jae 0x140004a08
cmp word [rbx], 0
je 0x140004a08
lfence
mov rax, rbx
jmp 0x140004a0a
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140007e60
Capabilities:
Extract resource via kernel32 functions
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
sub rsp, 0x40
mov dword [rcx + 0x474], r8d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r8, str.debug
lea rax, [rsp + 0x70]
mov dword [rsp + 0x30], 4
mov rbp, r9
mov qword [rsp + 0x20], rax
mov r14, rdx
mov dword [rsp + 0x70], 0
mov rbx, rcx
mov dword [rsp + 0x60], 4
lea r9, [rsp + 0x30]
mov rcx, 0xffffffff80000001
lea rdx, str.SoftwareBitdefender_bdhtml
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [rsp + 0x70], 1
jne 0x140007ed7
mov byte [rbx + 0x479], 1
movzx edx, word [rbx + 0x474]
mov r8d, 0x17
mov rcx, qword [rbx + 0x248]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x140007f15
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x260], eax
xor eax, eax
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
mov rcx, qword [rbx + 0x248]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140007ef9
mov rcx, rax
mov qword [rsp + 0x68], rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x140007f56
mov rcx, qword [rbx + 0x248]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
jne 0x140007f69
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x260], eax
xor eax, eax
jmp 0x140008008
lea eax, [rdi + 2]
mov qword [rbx + 0x10], r14
mov ecx, eax
mov dword [rbx + 0x30], eax
call fcn.1400c4db0
mov r8d, dword [rbx + 0x30]
xor edx, edx
mov rcx, rax
mov qword [rbx + 0x28], rax
call fcn.1400bb2f0
mov edx, dword [rbx + 0x30]
mov r9, rdi
mov rcx, qword [rbx + 0x28]
mov r8, rsi
call fcn.140004670
add dword [rbx + 0x30], 0xfffffffe
test rbp, rbp
je 0x140007fb0
lea rcx, [rbx + 0x34]
mov r8, rbp
jmp 0x140007ff5
cmp word [0x1401353e0], 0
jne 0x140007fc1
xor ecx, ecx
call fcn.140009620
lea rcx, [rbx + 0x34]
test rcx, rcx
je 0x140007fff
lea r8, [0x1401353e0]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [r8 + rax*2], 0
jne 0x140007fe0
cmp eax, 0x104
jge 0x140007fff
lfence
mov edx, 0x104
call fcn.1400bfb90
lea rcx, [rbx - 0x28]
call fcn.140008020
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
Function at 0x140008740
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x14012d228]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
je 0x140008952
cmp word [r8], 0
je 0x140008952
lea rdx, str.sciter:
mov rcx, r8
call fcn.1400bb620
cmp rax, rsi
je 0x14000894e
mov edx, 0x2f
mov rcx, rsi
call fcn.1400bb480
mov rdi, rax
test rax, rax
je 0x140008952
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.1400bb2f0
lea r8, [rdi + 2]
mov edx, 0x104
mov r9, 0xffffffffffffffff
lea rcx, [rsp + 0x30]
call fcn.1400bf734
mov edx, 0x2e
lea rcx, [rsp + 0x30]
call fcn.1400bb480
mov rdi, rax
test rax, rax
je 0x14000885a
xor eax, eax
mov word [rdi], ax
add rdi, 2
je 0x14000885a
lea rdx, str.HTML
mov rcx, rdi
call fcn.1400bff60
test eax, eax
je 0x14000885a
lea rdx, [0x14010f1a8]
mov rcx, rdi
call fcn.1400bff60
lea rdx, [rsp + 0x30]
test eax, eax
jne 0x140008855
mov rcx, qword [rbx + 0x278]
lea r8, [0x14010f1a8]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x14000884c
mov rbx, qword [rbx + 0x278]
jmp 0x140008885
lea r8, [0x14010f1a8]
jmp 0x140008860
mov r8, rdi
jmp 0x140008865
mov r8d, 0x17
lea rdx, [rsp + 0x30]
mov rcx, qword [rbx + 0x270]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x14000894e
mov rbx, qword [rbx + 0x270]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140008952
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rax, rax
je 0x140008952
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x140008952
mov rax, qword [0x1401353c8]
test rax, rax
jne 0x140008938
lea rcx, str.sciter.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x14000892c
lea rdx, str.SciterAPI
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140008923
call qword [case.0x140029715.0]
mov qword [0x1401353c8], rax
mov rax, qword [rax + 0x4d8]
call qword [case.0x140029715.0]
test rax, rax
je 0x14000892c
mov qword [0x140135608], rax
jmp 0x14000892c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1401353c8]
test rax, rax
je 0x140008975
mov rax, qword [rax + 0x18]
mov r9d, edi
mov r8, rbp
mov rdx, rsi
mov rcx, r14
call qword [case.0x140029715.0]
xor eax, eax
jmp 0x140008957
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14005aef0
add rsp, 0x250
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0xffffffff
call fcn.1400cbaac
int3
Function at 0x140009940
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x14012d228]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor edi, edi
mov qword [rbp + 0x2f], rdi
mov qword [rbp + 0x3f], rdi
mov qword [rbp + 0x47], 7
mov word [rbp + 0x2f], di
mov rbx, 0xffffffff80000001
lea rcx, [rbp + 7]
call fcn.140007aa0
nop
cmp byte [rbp + 0x27], dil
je 0x1400099ff
mov rbx, 0xffffffff80000003
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rdx, qword [rbp + 7]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400099b0
lea rcx, [rbp + 0x2f]
call fcn.140004260
mov rcx, qword [rbp + 0x3f]
mov rdx, qword [rbp + 0x47]
cmp rcx, rdx
jae 0x1400099ef
lea rax, [rcx + 1]
mov qword [rbp + 0x3f], rax
lea rax, [rbp + 0x2f]
cmp rdx, 8
cmovae rax, qword [rbp + 0x2f]
mov dword [rax + rcx*2], 0x5c
jmp 0x1400099ff
mov r9d, 0x5c
lea rcx, [rbp + 0x2f]
call fcn.140006560
nop
cmp byte [rbp + 0x27], 0
je 0x140009a56
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x140009a45
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009a40
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009b57
call fcn.14005a920
movdqa xmm0, xmmword [0x14010f6a0]
movdqu xmmword [rbp + 0x17], xmm0
mov word [rbp + 7], di
mov r8d, 0x1b
lea rdx, str.SoftwareBitdefender_bdhtml
lea rcx, [rbp + 0x2f]
call fcn.140005ae0
mov qword [rbp - 1], rdi
mov dword [rbp - 5], 4
mov dword [rbp - 9], edi
lea rdx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 8
cmovae rdx, qword [rbp + 0x2f]
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140009aea
lea rax, [rbp - 5]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.dark
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rbp - 9]
mov edx, 1
test eax, eax
cmove ecx, edx
mov dword [rbp - 9], ecx
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbp - 9], 1
sete bl
mov rdx, qword [rbp + 0x47]
cmp rdx, 8
jb 0x140009b2d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009b28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009b51
call fcn.14005a920
movzx eax, bl
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14005aef0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.1400bf5d0
nop
call fcn.1400bf5d0
nop
int3
Function at 0x140009b90
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
push rdi
sub rsp, 0x70
mov rax, qword [0x14012d228]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor eax, eax
lea rdx, str..DEFAULTSoftwareSetId
xorps xmm0, xmm0
mov qword [r11 - 0x40], rax
movups xmmword [rsp + 0x40], xmm0
mov rbx, rcx
mov r9d, 0x20019
movups xmmword [rsp + 0x50], xmm0
mov qword [r11 - 0x18], rax
xor r8d, r8d
lea rax, [r11 - 0x40]
mov rcx, 0xffffffff80000003
mov qword [r11 - 0x58], rax
xor sil, sil
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
mov ebp, 1
test eax, eax
jne 0x140009c3c
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x34], ebp
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.wslibsite_lang
mov dword [rsp + 0x30], 0x26
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140009c4c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x140009c80
cmp qword [rbx + 0x18], 8
jb 0x140009c5a
mov rbx, qword [rbx]
lea rdx, [rsp + 0x40]
sub rdx, rbx
movzx ecx, word [rbx]
movzx eax, word [rbx + rdx]
sub ecx, eax
jne 0x140009c75
add rbx, 2
test eax, eax
jne 0x140009c62
test ecx, ecx
movzx eax, sil
cmove eax, ebp
jmp 0x140009c84
movzx eax, sil
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14005aef0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000f780
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x14012d228]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov r14, rdx
mov rsi, rcx
test rcx, rcx
je 0x14000f8da
mov rdi, 0xffffffffffffffff
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000f7c0
test rax, rax
je 0x14000f8da
xor ebx, ebx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x30]
call fcn.1400bb2f0
mov r8d, 0x104
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000f8cc
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x14000f8cc
lea rdx, str.OBKDbg.dll
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x14000f8cc
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000f8cc
test al, 0x10
jne 0x14000f8cc
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14000f8cc
mov dword [rsp + 0x20], 0
nop dword [rax + rax]
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x14000f870
test rdi, rdi
je 0x14000f8ca
mov edx, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000f8ca
mov dword [rsp + 0x20], 0xfffffffe
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [case.0x140029715.0]
test eax, eax
je 0x14000f8ca
mov eax, dword [rsp + 0x20]
cmp eax, 0xfffffffe
je 0x14000f8ca
test eax, eax
setne al
mov byte [r14], al
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, 1
jmp 0x14000f8dc
jmp 0x14000f8d1
test rbx, rbx
je 0x14000f8da
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14005aef0
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r14
pop rdi
pop rsi
ret
Function at 0x140014010
Capabilities:
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x170
mov rax, qword [0x14012d228]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov r15, r8
mov dword [rsp + 0x40], 0x11c
mov rdi, rdx
mov r14, rcx
xor r12d, r12d
lea rcx, [rsp + 0x54]
xor edx, edx
mov qword [rsp + 0x4c], r12
mov r8d, 0x100
mov esi, r12d
mov ebp, r9d
call fcn.1400bb2f0
xor eax, eax
mov word [rsp + 0x156], r12w
mov r8b, 3
mov dword [rsp + 0x158], eax
xor ecx, ecx
lea edx, [rax + 2]
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
lea edx, [r12 + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
lea edx, [r12 + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
lea edx, [r12 + 0x23]
mov dword [rsp + 0x44], 6
mov r8, rax
mov dword [rsp + 0x48], 2
lea rcx, [rsp + 0x40]
mov word [rsp + 0x154], r12w
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x140014125
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetOverlappedResultEx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x14001423e
mov eax, dword [rsp + 0x1d0]
mov r9d, ebp
mov dword [rsp + 0x20], eax
mov r8, r15
mov rax, r10
mov rdx, rdi
mov rcx, r14
call qword [case.0x140029715.0]
jmp 0x14001423a
lea eax, [rbp - 1]
cmp eax, 0xfffffffd
ja 0x140014223
test rdi, rdi
je 0x140014223
cmp qword [rdi + 0x18], rsi
je 0x140014223
mov edx, 0x28
lea ecx, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x14001423c
mov ecx, dword [rsp + 0x1d0]
xor r9d, r9d
mov dword [rax + 0x20], ecx
xor r8d, r8d
xor ecx, ecx
mov qword [rax], rdi
mov dword [rax + 8], ebp
lea edx, [r9 + 1]
mov dword [rax + 0x24], r12d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x18], rax
test rax, rax
je 0x1400141fa
lea rax, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x140014260]
xor edx, edx
mov dword [rsp + 0x20], r12d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x10], rax
test rax, rax
je 0x1400141fa
mov r9d, 1
mov r8, r15
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov ecx, dword [rbx + 0x24]
mov esi, eax
test ecx, ecx
je 0x1400141e0
mov esi, r12d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdx, qword [rbx + 0x10]
mov r9d, 1
mov rcx, qword [rbx + 0x18]
mov r8d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_SignalObjectAndWait]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140014209
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140014218
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14001423c
mov r9d, dword [rsp + 0x1d0]
mov r8, r15
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov esi, eax
mov eax, esi
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14005aef0
add rsp, 0x170
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret