joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400515a8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
lea rbx, [0x1400e5530]
lea r8, [0x14009c390]
mov edx, 0x64
mov rcx, rbx
call fcn.14005fbe4
lea r11, [rsp + 0x48]
lea rdx, str.SOFTWAREWidcommInstall
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor edi, edi
test eax, eax
jne 0x14005165a
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
lea rdx, str.VERSION
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x40], 0xc8
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x48]
mov word [0x1400e55f6], di
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbx
jmp 0x14005164b
mov ecx, 0x5f
mov word [rax], cx
mov rcx, rax
mov edx, 0x2e
call fcn.140061b64
test rax, rax
jne 0x140051640
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400516d8
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
call fcn.140051678
lea rdi, [0x1400e56f0]
xor edx, edx
mov rcx, rdi
mov r8d, 0x800
mov rbx, rax
call fcn.14005bab0
mov rcx, rbx
call fcn.14005d25c
mov r8d, 0x3fe
lea rcx, [0x1400b6600]
sub r8d, eax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rcx, rdi
call fcn.14005d25c
cmp word [rdi + rax*2 - 2], 0x5c
je 0x140051746
lea r8, [0x14009debc]
mov edx, 0x400
mov rcx, rdi
call fcn.1400600ac
mov r8, rbx
mov edx, 0x400
mov rcx, rdi
call fcn.1400600ac
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x140054ea0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r12
sub rsp, 0x260
mov rax, qword [0x1400d9180]
xor rax, rsp
mov qword [rsp + 0x250], rax
lea rax, [rsp + 0x44]
xor ebx, ebx
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
lea r8d, [rbx + 0x12]
mov dword [rsp + 0x28], 0x200
mov r12, rdx
mov rbp, rcx
mov qword [rsp + 0x20], rax
lea rdi, [rsp + 0x50]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyA]
test eax, eax
jne 0x140054f15
mov byte [rsp + 0x50], bl
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.IsDevSecured:_SetupDiGetDeviceRegistryProperty_failed._err_d_n
lea ecx, [rbx + 4]
jmp 0x140054fae
cmp byte [rsp + 0x50], bl
je 0x140055036
lea rdx, str.btwsecfl
mov rcx, rdi
call fcn.140060444
test eax, eax
je 0x140055020
lea rdx, str.bcbtums
mov rcx, rdi
call fcn.140060444
test eax, eax
je 0x140054f5f
mov rcx, rdi
call fcn.14005bc90
lea rdi, [rdi + rax + 1]
cmp byte [rdi], bl
jne 0x140054f1f
jmp 0x140055036
mov edi, 4
lea rdx, str.IsDevSecured:_found_bcbtums_n
mov ecx, edi
call fcn.140046d10
lea r8d, [rdi - 3]
xor r9d, r9d
mov rdx, r12
mov rcx, rbp
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], 1
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140054fb8
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.IsDevSecured:_SetupDiOpenDevRegKey_failed._err_d_n
lea ecx, [rdi - 3]
mov r8d, eax
call fcn.140046d10
jmp 0x140055036
lea rax, [rsp + 0x44]
lea rdx, str.AuthStartup
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rcx, rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, edi
test eax, eax
je 0x140054ffd
lea rdx, str.IsDevSecured:_RegQueryValueEx_AuthStartup__failed._err_d_n
mov r8d, eax
call fcn.140046d10
jmp 0x140055015
mov r8d, dword [rsp + 0x40]
lea rdx, str.IsDevSecured:_AuthStartup_d_n
call fcn.140046d10
cmp dword [rsp + 0x40], ebx
setne bl
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140055036
lea rdx, str.IsDevSecured:_found_btwsecfl_n
mov ecx, 4
call fcn.140046d10
mov ebx, 1
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14005ba20
mov rbx, qword [rsp + 0x290]
add rsp, 0x260
pop r12
pop rdi
pop rbp
ret
Function at 0x140056f40
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x1400d9180]
xor rax, rsp
mov qword [rbp + 0x50], rax
xor esi, esi
mov r12, r8
mov rdi, rdx
mov ebx, ecx
mov qword [rsp + 0x20], rdx
test ecx, ecx
mov qword [rsp + 0x30], rsi
lea r9, str.SYSTEMCurrentControlSetServicesBTHPORTParameters
lea r8, str._sKeys_012I64x
mov edx, 0x100
lea rcx, [rsp + 0x50]
jne 0x140056f98
lea r8, str._sPerDevices_012I64x
call fcn.14005d88c
lea rax, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140056fff
mov r9d, ebx
mov r8, rdi
cmp eax, 2
jne 0x140056fe5
lea rdx, str.IsHidInstalledInRegistry:_no_key._dongle_012I64x_paired_d_n
lea ecx, [rax + 2]
call fcn.140046d10
jmp 0x1400570aa
lea rdx, str.IsHidInstalledInRegistry:_RegOpenKeyEx_failed._dongle_012I64x__paired_d_err_d_n
mov ecx, 1
mov dword [rsp + 0x20], eax
call fcn.140046d10
jmp 0x1400570aa
lea r8, str._012I64x
lea rcx, [rsp + 0x50]
mov r9, r12
mov edx, 0x100
call fcn.14005d88c
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea rdx, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x38], socket
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x140057081
mov r9d, ebx
mov r8, r12
cmp eax, 2
jne 0x14005706a
lea rdx, str.IsHidInstalledInRegistry:_no_HID_installed._HID_012I64x_paired_d_n
lea ecx, [rax + 2]
call fcn.140046d10
jmp 0x14005709f
lea rdx, str.IsHidInstalledInRegistry:_RegQueryValueEx_failed._HID_012I64x_paired_d_err_d_n
mov ecx, 1
mov dword [rsp + 0x20], eax
call fcn.140046d10
jmp 0x14005709f
mov esi, 1
lea rdx, str.IsHidInstalledInRegistry:_HID_is_installed._dongle_012I64x_HID_012I64x_paired_d_n
mov r9, r12
lea ecx, [rsi + 3]
mov r8, rdi
mov dword [rsp + 0x20], ebx
call fcn.140046d10
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.14005ba20
add rsp, 0x160
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140058330
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
mov dword [rax + 0x20], r9d
push rdi
push r12
push r14
sub rsp, 0x60
mov rsi, qword [rsp + 0xa0]
xor ebx, ebx
mov rbp, r8
mov r12, rdx
test rsi, rsi
je 0x140058367
mov dword [rsi], 1
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
xor r8d, r8d
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, eax
test eax, eax
je 0x1400583b5
lea rdx, str.SetRegValue:_RegCreateKeyEx_failed._err_d_SubKey_hs_n
mov r9, r12
mov r8d, eax
mov ecx, 1
call fcn.140046d10
jmp 0x140058481
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0xa0]
mov r14d, 4
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0xa0], r14d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
test eax, eax
je 0x14005844e
lea rdx, str.SetRegValue:_no_value__hs._RegQueryValueEx_returned__d_n
mov r9d, eax
mov r8, rbp
mov ecx, r14d
call fcn.140046d10
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x98]
mov r9d, r14d
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
test eax, eax
je 0x14005846f
lea rdx, str.SetRegValue:_RegSetValueEx_failed._err_d_SubKey_hs_n
mov r9, r12
mov r8d, eax
mov ecx, 1
call fcn.140046d10
jmp 0x140058476
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x50], eax
jne 0x140058409
lea rdx, str.SetRegValue:_value__hs_exists_already_n
mov r8, rbp
mov ecx, r14d
call fcn.140046d10
jmp 0x140058481
test rsi, rsi
je 0x140058476
mov dword [rsi], ebx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x60]
test edi, edi
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
sete bl
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsp, r11
pop r14
pop r12
pop rdi
ret
Function at 0x1400596f4
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbp
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1400d9180]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdx, qword [str.SoftwareWidcommBTConfigHID]
lea rax, [rsp + 0x48]
mov r9d, 0x2000e
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400597ac
jmp 0x14005974e
lea rdx, [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x60]
xor edx, edx
mov dword [rsp + 0x40], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov rcx, qword [rsp + 0x48]
test eax, eax
je 0x140059743
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [str.SoftwareWidcommBTConfigHID]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14005ba20
add rsp, 0x280
pop rbp
ret
Function at 0x14005ac4c
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r15
lea rbp, [rsp - 0xd8]
sub rsp, 0x1d8
mov rax, qword [0x1400d9180]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rbx, rdx
mov rsi, rcx
mov rdx, rcx
lea rcx, str.SaveDeviceInfoToRegistry:_Entering..._bda_012I64x_n
mov r12, r9
mov rdi, r8
call fcn.1400300fc
lea rcx, [rbp - 0x4f]
xor edx, edx
mov r8d, 0x103
mov byte [rbp - 0x50], 0
call fcn.14005bab0
mov r8, qword [str.SYSTEMCurrentControlSet_servicesBTHPORTParametersDevices_012I64xServices]
mov r15d, 0x104
lea rcx, [rbp - 0x50]
mov edx, r15d
mov r9, rsi
call fcn.14005d88c
xor edx, edx
lea rcx, [rsp + 0x61]
lea r8d, [rdx + 0x27]
mov byte [rsp + 0x60], 0
call fcn.14005bab0
mov r9d, dword [rbx]
lea r8, str._04x
lea rcx, [rsp + 0x60]
mov edx, 0x28
call fcn.14005d88c
lea rbx, [0x1400c10bc]
lea rcx, [rbp - 0x50]
mov r8, rbx
mov edx, r15d
call fcn.140061eac
lea r8, [rsp + 0x60]
lea rcx, [rbp - 0x50]
mov edx, r15d
call fcn.140061eac
lea rcx, [rbp - 0x50]
mov r8, rbx
mov edx, r15d
call fcn.140061eac
mov r8, qword [str.Characteristics]
lea rcx, [rbp - 0x50]
mov edx, r15d
call fcn.140061eac
lea rcx, [rbp - 0x50]
mov r8, rbx
mov edx, r15d
call fcn.140061eac
xor ebx, ebx
lea rcx, [rbp - 0x77]
lea r8d, [rbx + 0x27]
xor edx, edx
mov byte [rbp - 0x78], bl
call fcn.14005bab0
mov r9d, dword [rdi]
lea r8, str._04x
lea edx, [rbx + 0x28]
lea rcx, [rbp - 0x78]
call fcn.14005d88c
lea r8, [rbp - 0x78]
lea rcx, [rbp - 0x50]
mov edx, r15d
call fcn.140061eac
lea rdx, [rbp - 0x50]
lea rcx, str.SaveDeviceInfoToRegistry:_RegCreateKeyEx__S_n
call fcn.1400300fc
lea r11, [rsp + 0x58]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], r11
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
lea rdx, [rbp - 0x50]
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x14005ade1
lea rcx, str.SaveDeviceInfoToRegistry:_RegCreateKeyEx_failed._err:_d_n
mov edx, eax
call fcn.1400300fc
jmp 0x14005ae58
lea rbx, [r12 + 2]
lea rcx, str.SaveDeviceInfoToRegistry_Value___S
mov rdx, rbx
call fcn.1400300fc
mov rcx, rbx
call fcn.14005bc90
mov rdx, qword [str.Value]
mov rcx, qword [rsp + 0x50]
mov r9d, 1
xor r8d, r8d
add eax, r9d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x14005ae3e
mov rdx, qword [str.Value]
lea rcx, str.SaveDeviceInfoToRegistry:_RegSetValueEx__hs__failed._err:_d_n
mov r8d, eax
call fcn.1400300fc
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.SaveDeviceInfoToRegistry:_exits._bda_012I64x_n
mov rdx, rsi
call fcn.1400300fc
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14005ba20
add rsp, 0x1d8
pop r15
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14005b02c
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x190
mov rax, qword [0x1400d9180]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbx, rcx
mov rsi, rdx
mov dword [rsp + 0x50], r8d
lea rcx, [rsp + 0x71]
xor edi, edi
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x70], dil
call fcn.14005bab0
movzx ecx, byte [rbx + 3]
movzx edx, byte [rbx + 2]
movzx r8d, byte [rbx + 1]
movzx r11d, byte [rbx + 5]
movzx eax, byte [rbx + 4]
movzx r9d, byte [rbx]
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r8d
lea r8, str.SoftwareWidcommBTConfigDevices_02x:_02x:_02x:_02x:_02x:_02x
lea rcx, [rsp + 0x70]
mov edx, 0x104
call fcn.14005d88c
lea rax, [rsp + 0x60]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14005b12b
mov rcx, qword [rsp + 0x58]
lea r9d, [rdi + 4]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [rdi + 1]
test eax, eax
cmove edi, ecx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14005ba20
add rsp, 0x190
pop rdi
pop rsi
pop rbx
ret

Function at 0x14005b3dc
Capabilities:
Create thread

Disassembly:
test edx, edx
je 0x14005b432
push rbx
sub rsp, 0x30
mov r8d, edx
mov rbx, rcx
mov rdx, rcx
lea rcx, str.LeSvcDiscPostOps:_entering..._bda_012I64x_bStatus:_d_n
call fcn.1400300fc
lea rax, [rsp + 0x48]
lea r8, [0x14005b2bc]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [0x1400e60a0], rbx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x30
pop rbx
ret
Function at 0x140063d57
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400d9180]
jne 0x14005ba3a
rol rcx, 0x10
test cx, 0xffff
jne 0x14005ba36
repz ret
ror rcx, 0x10
jmp 0x140063cb0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400e6a50]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1400e6b48]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140063d35
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1400e6a50]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140063d57
mov rax, qword [rsp + 0x88]
mov qword [0x1400e6b48], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400e6ae8], rax
mov rax, qword [0x1400e6b48]
mov qword [0x1400e69c0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400e6ad0], rax
mov dword [0x1400e69b0], 0xc0000409
mov dword [0x1400e69b4], 1
mov rax, qword [0x1400d9180]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400d9188]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400e6a48], eax
mov ecx, 1
call fcn.140076844
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400c3c70]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400e6a48], 0
jne 0x140063dde
mov ecx, 1
call fcn.140076844
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1400765f4
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1400d9180]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1400630f8
xor ebx, ebx
cmp qword [0x1400e72f0], rbx
mov rdi, rax
jne 0x140076707
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1400767de
lea rdx, [0x1400c43b8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400767de
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1400e72f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1400e72f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x1400e7300], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1400e7310], rax
test rax, rax
je 0x1400766fe
lea rdx, [0x1400c4358]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1400e7308], rax
jmp 0x14007670e
mov rax, qword [0x1400e7308]
jmp 0x140076715
mov rax, qword [0x1400e7308]
mov r11, qword [0x1400e7310]
cmp rax, rdi
je 0x14007677c
cmp r11, rdi
je 0x14007677c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1400e7310]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14007677c
test rax, rax
je 0x14007677c
call rsi
test rax, rax
je 0x140076776
lea rcx, [rsp + 0x30]
mov r9d, ntohl
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140076776
test byte [rsp + 0x40], 1
jne 0x14007677c
bts ebp, 0x15
jmp 0x1400767bc
mov rcx, qword [0x1400e72f8]
cmp rcx, rdi
je 0x1400767bc
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400767bc
call rax
mov rbx, rax
test rax, rax
je 0x1400767bc
mov rcx, qword [0x1400e7300]
cmp rcx, rdi
je 0x1400767bc
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400767bc
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400e72f0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400767de
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1400767e0
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14005ba20
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140001030
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rsi
sub rsp, 0x70
cmp byte [0x140144dc0], 0
mov rsi, rcx
jne 0x14000108c
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movaps xmmword [rsp + 0x20], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm0
call fcn.14001b1e0
test al, al
jne 0x140001072
add rsp, 0x70
pop rsi
ret
mov rax, qword [rsp + 0x60]
xor rax, qword [rsp + 0x68]
mov qword [0x140144db8], rax
mov byte [0x140144dc0], 1
jmp 0x140001093
mov rax, qword [0x140144db8]
mov qword [rsi + 8], rax
mov rax, qword gs:[0x60]
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rdi
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140001137
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140001137
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140001132
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140001110
cmp r8d, 0x218059d
je 0x14000113c
test r9d, r9d
jne 0x1400010f0
mov rax, qword [rax]
jmp 0x1400010c0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rcx, rsi
add rax, r10
call rax
mov rdi, qword [rsp + 0x88]
test eax, eax
mov rbx, qword [rsp + 0x80]
setns al
add rsp, 0x70
pop rsi
ret
Function at 0x1400011d0
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Get process filename
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
xor eax, eax
xorps xmm0, xmm0
mov qword [rsp + 0x50], rax
mov eax, 4
movups xmmword [rsp + 0x20], xmm0
mov word [rsp + 0x20], ax
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140001287
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140001287
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140001282
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140001260
cmp r8d, 0x20a0780
je 0x14000128c
test r9d, r9d
jne 0x140001240
mov rax, qword [rax]
jmp 0x140001210
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
call rax
mov eax, eax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], rax
call fcn.140001030
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret

Function at 0x1400012d0
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Get process filename
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
xor eax, eax
xorps xmm0, xmm0
mov qword [rsp + 0x50], rax
mov eax, 6
movups xmmword [rsp + 0x20], xmm0
mov word [rsp + 0x20], ax
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140001387
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140001387
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140001382
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140001360
cmp r8d, 0x20a0780
je 0x14000138c
test r9d, r9d
jne 0x140001340
mov rax, qword [rax]
jmp 0x140001310
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
call rax
mov eax, eax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], rax
call fcn.140001030
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret