joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002b70
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
lea rax, vtable.IPCService.0
mov rbx, rcx
mov qword [rcx], rax
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
xor ebp, ebp
mov dword [rbx + 0x40], 0xffffffff
lea rdx, [rsp + 0x30]
mov qword [rbx + 0x48], rbp
lea rcx, [rsp + 0x48]
mov qword [rbx + 0x50], rbp
mov esi, eax
mov dword [rbx + 0x44], ebp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov dword [rbx + 0x20], ebp
call fcn.140007f10
lea rcx, [rbx + 0x38]
mov dword [rbx + 0x58], ebp
lea rdx, str.GlobalEEU_Memory_Map_Mutex
call fcn.140009be0
test eax, eax
jne 0x140002c0e
mov rcx, qword [0x14008fd90]
test rcx, rcx
je 0x140002d24
lea r9, str.CreateMutex_failed.
mov edx, 0x60004008
mov r8d, 1
call fcn.140006a40
jmp 0x140002d24
xor r9d, r9d
lea rax, str.GlobalEEU_Memory_Map
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
xor ecx, ecx
mov dword [rsp + 0x20], 0x17c
lea r8d, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov qword [rbx + 0x28], rax
test rax, rax
jne 0x140002c58
mov rcx, qword [0x14008fd90]
test rcx, rcx
je 0x140002d24
lea r9, str.CreateFileMapping_failed.
jmp 0x140002bf9
xor r9d, r9d
mov qword [rsp + 0x20], 0x17c
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 0x30], rax
test rax, rax
jne 0x140002c99
mov rcx, qword [0x14008fd90]
test rcx, rcx
je 0x140002d24
lea r9, str.MapViewOfFile_failed.
jmp 0x140002bf9
xor edx, edx
mov r8d, 0x17c
mov rcx, rax
call fcn.140013b00
mov rax, qword [rbx + 0x30]
mov edx, esi
mov rcx, rbx
mov dword [rax], 8
call fcn.140003350
lea rdx, [rsp + 0x80]
lea rcx, str.ClientStatusMonitoring
call fcn.140007710
test eax, eax
je 0x140002d1d
cmp dword [rsp + 0x80], ebp
je 0x140002d1d
mov r9, rbx
lea r8, [0x140003a70]
mov edx, 8
lea rcx, [rbx + 0x50]
call fcn.140009d60
test eax, eax
jne 0x140002d1d
mov rcx, qword [0x14008fd90]
test rcx, rcx
je 0x140002d24
lea r9, str.CreateTheThread_for_GetClientStatusThread_failed.
mov edx, 0x60004002
lea r8d, [rax + 1]
call fcn.140006a40
jmp 0x140002d24
mov dword [rbx + 0x48], 1
lea r11, [rsp + 0x70]
mov rax, rbx
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140003830
Capabilities:
Get session information

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x260
cmp dword [rcx + 0x58], 0
mov rbx, rcx
jne 0x140003a59
mov qword [rax + 0x18], rbp
xor ebp, ebp
mov qword [rax - 0x10], rsi
mov qword [rax - 0x18], rdi
nop word [rax + rax]
mov edx, 0x3a98
lea rcx, [0x14008fda0]
call fcn.140009d40
cmp eax, 0x102
jne 0x140003a41
cmp dword [rbx + 0x58], ebp
jne 0x140003a41
cmp dword [rbx + 0x40], 0xffffffff
je 0x140003a38
cmp dword [rbx + 0x4c], ebp
je 0x14000389c
mov dword [rbx + 0x4c], ebp
jmp 0x140003a38
lea rcx, [rbx + 0x38]
call fcn.140009ba0
test eax, eax
jne 0x1400038d3
mov rcx, qword [0x14008fd90]
test rcx, rcx
je 0x140003a38
lea r9, str.IPCService::GetClientStatusLoop_AcquireTheMutex_failed.
mov edx, 0x60004008
lea r8d, [rax + 1]
call fcn.140006a40
jmp 0x140003a38
mov rdx, qword [rbx + 0x30]
lea rcx, [rbx + 0x38]
mov edi, dword [rdx + 4]
mov eax, edi
and eax, 0xfffffffe
mov dword [rdx + 4], eax
call fcn.140009c60
test dil, 5
jne 0x140003a38
mov edx, dword [rbx + 0x40]
lea rax, [rsp + 0x270]
lea r9, [rsp + 0x278]
mov qword [rsp + 0x20], rax
mov r8d, 8
mov qword [rsp + 0x278], rbp
xor ecx, ecx
call sub.WTSAPI32.dll_WTSQuerySessionInformationA
test eax, eax
je 0x140003a38
mov rcx, qword [rsp + 0x278]
cmp dword [rcx], 2
jb 0x140003941
call sub.WTSAPI32.dll_WTSFreeMemory
jmp 0x140003a38
call sub.WTSAPI32.dll_WTSFreeMemory
mov edi, dword [rbx + 0x40]
lea r8, str.GlobalAMDClient
mov r9d, edi
lea rdx, str._s__u
lea rcx, [rsp + 0x30]
call fcn.140002b10
mov r9d, edi
lea r8, str.GlobalAMDClientAck
lea rdx, str._s__u
lea rcx, [rsp + 0x140]
call fcn.140002b10
mov rcx, qword [rbx + 8]
lea rdi, [rdi*8]
add rcx, rdi
lea rdx, [rsp + 0x30]
xor r8d, r8d
call fcn.140009c80
test eax, eax
je 0x140003a0e
mov rcx, qword [rbx + 0x10]
lea rdx, [rsp + 0x140]
add rcx, rdi
xor r8d, r8d
call fcn.140009c80
test eax, eax
je 0x140003a0e
mov ecx, dword [rbx + 0x40]
call fcn.140004f40
mov rcx, qword [0x14008fd90]
test eax, eax
je 0x1400039ec
test rcx, rcx
je 0x140003a38
mov r9d, dword [rbx + 0x40]
lea r8, str.Client_started_for_session_id__u__because_status_was_not_running_
mov edx, 4
call fcn.140006ca0
jmp 0x140003a38
test rcx, rcx
je 0x140003a38
mov eax, dword [rbx + 0x40]
lea r9, str.Client_for_session_id__u_has_to_be_relaunched.
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov edx, 0x40004003
call fcn.140006a40
jmp 0x140003a38
mov rcx, qword [0x14008fd90]
test rcx, rcx
je 0x140003a38
mov eax, dword [rbx + 0x40]
lea r9, str.Create_client_event_failed_for_session_id_u.
mov edx, 0x60004003
mov dword [rsp + 0x20], eax
mov r8d, 1
call fcn.140006a40
cmp dword [rbx + 0x58], ebp
je 0x140003860
mov rsi, qword [rsp + 0x258]
mov rdi, qword [rsp + 0x250]
mov rbp, qword [rsp + 0x280]
add rsp, 0x260
pop rbx
ret
Function at 0x140004040
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push rbx
sub rsp, 0x250
mov ebx, ecx
call fcn.1400043d0
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call fcn.140013b00
xor edx, edx
lea rcx, [rsp + 0x140]
mov r8d, 0x104
call fcn.140013b00
mov r8d, 0x104
lea rdx, [rsp + 0x140]
lea rcx, str.COMMONPROGRAMFILES
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x1400040f3
lea rax, str.ATI_TechnologiesDSEManager.exe
mov qword [rsp + 0x28], 0
lea r9, [rsp + 0x140]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rcx, [rsp + 0x30]
mov edx, 0x104
call fcn.140047184
test eax, eax
jne 0x1400040de
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400040f3
cmp eax, 0x10
je 0x1400040f3
lea rdx, [rsp + 0x30]
mov ecx, ebx
call fcn.140004110
add rsp, 0x250
pop rbx
ret
lea rcx, str.Unable_to_create_path_for_DSE_Manager._n
call fcn.1400046d0
add rsp, 0x250
pop rbx
ret
Function at 0x1400043d0
Capabilities:
Check if file exists
Enumerate processes
Query environment variable
Terminate process

