joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400bce80
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
lea rcx, [0x1400e9c70]
lea rdx, str.CVoipStreamCreationTimeMgr::OnAppSessionTypeChange
mov r8d, 0xa9
call fcn.140061d00
lea rdx, str.CVoipStreamCreationTimeMgr::OnAppSessionTypeChange
test rbx, rbx
jne 0x1400bcec5
mov r8d, 0xaa
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x30
pop rbx
jmp fcn.140061d00
mov rax, qword [rbx + 0x18]
lea rcx, str._s__d_nProcessType_d_sAppName_s
mov r9d, dword [rbx + 4]
mov r8d, 0xac
mov qword [rsp + 0x20], rax
call fcn.140061d00
mov rcx, qword [rbx + 0x18]
lea rdx, str.audiodg.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400bcf25
mov rax, qword [rbx + 0x18]
lea rdx, str.CVoipStreamCreationTimeMgr::OnAppSessionTypeChange
mov r9d, dword [rbx + 4]
lea rcx, str._s__d_nProcessType_d_sAppName_s__skip_audiodg.exe
mov r8d, 0xb0
mov qword [rsp + 0x20], rax
call fcn.140061d00
add rsp, 0x30
pop rbx
ret
mov rdx, rbx
call fcn.1400bc8f0
mov rdx, rbx
call fcn.1400bcae0
mov rdx, rbx
add rsp, 0x30
pop rbx
jmp fcn.1400bd020

Function at 0x1400bcf50
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
lea rcx, [0x1400e9c70]
lea rdx, str.CVoipStreamCreationTimeMgr::OnAppSessionAudioDeviceChange
mov r8d, 0xbd
call fcn.140061d00
lea rdx, str.CVoipStreamCreationTimeMgr::OnAppSessionAudioDeviceChange
test rbx, rbx
jne 0x1400bcf95
mov r8d, 0xbe
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x30
pop rbx
jmp fcn.140061d00
mov rax, qword [rbx + 0x18]
lea rcx, str._s__d_nProcessType_d_sAppName_s
mov r9d, dword [rbx + 4]
mov r8d, 0xc0
mov qword [rsp + 0x20], rax
call fcn.140061d00
mov rcx, qword [rbx + 0x18]
lea rdx, str.audiodg.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400bcff5
mov rax, qword [rbx + 0x18]
lea rdx, str.CVoipStreamCreationTimeMgr::OnAppSessionAudioDeviceChange
mov r9d, dword [rbx + 4]
lea rcx, str._s__d_nProcessType_d_sAppName_s__skip_audiodg.exe
mov r8d, 0xc4
mov qword [rsp + 0x20], rax
call fcn.140061d00
add rsp, 0x30
pop rbx
ret
mov rdx, rbx
call fcn.1400bc8f0
mov rdx, rbx
call fcn.1400bcae0
mov rdx, rbx
add rsp, 0x30
pop rbx
jmp fcn.1400bd020
Function at 0x1400bf7d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xe0
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov r15, qword [rsp + 0x130]
xor edx, edx
mov rbp, qword [rsp + 0x138]
mov rsi, rcx
lea rcx, [rsp + 0x20]
mov r14, r9
lea r8d, [rdx + 0x64]
call fcn.1400cc120
lea r8, [0x14011ee78]
mov edx, 0x67
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x1400bfa11
mov rdx, rax
mov qword [rsp + 0x118], rbx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
mov rdx, rdi
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_SizeofResource]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
xor r8d, r8d
mov dword [rsp + 0x24], 0x204d454d
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov dword [rsp + 0x3c], edi
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioOpenW]
mov r9d, 0x20
mov dword [rsp + 0xb0], 0x45564157
mov rcx, rax
lea rdx, [rsp + 0xa8]
xor r8d, r8d
mov rbx, rax
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioDescend]
mov rcx, rbx
test eax, eax
je 0x1400bf8c6
xor edx, edx
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioClose]
mov r8d, 0xe4
jmp 0x1400bf9b2
mov r9d, 0x10
mov dword [rsp + 0x90], 0x20746d66
lea r8, [rsp + 0xa8]
lea rdx, [rsp + 0x90]
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioDescend]
mov rcx, rbx
test eax, eax
je 0x1400bf907
xor edx, edx
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioClose]
mov r8d, 0xf1
jmp 0x1400bf9b2
xor r8d, r8d
lea rdx, [rsp + 0x90]
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioAscend]
mov r9d, 0x10
mov dword [rsp + 0xc0], 0x61746164
lea r8, [rsp + 0xa8]
mov rcx, rbx
lea rdx, [rsp + 0xc0]
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioDescend]
mov rcx, rbx
test eax, eax
je 0x1400bf959
xor edx, edx
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioClose]
mov r8d, 0xfe
jmp 0x1400bf9b2
xor r8d, r8d
lea rdx, [rsp + 0xc0]
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioAscend]
mov edx, dword [rsp + 0x9c]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioSeek]
mov r8d, dword [rsp + 0x94]
lea rdi, [rsi + 0x104]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioRead]
cmp dword [rsp + 0x94], eax
je 0x1400bf9ee
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_mm_misc_l1_1_0.dll_mmioClose]
mov r8d, 0x10a
lea rdx, str.CWasapiPlayback::open_file
lea rcx, str._s__d
call fcn.140061d00
mov rbx, qword [rsp + 0x118]
xor eax, eax
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.1400c5860
add rsp, 0xe0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [rsp + 0xc4]
xor edx, edx
mov qword [r14], rdi
mov r8d, 0x112
mov dword [r15], eax
movzx ecx, word [rsi + 0x110]
div ecx
mov dword [rbp], eax
jmp 0x1400bf9b2
mov r8d, 0xcb
lea rdx, str.CWasapiPlayback::open_file
lea rcx, str._s__d
call fcn.140061d00
mov eax, 0x80004005
jmp 0x1400bf9cf
Function at 0x1400c26e0
Capabilities:
Check mutex on windows

Disassembly:
sub rsp, 0x28
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400c26f0
test rax, rax
je 0x1400c2737
mov r8, rcx
mov edx, 1
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateMutexW]
mov qword [0x14016abf0], rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400c2737
mov rcx, qword [0x14016abf0]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
xor eax, eax
add rsp, 0x28
ret
mov eax, 1
add rsp, 0x28
ret
Function at 0x1400c4dd0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp dword [rcx + 8], 0
mov rbx, rcx
je 0x1400c4df7
lea r8, [0x1400c4cf0]
jmp 0x1400c4e04
cmp dword [rcx + 0xc], 0
je 0x1400c4e3a
lea r8, [0x1400c4d80]
lea rax, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rbx + 0x18], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400c5860
add rsp, 0x40
pop rbx
ret
xor r8d, r8d
lea rcx, [0x1400c4c60]
mov rdx, rbx
call qword [sym.imp.api_ms_win_core_threadpool_l1_2_0.dll_CreateThreadpoolWork]
mov rcx, rax
mov qword [rbx + 0x10], rax
call qword [sym.imp.api_ms_win_core_threadpool_l1_2_0.dll_SubmitThreadpoolWork]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400c5860
add rsp, 0x40
pop rbx
ret
Function at 0x1400c4e70
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
lea rbp, [rsp - 0x3f80]
mov eax, 0x4080
call fcn.1400ce860
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x4090], rbx
mov qword [rsp + 0x4098], rsi
mov qword [rsp + 0x40a0], rdi
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rbp + 0x3f70], rax
xor eax, eax
mov qword [rsp + 0x50], rax
xor ebx, ebx
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x58], rbx
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x1400c50b4
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rsi, [0x1400ea068]
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140004660
lea rdi, [rbx - 1]
test al, al
jne 0x1400c4f2b
mov rax, rdi
nop
inc rax
cmp word [rsi + rax*2], 0
jne 0x1400c4f10
mov r8d, eax
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.1400048e0
nop
mov r9d, 0x20019
lea r8, str.SOFTWARERealtekAudioWOV
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.140027f60
mov rsi, qword [rsp + 0x48]
test eax, eax
jne 0x1400c4fac
mov dword [rsp + 0x38], 0x4000
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rdx, str.VoiceAssistantApplication
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400c4fac
mov eax, dword [rsp + 0x60]
dec eax
cmp eax, 1
ja 0x1400c4fac
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x1400c501b
test al, 1
jne 0x1400c4fac
shr rax, 1
cmp word [rsp + rax*2 + 0x6e], 0
je 0x1400c5020
test rsi, rsi
je 0x1400c4fbf
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], ebx
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400c4fe1
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400c4ff1
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x3f70]
xor rcx, rsp
call fcn.1400c5860
lea r11, [rsp + 0x4080]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov word [rsp + 0x70], bx
lea rcx, [rsp + 0x70]
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400c5030
mov r8d, eax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.1400048e0
mov rdx, qword [rsp + 0x40]
lea r8, str.LenovoVoiceAssistant
mov rcx, rdi
nop dword [rax + rax]
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r8 + rcx*2 + 2]
jne 0x1400c5082
add rcx, 2
cmp rcx, 0x15
je 0x1400c50b0
movzx eax, word [rdx + rcx*2]
cmp ax, word [r8 + rcx*2]
je 0x1400c5060
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400c4fac
test rsi, rsi
je 0x1400c50a2
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], ebx
mov ebx, 1
jmp 0x1400c4fc3
mov eax, ebx
jmp 0x1400c5087
mov ecx, 0x80004005
call fcn.140004fd0
int3
Function at 0x1400c50c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
lea rbp, [rsp - 0x3f80]
mov eax, 0x4080
call fcn.1400ce860
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x4090], rbx
mov qword [rsp + 0x4098], rsi
mov qword [rsp + 0x40a0], rdi
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rbp + 0x3f70], rax
xor eax, eax
mov qword [rsp + 0x50], rax
xor ebx, ebx
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x58], rbx
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x1400c5304
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rsi, [0x1400ea068]
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140004660
lea rdi, [rbx - 1]
test al, al
jne 0x1400c517b
mov rax, rdi
nop
inc rax
cmp word [rsi + rax*2], 0
jne 0x1400c5160
mov r8d, eax
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.1400048e0
nop
mov r9d, 0x20019
lea r8, str.SOFTWARERealtekWOV
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.140027f60
mov rsi, qword [rsp + 0x48]
test eax, eax
jne 0x1400c51fc
mov dword [rsp + 0x38], 0x4000
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rdx, str.VoiceAssistantApplication
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400c51fc
mov eax, dword [rsp + 0x60]
dec eax
cmp eax, 1
ja 0x1400c51fc
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x1400c526b
test al, 1
jne 0x1400c51fc
shr rax, 1
cmp word [rsp + rax*2 + 0x6e], 0
je 0x1400c5270
test rsi, rsi
je 0x1400c520f
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], ebx
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400c5231
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400c5241
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x3f70]
xor rcx, rsp
call fcn.1400c5860
lea r11, [rsp + 0x4080]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov word [rsp + 0x70], bx
lea rcx, [rsp + 0x70]
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400c5280
mov r8d, eax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.1400048e0
mov rdx, qword [rsp + 0x40]
lea r8, str.LenovoVoiceAssistant
mov rcx, rdi
nop dword [rax + rax]
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r8 + rcx*2 + 2]
jne 0x1400c52d2
add rcx, 2
cmp rcx, 0x15
je 0x1400c5300
movzx eax, word [rdx + rcx*2]
cmp ax, word [r8 + rcx*2]
je 0x1400c52b0
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400c51fc
test rsi, rsi
je 0x1400c52f2
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], ebx
mov ebx, 1
jmp 0x1400c5213
mov eax, ebx
jmp 0x1400c52d7
mov ecx, 0x80004005
call fcn.140004fd0
int3
Function at 0x1400170c2
Capabilities:
Identify system language via api

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov dword [rbp + 0x10], ecx
mov qword [rbp - 8], 0
mov eax, dword [rbp + 0x10]
cdqe
mov rcx, rax
call fcn.14011d7a0
call fcn.14011d390
mov qword [rbp - 0x20], 0
call fcn.14011d510
call fcn.14011d510
call sub.KERNEL32.dll_GetUserDefaultLangID
mov qword [rbp - 0x10], rax
call fcn.14011d420
mov edx, eax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.14011b5f0
call fcn.14011d420
mov edx, eax
lea rax, [rbp - 0x20]
mov rcx, rax
call fcn.14011d5e0
mov rax, qword [rbp - 0x20]
mov rcx, rax
call fcn.14011ae30
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 3
jne 0x140017174
call fcn.14011d510
lea rax, [0x140933140]
mov rcx, rax
call fcn.14011d570
mov rax, qword [rbp - 0x20]
mov rcx, rax
call fcn.14011d570
call fcn.14011d420
mov edx, eax
lea rax, [rbp - 0x20]
mov rcx, rax
call fcn.14011d5e0
jmp 0x140017175
nop
call fcn.14011d510
mov rax, qword [rbp - 0x20]
mov rcx, rax
call fcn.14011d570
call fcn.14011d4e0
mov qword [rbp - 8], rax
nop
mov rax, qword [rbp - 0x20]
mov rcx, rax
call fcn.14011d780
mov rax, qword [rbp - 8]
add rsp, 0x40
pop rbp
ret
Function at 0x140031e53
Capabilities:
Query environment variable

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp - 8], 0
mov eax, dword [rbp + 0x18]
cdqe
mov rcx, rax
call fcn.14011d7a0
call fcn.14011d390
mov rax, qword [rbp + 0x10]
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.14011d7e0
mov qword [rbp - 0x70], 0
mov qword [rbp - 0x78], 0
mov qword [rbp - 0x10], 0
call fcn.14011d510
call fcn.14011d510
call fcn.14011d420
mov edx, eax
mov ecx, 0x3e8
call fcn.14011ae80
call fcn.14011d420
mov edx, eax
lea rax, [rbp - 0x70]
mov rcx, rax
call fcn.14011d5e0
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x18], rax
lea rax, str.WINDIR
mov rdx, qword [rbp - 0x18]
mov r8d, 0x3e8
mov rcx, rax
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x78]
lea rdx, [0x14095b480]
mov rcx, rax
call fcn.14011d670
call fcn.14011d510
call fcn.14011d510
mov rax, qword [rbp - 0x70]
mov rcx, rax
call fcn.14011d570
lea rax, str.System32
mov rcx, rax
call fcn.14011d570
call fcn.14011d720
call fcn.14011d510
lea rax, str.__c
mov rcx, rax
call fcn.14011d570
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.14011d570
call fcn.14011d720
call fcn.14011d510
mov rax, qword [rbp - 0x70]
mov rcx, rax
call fcn.14011d570
lea rax, str.System32cmd.exe
mov rcx, rax
call fcn.14011d570
call fcn.14011d4e0
mov qword [rbp - 0x28], rax
call fcn.14011d4e0
mov qword [rbp - 0x30], rax
call fcn.14011d4e0
mov qword [rbp - 0x38], rax
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x28]
mov r9d, SafeArrayGetLBound
mov r8, rcx
mov rcx, rax
call fcn.1400c45e8
mov qword [rbp - 0x40], rax
call fcn.14011d470
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x1400320ab
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.1400c4bf4
mov qword [rbp - 0x48], rax
cmp qword [rbp - 0x48], 0
je 0x140032098
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.1400c4c50
mov qword [rbp - 0x50], rax
cmp qword [rbp - 0x50], 0
je 0x140032092
call fcn.14011d510
mov rax, qword [rbp - 0x78]
mov rcx, rax
call fcn.14011d570
call fcn.14011d510
call fcn.14011d510
call fcn.14011d510
call fcn.14011d510
call fcn.14011d420
mov edx, eax
mov rax, qword [rbp - 0x10]
mov r8d, edx
mov edx, SafeArrayPutElement
mov rcx, rax
call fcn.1400c4d9c
call fcn.14011d4e0
mov qword [rbp - 0x58], rax
call fcn.14011d420
mov edx, eax
mov rax, qword [rbp - 0x58]
mov rcx, rax
call fcn.14001477d
mov qword [rbp - 0x60], rax
call fcn.14011d420
lea rax, [0x14094ef30]
mov rcx, rax
call fcn.14011d570
call fcn.14011d420
mov edx, eax
lea rax, [rbp - 0x78]
mov rcx, rax
call fcn.14011d5e0
jmp 0x140031fd0
nop
jmp 0x140031fd0
nop
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.1400c4d2c
mov qword [rbp - 0x68], rax
jmp 0x1400320ac
nop
call fcn.14011d510
mov rax, qword [rbp - 0x78]
mov rcx, rax
call fcn.14011d570
call fcn.14011d4e0
mov qword [rbp - 8], rax
nop
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.14011d780
mov rax, qword [rbp - 0x70]
mov rcx, rax
call fcn.14011d780
mov rax, qword [rbp - 0x78]
mov rcx, rax
call fcn.14011d780
mov rax, qword [rbp - 8]
add rsp, 0xa0
pop rbp
ret
Function at 0x1400365c1
Capabilities:
Create thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov qword [rbp + 0x10], rcx
mov qword [rbp - 8], 0
call fcn.14011d390
mov qword [rbp - 0x58], 0
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x18], 0
lea rax, str.Kernel32
mov rcx, rax
call sub.KERNEL32.dll_GetModuleHandleW
mov qword [rbp - 0x20], rax
lea rdx, [0x14094d320]
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x18], rax
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rdx
mov r8d, 0
mov edx, 0
mov rcx, rax
call sub.KERNEL32.dll_CreateRemoteThread
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14003667d
mov qword [rbp - 8], 0
jmp 0x1400366ca
nop
mov rax, qword [rbp - 0x10]
mov rdx, 0xffffffffffffffff
mov rcx, rax
call sub.KERNEL32.dll_WaitForSingleObject
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x58]
mov qword [rbp - 0x40], rax
mov rdx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sub.KERNEL32.dll_GetExitCodeThread
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sub.KERNEL32.dll_CloseHandle
mov qword [rbp - 0x50], rax
mov rax, qword [rbp - 0x58]
mov qword [rbp - 8], rax
nop
mov rax, qword [rbp - 8]
add rsp, 0xa0
pop rbp
ret
Function at 0x1400374a2
Capabilities:
Set registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov qword [rbp - 8], 0
call fcn.14011d390
mov rdx, qword [rbp + 0x18]
lea rax, [rbp + 0x18]
mov rcx, rax
call fcn.14011d7e0
mov rdx, qword [rbp + 0x20]
lea rax, [rbp + 0x20]
mov rcx, rax
call fcn.14011d7e0
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x40]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x38]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x18]
mov rcx, rax
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp - 0x18]
mov qword [rsp + 0x40], rdx
mov rdx, qword [rbp - 0x10]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0xf003f
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov rdx, rcx
mov rcx, rax
call sub.ADVAPI32.dll_RegCreateKeyExW
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
jne 0x1400375af
mov rax, qword [rbp + 0x20]
mov r10, rax
mov rax, qword [rbp - 0x40]
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x38]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp + 0x30]
mov qword [rsp + 0x20], rdx
mov r9, rcx
mov r8d, 0
mov rdx, r10
mov rcx, rax
call sub.ADVAPI32.dll_RegSetValueExW
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x40]
mov rcx, rax
call sub.ADVAPI32.dll_RegCloseKey
mov qword [rbp - 0x30], rax
jmp 0x1400375b0
nop
mov qword [rbp - 8], 0
mov rax, qword [rbp + 0x20]
mov rcx, rax
call fcn.14011d780
mov rax, qword [rbp + 0x18]
mov rcx, rax
call fcn.14011d780
mov rax, qword [rbp - 8]
add rsp, 0x90
pop rbp
ret
Function at 0x140077780
Capabilities:
Parse pe header

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

Function at 0x14007c0e8
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14007c157
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14007c157
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14007c157
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14007c157
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14007c157
cmp dword [rcx + 0x84], 0xe
jbe 0x14007c157
cmp dword [rcx + 0xf8], 0
je 0x14007c157
mov ecx, ebx
call fcn.14007c25c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14007bf1c
nop
cmp dword [rbp + 0x20], 0
je 0x14007c1a5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14007c1b0
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14007c0e8

Function at 0x14007c348
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14007c0e8