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

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rdi
sub rsp, 0x98
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rdi, rcx
lea rcx, [rsp + 0x58]
call fcn.1400abf20
nop
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0xc0], ebx
mov dword [rsp + 0xb8], ebx
mov qword [rsp + 0x38], rbx
lea rcx, [rdi + 0x6428]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWARESiemensSWSCommonData
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140042671
mov dword [rsp + 0x40], 0xa
lea rdx, [0x14011cbb0]
lea rcx, [rsp + 0x40]
call fcn.1400bb178
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0xb8]
xor r8d, r8d
lea rdx, str.FctRights
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140042765
cmp dword [rsp + 0xb8], 3
jne 0x140042765
mov ecx, dword [rsp + 0xc0]
call qword [sym.imp.MSVCR110.dll_malloc]
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x1400426d2
call sub.mfc110u.dll_Ordinal_2292
lea rcx, [rsp + 0xc0]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xb8]
xor r8d, r8d
lea rdx, str.FctRights
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14004274c
cmp dword [rsp + 0xb8], 3
jne 0x14004274c
mov r8d, dword [rsp + 0xc0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.1400acc00
mov qword [rsp + 0x30], rbx
lea rdx, [rdi + 0xc90]
lea rcx, [rsp + 0x58]
call fcn.1400ac450
lea rcx, [rdi + 0x6418]
mov rax, qword [rcx]
call qword [rax + gethostname]
nop
jmp 0x140042789
mov dword [rsp + 0x48], reloc.OLEAUT32.dll_SafeArrayLock
lea rdx, [0x14011cbb0]
lea rcx, [rsp + 0x48]
call fcn.1400bb178
mov dword [rsp + 0x44], reloc.OLEAUT32.dll_SafeArrayLock
lea rdx, [0x14011cbb0]
lea rcx, [rsp + 0x44]
call fcn.1400bb178
nop
xor ebx, ebx
mov rdi, qword [rsp + 0xb0]
mov dword [rsp + 0xb0], SafeArrayCopyData
lea rcx, [rdi + 0xc90]
lea rdx, [rsp + 0xb0]
call fcn.14003e0c0
mov dword [rax], 1
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400427be
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400427d3
call qword [sym.imp.MSVCR110.dll_free]
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x58]
call fcn.1400acc60
mov rcx, rax
call qword [sym.imp.MSVCR110.dll_free]
nop
lea rcx, [rsp + 0x58]
call fcn.1400abfb0
add rsp, 0x98
pop rdi
pop rbx
ret

Function at 0x140042ba0
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x20
mov rax, rdx
mov rdx, qword [str.set_checkout_data]
mov rbx, rcx
mov rcx, rax
call fcn.1400b6780
test rax, rax
je 0x140042bd6
lea r8, [rbx + 0x64d0]
lea rdx, str.ENABLED
mov rcx, rax
call fcn.1400b4210
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140043a20
Function at 0x140043a20
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x70
mov qword [r11 - 0x40], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rbx, rcx
mov qword [r11 + 0x10], 0
lea rax, [r11 + 0x10]
mov qword [r11 - 0x58], rax
mov r9d, 0x20006
xor r8d, r8d
lea rdx, str.SOFTWARESiemensSWSCommonData
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140043a81
mov dword [rsp + 0x30], 0xa
lea rdx, [0x14011cbb0]
lea rcx, [rsp + 0x30]
call fcn.1400bb178
lea rcx, [rsp + 0x40]
call fcn.1400abf20
nop
mov edx, dword [rbx + 0x64d0]
lea rcx, [rsp + 0x40]
call fcn.1400ac9e0
mov edi, dword [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1400acc60
mov rbx, rax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.CheckOutData
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x140043ae3
mov rcx, rbx
call qword [sym.imp.MSVCR110.dll_free]
nop
lea rcx, [rsp + 0x40]
call fcn.1400abfb0
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x140043b01
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140043b0a
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret

Function at 0x140043fd0
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x70
mov qword [rax - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rbx, rcx
mov qword [rax + 0x10], 0
add rcx, 0x6428
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
lea rdx, str.SOFTWARESiemensSWSCommonData
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14004404c
mov dword [rsp + 0x30], 0xa
lea rdx, [0x14011cbb0]
lea rcx, [rsp + 0x30]
call fcn.1400bb178
lea rcx, [rsp + 0x40]
call fcn.1400abf20
nop
lea rdx, [rbx + 0xc90]
lea rcx, [rsp + 0x40]
call fcn.1400ac790
mov esi, dword [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1400acc60
mov rdi, rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.FctRights
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rdi, rdi
je 0x1400440ae
mov rcx, rdi
call qword [sym.imp.MSVCR110.dll_free]
lea rcx, [rbx + 0x6418]
mov rax, qword [rcx]
call qword [rax + gethostname]
nop
lea rcx, [rsp + 0x40]
call fcn.1400abfb0
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400440da
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x1400440e3
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14005de40
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r14
sub rsp, 0xb8
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rsi, rcx
xor r14d, r14d
mov qword [rsp + 0xf0], r14
add rcx, 0x10
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea rcx, [rsp + 0x60]
call fcn.1400abf20
nop
lea rcx, [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdi, qword [rsi + 0x38]
mov rbx, qword [rdi]
mov edx, dword [rsi + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1400ac980
nop dword [rax]
cmp rbx, rdi
je 0x14005dec0
lea rcx, [rbx + 0x10]
call fcn.14005e250
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400aca90
mov rbx, qword [rbx]
jmp 0x14005dea0
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + gethostname]
mov edi, dword [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.1400acc60
mov rbx, rax
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWARESiemensSWSCommonDataFavorites
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x14005df40
mov dword [rsp + 0x50], 0xa
lea rdx, [0x14011cbb0]
lea rcx, [rsp + 0x50]
call fcn.1400bb178
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
mov r9d, 3
xor r8d, r8d
lea rdx, str.Favorites
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14005df84
mov dword [rsp + 0x54], reloc.OLEAUT32.dll_SafeArrayLock
lea rdx, [0x14011cbb0]
lea rcx, [rsp + 0x54]
call fcn.1400bb178
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x14005dfa8
mov rcx, rbx
call qword [sym.imp.MSVCR110.dll_free]
mov qword [rsp + 0xf8], r14
mov dword [rsp + 0xe8], r14d
jmp 0x14005dfba
lea rcx, [rsp + 0x60]
call fcn.1400abfb0
nop
jmp 0x14005dfcf
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + gethostname]
mov eax, dword [rsp + 0xe8]
add rsp, 0xb8
pop r14
pop rdi
pop rsi
pop rbx
ret

Function at 0x14005e1b0
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rbx, rdx
xor edx, edx
mov rsi, rcx
lea r8d, [rdx + 0x2c]
lea rcx, [rsp + 0x24]
call sub.MSVCR110.dll_memset
xor eax, eax
lea rdi, [rsp + 0x20]
mov ecx, 0x30
lea rdx, [rsi + 0x802]
lea r8, [rsp + 0x20]
rep stosb byte [rdi], al
mov rcx, rsi
mov r9, rbx
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x24], 2
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x2c], 6
call qword [sym.imp.WS2_32.dll_GetAddrInfoW]
test eax, eax
je 0x14005e235
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
xor eax, eax
add rsp, 0x50
pop rdi
ret
Function at 0x140061cf0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push rdi
sub rsp, 0x260
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x280], rbx
mov rax, qword [0x140121ef0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rdx
mov rbx, rcx
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x23]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x140061de6
lea r8, [rsp + 0x40]
lea rdx, str._sSiemensAutomationAutomation_License_ManagerReport
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc110u.dll_Ordinal_1632]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140061d95
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc110u.dll_Ordinal_1632]
mov rcx, rax
call qword [sym.imp.MSVCR110.dll__wmkdir]
lea r9, str.MLK_Report_CFG_Ext.xml
mov r8, qword [rsp + 0x30]
lea rdx, str._s_s
mov rcx, rdi
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea r8, [rsp + 0x40]
lea rdx, str._sSiemensAutomationAutomation_License_Managerlogging
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea r9, str.MLK_Report_CFG_Int.xml
mov r8, qword [rsp + 0x30]
lea rdx, str._s_s
mov rcx, rbx
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
jmp 0x140061df9
mov rcx, rbx
call qword [sym.imp.mfc110u.dll_Ordinal_4122]
mov rcx, rdi
call qword [sym.imp.mfc110u.dll_Ordinal_4122]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400bb310
mov rbx, qword [rsp + 0x280]
add rsp, 0x260
pop rdi
ret
Function at 0x1400663c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
add rcx, 0x90
mov rdi, r9
mov rbp, r8
mov rbx, rdx
call qword [sym.imp.mfc110u.dll_Ordinal_1632]
mov r14, qword [rsp + 0x70]
xor r15d, r15d
xor r9d, r9d
mov rdx, rbx
mov qword [rdi], r15
lea r8d, [r15 + 1]
mov rcx, rax
mov dword [r14], r15d
call fcn.140066600
mov rsi, rax
test rax, rax
je 0x140066492
lea rax, [rsp + 0x70]
lea r9, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, rbp
mov rcx, rsi
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov eax, dword [rsp + 0x70]
mov dword [r14], eax
test ebx, ebx
jne 0x140066475
mov ecx, eax
call sub.mfc110u.dll_Ordinal_265
lea rcx, [rsp + 0x70]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
xor r8d, r8d
mov rdx, rbp
mov rcx, rsi
mov qword [rdi], rax
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140066487
lea eax, [rbx + 1]
jmp 0x140066495
mov rcx, qword [rdi]
call sub.mfc110u.dll_Ordinal_266
mov qword [rdi], r15
mov eax, r15d
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x1400664b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
add rcx, 0x90
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call qword [sym.imp.mfc110u.dll_Ordinal_1632]
mov r9d, ebx
mov rcx, rax
mov r8, rdi
mov rdx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp 0x1400666c0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbx, qword [rsp + 0x70]
mov edi, r9d
mov rsi, r8
test rbx, rbx
je 0x1400666ea
mov dword [rbx], 0
mov r9, rbx
mov r8d, 1
call fcn.140066600
mov rbp, rax
test rax, rax
je 0x140066746
lea rax, [rsp + 0x70]
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov rdx, rsi
mov rcx, rbp
mov dword [rsp + 0x70], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rbp
mov esi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x14006674a
test rbx, rbx
je 0x140066746
mov dword [rbx], esi
mov eax, edi
jmp 0x14006674e
mov eax, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400666c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
add rcx, 0x90
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call qword [sym.imp.mfc110u.dll_Ordinal_1632]
mov r9d, ebx
mov rcx, rax
mov r8, rdi
mov rdx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp 0x1400666c0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbx, qword [rsp + 0x70]
mov edi, r9d
mov rsi, r8
test rbx, rbx
je 0x1400666ea
mov dword [rbx], 0
mov r9, rbx
mov r8d, 1
call fcn.140066600
mov rbp, rax
test rax, rax
je 0x140066746
lea rax, [rsp + 0x70]
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov rdx, rsi
mov rcx, rbp
mov dword [rsp + 0x70], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rbp
mov esi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x14006674a
test rbx, rbx
je 0x140066746
mov dword [rbx], esi
mov eax, edi
jmp 0x14006674e
mov eax, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140066770
Capabilities:
Query or enumerate registry value