Disassembly:
push rbp
push r14
lea rbp, [rsp - 0x4b8]
sub rsp, 0x5b8
xor edx, edx
lea rcx, [rbp + 0x190]
mov r8d, 0x104
call fcn.140013b00
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x104
call fcn.140013b00
mov r8d, 0x104
lea rdx, [rsp + 0x50]
lea rcx, str.COMMONPROGRAMFILES
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x140004661
lea rax, str.ATI_TechnologiesDSEManager.exe
xor r14d, r14d
mov qword [rsp + 0x28], r14
lea r9, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.140047184
test eax, eax
jne 0x140004479
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140004661
cmp eax, 0x10
je 0x140004661
xor edx, edx
mov qword [rsp + 0x5e0], rsi
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400044b3
lea rcx, str.Unable_to_get_snapshot_of_all_processes._n
call fcn.1400046d0
mov rsi, qword [rsp + 0x5e0]
add rsp, 0x5b8
pop r14
pop rbp
ret
mov qword [rsp + 0x5b0], rdi
mov edi, r14d
mov qword [rsp + 0x5d8], rbx
nop word [rax + rax]
xor edx, edx
lea rcx, [rbp + 0x64]
mov r8d, 0x12c
call fcn.140013b00
mov dword [rbp + 0x60], 0x130
test edi, edi
jne 0x1400044fa
lea rdx, [rbp + 0x60]
mov rcx, rsi
call sub.KERNEL32.dll_Process32First
jmp 0x140004508
jle 0x140004510
lea rdx, [rbp + 0x60]
mov rcx, rsi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x140004635
xor edx, edx
lea rcx, [rbp + 0x2a0]
mov r8d, 0x100
call fcn.140013b00
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x100
call fcn.140013b00
mov qword [rsp + 0x40], 0x100
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rcx, [rbp + 0x8c]
lea rax, [rbp + 0x2a0]
mov qword [rsp + 0x30], 0x100
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
xor edx, edx
call fcn.140048188
test eax, eax
jne 0x14000462e
lea rdx, str.DSEManager
lea rcx, [rbp + 0x2a0]
call fcn.140046bec
test eax, eax
jne 0x14000462e
lea rdx, str..exe
lea rcx, [rsp + 0x50]
call fcn.140046bec
test eax, eax
jne 0x14000462e
mov r8d, dword [rbp + 0x68]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000462e
xor edx, edx
lea rcx, [rbp + 0x3a0]
mov r8d, 0x104
call fcn.140013b00
lea r9, [rbp + 0x4d0]
mov dword [rbp + 0x4d0], 0x104
lea r8, [rbp + 0x3a0]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameA]
test eax, eax
je 0x140004625
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x3a0]
call fcn.140046bec
test eax, eax
jne 0x140004625
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
jmp 0x1400044d0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x5b0]
mov rbx, qword [rsp + 0x5d8]
mov rsi, qword [rsp + 0x5e0]
add rsp, 0x5b8
pop r14
pop rbp
ret
lea rcx, str.Unable_to_create_path_for_DSE_Manager._n
call fcn.1400046d0
add rsp, 0x5b8
pop r14
pop rbp
ret
Function at 0x1400051b0
Capabilities:
Get session information

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r14
sub rsp, 0x40
mov rax, qword [0x14008fde8]
xor r14d, r14d
mov qword [rsp + 0x30], rax
mov esi, r14d
mov rax, qword [0x14008fda0]
mov qword [rsp + 0x38], rax
call fcn.140005420
mov ebx, eax
mov qword [rsp + 0x70], rdi
lea ebp, [r14 + 0x32]
nop dword [rax + rax]
cmp ebx, 2
jne 0x1400053f4
mov r9d, ebp
lea rdx, [rsp + 0x30]
xor r8d, r8d
mov ecx, ebx
call sub.KERNEL32.dll_WaitForMultipleObjects
cmp eax, 0xffffffff
je 0x1400053a8
cmp eax, 0x102
jne 0x1400053cb
mov ebx, r14d
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov edi, eax
cmp eax, 0xffffffff
je 0x14000539b
mov ecx, edi
call fcn.1400050d0
test eax, eax
je 0x14000539b
lea rax, [rsp + 0x60]
mov qword [rsp + 0x68], r14
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r8d, 8
mov edx, edi
xor ecx, ecx
call sub.WTSAPI32.dll_WTSQuerySessionInformationA
test eax, eax
je 0x14000539b
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx]
test eax, eax
jne 0x140005288
mov rax, qword [0x14008fdd8]
mov dword [rax + rdi*4], 3
jmp 0x14000529f
cmp eax, 1
jne 0x14000533d
mov rax, qword [0x14008fdd8]
mov dword [rax + rdi*4], 1
mov rcx, qword [rsp + 0x68]
call sub.WTSAPI32.dll_WTSFreeMemory
mov rcx, qword [0x14008fd98]
mov edx, edi
mov ebx, 1
call fcn.140003b20
mov rcx, qword [0x14008fd98]
mov edx, edi
call fcn.140003780
test eax, eax
jne 0x1400052fc
mov rcx, qword [0x14008fd90]
test rcx, rcx
je 0x1400052f2
lea r9, str.Create_client_event_failed_for_session_id_u.
mov dword [rsp + 0x20], edi
mov edx, 0x60004003
mov r8d, ebx
call fcn.140006a40
mov ebx, 3
jmp 0x14000539b
mov ecx, edi
call fcn.140004f40
test eax, eax
je 0x140005327
mov rcx, qword [0x14008fd90]
test rcx, rcx
je 0x140005327
mov r9d, edi
lea r8, str.Client_started_at_service_start_time_for_session_id__u
mov edx, 4
call fcn.140006ca0
mov rcx, qword [0x14008fd98]
xor r8d, r8d
mov edx, 0x200
call fcn.140002f90
jmp 0x14000539b
cmp eax, 2
mov rax, qword [0x14008fd90]
jne 0x140005378
test rax, rax
je 0x140005367
lea r8, str.The_WinStation_is_in_the_process_of_connecting_to_the_client.
mov edx, 4
mov rcx, rax
call fcn.140006ca0
mov rcx, qword [rsp + 0x68]
call sub.WTSAPI32.dll_WTSFreeMemory
mov ebx, 2
mov ebp, 0xfa
jmp 0x14000539b
test rax, rax
je 0x140005396
lea r8, str.Error:_Give_up_waiting_for_client_connected.
mov edx, 4
mov rcx, rax
call fcn.140006ca0
mov rcx, qword [rsp + 0x68]
call sub.WTSAPI32.dll_WTSFreeMemory
inc esi
cmp esi, 0x64
jb 0x1400051f0
jmp 0x1400053d0
mov rcx, qword [0x14008fd90]
test rcx, rcx
je 0x1400053cb
lea r9, str.WaitForSingleEvent_failed.
mov edx, 0x60004006
mov r8d, 1
call fcn.140006a40
cmp esi, 0x64
jb 0x1400053f4
cmp ebx, 2
jne 0x1400053f4
mov rcx, qword [0x14008fd90]
mov ebx, 4
test rcx, rcx
je 0x1400053f4
lea r8, str.WTS_Connect_Query_Times_Out.
mov edx, ebx
call fcn.140006ca0
lea rcx, [0x14008fdf0]
mov dword [0x14008fde4], ebx
call fcn.140009d20
mov rdi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rsi
pop rbp
ret
Function at 0x140005420
Capabilities:
Get session information

Disassembly:
push rbx
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov ebx, eax
cmp eax, 0xffffffff
je 0x1400055af
mov ecx, ebx
call fcn.1400050d0
test eax, eax
je 0x1400055af
lea rax, [rsp + 0x40]
mov qword [rsp + 0x48], 0
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8d, 8
mov edx, ebx
xor ecx, ecx
call sub.WTSAPI32.dll_WTSQuerySessionInformationA
test eax, eax
je 0x1400055af
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
jne 0x140005490
mov rax, qword [0x14008fdd8]
mov dword [rax + rbx*4], 3
jmp 0x1400054a7
cmp eax, 1
jne 0x14000554b
mov rax, qword [0x14008fdd8]
mov dword [rax + rbx*4], 1
mov rcx, qword [rsp + 0x48]
call sub.WTSAPI32.dll_WTSFreeMemory
mov rcx, qword [0x14008fd98]
mov edx, ebx
call fcn.140003b20
mov rcx, qword [0x14008fd98]
mov edx, ebx
call fcn.140003780
test eax, eax
jne 0x140005501
mov rcx, qword [0x14008fd90]
test rcx, rcx
je 0x1400054f6
lea r9, str.Create_client_event_failed_for_session_id_u.
mov dword [rsp + 0x20], ebx
mov edx, 0x60004003
lea r8d, [rax + 1]
call fcn.140006a40
mov eax, 3
add rsp, 0x30
pop rbx
ret
mov ecx, ebx
call fcn.140004f40
test eax, eax
je 0x14000552c
mov rcx, qword [0x14008fd90]
test rcx, rcx
je 0x14000552c
mov r9d, ebx
lea r8, str.Client_started_at_service_start_time_for_session_id__u
mov edx, 4
call fcn.140006ca0
mov rcx, qword [0x14008fd98]
xor r8d, r8d
mov edx, 0x200
call fcn.140002f90
mov eax, 1
add rsp, 0x30
pop rbx
ret
cmp eax, 2
jne 0x140005585
mov rax, qword [0x14008fd90]
test rax, rax
je 0x140005575
lea r8, str.The_WinStation_is_in_the_process_of_connecting_to_the_client.
mov edx, 4
mov rcx, rax
call fcn.140006ca0
mov rcx, qword [rsp + 0x48]
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, 2
add rsp, 0x30
pop rbx
ret
mov r9, qword [0x14008fd90]
test r9, r9
je 0x1400055aa
lea r8, str.Error:_Give_up_waiting_for_client_connected.
mov edx, 4
mov rcx, r9
call fcn.140006ca0
mov rcx, qword [rsp + 0x48]
call sub.WTSAPI32.dll_WTSFreeMemory
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x1400067e0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
mov edx, ecx
lea rcx, [0x14008fdf0]
call fcn.140009d40
cmp eax, 0x102
jne 0x14000681a
mov rcx, qword [0x14008fd90]
test rcx, rcx
je 0x14000681a
lea r8, str.Time_out_waiting_for_service_init_thread_to_finish
mov edx, 0x10000
add rsp, 0x28
jmp fcn.140006ca0
add rsp, 0x28
ret

Function at 0x140006820
Capabilities:
Print debug messages

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x130
xor edi, edi
mov dword [rcx + 0x114], edx
lea rax, vtable.LogMsg.0
mov qword [rcx + 0x10c], rdi
mov qword [rcx], rax
lea rdx, [r11 + 0x10]
mov qword [rcx + 0x118], rdi
mov rbx, rcx
lea rcx, str.LogOutputDebug
mov dword [r11 + 0x10], edi
mov r14, r9
mov rbp, r8
call fcn.140007710
test eax, eax
je 0x140006887
cmp dword [rsp + 0x158], edi
je 0x140006887
or dword [rbx + 0x10c], 1
lea rdx, [rsp + 0x158]
lea rcx, str.LogOutputFile
call fcn.140007710
test eax, eax
je 0x1400068af
cmp dword [rsp + 0x158], edi
je 0x1400068af
or dword [rbx + 0x10c], 4
lea rdx, [rsp + 0x158]
lea rcx, str.LogMaskLevel
call fcn.140007710
test eax, eax
je 0x1400068d8
mov eax, dword [rsp + 0x158]
test eax, eax
je 0x1400068d8
mov dword [rbx + 0x110], eax
mov rdx, rbp
lea rcx, [rbx + 8]
call fcn.140002b10
test byte [rbx + 0x10c], 4
je 0x140006936
lea r9, [rbx + 8]
mov r8, r14
lea rdx, str._s_s.txt
lea rcx, [rsp + 0x20]
call fcn.140002b10
lea rdx, [0x140075184]
lea rcx, [rsp + 0x20]
call fcn.140048fa8
mov qword [rbx + 0x118], rax
test rax, rax
jne 0x140006936
lea rcx, str.fopen_failed.
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
and dword [rbx + 0x10c], 0xfffffffb
cmp qword [0x14008fdf8], rdi
jne 0x140006960
mov ecx, 0x2e0
call fcn.14001281c
test rax, rax
je 0x140006959
mov rcx, rax
call fcn.14000c740
mov rdi, rax
mov qword [0x14008fdf8], rdi
lea r11, [rsp + 0x130]
mov rax, rbx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140006b80
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x440
test byte [rcx + 0x10c], 5
mov rdi, r9
mov ebp, r8d
mov rbx, rcx
je 0x140006c83
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x450], rsi
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [rsp + 0x3c]
lea rcx, [rsp + 0x240]
movzx eax, word [rsp + 0x3e]
movzx r9d, word [rsp + 0x3a]
movzx r8d, word [rsp + 0x38]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
lea rdx, str._02d:_02d:_02d:_03d
call fcn.140002b10
test ebp, ebp
je 0x140006c1f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea r9, [rsp + 0x240]
lea r8, [rbx + 8]
mov qword [rsp + 0x20], rdi
lea rdx, str._s__t_s__s_GetLastError___x_r_n
lea rcx, [rsp + 0x40]
call fcn.140002b10
jmp 0x140006c41
lea r9, [rsp + 0x240]
mov qword [rsp + 0x20], rdi
lea r8, [rbx + 8]
lea rdx, str._s__t_s__s_r_n
lea rcx, [rsp + 0x40]
call fcn.140002b10
test byte [rbx + 0x10c], 1
mov rsi, qword [rsp + 0x450]
je 0x140006c5d
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test byte [rbx + 0x10c], 4
je 0x140006c83
mov rcx, qword [rbx + 0x118]
lea rdx, [rsp + 0x40]
call fcn.140006e60
mov rcx, qword [rbx + 0x118]
call fcn.140048c6c
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140006ca0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x658
mov rbx, r8
lea rbp, [rsp + 0x698]
mov edi, edx
mov rsi, rcx
call fcn.140002a20
mov qword [rsp + 0x30], rbp
lea rdx, [rsp + 0x250]
mov qword [rsp + 0x28], 0
mov r9, 0xffffffffffffffff
mov r8d, 0x200
mov qword [rsp + 0x20], rbx
mov rcx, qword [rax]
call fcn.140045b90
test dword [rsi + 0x110], edi
je 0x140006db4
test byte [rsi + 0x10c], 5
je 0x140006db4
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [rsp + 0x4c]
lea rdx, str._02d:_02d:_02d:_03d
movzx eax, word [rsp + 0x4e]
movzx r9d, word [rsp + 0x4a]
movzx r8d, word [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x450]
call fcn.140002b10
lea rax, [rsp + 0x250]
lea r8, [rsi + 8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x450]
lea rdx, str._s__t_s__s_r_n
lea rcx, [rsp + 0x50]
call fcn.140002b10
test byte [rsi + 0x10c], 1
je 0x140006d8e
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test byte [rsi + 0x10c], 4
je 0x140006db4
mov rcx, qword [rsi + 0x118]
lea rdx, [rsp + 0x50]
call fcn.140006e60
mov rcx, qword [rsi + 0x118]
call fcn.140048c6c
mov rcx, qword [0x14008fdf8]
test rcx, rcx
je 0x140006dd6
mov edx, dword [rsi + 0x114]
lea r9, [rsp + 0x250]
xor r8d, r8d
call fcn.14000cbc0
add rsp, 0x658
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140007260
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
lea rax, [rsp + 0x50]
xor edx, edx
mov qword [rsp + 0x20], rax
mov r9d, 0x10000
xor r8d, r8d
mov ebx, 1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1400072bc
mov rcx, qword [0x14008fd90]
test rcx, rcx
je 0x1400072af
mov r9d, eax
lea r8, str.DeleteRegKey_RegOpenKeyEx_failed_with_error_code_0x_08x.
lea edx, [rbx + 7]
call fcn.140006ae0
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rsp + 0x50]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x1400072f4
mov rcx, qword [0x14008fd90]
test rcx, rcx
je 0x1400072f2
mov r9, rdi
mov dword [rsp + 0x20], eax
lea r8, str.DeleteRegKey_RegDeleteKey_failed_for_pcPath___s_with_error_code_0x_08x.
mov edx, 8
call fcn.140006ae0
xor ebx, ebx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140007310
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov rdi, r8
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x20006
xor r8d, r8d
mov dword [rsp + 0x20], 0
mov rsi, rdx
mov ebx, 1
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x14000739a
mov rcx, qword [0x14008fd90]
test rcx, rcx
je 0x140007388
mov r9, rsi
mov dword [rsp + 0x20], eax
lea r8, str.DeleteRegValue_RegCreateKeyEx_failed_for_pcPath___s_with_error_code_0x_08x.
lea edx, [rbx + 7]
call fcn.140006ae0
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov rcx, qword [rsp + 0x78]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x1400073d2
mov rcx, qword [0x14008fd90]
test rcx, rcx
je 0x1400073d0
mov r9, rdi
mov dword [rsp + 0x20], eax
lea r8, str.DeleteRegValue_RegDeleteValue_failed_for_value___s_with_error_code_0x_08x.
mov edx, 8
call fcn.140006ae0
xor ebx, ebx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret