joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ade74
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x1404fd7f0]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rbx, rdx
mov r14, rcx
mov rcx, qword [rdx]
lea rsi, [rcx + 0xe0]
and dword [rcx + 0x180], 0
mov rax, qword [rdx]
and dword [rax + 0x184], 0
mov rax, qword [rdx]
and dword [rax + 0x18c], 0
cmp qword [rcx + 0x148], 8
jb 0x1400adfe8
cmp qword [rsi + 0x10], 0
je 0x1400adfe8
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 0x40]
lea rdx, [rbp - 0x60]
mov rcx, r14
call fcn.1400d3504
mov edi, eax
test eax, eax
js 0x1400ae02e
cmp qword [rsp + 0x40], 4
jb 0x1400adfe8
and qword [rsp + 0x40], 0
mov eax, 0x5a4d
cmp word [rbp - 0x60], ax
jne 0x1400adfba
mov edi, pe_nt_image_headers64
mov r8d, edi
xor edx, edx
lea rcx, [rbp - 0x20]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
movsxd r9, dword [rbp - 0x24]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r8d, edi
lea rdx, [rbp - 0x20]
mov rcx, r14
call fcn.1400d3504
test eax, eax
js 0x1400ae01a
mov rax, qword [rsp + 0x40]
add rax, 0xffffffffffffff08
test rax, 0xffffffffffffffef
jne 0x1400adfba
lea eax, [rdi + 0x44]
cmp dword [rbp - 0x20], 0x4550
jne 0x1400ae09f
mov rcx, qword [rbx]
mov eax, dword [rbp - 0x18]
mov dword [rcx + 0x180], eax
mov rcx, qword [rbx]
mov eax, dword [rbp + 0x38]
mov dword [rcx + 0x184], eax
mov rax, qword [rbx]
movzx ecx, word [rbp - 0x1c]
mov dword [rax + 0x18c], ecx
mov al, 1
test al, al
jne 0x1400adfea
movaps xmm3, xmmword [rbp - 0x60]
movd eax, xmm3
cmp dword [0x1403be0cc], eax
je 0x1400ae012
movd eax, xmm3
cmp dword [str._PDF], eax
je 0x1400ae016
movq rcx, xmm3
cmp qword [0x1403c0720], rcx
jne 0x1400adfe8
mov al, 4
jmp 0x1400adfea
xor al, al
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140156340
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov al, 5
jmp 0x1400adfea
mov al, 3
jmp 0x1400adfea
cmp eax, 0x800703e3
jne 0x1400adfba
mov rax, qword [rbx]
bts dword [rax + 0x16c], 0x10
jmp 0x1400adfba
cmp edi, 0x800703e3
jne 0x1400ae041
mov rcx, qword [rbx]
bts dword [rcx + 0x16c], 0x10
call fcn.1400abad4
mov r8, rax
cmp dword [rax], 3
jbe 0x1400ae098
mov dword [rsp + 0x40], edi
mov rcx, rsi
call fcn.1400df740
mov qword [rsp + 0x48], rax
lea rax, str.Failed_to_read_the_file_header._Cant_decide_if_the_file_is_PE.
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rdx, [0x14045e597]
mov rcx, r8
call fcn.1400030f4
mov al, 0xff
jmp 0x1400adfea
xor al, al
jmp 0x1400adfb6
Function at 0x1400b3000
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1404fd7f0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r9, rcx
movzx esi, word [rcx + 0x28]
mov ecx, esi
shr ecx, 0x18
mov edx, esi
shr edx, 0x10
mov eax, esi
shr eax, 8
mov r8d, 0x100
test word [r9 + 4], r8w
je 0x1400b30e3
movzx r10d, byte [r9 + 0x2d]
movzx r9d, sil
movabs rsi, 0xcbf29ce484222325
xor r9, rsi
movabs r11, 0x100000001b3
imul r9, r11
xor r9, rax
imul r9, r11
mov eax, edx
xor r9, rax
imul r9, r11
mov eax, ecx
xor r9, rax
imul r9, r11
mov ecx, r10d
shr ecx, 8
mov r8d, r10d
shr r8d, 0x10
mov edx, r10d
shr edx, 0x18
mov eax, 0x9e3779b9
add r9, rax
xor r10d, 0x84222325
imul eax, r10d, 0x1b3
xor eax, ecx
imul ecx, eax, 0x1b3
xor ecx, r8d
imul eax, ecx, 0x1b3
xor eax, edx
imul ecx, eax, 0x1b3
mov rax, r9
shr rax, 2
add ecx, eax
mov esi, r9d
shl esi, 6
add esi, 0x9e3779b9
add esi, ecx
xor esi, r9d
jmp 0x1400b320d
xor edi, edi
cmp byte [r9 + 0x2b], 0xb
je 0x1400b311d
movzx ecx, di
movzx edx, word [r9 + 0x54]
cmp di, dx
jae 0x1400b320d
mov r8, qword [r9 + 0x58]
movzx eax, cx
add rax, rax
cmp word [r8 + rax*8 + 2], 0xb
je 0x1400b311d
inc cx
cmp cx, dx
jb 0x1400b3101
jmp 0x1400b320d
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
mov rcx, r9
call fcn.1400b0e70
mov rbx, qword [rsp + 0x28]
mov eax, dword [rbx + 0x44]
test eax, eax
jne 0x1400b3149
mov rdx, rdi
jmp 0x1400b3161
mov rdx, rax
lea rcx, [rax + 2]
mov eax, dword [rsp + 0x20]
cmp rcx, rax
jb 0x1400b315e
mov rdx, rdi
jmp 0x1400b3161
add rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400d16f0
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov r9, qword [rsp + 0x48]
cmp r9, 8
cmovae rdx, rcx
movabs rsi, 0xcbf29ce484222325
mov rax, qword [rsp + 0x40]
lea r8, [rax + rax]
test r8, r8
je 0x1400b31c3
movabs r11, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdi + rdx]
xor rsi, rax
imul rsi, r11
inc rdi
cmp rdi, r8
jb 0x1400b31b0
cmp r9, 8
jb 0x1400b3205
lea rdx, [r9*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b31ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b31ff
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
int3
call fcn.1401568b4
nop
mov rcx, rbx
call fcn.140157ebc
mov eax, esi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140156340
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x1400b79b4
Capabilities:
Check if file exists

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x1404fd7f0]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rdi, r8
mov r13, rdx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x30], r9
mov r15, qword [rsp + 0x110]
mov qword [rsp + 0x70], r15
and dword [rsp + 0x28], 0
mov rcx, rdx
call fcn.14006be40
mov dword [rsp + 0x28], 1
mov rdx, qword [r13 + 0x10]
mov rcx, r15
call fcn.140096030
mov rdi, qword [rdi + 8]
mov rbx, qword [rdi]
mov qword [rsp + 0x50], rdi
lea r12, str.process
lea r8, str.file
mov qword [rsp + 0x20], rbx
cmp rbx, rdi
jne 0x1400b7a67
mov rax, r13
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140156340
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
lea rsi, [rbx + 0x10]
lea r10, [rsi + 0x20]
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400b7a7c
mov rcx, qword [rsi]
cmp qword [rsi + 0x10], 4
jne 0x1400b7b02
mov edx, 4
mov rax, r8
sub rcx, r8
movzx r8d, word [rax]
cmp word [rcx + rax], r8w
jb 0x1400b7b02
ja 0x1400b7b02
cmp rdx, 1
je 0x1400b7aaa
dec rdx
add rax, 2
jmp 0x1400b7a8e
cmp qword [r10 + 0x18], 8
jb 0x1400b7ab4
mov r10, qword [r10]
mov rcx, r10
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFileExistsW]
nop dword [rax + rax]
test eax, eax
je 0x1400b7bcc
mov r8, rsi
lea rdx, [rsp + 0x78]
mov rcx, r13
call fcn.1400b7c6c
lea r8, [rsi + 0x40]
mov rax, qword [r15 + 8]
cmp rax, qword [r15 + 0x10]
je 0x1400b7bc1
mov rdx, r8
mov rcx, rax
call fcn.14008cc50
add qword [r15 + 8], 0x20
jmp 0x1400b7bcc
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400b7b0f
mov rcx, qword [rsi]
cmp qword [rsi + 0x10], 7
jne 0x1400b7acb
mov edx, 7
mov rax, r12
sub rcx, r12
movzx r8d, word [rax]
cmp word [rcx + rax], r8w
jb 0x1400b7acb
ja 0x1400b7acb
cmp rdx, 1
je 0x1400b7b3d
dec rdx
add rax, 2
jmp 0x1400b7b21
or r9, 0xffffffffffffffff
lea r8d, [r9 + 5]
lea rdx, [rsp + 0x88]
mov rcx, r10
call fcn.1400d68d0
nop
mov rcx, rax
call fcn.1400b7bdc
mov r14d, eax
lea rcx, [rsp + 0x88]
call fcn.14007bf60
nop
mov r8d, r14d
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
nop dword [rax + rax]
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1400b7bcc
cmp rax, 0xffffffffffffffff
je 0x1400b7bcc
lea rcx, [rsp + 0x20]
call fcn.14011e68c
jmp 0x1400b7acb
mov rdx, rax
mov rcx, r15
call fcn.140095638
mov rbx, qword [rbx]
jmp 0x1400b7a2f

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

Disassembly:
cmp qword [rdx + 0x18], 8
mov r9, qword [rdx + 0x10]
jb 0x1400b7ede
mov rdx, qword [rdx]
xor ecx, ecx
movabs r8, 0xcbf29ce484222325
add r9, r9
je 0x1400b7f13
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
inc rcx
xor r8, rax
imul r8, r10
cmp rcx, r9
jb 0x1400b7f00
mov rax, r8
ret
Function at 0x1400c5b6c
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rax, qword gs:[0x58]
mov r8, qword [rax]
mov eax, dword [rcx + r8]
cmp dword [0x140527d6c], eax
jg 0x1400c5bca
lea rcx, [rdi + 0x110]
mov rdx, rbx
call fcn.1400ceb54
mov r9d, 2
mov r8, rbx
lea rdx, [0x140527d48]
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400f2dc8
lea rcx, [0x140527d6c]
call fcn.140158080
cmp dword [0x140527d6c], 0xffffffff
jne 0x1400c5b99
lea rdx, str.EventType
lea rcx, [0x140527d48]
call fcn.1400a3e4c
lea rcx, [0x140390710]
call fcn.140156894
nop
lea rcx, [0x140527d6c]
call fcn.140158018
jmp 0x1400c5b99
Function at 0x1400dce00
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1404fd7f0]
xor rax, rsp
mov qword [rsp + 0x40], rax
movzx ebx, dl
mov rdi, rcx
call fcn.1400dbfa8
mov al, byte [0x1404fe368]
xor esi, esi
test al, al
jne 0x1400dce6d
cmp bl, 4
jne 0x1400dce6d
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], si
lea rdx, [rsp + 0x20]
call fcn.1401657c0
xchg byte [0x1404fe368], al
mov al, byte [0x1404fe368]
lea rcx, [rsp + 0x20]
call fcn.14007bf60
lea rcx, [0x1404feaa0]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
nop dword [rax + rax]
mov rax, rbx
movabs rcx, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x100000001b3
imul rax, rcx
and rax, qword [0x1404fea90]
add rax, rax
mov rcx, qword [0x1404fea78]
mov rdx, qword [rcx + rax*8 + 8]
cmp rdx, qword [0x1404fea68]
je 0x1400dcf18
mov rcx, qword [rcx + rax*8]
cmp bl, byte [rdx + 0x10]
je 0x1400dced1
cmp rdx, rcx
je 0x1400dcf18
mov rdx, qword [rdx + 8]
jmp 0x1400dcec1
test rdx, rdx
je 0x1400dcf18
add rdx, 0x18
mov rcx, rdi
call fcn.14008cc50
nop
lea rcx, [0x1404feaa0]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
nop dword [rax + rax]
nop
mov rax, rdi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140156340
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
lea rcx, str.invalid_unordered_map_K__T__key
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
nop dword [rax + rax]
int3
Function at 0x1400e0d68
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
lea r14, [rcx + 0x18]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
nop
mov r9, qword [rbx + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400e0dae
mov rdx, qword [rbx]
movabs r11, 0xcbf29ce484222325
mov r8, r11
lea r10, [r9 + r9]
xor ecx, ecx
movabs rdi, 0x100000001b3
test r10, r10
je 0x1400e0de3
movzx eax, byte [rcx + rdx]
xor r8, rax
imul r8, rdi
inc rcx
cmp rcx, r10
jb 0x1400e0dd0
movzx r15d, byte [rbx + 0x20]
mov ecx, r15d
xor rcx, r11
imul rcx, rdi
mov rax, r8
shl rax, 6
mov rdx, r8
shr rdx, 2
add rcx, rax
mov eax, 0x9e3779b9
add rdx, rax
add rdx, rcx
xor rdx, r8
mov rax, qword [rbp + 0x88]
and rax, rdx
add rax, rax
mov rcx, qword [rbp + 0x70]
mov rdi, qword [rcx + rax*8 + 8]
cmp rdi, qword [rbp + 0x60]
je 0x1400e0e9c
mov r11, qword [rcx + rax*8]
lea rax, [rdi + 0x10]
cmp qword [rdi + 0x28], 8
jb 0x1400e0e40
mov rax, qword [rdi + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jae 0x1400e0f5f
cmp r9, qword [rdi + 0x20]
jne 0x1400e0f71
mov r8, r9
test r9, r9
je 0x1400e0e87
sub rdx, rax
movzx r10d, word [rax]
cmp word [rdx + rax], r10w
jb 0x1400e0f71
ja 0x1400e0f71
cmp r8, 1
je 0x1400e0e87
dec r8
add rax, 2
jmp 0x1400e0e63
cmp r15b, byte [rdi + 0x30]
jne 0x1400e0f71
test rdi, rdi
je 0x1400e0e9c
cmp rdi, qword [rbp + 0x60]
jne 0x1400e0ee0
mov rax, qword [rbp + 0x48]
lock inc qword [rax + 0x48]
and qword [rsi], 0
and qword [rsi + 8], 0
test r14, r14
je 0x1400e0ec3
mov rcx, r14
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
nop
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
mov rbx, qword [rdi + 0x48]
cmp qword [rbp + 0x40], 0
jne 0x1400e0f83
mov r8, qword [rbp + 0x98]
mov r9, qword [rbx]
cmp r8, r9
je 0x1400e0f24
cmp r8, rbx
je 0x1400e0f24
mov rdx, qword [rbx + 8]
mov qword [rdx], r9
mov rcx, qword [r9 + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [r9 + 8], rdx
mov qword [rbx + 8], rax
mov rax, qword [rbp + 0x48]
lock inc qword [rax + 0x40]
mov rdx, qword [rdi + 0x40]
test rdx, rdx
jne 0x1400e0f67
mov rax, qword [rdi + 0x38]
mov qword [rsi], rax
mov qword [rsi + 8], rdx
test r14, r14
je 0x1400e0ec3
mov rcx, r14
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
nop
jmp 0x1400e0ec3
mov rdx, qword [rbx]
jmp 0x1400e0e4e
lock inc dword [rdx + 8]
mov rdx, qword [rdi + 0x40]
jmp 0x1400e0f36
cmp rdi, r11
je 0x1400e0e9c
mov rdi, qword [rdi + 8]
jmp 0x1400e0e31
lea rcx, [rbx + 0x38]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTimeAsFileTime]
nop dword [rax + rax]
jmp 0x1400e0eef
Function at 0x1400e4054
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 0x1400e4206
cmp ecx, 0x7c
je 0x1400e4206
cmp ecx, 0x29
jne 0x1400e40a0
cmp dword [rdi + 0x1c], 0
jne 0x1400e4206
test dword [rdi + 0x80], 0x10000000
jne 0x1400e41bb
lea edx, [rcx - 0x24]
call fcn.1400e4d54
int3
cmp ecx, 0x2e
jne 0x1400e40b8
lea rcx, [rdi + 0x40]
mov edx, 5
call fcn.1400e3e50
jmp 0x1400e41d9
cmp ecx, 0x5c
jne 0x1400e411c
mov rcx, rdi
call fcn.1400e4314
test byte [rdi + 0x80], 0x80
je 0x1400e410f
cmp word [rdi + 0x78], 0x62
jne 0x1400e40f0
mov edx, 4
lea rcx, [rdi + 0x40]
call fcn.1400e3e50
mov rcx, rdi
call fcn.1400e4314
jmp 0x1400e41e9
cmp word [rdi + 0x78], 0x42
jne 0x1400e410f
lea rcx, [rdi + 0x40]
mov edx, 4
call fcn.1400e3e50
mov rax, qword [rdi + 0x48]
xor dword [rax + 0xc], 1
jmp 0x1400e40e3
mov rcx, rdi
call fcn.1400e44ec
jmp 0x1400e41e1
cmp ecx, 0x5b
jne 0x1400e4147
mov rcx, rdi
call fcn.1400e4314
mov rcx, rdi
call fcn.140151e94
mov edx, 0x5d
mov rcx, rdi
lea r8d, [rdx - 0x59]
call fcn.1400e4354
jmp 0x1400e41e1
cmp ecx, 0x28
jne 0x1400e4175
mov rcx, rdi
call fcn.1400e4314
mov rcx, rdi
call fcn.1400e4218
mov edx, MsiGetActiveDatabase
mov rcx, rdi
mov bl, al
lea r8d, [rdx - 0x24]
call fcn.1400e4354
test bl, bl
jne 0x1400e41e1
jmp 0x1400e41e9
cmp ecx, 0x5e
jne 0x1400e4182
lea edx, [rcx - 0x5c]
jmp 0x1400e40da
cmp ecx, 0x24
jne 0x1400e418f
lea edx, [rcx - 0x21]
jmp 0x1400e40da
cmp ecx, 0x3f
je 0x1400e41fb
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x1400e41fb
cmp ecx, 0x7b
je 0x1400e41fb
cmp ecx, 0x7d
jne 0x1400e41bb
test dword [rdi + 0x80], 0x10000000
jne 0x1400e41cc
lea edx, [rcx - 0x77]
call fcn.1400e4d54
int3
cmp ecx, 0x5d
jne 0x1400e41cc
test dword [rdi + 0x80], 0x10000000
je 0x1400e41f0
movzx edx, word [rdi + 0x78]
lea rcx, [rdi + 0x40]
call fcn.14014ec08
mov rcx, rdi
call fcn.1400e4314
mov rcx, rdi
call fcn.1400e43c8
mov al, 1
jmp 0x1400e4063
mov edx, 4
call fcn.1400e4d54
int3
mov edx, 0xa
call fcn.1400e4d54
int3
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400eac58
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
mov rbx, rdx
mov rdi, rcx
and dword [rax - 0x18], 0
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x1400eac83
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, 0x7b
call fcn.1400ea6bc
mov ecx, esi
call fcn.1401581b8
mov qword [rdi], rax
mov dword [rsp + 0x30], 1
cmp qword [rbx + 0x18], 8
jb 0x1400eacda
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, 0x84
call fcn.1400ec56c
mov rax, rdi
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400f2dc8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0xd8
mov rax, qword [0x1404fd7f0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov eax, r9d
mov dword [rsp + 0x20], eax
mov r13, r8
mov rbx, rdx
mov rsi, rcx
mov dword [rsp + 0x28], eax
mov r8, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x1400f2e0c
mov r8, qword [rdx]
movabs rcx, 0xcbf29ce484222325
xor edx, edx
cmp qword [rbx + 0x10], rdx
jbe 0x1400f2e3d
movzx eax, byte [rdx + r8]
xor rcx, rax
movabs r9, 0x100000001b3
imul rcx, r9
inc rdx
cmp rdx, qword [rbx + 0x10]
jb 0x1400f2e1e
mov rax, qword [rsi + 0x160]
and rax, rcx
add rax, rax
mov rcx, qword [rsi + 0x148]
mov rdi, qword [rcx + rax*8 + 8]
cmp rdi, qword [rsi + 0x138]
je 0x1400f2e9f
mov r15, qword [rcx + rax*8]
lea r8, [rdi + 0x10]
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0x10
jb 0x1400f2e75
mov r8, qword [r8]
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400f2e82
mov rcx, qword [rbx]
mov rdx, qword [rbx + 0x10]
call fcn.1400f3018
test al, al
jne 0x1400f2e9a
cmp rdi, r15
je 0x1400f2e9f
mov rdi, qword [rdi + 8]
jmp 0x1400f2e63
test rdi, rdi
jne 0x1400f2ea6
mov rdi, qword [rsi + 0x138]
mov rdx, r13
lea rcx, [rbp - 0x69]
cmp rdi, qword [rsi + 0x138]
jne 0x1400f2f44
call fcn.1400d0ed4
mov edi, dword [rsp + 0x20]
mov dword [rbp - 0x49], edi
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.1400d0ed4
movups xmm0, xmmword [rbp - 0x69]
movaps xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [rbp - 0x59]
movaps xmmword [rbp - 9], xmm1
movdqa xmm0, xmmword [0x1403bea40]
movdqu xmmword [rbp - 0x59], xmm0
mov byte [rbp - 0x69], 0
mov dword [rbp + 7], edi
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x79]
lea rcx, [rsi + 0x130]
call fcn.1400f2b08
nop
lea rcx, [rbp - 0x19]
call fcn.1400d0bcc
lea rcx, [rbp - 0x39]
call fcn.1400d0bcc
nop
lea rcx, [rbp - 0x69]
call fcn.1400d0bcc
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140156340
add rsp, 0xd8
pop r15
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea r8, [rsp + 0x28]
call fcn.1400f309c
mov rbx, rax
mov rdx, rax
lea rcx, [rdi + 0x30]
call fcn.1400f304c
mov eax, dword [rbx + 0x20]
mov dword [rdi + 0x50], eax
jmp 0x1400f2f1e

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

Disassembly:
cmp qword [rdx + 0x18], 0x10
mov r9, qword [rdx + 0x10]
jb 0x1400f30da
mov rdx, qword [rdx]
xor r8d, r8d
movabs rcx, 0xcbf29ce484222325
test r9, r9
je 0x1400f310a
movzx eax, byte [r8 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, r10
cmp r8, r9
jb 0x1400f30ec
mov rax, rcx
ret
Function at 0x1400f5828
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x1404fd7f0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rdx
mov rbx, rcx
and qword [rbp - 9], 0
mov r8d, 4
mov rdx, rcx
lea rcx, [rbp - 9]
call fcn.1400f5fe4
mov edi, eax
test eax, eax
jns 0x1400f58bd
cmp qword [rbx + 0x18], 8
jb 0x1400f5877
mov rbx, qword [rbx]
mov rcx, qword [rbp + 0x5f]
mov qword [rsp + 0x28], rbx
lea rax, str.Could_not_get_handle_for_service__ws
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, str.amcorewcd_sourcecommon_src_serviceutils.cpp
mov edx, 0x12f
call fcn.1400f616c
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x1400f58b6
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
nop dword [rax + rax]
nop
mov eax, edi
jmp 0x1400f596a
lea rdx, [rbp + 0x17]
mov rcx, qword [rbp - 9]
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_QueryServiceStatus]
nop dword [rax + rax]
test eax, eax
jne 0x1400f5904
cmp qword [rbx + 0x18], 8
jb 0x1400f58df
mov rbx, qword [rbx]
mov rcx, qword [rbp + 0x5f]
mov qword [rsp + 0x20], rbx
lea r9, str.Cannot_query_service_status_for_service__ls
lea r8, str.amcorewcd_sourcecommon_src_serviceutils.cpp
mov edx, 0x133
call fcn.1400f61a4
mov ebx, eax
jmp 0x1400f595f
call fcn.1400abad4
mov r8, rax
cmp dword [rax], 4
jbe 0x1400f5958
mov edx, dword [rbp + 0x1b]
mov dword [rbp - 1], edx
mov rcx, rbx
call fcn.1400df740
mov qword [rbp + 7], rax
lea rax, str.Read_current_state_of_service
mov qword [rbp + 0xf], rax
lea rax, [rbp - 1]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 7]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xf]
mov qword [rsp + 0x20], rax
lea rdx, [0x140474f28]
mov rcx, r8
call fcn.1400030f4
mov eax, dword [rbp + 0x1b]
mov dword [rsi], eax
xor ebx, ebx
lea rcx, [rbp - 9]
call fcn.1400f6230
mov eax, ebx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140156340
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, qword [rdx]
movabs rbx, 0xcbf29ce484222325
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_GetLengthSid]
nop dword [rax + rax]
xor ecx, ecx
mov edx, eax
test eax, eax
je 0x1400f8423
movzx eax, byte [rcx + rdi]
movabs r8, 0x100000001b3
xor rbx, rax
inc rcx
imul rbx, r8
cmp rcx, rdx
jb 0x1400f8406
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
cmp qword [rdx + 0x18], 8
mov r9, rdx
mov r10, qword [rdx + 0x10]
jb 0x1400f8666
mov r9, qword [rdx]
xor ecx, ecx
movabs r11, 0xcbf29ce484222325
mov r8, r11
movabs rbx, 0x100000001b3
add r10, r10
je 0x1400f8698
movzx eax, byte [rcx + r9]
inc rcx
xor r8, rax
imul r8, rbx
cmp rcx, r10
jb 0x1400f8684
movzx ecx, byte [rdx + 0x20]
mov rax, r8
shl rax, 6
xor rcx, r11
imul rcx, rbx
mov rbx, qword [rsp + 8]
mov rdx, r8
add rcx, rax
shr rdx, 2
mov eax, 0x9e3779b9
add rax, rdx
add rax, rcx
xor rax, r8
ret
Function at 0x1400fb770
Capabilities:
Hash data using fnv

Disassembly:
movzx r8d, byte [rdx]
movabs r9, 0x100000001b3
movzx ecx, byte [rdx + 6]
movabs rax, 0xcbf29ce484222325
xor r8, rax
movzx eax, byte [rdx + 1]
imul r8, r9
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, r9
xor r8, rax
movzx eax, byte [rdx + 3]
imul r8, r9
xor r8, rax
movzx eax, byte [rdx + 4]
imul r8, r9
xor r8, rax
movzx eax, byte [rdx + 5]
imul r8, r9
xor rax, r8
imul rax, r9
xor rax, rcx
movzx ecx, byte [rdx + 7]
imul rax, r9
xor rax, rcx
imul rax, r9
ret

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

Disassembly:
mov r11, rcx
movabs r9, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r10 + r8]
movabs rcx, 0x100000001b3
xor r9, rax
inc r10
imul r9, rcx
cmp r10, 8
jb 0x140103b54
mov rcx, qword [r11 + 0x30]
and rcx, r9
mov r9, qword [r11 + 0x18]
add rcx, rcx
mov rax, qword [r9 + rcx*8 + 8]
cmp rax, qword [r11 + 8]
je 0x140103ba9
mov r10, qword [r9 + rcx*8]
mov rcx, qword [r8]
cmp rcx, qword [rax + 0x10]
je 0x140103ba4
cmp rax, r10
je 0x140103ba9
mov rax, qword [rax + 8]
jmp 0x140103b93
test rax, rax
jne 0x140103bad
mov rax, qword [r11 + 8]
mov qword [rdx], rax
mov rax, rdx
ret