Disassembly:
push r14
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov r14, r9
mov rax, r8
mov r10, rdx
mov rbx, rcx
xor esi, esi
mov dword [rsp + 0x34], esi
mov rdi, qword [rsp + 0x88]
test rdi, rdi
je 0x1400667b4
mov dword [rdi], esi
mov r9, rdi
mov r8d, 1
mov rdx, rax
mov rcx, r10
call fcn.140066600
mov rbp, rax
test rax, rax
jne 0x1400667e6
mov rdx, qword [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.mfc110u.dll_Ordinal_286]
jmp 0x1400668a9
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x140066868
mov edx, dword [rsp + 0x88]
shr edx, 1
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc110u.dll_Ordinal_4828]
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
or edx, 0xffffffff
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc110u.dll_Ordinal_12073]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x14006688f
test rdi, rdi
je 0x14006687c
mov dword [rdi], esi
mov rdx, qword [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.mfc110u.dll_Ordinal_286]
jmp 0x14006689e
lea rdx, [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.mfc110u.dll_Ordinal_280]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x140069120
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebp, dword [rcx + 0x150]
add rcx, 0x90
mov rdi, r9
mov rsi, r8
mov rbx, rdx
call qword [sym.imp.mfc110u.dll_Ordinal_1632]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call fcn.140066600
mov rbx, rax
test rax, rax
je 0x1400691aa
mov eax, dword [rsp + 0x60]
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test ebp, ebp
je 0x14006919a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
sete al
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400691c0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov esi, dword [rcx + 0x150]
add rcx, 0x90
mov rdi, r8
mov rbx, rdx
mov dword [rsp + 0x58], r9d
call qword [sym.imp.mfc110u.dll_Ordinal_1632]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call fcn.140066600
mov rbx, rax
test rax, rax
jne 0x140069216
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
lea rax, [rsp + 0x58]
mov r9d, 4
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test esi, esi
je 0x14006924c
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
xor eax, eax
test edi, edi
sete al
add rsp, 0x30
pop rdi
ret
Function at 0x140069300
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov esi, dword [rcx + 0x150]
add rcx, 0x90
mov rbp, r9
mov r14, r8
mov rdi, rdx
call qword [sym.imp.mfc110u.dll_Ordinal_1632]
mov rcx, rax
test r14, r14
jne 0x140069365
xor r8d, r8d
xor edx, edx
call fcn.1400668d0
mov rbx, rax
test rax, rax
jne 0x140069357
xor eax, eax
jmp 0x1400693e0
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x1400693c1
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
call fcn.140066600
mov rbx, rax
test rbp, rbp
jne 0x14006938e
test rax, rax
je 0x140069350
mov rdx, r14
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x1400693c1
test rax, rax
je 0x140069350
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r9d, 1
xor r8d, r8d
lea eax, [rax*2 + 2]
mov rdx, r14
mov rcx, rbx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test esi, esi
je 0x1400693d0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
sete al
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140069e60
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rsi, r8
mov r14, rdx
mov r15, rcx
or r8, 0xffffffffffffffff
xor edx, edx
mov rcx, rsi
mov rdi, r9
xor ebx, ebx
call sub.mfc110u.dll_Ordinal_13418
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, r14
mov rcx, r15
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140069f91
cmp dword [rsp + 0x34], 7
jne 0x140069f77
mov ecx, dword [rsp + 0x30]
mov qword [rsp + 0x60], rbp
add ecx, 2
call sub.mfc110u.dll_Ordinal_265
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rbp, rax
lea rax, [rsp + 0x30]
mov rdx, r14
mov qword [rsp + 0x28], rax
mov rcx, r15
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140069f61
mov eax, dword [rsp + 0x30]
mov byte [rax + rbp], bl
mov eax, dword [rsp + 0x30]
inc eax
mov byte [rax + rbp], bl
cmp word [rbp], 0
mov rbx, rbp
je 0x140069f4d
nop word [rax + rax]
mov rdx, qword [rsi + 0x10]
mov r8, rbx
mov rcx, rsi
call sub.mfc110u.dll_Ordinal_12753
or rax, 0xffffffffffffffff
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140069f33
lea rbx, [rbx + rax*2]
add rbx, 2
cmp word [rbx], 0
jne 0x140069f20
mov rcx, rbp
mov ebx, 1
call sub.mfc110u.dll_Ordinal_266
mov rbp, qword [rsp + 0x60]
jmp 0x140069f98
test rdi, rdi
je 0x140069f68
mov dword [rdi], eax
mov rcx, rbp
call sub.mfc110u.dll_Ordinal_266
mov rbp, qword [rsp + 0x60]
jmp 0x140069f98
mov ecx, reloc.WS2_32.dll_listen
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
test rdi, rdi
je 0x140069f9a
mov dword [rdi], reloc.WS2_32.dll_listen
jmp 0x140069f9a
test rdi, rdi
je 0x140069f98
mov dword [rdi], eax
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x14006a2b0
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x70
movzx ebp, dx
mov rbx, rcx
lea rdx, [rcx + 0x20]
movzx esi, r8w
lea rcx, [rsp + 0x50]
mov r8d, 1
mov edi, r9d
call sub.mfc110u.dll_Ordinal_936
lea rcx, [rbx + 0x10]
call qword [sym.imp.mfc110u.dll_Ordinal_1632]
lea rcx, [rbx + 8]
mov r14, rax
call qword [sym.imp.mfc110u.dll_Ordinal_1632]
mov rcx, qword [rbx]
mov r15, rax
test rcx, rcx
je 0x14006a318
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov qword [rbx], 0
mov rdx, r14
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rcx, qword [rsp + 0xd0]
mov r9d, edi
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0xc8]
movzx r8d, si
mov qword [rsp + 0x38], rcx
mov ecx, dword [rsp + 0xc0]
movzx edx, bp
mov dword [rsp + 0x30], ecx
movzx ecx, word [rsp + 0xb8]
mov qword [rbx], rax
mov word [rsp + 0x28], cx
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, qword [rbx]
mov edi, eax
test rcx, rcx
je 0x14006a390
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov qword [rbx], 0
lea rcx, [rsp + 0x50]
call sub.mfc110u.dll_Ordinal_13894
lea r11, [rsp + 0x70]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret