joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004dd80
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x14004df28
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x14004dde5
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x14004dde5
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x14004dde5
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x14004de1c
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x14004de72
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14004de72
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14004de72
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14004de72
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14004de72
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.14004d830
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x14004ded4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140029050
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.14004dc00
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14004df20
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140029050
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x14004f690
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1400f9280]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x14004f725
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x14004f786
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.140029050
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140062d80
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x14004f841
sub ecx, 1
je 0x14004f8b4
sub ecx, 1
je 0x14004f7f0
cmp ecx, 1
je 0x14004f7d3
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x14006d830]
call fcn.140029050
jmp 0x14004f8b4
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.14004f3c0
test eax, eax
je 0x14004f8b4
jmp 0x14004f75a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14004f8b4
sub rax, rsi
cmp rax, rbp
jae 0x14004f8b4
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.1400291d0
jmp 0x14004f8b4
cmp r8d, 4
jle 0x14004f8b4
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x14004f8b4
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.140028f70
mov esi, eax
test eax, eax
je 0x14004f893
mov edx, 5
mov rcx, rbx
call fcn.140050380
mov eax, esi
jmp 0x14004f75a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400385e0
mov rcx, r14
call fcn.1400388c0
test eax, eax
je 0x14004f758
mov edx, 5
mov rcx, rbx
call fcn.140050380
mov eax, Ordinal_46
jmp 0x14004f75a
Function at 0x140062790
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1400627d2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140062819
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140062872
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140062830
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400628b3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14007304a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14007304b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140062880
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140063790
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400637da
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400637da
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400637da
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400637da
cmp dword [rcx + 0x84], 0xe
jbe 0x1400637da
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400637dc
xor al, al
add rsp, 0x28
ret
Function at 0x180018070
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
lea ebp, [rdx + 0x1da]
mov edi, edx
mov rsi, rcx
cmp edx, ebp
jae 0x180018234
lea r15, [0x180000000]
xor r14d, r14d
lea eax, [rdi - 0xdc]
cmp eax, 0xa3
ja case.0x1800180ca.226
movzx eax, byte [r15 + rax + 0x18278]
mov ecx, dword [r15 + rax*4 + 0x1825c]
add rcx, r15
jmp rcx
mov r9, qword [0x180071c58]
xor r8d, r8d
mov edx, 0x101
mov qword [rsp + 0x20], r14
xor ecx, ecx
call fcn.1800208e0
jmp case.0x1800180ca.226
mov r9, qword [0x180071c58]
test r9, r9
je 0x180018234
xor edx, edx
xor ecx, ecx
mov r8d, 0xaf
call fcn.18000b5c0
jmp case.0x1800180ca.226
mov rcx, r14
mov edx, r14d
cmp dword [0x180071c4c], ecx
jle 0x18001813a
nop
mov rax, qword [0x180071c50]
cmp rsi, qword [rax + rcx*8]
je 0x18001813a
inc edx
inc rcx
cmp edx, dword [0x180071c4c]
jl 0x180018120
mov eax, dword [0x180071c4c]
mov edi, 0x130
cmp edx, eax
jge case.0x1800180ca.226
dec eax
mov dword [0x180071c4c], eax
test eax, eax
jle 0x180018193
cmp edx, eax
jge case.0x1800180ca.226
lea r8, [rcx*8]
nop dword [rax]
mov rcx, qword [0x180071c50]
lea r8, [r8 + 8]
inc edx
mov rax, qword [rcx + r8]
mov qword [rcx + r8 - 8], rax
cmp edx, dword [0x180071c4c]
jl 0x180018170
jmp case.0x1800180ca.226
mov ebx, 0x3b
mov eax, ebx
sub eax, 0x3b
je 0x1800181c9
cmp eax, 0x4f
jne 0x1800181d0
mov rax, qword [0x180071c50]
xor edx, edx
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea ecx, [rdx + 0x47]
call fcn.18001e980
mov qword [0x180071c50], r14
jmp 0x1800181d0
mov dword [0x180071c48], r14d
add ebx, 0x4f
cmp ebx, 0xd9
jb 0x180018198
jmp case.0x1800180ca.226
mov qword [rsp + 0x28], r14
lea r8, [0x18000f450]
mov r9, rsi
mov dword [rsp + 0x20], r14d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi], rax
jmp case.0x1800180ca.226
cmp qword [rsi], r14
je 0x180018252
lea rax, [rsp + 0x58]
mov dword [rsp + 0x58], 1
mov r9, rsi
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
mov r8d, 0xd6
call fcn.180038b70
add edi, 0x4f
cmp edi, ebp
jb 0x1800180a5
movzx eax, byte [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
xor al, al
jmp 0x180018239
mov al, 1
jmp 0x180018239
Function at 0x140004734
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x1400344c8]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov r14, r9
mov r12, r8
mov bl, dl
mov r9, rcx
xor r15d, r15d
test r14, r14
je 0x14000477a
mov byte [r14], r15b
mov qword [r8], r15
mov r10d, 0x104
mov edx, r10d
lea rcx, [rsp + 0x30]
lea rax, [rsp + 0x30]
sub r9, rax
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x1400047b6
movzx eax, word [r9 + rcx]
test ax, ax
je 0x1400047b6
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140004793
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
lea r8, [0x14002ae20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.1400022cc
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
setne r13b
test rax, rax
jne 0x140004834
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x14000493f
mov rcx, qword [rbp + 0x188]
lea r8, [0x14002ad24]
mov edx, reloc.OLEAUT32.dll_CreateErrorInfo
call fcn.140003f10
mov esi, eax
jmp 0x140004942
mov dword [rsp + 0x24], r15d
mov dword [rsp + 0x20], r15d
lea rdx, [rsp + 0x24]
mov rcx, rdi
call fcn.1400045a0
mov esi, eax
test eax, eax
jns 0x140004871
mov rcx, qword [rbp + 0x188]
mov r9d, eax
lea r8, [0x14002ad24]
mov edx, 0xcf
call fcn.140003ee0
jmp 0x140004942
test bl, bl
je 0x140004921
lea r8, [0x14002ae28]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.1400022cc
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
setne r15b
test rax, rax
jne 0x1400048d2
mov rcx, qword [rbp + 0x188]
lea r8, [0x14002ad24]
mov edx, 0xd5
call fcn.140003f10
mov esi, eax
jmp 0x140004900
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400045a0
mov esi, eax
test eax, eax
jns 0x140004910
mov rcx, qword [rbp + 0x188]
mov r9d, eax
lea r8, [0x14002ad24]
mov edx, 0xd7
call fcn.140003ee0
test r15b, r15b
je 0x140004942
mov rcx, rbx
call fcn.140003f98
nop
jmp 0x140004942
test r15b, r15b
je 0x14000491e
mov rcx, rbx
call fcn.140003f98
nop
xor r15d, r15d
movsxd rcx, dword [rsp + 0x20]
shl rcx, 0x1f
movsxd rax, dword [rsp + 0x24]
test r14, r14
je 0x140004938
mov byte [r14], 1
or rax, rcx
mov qword [r12], rax
mov esi, r15d
test r13b, r13b
je 0x140004950
mov rcx, rdi
call fcn.140003f98
nop
mov eax, esi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14001ae50
mov rbx, qword [rsp + 0x290]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400077d0
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
or rax, 0xffffffffffffffff
xor ebx, ebx
inc rax
cmp word [r8 + rax*2], bx
jne 0x1400077dc
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
je 0x140007831
mov rcx, qword [rsp + 0x38]
lea r8, str.mrcommon_sdk_simulation_servicesperceptionsimulationexemain.cpp
mov ebx, 0x80004005
mov edx, 0xeb
mov r9d, ebx
call fcn.140003ee0
mov eax, ebx
jmp 0x140007833
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x140007840
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
lea rax, [0x14002b770]
mov dword [rsp + 0x28], 0xb4
mov r9d, 3
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
je 0x140007894
mov rcx, qword [rsp + 0x38]
lea r8, str.mrcommon_sdk_simulation_servicesperceptionsimulationexemain.cpp
mov r9d, 0x80004005
mov edx, 0x109
call fcn.140003ee0
mov eax, 0x80004005
jmp 0x140007896
xor eax, eax
add rsp, 0x38
ret
Function at 0x14000a874
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rdi
push r13
mov rbp, rsp
sub rsp, 0x58
lea rbx, [rcx + 0x40]
mov rdi, rcx
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
lea rax, [rbp + 0x38]
mov dword [rbp + 0x38], 4
mov qword [rsp + 0x30], rax
lea r8, [0x14002bc18]
lea rax, [rbp + 0x28]
mov r13, 0xffffffff80000002
mov qword [rsp + 0x28], rax
lea rdx, [0x14002bc50]
and qword [rsp + 0x20], 0
mov r9d, 0x10
mov rcx, r13
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
js 0x14000a964
cmp dword [rbp + 0x28], 0
jbe 0x14000a964
lea rax, [rbp + 0x38]
mov dword [rbp + 0x38], 4
mov qword [rsp + 0x30], rax
lea r8, [0x14002bc28]
lea rax, [rbp + 0x40]
mov r9d, 0x10
mov qword [rsp + 0x28], rax
lea rdx, [0x14002bc50]
and qword [rsp + 0x20], 0
mov rcx, r13
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
js 0x14000a964
mov ecx, dword [rbp + 0x40]
test ecx, ecx
je 0x14000a964
mov eax, dword [rbp + 0x28]
mov dword [rbp + 0x38], eax
mov dword [rbp + 0x3c], ecx
mov rax, qword [rbp + 0x38]
mov qword [rdi + 0x30], rax
lea rax, [rbp + 0x38]
mov dword [rbp + 0x38], 4
mov qword [rsp + 0x30], rax
lea r8, [0x14002bc38]
lea rax, [rbp + 0x30]
mov r9d, 0x10
mov qword [rsp + 0x28], rax
lea rdx, [0x14002bc50]
and qword [rsp + 0x20], 0
mov rcx, r13
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
js 0x14000aa4e
cmp dword [rbp + 0x30], 0
jbe 0x14000aa4e
lea rax, [rbp + 0x38]
mov dword [rbp + 0x38], 4
mov qword [rsp + 0x30], rax
lea r8, [0x14002bc08]
lea rax, [rbp - 0x18]
mov r9d, 0x10
mov qword [rsp + 0x28], rax
lea rdx, [0x14002bc50]
and qword [rsp + 0x20], 0
mov rcx, r13
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
js 0x14000aa4e
mov edx, dword [rbp - 0x18]
test edx, edx
je 0x14000aa4e
mov eax, dword [rbp + 0x30]
xorps xmm2, xmm2
xorps xmm1, xmm1
cvtsi2ss xmm1, rdx
cvtsi2ss xmm2, rax
divss xmm1, dword [0x14002ce88]
divss xmm2, dword [0x14002ce88]
movss dword [rdi + 0x3c], xmm1
movss dword [rdi + 0x38], xmm2
test rbx, rbx
je 0x14000aa62
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
add rsp, 0x58
pop r13
pop rdi
pop rbx
pop rbp
ret
Function at 0x140016a28
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbx
sub rsp, 0x110
mov rbx, r8
mov dword [rax + 0x10], VarDecRound
lea rax, [rax + 0x10]
mov r9d, 2
mov qword [rsp + 0x30], rax
lea r8, str.Name
mov qword [rsp + 0x28], rbx
xor edx, edx
and qword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x140016afe
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, VarDecRound
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rax, [rsp + 0x40]
mov ecx, 0x80
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rbx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rbx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rbx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rbx + 0x50], xmm1
movups xmmword [rbx + 0x60], xmm0
add rbx, rcx
movups xmm0, xmmword [rax + 0x70]
add rax, rcx
movups xmmword [rbx - 0x10], xmm0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbx], xmm1
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbx + 0x10], xmm0
movups xmm0, xmmword [rax + 0x30]
mov rax, qword [rax + 0x40]
movups xmmword [rbx + 0x20], xmm1
movups xmmword [rbx + 0x30], xmm0
mov qword [rbx + 0x40], rax
add rsp, 0x110
pop rbx
ret

Function at 0x140016b10
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov dword [r11 + 0x18], r8d
sub rsp, 0x38
mov r9d, 4
lea rax, [r11 + 0x18]
mov dword [r11 - 0x10], r9d
xor r8d, r8d
mov qword [r11 - 0x18], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
add rsp, 0x38
ret

Function at 0x140016b58
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x48
lea rax, [r11 + 0x18]
mov dword [rsp + 0x60], 4
mov qword [r11 - 0x18], rax
mov r8, rdx
lea rax, [r11 + 0x20]
mov r9d, 0x10
mov qword [r11 - 0x20], rax
xor edx, edx
and qword [r11 - 0x28], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140016ba4
cmp dword [rsp + 0x60], 4
jne 0x140016ba4
mov eax, dword [rsp + 0x68]
jmp 0x140016ba6
xor eax, eax
add rsp, 0x48
ret

Function at 0x140016bb4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x40
mov rbx, r8
mov dword [rsp + 0x68], 0x30
lea rax, [r11 + 0x20]
mov r8, rdx
mov qword [r11 - 0x18], rax
mov r9d, 8
mov qword [r11 - 0x20], rbx
xor edx, edx
and qword [r11 - 0x28], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140016bfa
cmp dword [rsp + 0x68], 0x30
je 0x140016c08
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
add rsp, 0x40
pop rbx
ret
Function at 0x140016c18
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x40
mov rbx, r8
mov dword [rsp + 0x68], 0x14
lea rax, [r11 + 0x20]
mov r8, rdx
mov qword [r11 - 0x18], rax
mov r9d, 8
mov qword [r11 - 0x20], rbx
xor edx, edx
and qword [r11 - 0x28], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140016c5e
cmp dword [rsp + 0x68], 0x14
je 0x140016c69
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov dword [rbx + 0x10], eax
add rsp, 0x40
pop rbx
ret
Function at 0x1400192f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x48
and dword [rsp + 0x50], 0
lea rax, [r11 + 0x10]
mov qword [r11 - 0x18], rax
lea r8, str.SettingsUpdateInProgress
lea rax, [r11 + 8]
mov dword [rsp + 0x58], 4
mov qword [r11 - 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPerceptionSimulationExtensions
and qword [r11 - 0x28], 0
mov r9d, 0x10010
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x14001934d
cmp dword [rsp + 0x50], eax
setne al
jmp 0x14001934f
xor al, al
add rsp, 0x48
ret
Function at 0x14001a0bc
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov dword [rsp + 8], ecx
push rbp
push rbx
push rsi
mov rbp, rsp
sub rsp, 0x50
mov ebx, 0x80070057
cmp ecx, 2
jg 0x14001a0f5
call fcn.14001935c
test al, al
je 0x14001a100
cmp dword [rbp + 0x20], 2
je 0x14001a100
cmp dword [rbp + 0x20], 1
sete cl
call fcn.1400195a8
mov ebx, eax
test eax, eax
jns 0x14001a102
mov eax, ebx
add rsp, 0x50
pop rsi
pop rbx
pop rbp
ret
xor ebx, ebx
and dword [rbp + 0x30], 0
mov dword [rbp + 0x28], 4
call fcn.14001935c
test al, al
je 0x14001a168
mov eax, dword [rbp + 0x20]
test eax, eax
jne 0x14001a163
lea rax, [rbp + 0x28]
mov r9d, 0x10010
mov qword [rsp + 0x30], rax
lea r8, str.Mode
lea rax, [rbp + 0x30]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x28], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPerceptionSimulationExtensions
and qword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x14001a168
mov eax, dword [rbp + 0x20]
cmp eax, 2
jne 0x14001a0f5
and qword [rbp - 8], 0
lea rsi, fcn.1400081c0
lea rcx, [rbp - 0x10]
mov qword [rbp - 0x10], rsi
call fcn.140019290
mov ebx, eax
test eax, eax
js 0x14001a1c6
mov rcx, qword [rbp - 8]
lea rax, [rbp + 0x20]
mov dword [rsp + 0x28], 4
lea rdx, str.Mode
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
cmp qword [rbp - 8], 0
mov qword [rbp - 0x10], rsi
je 0x14001a0f5
lea rcx, [rbp - 0x10]
call fcn.1400081c0
test al, al
jne 0x14001a0f5
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
mov edx, 1
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.1400062e0
int3