joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001bc0
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x14000a100]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000a0e0]
test rbx, rbx
je 0x140001c0c
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x140001c06
test eax, eax
jne 0x140001c06
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x140001bde
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140001dc0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140001de3
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140001de3
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140001de4
Capabilities:
Enumerate pe sections

Disassembly:
xor r8d, r8d
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
cmp r8d, r9d
jae 0x140001e1e
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x140001e15
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140001e20
inc r8d
add rax, 0x28
jmp 0x140001dfc
xor eax, eax
ret

Function at 0x140001e91
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140007720]
mov r8, rcx
mov rcx, r9
call sym._ValidateImageBase
test eax, eax
je 0x140001ebd
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp sym._FindPESection
xor eax, eax
add rsp, 0x28
ret
Function at 0x140005aa0
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14004f0e8]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rcx
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
movdqa xmm1, xmmword [0x140036140]
movdqu xmmword [rbp + 0x17], xmm1
xor esi, esi
mov word [rbp + 7], si
mov dword [rbp - 0x29], esi
lea rdx, [rbp - 0x29]
xor ecx, ecx
call qword [sym.imp.USERENV.dll_GetAllUsersProfileDirectoryW]
nop dword [rax + rax]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rsi
mov edx, dword [rbp - 0x29]
lea rcx, [rbp - 0x19]
call fcn.14000fc20
lea rdx, [rbp - 0x29]
mov rbx, qword [rbp - 0x19]
mov rcx, rbx
call qword [sym.imp.USERENV.dll_GetAllUsersProfileDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x140005bf6
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x37], xmm1
mov r8d, dword [rbp - 0x29]
dec r8d
mov rdx, rbx
lea rcx, [rbp + 0x27]
call fcn.14000e0fc
lea r8, [0x140036100]
lea rdx, [rbp + 0x27]
lea rcx, [rbp + 7]
call fcn.140005dd8
lea r8, str.MicrosoftWindows_Defender_Advanced_Threat_Protection_
mov rdx, rax
mov rcx, rdi
call fcn.140005dd8
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x140005b9d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
call fcn.140006400
movdqa xmm0, xmmword [0x140036140]
movdqu xmmword [rbp + 0x17], xmm0
mov word [rbp + 7], si
mov rdx, qword [rbp + 0x3f]
cmp rdx, 8
jb 0x140005bc9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
call fcn.140006400
movdqa xmm0, xmmword [0x140036140]
movdqu xmmword [rbp + 0x37], xmm0
mov word [rbp + 0x27], si
test rbx, rbx
je 0x140005c5e
mov rdx, qword [rbp - 9]
sub rdx, rbx
sar rdx, 1
add rdx, rdx
mov rcx, rbx
call fcn.140006400
jmp 0x140005c5e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
call fcn.14000d32c
cmp dword [rax], 2
jbe 0x140005c3d
lea rcx, str.GetAllUsersProfileDirectory_failed
mov qword [rbp - 0x21], rcx
mov dword [rbp - 0x25], ebx
lea rcx, [rbp - 0x21]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x25]
mov qword [rsp + 0x20], rcx
lea rdx, [0x1400439fc]
mov rcx, rax
call fcn.140001d3c
lea rdx, str.MicrosoftWindows_Defender_Advanced_Threat_Protection_
mov rcx, rdi
call fcn.14000e0c0
lea rcx, [rbp - 0x19]
call fcn.14000e978
lea rcx, [rbp + 7]
call fcn.14000e934
mov rax, rdi
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140011290
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x140006550
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x140006583
movabs r10, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r10
cmp rcx, r8
jb 0x140006570
mov rax, r9
ret
Function at 0x140008bf4
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rbx, rdx
mov r12d, r9d
mov rdx, rcx
mov r15, rcx
mov rcx, r8
mov r9d, 0x20019
mov r14, r8
call fcn.140008e0c
mov edi, eax
test eax, eax
jne 0x140008cad
cmp qword [rbx + 0x18], 8
mov r8, rbx
jb 0x140008c43
mov r8, qword [rbx]
mov rsi, qword [rbp + 0x50]
mov r9d, r12d
mov rcx, qword [r15]
xor edx, edx
mov qword [rsp + 0x30], rsi
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x140008d64
mov eax, dword [rsi]
mov r15, qword [rbp + 0x58]
mov dword [r15], eax
dec eax
cmp eax, 0x3ffffff
ja 0x140008d73
xor eax, eax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14000d32c
mov rbx, rax
cmp dword [rax], 5
jbe 0x140008d5d
mov rcx, r14
mov dword [rbp + 0x40], edi
call fcn.140007750
mov qword [rbp + 0x60], rax
lea rdx, [0x140043fb3]
lea rax, str.Could_not_open_or_create_the_registry_path._Return_default_value
mov rcx, rbx
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
call fcn.1400075ec
jmp 0x140008d5d
mov rcx, r14
mov dword [rbp + 0x40], edi
call fcn.140007750
mov rcx, rbx
mov qword [rbp + 0x60], rax
call fcn.140007750
mov qword [rbp - 0x10], rax
lea rdx, [0x140043ecc]
lea rax, str.Failed_to_get_registry_value_size._Return_default_value
mov rcx, rsi
mov qword [rbp - 8], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
call fcn.14000220c
mov eax, edi
jmp 0x140008c8e
call fcn.14000d32c
mov rsi, rax
cmp dword [rax], 5
jbe 0x140008d5d
jmp 0x140008d04
call fcn.14000d32c
mov rdi, rax
cmp dword [rax], 4
jbe 0x140008dfa
mov ecx, dword [rsi]
mov dword [rbp + 0x48], ecx
mov ecx, dword [r15]
mov dword [rbp + 0x68], ecx
mov rcx, r14
mov dword [rbp + 0x40], 0x4000000
call fcn.140007750
mov rcx, rbx
mov qword [rbp + 0x60], rax
call fcn.140007750
mov qword [rbp - 8], rax
lea rdx, [0x140043f0d]
lea rax, str.Registry_value_is_empty_or_bigger_than_max_length._Return_default_value
mov rcx, rdi
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
call fcn.1400026bc
mov eax, 0xd
jmp 0x140008c8e
Function at 0x14000a658
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
and qword [rsp + 0x38], 0
mov rbx, r8
mov r8, qword [rdx]
test r8, r8
je 0x14000a672
mov r8, qword [r8]
lea r9, [rsp + 0x38]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
nop dword [rax + rax]
test eax, eax
js 0x14000a6a9
mov rdx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.140006de0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14000a6b8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rcx, 0xcbf29ce484222325
xor r8d, r8d
movzx eax, byte [r8 + rdx]
movabs r9, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, r9
cmp r8, 2
jb 0x14000a6c5
mov rax, rcx
ret

Function at 0x14000ac08
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
xor al, al
mov ecx, dword [rdi + 0x7c]
cmp ecx, 0xffffffff
je 0x14000adb8
cmp ecx, 0x7c
je 0x14000adb8
cmp ecx, 0x29
jne 0x14000ac57
cmp dword [rdi + 0x1c], 0
jne 0x14000adb8
lea rbx, [rdi + 0x80]
test dword [rbx], 0x10000000
jne 0x14000ad71
lea edx, [rcx - 0x24]
call fcn.14000e47c
int3
lea rbx, [rdi + 0x80]
cmp ecx, 0x2e
jne 0x14000ac76
lea rcx, [rdi + 0x40]
mov edx, 5
call fcn.14000ab5c
jmp 0x14000ad8b
cmp ecx, 0x5c
jne 0x14000acd6
mov rcx, rdi
call fcn.14000adcc
test byte [rbx], 0x80
je 0x14000acc9
cmp word [rdi + 0x78], 0x62
jne 0x14000acaa
mov edx, 4
lea rcx, [rdi + 0x40]
call fcn.14000ab5c
mov rcx, rdi
call fcn.14000adcc
jmp 0x14000ad9b
cmp word [rdi + 0x78], 0x42
jne 0x14000acc9
lea rcx, [rdi + 0x40]
mov edx, 4
call fcn.14000ab5c
mov rax, qword [rdi + 0x48]
xor dword [rax + 0xc], 1
jmp 0x14000ac9d
mov rcx, rdi
call fcn.14000e1b4
jmp 0x14000ad93
cmp ecx, 0x5b
jne 0x14000ad01
mov rcx, rdi
call fcn.14000adcc
mov rcx, rdi
call fcn.140010a2c
mov edx, 0x5d
mov rcx, rdi
lea r8d, [rdx - 0x59]
call fcn.140010ed4
jmp 0x14000ad93
cmp ecx, 0x28
jne 0x14000ad2f
mov rcx, rdi
call fcn.14000adcc
mov rcx, rdi
call fcn.140024a80
mov edx, 0x29
mov rcx, rdi
mov bl, al
lea r8d, [rdx - 0x24]
call fcn.140010ed4
test bl, bl
jne 0x14000ad93
jmp 0x14000ad9b
cmp ecx, 0x5e
jne 0x14000ad3c
lea edx, [rcx - 0x5c]
jmp 0x14000ac94
cmp ecx, 0x24
jne 0x14000ad49
lea edx, [rcx - 0x21]
jmp 0x14000ac94
cmp ecx, 0x3f
je 0x14000adad
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14000adad
cmp ecx, 0x7b
je 0x14000adad
cmp ecx, 0x7d
jne 0x14000ad71
test dword [rbx], 0x10000000
jne 0x14000ad7e
lea edx, [rcx - 0x77]
call fcn.14000e47c
int3
cmp ecx, 0x5d
jne 0x14000ad7e
test dword [rbx], 0x10000000
je 0x14000ada2
movzx edx, word [rdi + 0x78]
lea rcx, [rdi + 0x40]
call fcn.14001017c
mov rcx, rdi
call fcn.14000adcc
mov rcx, rdi
call fcn.1400246b4
mov al, 1
jmp 0x14000ac17
mov edx, 4
call fcn.14000e47c
int3
mov edx, 0xa
call fcn.14000e47c
int3
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000c90c
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14004f0e8]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
mov r8d, 0x104
lea rdx, [0x140050610]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
nop dword [rax + rax]
test eax, eax
jne 0x14000c9e1
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
call fcn.14000d32c
cmp dword [rax], 2
jbe 0x14000c9cd
mov dword [rsp + 0x48], ebx
lea rcx, str.GetModuleFileName_failed
mov qword [rsp + 0x40], rcx
test ebx, ebx
jle 0x14000c99c
movzx ebx, bx
or ebx, 0x80070000
mov dword [rsp + 0x50], ebx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
lea rdx, [0x140043a2b]
mov rcx, rax
call fcn.140001de0
lea rdx, [0x1400361c0]
mov rcx, rdi
call fcn.14000e0c0
jmp 0x14000cb21
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
movdqa xmm1, xmmword [0x140036140]
movdqu xmmword [rbp + 0x20], xmm1
mov word [rbp + 0x10], si
movups xmmword [rbp - 0x10], xmm0
movdqu xmmword [rbp], xmm1
mov word [rbp - 0x10], si
movups xmmword [rbp + 0x50], xmm0
movdqu xmmword [rbp + 0x60], xmm1
mov word [rbp + 0x50], si
movups xmmword [rbp + 0x30], xmm0
movdqu xmmword [rbp + 0x40], xmm1
mov word [rbp + 0x30], si
mov r8d, eax
lea rdx, [0x140050610]
lea rcx, [rbp - 0x30]
call fcn.14000e090
nop
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x50]
lea r8, [rbp - 0x10]
lea rdx, [rbp + 0x10]
mov rcx, rax
call fcn.14002894c
test al, al
sete bl
lea rcx, [rbp - 0x30]
call fcn.14000e934
test bl, bl
je 0x14000ca77
lea rdx, [0x1400361c0]
mov rcx, rdi
call fcn.14000e0c0
jmp 0x14000cafa
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rsi
mov ecx, 7
mov qword [rsp + 0x78], rcx
mov word [rsp + 0x60], si
lea rax, [rbp - 0x30]
mov qword [rsp + 0x50], rax
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rcx
mov word [rbp - 0x30], si
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x70]
call fcn.14000e6f4
mov rbx, rax
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x50]
call fcn.14000e6f4
nop
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x30]
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.1400286f4
nop
lea rcx, [rbp + 0x30]
call fcn.14000e934
nop
lea rcx, [rbp + 0x50]
call fcn.14000e934
nop
lea rcx, [rbp - 0x10]
call fcn.14000e934
nop
lea rcx, [rbp + 0x10]
call fcn.14000e934
mov rax, rdi
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140011290
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14000fd54
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rax - 0x10], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, rdx
mov rdi, rcx
and dword [rax - 0x18], 0
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x14000fd87
mov rcx, qword [rdx]
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
nop dword [rax + rax]
mov esi, eax
test eax, eax
sete dl
mov rcx, qword [rsp + 0x48]
lea rax, str.Could_not_read_file_version_info
mov qword [rsp + 0x20], rax
movzx r9d, dl
lea r8, str.amcorewcd_sourcecommon_src_versioninfo.cpp
mov edx, 0x84
call fcn.14000b3cc
mov ecx, esi
call fcn.1400123d0
mov qword [rdi], rax
mov dword [rsp + 0x30], 1
cmp qword [rbx + 0x18], 8
jb 0x14000fdde
mov rbx, qword [rbx]
mov r9, rax
mov r8d, esi
xor edx, edx
mov rcx, rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
lea rdx, str.Could_not_retrieve_file_version_info
mov qword [rsp + 0x20], rdx
mov r9d, eax
lea r8, str.amcorewcd_sourcecommon_src_versioninfo.cpp
mov edx, 0x8d
call fcn.14000fe34
mov rax, rdi
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140011a00
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test rax, rax
je 0x140011a4a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140011a4a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140011a4a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140011a4a
cmp dword [rcx + 0x84], 0xe
jbe 0x140011a4a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140011a4c
xor al, al
add rsp, 0x28
ret
Function at 0x140017c58
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x14004f0e8]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov r9, rcx
mov r14d, 0x104
xor ebx, ebx
lea rcx, [rsp + 0x50]
mov edx, r14d
mov qword [r8], rbx
mov rsi, r8
call fcn.140017b20
lea r8, [0x14003aca0]
mov edx, r14d
lea rcx, [rsp + 0x50]
call fcn.140017a94
lea r8, [rsp + 0x50]
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 qword [rsp + 0x40], rax
test rax, rax
jne 0x140017d0d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x140017e01
mov rcx, qword [rbp + 0x188]
lea r8, [0x14003ac38]
lea edx, [r14 - 0x3b]
call fcn.14000d37c
mov ebx, eax
jmp 0x140017e01
lea rdx, [rsp + 0x34]
mov dword [rsp + 0x34], ebx
mov rcx, rax
mov dword [rsp + 0x30], ebx
call fcn.140016d30
mov edi, eax
test eax, eax
jns 0x140017d4a
mov rcx, qword [rbp + 0x188]
lea r8, [0x14003ac38]
mov r9d, eax
mov edx, 0xcf
call fcn.14000d34c
mov ebx, edi
jmp 0x140017e01
lea r8, [0x14003aca8]
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.140017a94
lea r8, [rsp + 0x50]
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 qword [rsp + 0x38], rax
test rax, rax
jne 0x140017da6
mov rcx, qword [rbp + 0x188]
lea r8, [0x14003ac38]
mov edx, 0xd5
call fcn.14000d37c
lea rcx, [rsp + 0x38]
mov ebx, eax
call fcn.1400108a0
jmp 0x140017e01
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140016d30
mov edi, eax
test eax, eax
jns 0x140017de3
mov rcx, qword [rbp + 0x188]
lea r8, [0x14003ac38]
mov r9d, eax
mov edx, 0xd7
call fcn.14000d34c
lea rcx, [rsp + 0x38]
call fcn.1400108a0
jmp 0x140017d43
lea rcx, [rsp + 0x38]
call fcn.1400108a0
movsxd rdx, dword [rsp + 0x30]
movsxd rcx, dword [rsp + 0x34]
shl rdx, 0x1f
or rdx, rcx
mov qword [rsi], rdx
lea rcx, [rsp + 0x40]
call fcn.1400108a0
mov eax, ebx
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140011290
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14001af54
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
sub rsp, 0x68
and qword [r11 - 0x18], 0
lea rax, str.Sense
and qword [r11 - 0x10], 0
lea rcx, [r11 - 0x28]
mov qword [r11 - 0x28], rax
lea rax, [0x140018350]
mov qword [r11 - 0x20], rax
call qword [sym.imp.api_ms_win_service_core_l1_1_0.dll_StartServiceCtrlDispatcherW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x68]
lea rdx, str.Failed_to_start_service_control_dispatcher
mov qword [rsp + 0x20], rdx
lea r8, str.amcorewcd_source_service_src_service.cpp
mov edx, 0x8a
mov r9d, eax
call fcn.14000fe34
cmp qword [0x1400503e0], 0
jne 0x14001aff0
cmp dword [0x14004f19c], 1
je 0x14001b074
mov rcx, qword [rsp + 0x68]
lea rax, str.Service_control_dispatcher_failed_without_saying_so...
mov r9d, 0x8007000e
mov qword [rsp + 0x20], rax
lea r8, str.amcorewcd_source_service_src_service.cpp
mov edx, 0x8f
call fcn.14001bc90
int3
cmp dword [0x14004f19c], 1
je 0x14001b074
call fcn.14000d32c
cmp dword [rax], 2
jbe 0x14001b054
mov ecx, dword [0x14004f19c]
lea rdx, [0x140043519]
mov dword [rsp + 0x70], ecx
lea rcx, str.Service_stopped_with_unexpected_service_status._Terminating_process
mov qword [rsp + 0x80], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov dword [rsp + 0x78], 0x507
call fcn.1400010b8
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
nop dword [rax + rax]
mov rcx, rax
mov edx, 2
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
nop dword [rax + rax]
add rsp, 0x68
ret

Function at 0x14001eca4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
sub r9, r8
mov rax, rdx
sub rax, rcx
mov r15, r8
xor rax, r9
mov rbp, rdx
mov r14, rcx
test rax, 0xfffffffffffffffe
jne 0x14001ed2d
lea rdx, [r11 + 0x28]
lea rcx, [r11 + 8]
call fcn.1400183dc
sub r15, r14
mov rbx, qword [rax]
cmp r14, rbp
je 0x14001ed31
mov rcx, qword [rbx + 8]
movzx edx, word [r15 + r14]
movzx esi, word [r14]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [case.0x140026ac2.0]
mov rcx, qword [rbx + 8]
movzx edx, si
movzx edi, ax
mov r8, qword [rcx]
mov rax, qword [r8 + 0x40]
call qword [case.0x140026ac2.0]
cmp ax, di
jne 0x14001ed2d
add r14, 2
jmp 0x14001ecec
xor al, al
jmp 0x14001ed33
mov al, 1
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140027ddc
Capabilities:
Check if file exists
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x14004f0e8]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov qword [rbp - 0x11], rcx
xor r15d, r15d
cmp qword [rdx + 0x18], 8
mov rbx, rcx
mov rdi, rdx
mov rcx, rdx
jb 0x140027e1c
mov rcx, qword [rdx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
mov esi, eax
test eax, eax
jne 0x140027eaf
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r14d, eax
call fcn.14000d32c
mov rsi, rax
cmp dword [rax], 2
jbe 0x140027e94
mov rcx, rdi
call fcn.140007750
mov qword [rbp - 9], rax
lea rdx, [0x1400439c7]
lea rax, str.Failed_to_expand_environment_strings_in_path
mov dword [rbp - 0x19], r14d
mov qword [rbp - 0x11], rax
mov rcx, rsi
lea rax, [rbp - 9]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x11]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
call fcn.140001ea4
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
jmp 0x140027f8f
xor r8d, r8d
lea edx, [rax - 1]
lea rcx, [rbp + 7]
call fcn.14000f8a4
cmp qword [rbp + 0x1f], 8
lea rdx, [rbp + 7]
mov rcx, rdi
cmovae rdx, qword [rbp + 7]
cmp qword [rdi + 0x18], 8
jb 0x140027ed9
mov rcx, qword [rdi]
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
test eax, eax
jne 0x140027f65
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r14d, eax
call fcn.14000d32c
mov rsi, rax
cmp dword [rax], 2
jbe 0x140027f4d
mov rcx, rdi
call fcn.140007750
mov qword [rbp - 0x11], rax
lea rdx, [0x1400439c7]
lea rax, str.Failed_to_expand_environment_strings_in_path_after_increasing_buffer_size
mov dword [rbp - 0x19], r14d
mov qword [rbp - 9], rax
mov rcx, rsi
lea rax, [rbp - 0x11]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 9]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
call fcn.140001ea4
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
jmp 0x140027f86
movups xmm0, xmmword [rbp + 7]
mov word [rbp + 7], r15w
movups xmm1, xmmword [rbp + 0x17]
movups xmmword [rbx], xmm0
movdqa xmm0, xmmword [0x140036140]
movdqu xmmword [rbp + 0x17], xmm0
movups xmmword [rbx + 0x10], xmm1
lea rcx, [rbp + 7]
call fcn.14000e934
mov rax, rbx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140011290
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret