joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003cb50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rdi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x14003cb75
cvtsi2ss xmm0, rdx
jmp 0x14003cb8a
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call fcn.1402824c4
movss xmm1, dword [0x1403149a8]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14003cbb8
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14003cbb8
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x14003cbea
cmp rbx, 0x200
jae 0x14003cbe7
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x14003cbea
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140033d10
Function at 0x140044580
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov r14, r8
mov rsi, rdx
mov r15, rcx
mov qword [rbp - 0x58], rdx
xor r12d, r12d
mov dword [rbp - 0x60], r12d
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], 7
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [r9 + r8*2], r12w
jne 0x1400445c3
mov rdx, r9
lea rcx, [rbp - 0x48]
call fcn.140025e70
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
movabs r9, 0xcbf29ce484222325
mov rax, qword [rbp - 0x38]
lea r8, [rax + rax]
mov rcx, r12
test r8, r8
je 0x140044623
movabs r10, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140044610
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x18]
mov rcx, r14
call fcn.140034130
mov rbx, qword [rax + 8]
test rbx, rbx
jne 0x140044640
mov rbx, qword [r14 + 8]
lea rcx, [rbp - 0x48]
call fcn.140025de0
cmp rbx, qword [r14 + 8]
jne 0x140044665
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
lea rdx, [rbp - 0x58]
mov ecx, 1
mov rax, r12
jmp 0x140044694
mov rcx, qword [rbx + 0x68]
test rcx, rcx
je 0x140044757
mov rax, qword [rcx]
mov r8, qword [r15 + 0x38]
lea rdx, [rbp - 0x28]
mov rax, qword [rax + 0x10]
call qword [case.0x1400ac8a1.0]
lea rdx, [rbp - 0x28]
mov ecx, 0xa
mov rax, qword [rbp - 0x28]
mov qword [rsi], rax
mov rax, qword [rdx + 8]
mov qword [rsi + 8], rax
mov qword [rdx], r12
mov qword [rdx + 8], r12
or ecx, 4
mov dword [rbp - 0x60], ecx
test cl, 2
je 0x1400446fa
and ecx, 0xfffffffd
mov dword [rbp - 0x60], ecx
mov rbx, qword [rbp - 0x20]
test rbx, rbx
je 0x1400446fa
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400446f7
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x1400ac8a1.0]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400446f7
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1400ac8a1.0]
mov ecx, dword [rbp - 0x60]
test cl, 1
je 0x140044742
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140044742
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140044742
mov rbx, qword [rbp - 0x50]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x1400ac8a1.0]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140044742
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [case.0x1400ac8a1.0]
mov rax, rsi
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140245dd0
int3
Function at 0x14004ad80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x14035dc30]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], rdx
mov rax, r8
xor r14d, r14d
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x30], r14
mov rbx, rdx
mov qword [rsp + 0x40], r14
mov rbp, rcx
mov qword [rsp + 0x48], 7
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], r14w
jne 0x14004add0
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140025e70
cmp qword [rsp + 0x48], 8
lea rdx, [rsp + 0x30]
mov rax, qword [rsp + 0x40]
movabs r9, 0xcbf29ce484222325
cmovae rdx, qword [rsp + 0x30]
mov rcx, r14
lea r8, [rax + rax]
test r8, r8
je 0x14004ae33
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r10
cmp rcx, r8
jb 0x14004ae20
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x38]
call fcn.140034130
mov rdi, qword [rax + 8]
test rdi, rdi
jne 0x14004ae53
mov rdi, qword [rbp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140025de0
cmp rdi, qword [rbp + 0x40]
jne 0x14004aead
mov ecx, 1
call fcn.140096b00
test eax, eax
je 0x14004aea4
mov r9d, 0x28
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r8, str.McAfee::Script::CScriptVariableStore::Get
lea rax, str.Unable_to_find_requested_variable__s
lea rdx, str.E:BT86881f80_1629_4c1f_90f1_c57ce4e5deb1ScriptHostJavaScriptScriptableScriptVariableStore_srcScriptVariableStore.cpp
mov qword [rsp + 0x20], rax
lea ecx, [r9 - 0x27]
call fcn.14003ad30
mov qword [rbx], r14
mov qword [rbx + 8], r14
jmp 0x14004aeb9
lea rdx, [rdi + 0x30]
mov rcx, rbx
call fcn.14004b680
mov rax, rbx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140269300
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14004cbb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x14035dc30]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbp, r8
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x68], r8
test r8, r8
je 0x14004cd2c
cmp word [r8], 0
je 0x14004cd2c
lea rbx, [rcx + 0x78]
mov qword [rsp + 0x50], rbx
mov rcx, rbx
call fcn.14024619c
test eax, eax
jne 0x14004cd93
xor esi, esi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 7
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rbp + r8*2], si
jne 0x14004cc30
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.140025e70
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
movabs r9, 0xcbf29ce484222325
mov rax, qword [rsp + 0x40]
lea r8, [rax + rax]
mov rcx, rsi
test r8, r8
je 0x14004cc93
movabs r10, 0x100000001b3
nop
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x14004cc80
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x58]
lea rcx, [r14 + 0x38]
call fcn.140034130
mov rbp, qword [rax + 8]
test rbp, rbp
jne 0x14004ccb3
mov rbp, qword [r14 + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140025de0
cmp rbp, qword [r14 + 0x40]
jne 0x14004cd15
mov ecx, 1
call fcn.140096b00
test eax, eax
je 0x14004cd04
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, str.Unable_to_find_item_in_context_store._Name:__s
mov qword [rsp + 0x20], rax
mov r9d, 0x3e
lea r8, str.McAfee::Script::ContextItemStorePlugin::Get
lea rdx, str.E:BT86881f80_1629_4c1f_90f1_c57ce4e5deb1ScriptHostJavaScriptScriptablePluginsContextItemStorePlugin_srcContextItemStorePlugin.cpp
lea ecx, [r9 - 0x3d]
call fcn.14003ad30
mov qword [rdi], rsi
mov qword [rdi + 8], rsi
mov rcx, rbx
call fcn.1402461c0
jmp 0x14004cd6c
lea rdx, [rbp + 0x30]
mov rcx, rdi
call fcn.14004b680
nop
mov rcx, rbx
call fcn.1402461c0
jmp 0x14004cd6c
mov ecx, 1
call fcn.140096b00
test eax, eax
je 0x14004cd63
lea rax, str.Item_name_is_required_for_lookup_from_context_store
mov qword [rsp + 0x20], rax
mov r9d, reloc.WS2_32.dll_getprotobyname
lea r8, str.McAfee::Script::ContextItemStorePlugin::Get
lea rdx, str.E:BT86881f80_1629_4c1f_90f1_c57ce4e5deb1ScriptHostJavaScriptScriptablePluginsContextItemStorePlugin_srcContextItemStorePlugin.cpp
lea ecx, [r9 - 0x34]
call fcn.1400262e0
xor esi, esi
mov qword [rdi], rsi
mov qword [rdi + 8], rsi
mov rax, rdi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140269300
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, eax
call fcn.14024638c
int3
Function at 0x140051880
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov rax, qword [0x14035dc30]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rsi, r9
mov r15d, r8d
mov rdi, rdx
test rdx, rdx
jne 0x1400518ba
xor al, al
jmp 0x140051aae
xor r12d, r12d
mov qword [rbp - 0x41], r12
movdqa xmm0, xmmword [0x1403149c0]
movdqu xmmword [rbp - 0x31], xmm0
mov word [rbp - 0x41], r12w
mov r14, 0xffffffffffffffff
mov r8, r14
nop dword [rax]
inc r8
cmp word [rdx + r8*2], r12w
jne 0x1400518e0
lea rcx, [rbp - 0x41]
call fcn.140025e70
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], rax
movdqu xmmword [rsp + 0x20], xmm0
movdqu xmmword [rbp - 0x79], xmm0
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x11]
call fcn.1400afd90
nop
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x11]
call fcn.1400b6830
test al, al
je 0x1400519c1
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x11]
call fcn.1400b61d0
lea rcx, [rbp - 0x21]
call fcn.1400b59d0
test rax, rax
je 0x1400519c1
lea rcx, [rbp - 0x21]
call fcn.1400a20a0
mov rbx, rax
lea rcx, [rbp - 0x21]
call fcn.1400b59d0
cmp rbx, rax
jne 0x1400519c1
mov ecx, dword [rsi + 8]
sub ecx, 1
je 0x14005198a
cmp ecx, 3
jne 0x14005199d
lea rcx, [rsi + 0x18]
call fcn.140044010
lea rcx, [rsi + 0x28]
call fcn.140044010
jmp 0x14005199d
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x14005199d
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi + 0x10], r12
mov dword [rsi + 8], 1
lea rcx, [rbp - 0x41]
cmp qword [rbp - 0x29], 8
cmovae rcx, qword [rbp - 0x41]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsi + 0x10], rax
jmp 0x140051a5c
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
lea rdx, [rbp + 7]
mov rcx, rdi
call qword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x140051a13
mov qword [rbp - 0x49], r12
lea r9, [rbp - 0x49]
xor r8d, r8d
mov edx, r15d
lea rcx, [rbp + 7]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov rdx, qword [rbp - 0x49]
test rdx, rdx
jne 0x1400519ff
xor dil, dil
jmp 0x140051a5f
mov rcx, rsi
call fcn.140043a20
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x140051a5c
mov qword [rbp - 0x69], r12
movdqa xmm0, xmmword [0x1403149c0]
movdqu xmmword [rbp - 0x59], xmm0
mov r8, r14
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x140051a30
mov rdx, rdi
lea rcx, [rbp - 0x69]
call fcn.140025e70
lea rdx, [rbp - 0x69]
mov rcx, rsi
call fcn.1400439a0
lea rcx, [rbp - 0x69]
call fcn.140025de0
mov dil, 1
mov rbx, qword [rbp - 1]
test rbx, rbx
je 0x140051aa1
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140051aa1
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x1400ac8a1.0]
lock xadd dword [rbx + 0xc], r14d
cmp r14d, 1
jne 0x140051aa1
mov rdx, qword [rbx]
mov rcx, rbx
mov rax, qword [rdx + 8]
call qword [case.0x1400ac8a1.0]
nop
lea rcx, [rbp - 0x41]
call fcn.140025de0
movzx eax, dil
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140269300
add rsp, 0xd0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140056640
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rsp + 0x70]
mov r10d, r9d
mov r9d, dword [rsp + 0x60]
mov r11, r8
mov qword [rsp + 0x28], rax
mov rcx, rdx
mov rax, qword [rsp + 0x68]
mov r8d, r10d
mov rdx, r11
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
add rsp, 0x30
pop rbx
ret

Function at 0x1400566d0
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rsp + 0x70]
mov r10d, r9d
mov r9d, dword [rsp + 0x60]
mov r11, r8
mov dword [rsp + 0x28], eax
mov rcx, rdx
mov rax, qword [rsp + 0x68]
mov r8d, r10d
mov rdx, r11
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
add rsp, 0x30
pop rbx
ret

Function at 0x140056840
Capabilities:
Resolve dns

Disassembly:
push rbx
sub rsp, 0x40
mov eax, dword [rsp + 0x88]
mov r10, r9
mov r9d, dword [rsp + 0x70]
mov r11d, r8d
mov dword [rsp + 0x30], eax
mov rcx, rdx
mov eax, dword [rsp + 0x80]
mov r8, r10
mov dword [rsp + 0x28], eax
mov edx, r11d
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_getnameinfo]
add rsp, 0x40
pop rbx
ret
Function at 0x14005a720
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x50]
xor ebp, ebp
mov rax, qword [rsp + 0x58]
mov r13, r9
mov rbx, qword [rsp + 0x68]
mov r12, rdx
mov qword [r14], r8
mov qword [rbx], rax
mov rax, qword [r14]
cmp rax, r9
je 0x14005a8b4
mov r15, qword [rsp + 0x60]
lea r9d, [rbp + 1]
mov rdi, qword [rbx]
mov r11d, 0x2800
mov r8d, 0x3ff
mov r10d, 0x2400
cmp rdi, r15
je 0x14005a8b4
movzx edx, word [r12]
xor sil, sil
movzx ecx, word [rax]
cmp r9w, dx
jae 0x14005a7bb
lea eax, [r10 + rcx]
cmp ax, r8w
ja 0x14005a8db
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x14005a7d2
mov eax, ecx
add cx, r11w
cmp cx, r8w
ja 0x14005a7d2
shl eax, 0xa
mov sil, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x14005a7e5
movzx r8d, al
mov r10d, ebp
mov r11d, ebp
jmp 0x14005a832
mov r8d, eax
cmp eax, 0x800
jae 0x14005a7ff
shr r8d, 6
mov r10d, r9d
or r8b, 0xc0
mov r11d, r9d
jmp 0x14005a832
cmp eax, 0x10000
jae 0x14005a819
shr r8d, 0xc
mov r10d, 2
or r8b, 0xe0
mov r11d, r10d
jmp 0x14005a832
shr r8d, 0x12
mov r10d, 3
movzx r11d, sil
or r8b, 0xf0
xor r11d, 1
add r11d, r11d
lea r9d, [r11 + 1]
mov rdx, r15
sub rdx, rdi
mov ecx, r9d
cmp rdx, rcx
jl 0x14005a8b4
add qword [r14], 2
test sil, sil
jne 0x14005a853
cmp r10d, 3
jae 0x14005a85f
mov rcx, qword [rbx]
mov r9d, r11d
mov byte [rcx], r8b
inc qword [rbx]
test r9d, r9d
je 0x14005a891
lea r8d, [r10 + r10*2]
add r8d, r8d
nop dword [rax + rax]
sub r8d, 6
mov edx, eax
mov ecx, r8d
dec r9d
shr edx, cl
mov rcx, qword [rbx]
and dl, 0x3f
or dl, 0x80
mov byte [rcx], dl
inc qword [rbx]
test r9d, r9d
jg 0x14005a870
shr eax, 0xa
mov r9d, 1
test sil, sil
mov ecx, r9d
cmovne ecx, eax
mov word [r12], cx
mov rax, qword [r14]
cmp rax, r13
jne 0x14005a76f
mov rax, qword [rsp + 0x40]
cmp rax, qword [r14]
sete bpl
mov eax, ebp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, 2
jmp 0x14005a8c2
Function at 0x140067e80
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r14
lea rbp, [rsp - 0x7d0]
sub rsp, 0x8d0
mov rax, qword [0x14035dc30]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov r14, rdx
mov rsi, rcx
test rcx, rcx
je 0x1400680a8
xor ebx, ebx
cmp bx, word [rcx]
je 0x1400680a8
test rdx, rdx
je 0x1400680a8
xor edx, edx
mov qword [rsp + 0x900], rdi
mov r8d, 0x208
lea rcx, [rbp + 0x1a0]
call fcn.14026c200
xorps xmm0, xmm0
lea rdx, str._s___
xorps xmm1, xmm1
lea rcx, [rbp + 0x3b0]
mov r8, rsi
movups xmmword [rbp + 0x190], xmm0
movups xmmword [rbp + 0x180], xmm1
call fcn.1400695d0
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x250
call fcn.14026c200
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140068093
cmp dword [rsp + 0x30], 0x10
jne 0x140068032
cmp bx, word [rsp + 0x5c]
je 0x140068032
lea rdx, str._lu__lu__lu__lu
lea rcx, [rsp + 0x5c]
cmp bx, word [rbp + 0x1a0]
jne 0x140067fbd
lea rax, [rbp + 0x19c]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x194]
lea rax, [rbp + 0x198]
lea r8, [rbp + 0x190]
mov qword [rsp + 0x20], rax
call fcn.1400698d0
cmp eax, 4
jne 0x140068032
lea r8, [rsp + 0x5c]
mov edx, 0x104
lea rcx, [rbp + 0x1a0]
call fcn.140278ba4
jmp 0x140068032
lea rax, [rbp + 0x18c]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x184]
lea rax, [rbp + 0x188]
lea r8, [rbp + 0x180]
mov qword [rsp + 0x20], rax
call fcn.1400698d0
cmp eax, 4
jne 0x140068032
mov rax, rbx
mov ecx, dword [rbp + rax + 0x180]
cmp ecx, dword [rbp + rax + 0x190]
jne 0x14006800c
add rax, 4
cmp rax, 0x10
jl 0x140067ff0
jmp 0x140068032
jbe 0x140068032
lea r8, [rsp + 0x5c]
mov edx, 0x104
lea rcx, [rbp + 0x1a0]
call fcn.140278ba4
movups xmm0, xmmword [rbp + 0x180]
movups xmmword [rbp + 0x190], xmm0
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140067f43
cmp bx, word [rbp + 0x1a0]
je 0x14006808e
mov r8, rsi
mov edx, 0x104
mov rcx, r14
call fcn.140278ba4
lea r8, [0x1402f7cc4]
mov edx, 0x104
mov rcx, r14
call fcn.140278c0c
lea r8, [rbp + 0x1a0]
mov edx, 0x104
mov rcx, r14
call fcn.140278c0c
mov ebx, 1
test rdi, rdi
je 0x14006809c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdi, qword [rsp + 0x900]
mov eax, ebx
jmp 0x1400680aa
xor eax, eax
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.140269300
mov rbx, qword [rsp + 0x908]
add rsp, 0x8d0
pop r14
pop rsi
pop rbp
ret
Function at 0x1400680d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x360
mov rax, qword [0x14035dc30]
xor rax, rsp
mov qword [rsp + 0x350], rax
mov rbx, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x140]
call fcn.14026c200
test rbx, rbx
je 0x14006819d
cmp word [rbx], 0
je 0x14006819d
mov r8, rbx
mov edx, 0x104
lea rcx, [rsp + 0x140]
call fcn.140278ba4
mov edx, 0x104
lea rcx, [rsp + 0x140]
call fcn.1402782ec
cmp word [rsp + rax*2 + 0x13e], 0x5c
je 0x140068169
lea r8, [0x1402f7cc4]
mov edx, 0x104
lea rcx, [rsp + 0x140]
call fcn.140278c0c
xor edi, edi
mov r8, qword [rsi]
mov edx, 0x104
lea rcx, [rsp + 0x140]
call fcn.140278c0c
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400681fc
mov eax, 2
jmp 0x1400682d5
mov r8d, 0x104
lea rdx, [rsp + 0x140]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x1400681c2
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400682d5
mov edx, 0x5c
lea rcx, [rsp + 0x140]
call fcn.14026b9c8
test rax, rax
je 0x140068169
xor edi, edi
mov word [rax], di
lea r8, [0x1402f7cc4]
mov edx, 0x104
lea rcx, [rsp + 0x140]
call fcn.140278c0c
jmp 0x14006816b
lea r8, [rsi + 8]
lea rdx, [rsp + 0x140]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x140068222
cmp qword [rsi + 8], 0
je 0x140068222
xor eax, eax
jmp 0x1400682d5
lea rax, [rsp + 0x38]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x140]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140068240
inc ebx
mov r9d, 0x80
lea r8, [rsp + 0x38]
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.14004ab20
movsxd r8, ebx
add r8, r8
je 0x140068287
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400682fa
lea rdx, [rsp + 0x140]
call fcn.14026bb50
nop
mov rcx, qword [rsp + 0x30]
call fcn.14023e96c
mov ebx, eax
lea rax, [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
cmp rcx, rax
je 0x1400682a8
call fcn.1402767a0
nop
test ebx, ebx
jne 0x1400682d3
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsi + 8], rax
test rax, rax
jne 0x1400682cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, edi
jmp 0x1400682d5
mov eax, ebx
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.140269300
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14027932c
nop
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.140277fd8
mov ecx, 0x80070057
call fcn.1400264e0
int3
Function at 0x140068e60
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
lea rbp, [rsp - 0x3d0]
sub rsp, 0x4d0
mov rax, qword [0x14035dc30]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
movups xmm0, xmmword [str.CommonFiles_Dir]
movzx eax, word [0x140302e78]
mov rbx, rcx
movups xmm1, xmmword [0x1402f7378]
xor edx, edx
mov r8d, 0x410
movups xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x50]
mov word [rbp - 0x78], ax
movups xmm0, xmmword [str.McAfeePlatform]
movups xmmword [rbp - 0x60], xmm1
movups xmm1, xmmword [0x140302e68]
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm1
call fcn.14026c200
xor esi, esi
mov dword [rsp + 0x40], esi
test rbx, rbx
je 0x1400690ad
lea rax, [rsp + 0x44]
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rbp - 0x50]
mov dword [rsp + 0x44], 0x410
lea r8, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMcAfeeMSC
mov rcx, 0xffffffff80000002
call fcn.140029e00
test eax, eax
jne 0x140068f44
cmp dword [rsp + 0x40], 1
jne 0x140068f44
mov edx, 0x207
lea rcx, [rbp - 0x50]
call fcn.1402782ec
test rax, rax
jne 0x140068f7e
xor r9d, r9d
mov word [rbp - 0x50], si
lea rax, [rbp - 0x50]
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea edx, [r9 + 0x2b]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1400690a3
lea r8, [rsp + 0x68]
mov edx, 0x208
lea rcx, [rbp - 0x50]
call fcn.140278c0c
mov edx, 0x207
lea rcx, [rbp - 0x50]
call fcn.1402782ec
mov ecx, 0x5c
cmp cx, word [rbp + rax*2 - 0x52]
je 0x140068fb5
lea r8, [0x1402f7cc4]
mov edx, 0x208
lea rcx, [rbp - 0x50]
call fcn.140278c0c
test eax, eax
jne 0x14006907b
mov ecx, 0x22
mov qword [rsp + 0x4e8], rdi
cmp cx, word [rbp - 0x50]
lea rax, [rbp - 0x4e]
lea r8, [rbp - 0x50]
mov edx, 0x104
cmove r8, rax
mov rcx, rbx
call fcn.140278ba4
mov edi, eax
test eax, eax
jne 0x140069073
mov qword [rsp + 0x48], rsi
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], 7
inc r8
cmp word [rbx + r8*2], si
jne 0x140069003
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140025e70
mov r9, qword [rsp + 0x58]
cmp r9, 0x103
jbe 0x140069034
lea rcx, [rsp + 0x48]
call fcn.140025de0
jmp 0x14006906d
cmp qword [rsp + 0x60], 8
lea r8, [rsp + 0x48]
mov edx, 0x104
mov rcx, rbx
cmovae r8, qword [rsp + 0x48]
call fcn.14027bb08
mov rax, qword [rsp + 0x58]
lea rcx, [rsp + 0x48]
mov word [rbx + rax*2], si
mov ebx, dword [rsp + 0x58]
call fcn.140025de0
test ebx, ebx
jne 0x14006909f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, qword [rsp + 0x4e8]
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.140269300
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov eax, edi
jmp 0x140069073
mov word [rbx], si
mov eax, 0xe8
jmp 0x14006907b
mov eax, 0x57
jmp 0x14006907b