joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400fa420
Capabilities:
Query or enumerate registry key

Disassembly:
push rsi
sub rsp, 0x70
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0x58], rax
test byte [rcx + 0xe0], 4
mov rsi, rcx
jne 0x1400fa5ac
mov r8, qword [rcx + 0x58]
mov edx, 1
lea rcx, [rsp + 0x38]
mov r8, qword [r8 + 0x10]
call sym.SystemInformer.exe_PhOpenServiceKey
nop dword [rax]
test eax, eax
js 0x1400fa5a5
mov qword [rsp + 0x90], rbp
lea r8, [rsp + 0x40]
xor eax, eax
mov qword [rsp + 0x60], r14
mov r14, qword [rsp + 0x38]
xorps xmm0, xmm0
mov qword [rsp + 0x50], rax
mov ebp, 0x10
mov dword [rsp + 0x34], eax
mov rcx, r14
lea rax, [rsp + 0x34]
mov qword [rsp + 0x88], rbx
mov r9d, ebp
mov qword [rsp + 0x20], rax
xor edx, edx
mov qword [rsp + 0x68], rdi
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.ntdll.dll_NtQueryKey]
nop dword [rax]
cmp eax, 0x80000005
jne 0x1400fa4d5
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jne 0x1400fa579
mov rcx, qword [0x1402bfe50]
mov edx, 4
mov r8d, 0x100
mov dword [rsp + 0x30], 0x100
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
nop dword [rax + rax]
mov r9d, dword [rsp + 0x30]
lea rax, [rsp + 0x30]
mov r8, rdi
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, r14
call qword [sym.imp.ntdll.dll_NtQueryKey]
mov ebx, eax
test eax, eax
jns 0x1400fa55d
mov rcx, qword [0x1402bfe50]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp ebx, 0x80000005
jne 0x1400fa580
mov r8d, dword [rsp + 0x30]
mov edx, 4
mov rcx, qword [0x1402bfe50]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
add ebp, 0xffffffff
jne 0x1400fa500
nop dword [rax]
test ebx, ebx
js 0x1400fa580
mov rcx, qword [0x1402bfe50]
mov r8, rdi
mov rbx, qword [rdi]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov qword [rsi + 0xc8], rbx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntdll.dll_NtClose]
mov r14, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x88]
or dword [rsi + 0xe0], 4
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401dd6a0
add rsp, 0x70
pop rsi
ret
Function at 0x1400fcde0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdx, qword [0x1402bfcd8]
mov ecx, 0x40
call sym.SystemInformer.exe_PhCreateObject
xor edi, edi
mov esi, 1
mov ecx, esi
mov word [rax], di
lock xadd dword [0x1402bfcd0], ecx
movzx edx, cl
lea r9d, [rdi + 0x28]
lea rcx, [0x1400fd040]
mov byte [rax + 2], dl
mov qword [rax + 8], rcx
lea r8, [0x1400fd120]
lea rcx, str.ServiceItem
mov dword [rax + 4], edi
mov qword [rax + 0x10], rcx
lea rcx, [0x1402c3fc0]
mov qword [rcx + rdx*8], rax
lea rdx, [0x1400fd110]
lea ecx, [rdi + 8]
mov qword [0x1402bfc78], rax
call sym.SystemInformer.exe_PhCreateHashtable
mov qword [0x1402bfc68], rax
lea rax, [0x1402c1ed0]
test al, 0xf
jne 0x1400fd028
cmp byte [0x1402bed1c], dil
xorps xmm0, xmm0
movaps xmmword [0x1402c1ed0], xmm0
je 0x1400fd00e
xor edx, edx
mov qword [rsp + 0x50], rbx
mov r8d, 0x800
lea rcx, str.sechost.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
jne 0x1400fcf09
xor edx, edx
lea rcx, str.sechost.dll
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
jne 0x1400fcf09
cmp dword [0x1402b5e88], 0x3e
nop dword [rax]
jae 0x1400fcfaf
xor r8d, r8d
lea rcx, str.sechost.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
je 0x1400fcfaf
cmp byte [0x1402bece7], dil
je 0x1400fcf4f
cmp dword [0x1402b5e88], 0x3e
jb 0x1400fcf4f
xor r8d, r8d
lea rdx, str.SubscribeServiceChangeNotifications
mov rcx, rbx
call fcn.1401746e0
xor r8d, r8d
mov qword [0x1402c1ee0], rax
lea rdx, str.UnsubscribeServiceChangeNotifications
mov rcx, rbx
call fcn.1401746e0
mov qword [0x1402c2700], rax
jmp 0x1400fcfaf
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x1400fcfa8
mov ecx, dword ds:[rbx + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x1400fcfa8
cmp dword [rcx + rbx], 0x4550
jne 0x1400fcfa8
lea rdx, ds:[rbx + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1400fcfa8
cmp dword [rdx + 4], edi
je 0x1400fcfa8
lea r8, ds:[rbx + rax]
mov word [rsp + 0x20], di
lea r9, str.NotifyServiceStatusChangeW
mov rcx, rbx
call fcn.140174840
mov rdi, rax
mov qword [0x1402c1ee8], rdi
mov rbx, qword [rsp + 0x50]
mov byte [0x1402c0129], sil
xchg dword [0x1402c1ecc], esi
cmp qword [0x1402c1ee8], 0
je 0x1400fcfd9
xor edx, edx
lea rcx, [0x1400fe960]
call sym.SystemInformer.exe_PhCreateThread2
cmp qword [0x1402c1ee0], 0
je 0x1400fd00e
call fcn.14016ac00
mov rcx, rax
lea r8, [0x1400ff070]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor edx, edx
mov rax, qword [0x1402c1ee0]
call qword [str.PB__]
mov al, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401dd6a0
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov ecx, 0x80000002
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
Function at 0x140100d80
Capabilities:
Capture screenshot

Disassembly:
push rdi
sub rsp, 0x80
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r9, rcx
mov rdi, rdx
mov rcx, qword [rdx + 0x18]
cmp rcx, qword [0x1402c2710]
jne 0x140100dba
mov rcx, rdx
call fcn.140101fc0
mov al, 1
jmp 0x140100f5f
mov qword [rsp + 0x90], rbx
xor ebx, ebx
cmp rcx, qword [0x1402c2720]
jne 0x140100f24
mov eax, dword [rdx + 0x30]
sub eax, dword [rdx + 0x28]
mov dword [rsp + 0x58], eax
mov eax, dword [rdx + 0x34]
sub eax, dword [rdx + 0x2c]
mov dword [rsp + 0x5c], eax
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0x50], rbx
call qword [sym.imp.USER32.dll_GetDC]
mov rbp, rax
test rax, rax
je 0x140100f18
mov qword ss:[rsp + 0xa8], rsi
mov rcx, rax
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r15
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, dword [rsp + 0x5c]
mov rcx, rbp
mov edx, dword [rsp + 0x58]
mov rsi, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
mov rcx, rsi
mov r14, rax
call qword [sym.imp.GDI32.dll_SelectObject]
lea edx, [rbx + 1]
mov rcx, rsi
mov r15, rax
call qword [sym.imp.GDI32.dll_SetBkMode]
cmp byte [0x1402bed1d], bl
nop
je 0x140100e72
cmp dword [0x1402c48b4], 1
jne 0x140100ea6
mov edx, 0x2b2b2b
jmp 0x140100e77
mov edx, 0xffffff
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SetDCBrushColor]
mov ecx, 0x12
call qword [sym.imp.GDI32.dll_GetStockObject]
lea rdx, ds:[rsp + 0x50]
mov rcx, rsi
mov r8, rax
call qword [sym.imp.USER32.dll_FillRect]
mov eax, dword [rdi + 0x34]
mov rcx, rbp
mov r9d, dword [rdi + 0x30]
mov r8d, dword [rdi + 0x2c]
mov edx, dword [rdi + 0x28]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, qword ds:[rdi + 0x18]
mov rdx, rbp
call qword [sym.imp.USER32.dll_ReleaseDC]
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
mov rsi, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0xa0]
mov al, 1
jmp 0x140100f57
mov r8, qword [0x1402c2738]
mov edx, dword [r8]
test edx, edx
je 0x140100f55
mov r8, qword [r8 + 8]
nop word [rax + rax]
mov rcx, qword [r8 + rbx*8]
mov eax, dword [rcx + 0xb0]
cmp r9, rax
je 0x140100f75
inc ebx
cmp ebx, edx
jb 0x140100f40
xor al, al
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401dd6a0
add rsp, 0x80
pop rdi
ret
mov rdx, qword ds:[rdi + 0x20]
lea r8, [rdi + 0x28]
call fcn.140102260
mov al, 1
jmp 0x140100f57
Function at 0x140107260
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor r9d, r9d
lea rdx, [rsp + 0x68]
lea r8d, [r9 + 0x31]
lea ecx, [r9 + 0x69]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x1401072a5
lea rcx, [rsp + 0x68]
jmp 0x1401072f5
xor ecx, ecx
mov eax, 0x80000002
cpuid
mov dword [rsp + 0x40], ecx
xor ecx, ecx
mov dword [rsp + 0x38], eax
mov eax, 0x80000003
mov dword [rsp + 0x3c], ebx
mov dword [rsp + 0x44], edx
cpuid
mov dword [rsp + 0x50], ecx
xor ecx, ecx
mov dword [rsp + 0x48], eax
mov eax, 0x80000004
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x54], edx
cpuid
mov dword [rsp + 0x60], ecx
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x5c], ebx
mov dword [rsp + 0x64], edx
mov edx, 0x30
call sym.SystemInformer.exe_PhConvertUtf8ToUtf16Ex
mov rdi, rax
xorps xmm1, xmm1
mov rbx, qword [rax + 8]
mov rax, rbx
mov ecx, ebx
and rax, 0xfffffffffffffff1
and ecx, 0xf
je 0x140107339
movdqu xmm0, xmmword [rax]
pcmpeqw xmm0, xmm1
pmovmskb edx, xmm0
shr edx, cl
bsf ecx, edx
mov dword [rsp + 0x20], ecx
je 0x140107335
mov eax, ecx
shr rax, 1
jmp 0x140107378
add rax, 0x10
movdqu xmm0, xmmword [rax]
pcmpeqw xmm0, xmm1
pmovmskb ecx, xmm0
bsf edx, ecx
mov dword [rsp + 0x20], edx
jne 0x14010736a
nop
movdqu xmm0, xmmword [rax + 0x10]
add rax, 0x10
pcmpeqw xmm0, xmm1
pmovmskb ecx, xmm0
bsf edx, ecx
mov dword [rsp + 0x20], edx
je 0x140107350
sub rax, rbx
mov ecx, edx
sar rax, 1
shr rcx, 1
add rax, rcx
add rax, rax
lea rdx, [0x1402bb3d8]
mov qword [rdi], rax
lea rcx, [rsp + 0x28]
movups xmm0, xmmword [rdi]
mov r8d, 2
movups xmmword [rsp + 0x28], xmm0
call sym.SystemInformer.exe_PhTrimStringRef
mov rsi, qword [rsp + 0x28]
mov rdx, qword [0x1402bfcf8]
lea rcx, [rsi + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov rdx, qword [rsp + 0x30]
mov rbx, rax
lea rcx, [rax + 0x10]
mov qword [rax], rsi
mov qword [rax + 8], rcx
xor eax, eax
mov word [rcx + rsi], ax
test rdx, rdx
je 0x1401073dc
mov rcx, qword [rbx + 8]
mov r8, rsi
call fcn.1401e3aa0
nop dword [rax]
test rdi, rdi
je 0x1401073fd
lea rcx, [rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401073fd
call fcn.14013d2a0
mov rax, rbx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1401dd6a0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140107720
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rcx, qword [0x1402bfe50]
mov edx, 4
mov r8d, 0x100
mov dword [rsp + 0x20], 0x100
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0x64
mov rsi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
xor ebx, ebx
mov edi, eax
cmp eax, 0xc0000004
jne 0x1401077db
cmp ebx, 8
jae 0x1401077e8
mov rcx, qword [0x1402bfe50]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x20]
mov edx, 4
mov rcx, qword [0x1402bfe50]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0x64
mov rsi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
inc ebx
mov edi, eax
cmp eax, 0xc0000004
je 0x140107787
test edi, edi
js 0x1401077e8
mov qword [0x1402c2968], rsi
jmp 0x1401077fd
lfence
mov rcx, qword [0x1402bfe50]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, edi
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401dd6a0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14011d000
Capabilities:
Encode data using xor

Disassembly:
mov r9, qword [rcx + 0xb8]
xor r8d, r8d
mov r10, rcx
cmp dword [r9], r8d
jbe 0x14011d045
movzx eax, dl
lea r11d, [rax*4]
nop dword [rax]
mov rax, qword ds:[r9 + 8]
mov ecx, r11d
mov rdx, qword [rax + r8*8]
inc r8d
xor ecx, dword [rdx]
and ecx, 4
xor dword [rdx], ecx
mov r9, qword [r10 + 0xb8]
cmp r8d, dword [r9]
jb 0x14011d020
mov rcx, qword [r10 + 0x78]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x404
jmp qword [sym.imp.USER32.dll_SendMessageW]
Function at 0x140130460
Capabilities:
Access peb ldr_data

Disassembly:
push rbx
sub rsp, 0x20
mov eax, edx
mov ebx, ecx
test edx, edx
jne 0x1401304b6
cmp ecx, 0xc0000022
je 0x14013049c
cmp ecx, 0xc0000005
je 0x14013049c
mov eax, ecx
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x140130491
movzx eax, bx
jmp 0x1401304a6
cmp eax, 0xb0000
jne 0x1401304aa
mov eax, ebx
jmp 0x1401304a6
nop dword [rax]
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x1401304b6
mov ecx, ebx
add rsp, 0x20
pop rbx
jmp sym.SystemInformer.exe_PhGetNtMessage
mov ecx, eax
add rsp, 0x20
pop rbx
jmp sym.SystemInformer.exe_PhGetWin32Message
Function at 0x140130ba0
Capabilities:
Hash data using sha1

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x48]
sub rsp, 0x148
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rbp + 0x38], rax
movups xmm0, xmmword [rdx]
mov ebx, r9d
mov rdi, r8
mov rsi, rcx
mov edx, 4
mov rcx, qword [0x1402bfe50]
movups xmmword [rsp + 0x20], xmm0
ror word [rsp + 0x24], 8
lea r15d, [rbx + 0x10]
ror word [rsp + 0x26], 8
movd eax, xmm0
mov r8d, r15d
bswap eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
movups xmm0, xmmword ds:[rsp + 0x20]
mov r8d, ebx
mov rdx, rdi
mov r14, rax
lea rcx, [rax + 0x10]
movups xmmword [rax], xmm0
call fcn.1401e3aa0
movzx ebx, byte [rbp + 0xa0]
xor eax, eax
mov r8d, r15d
mov rdx, r14
cmp bl, 3
jne 0x140130cf9
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x38], 0x67452301
mov dword [rsp + 0x3c], 0xefcdab89
mov dword [rsp + 0x40], 0x98badcfe
mov dword [rsp + 0x44], 0x10325476
mov qword [rsp + 0x30], rax
call fcn.1401c9b20
mov edx, dword [rsp + 0x30]
lea rcx, [rsp + 0x48]
shr edx, 3
and edx, 0x3f
mov eax, edx
add rcx, rax
mov eax, 0x3f
sub eax, edx
xor edx, edx
mov byte [rcx], 0x80
inc rcx
cmp eax, 8
jae 0x140130cc6
mov r8d, eax
call fcn.1401dff50
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.1401c9ce0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x78], rax
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
jmp 0x140130cd1
add eax, 0xfffffff8
mov r8d, eax
call fcn.1401dff50
mov eax, dword [rsp + 0x30]
lea rdx, [rsp + 0x48]
mov dword [rbp - 0x80], eax
lea rcx, [rsp + 0x38]
mov eax, dword [rsp + 0x34]
mov dword [rbp - 0x7c], eax
call fcn.1401c9ce0
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbp - 0x78], xmm0
jmp 0x140130d3c
lea rcx, [rbp - 0x60]
mov dword [rbp - 0x48], 0x67452301
mov dword [rbp - 0x44], 0xefcdab89
mov dword [rbp - 0x40], 0x98badcfe
mov dword [rbp - 0x3c], 0x10325476
mov dword [rbp - 0x38], 0xc3d2e1f0
mov qword [rbp - 0x34], rax
call fcn.1401ccce0
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x60]
call fcn.1401ccdc0
movups xmm0, xmmword [rbp + 0x20]
mov bl, 5
mov rcx, qword [0x1402bfe50]
mov r8, r14
xor edx, edx
movups xmmword [rsp + 0x20], xmm0
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
movups xmm0, xmmword [rsp + 0x20]
shl bl, 4
movups xmmword [rsi], xmm0
mov eax, dword [rsi]
bswap eax
mov dword [rsi], eax
movzx eax, word [rsi + 4]
ror ax, 8
mov word [rsi + 4], ax
movzx eax, word [rsi + 6]
ror ax, 8
mov word [rsi + 6], ax
shr ax, 8
and al, 0xf
or al, bl
mov byte [rsi + 7], al
movzx eax, byte [rsi + 8]
and al, 0x3f
or al, 0x80
mov byte [rsi + 8], al
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.1401dd6a0
add rsp, 0x148
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1401320a0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x60
xor r14d, r14d
lea rsi, [0x1402c2d60]
test byte [0x1402bb780], 1
lea r15, [0x1402c2db8]
movzx ebx, r8b
mov edi, edx
mov rbp, rcx
jne 0x140132165
lock bts qword [0x1402bb780], 0x1f
jae 0x140132107
test byte [0x1402bb780], 1
jne 0x140132165
xor edx, edx
lea rcx, [0x1402bb780]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x140132165
mov r9d, 4
mov r8, rsi
mov ecx, 0x400
lea edx, [r9 + 0xa]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
nop
test eax, eax
jne 0x14013212e
mov dword [0x1402c2d60], 0x2e
mov r9d, 4
mov r8, r15
mov ecx, 0x400
lea edx, [r9 + 0xb]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x140132154
mov dword [0x1402c2db8], 0x2c
lea rcx, [0x1402bb780]
nop dword [rax + rax]
call sym.SystemInformer.exe_PhfSetEvent
neg bl
mov dword [rsp + 0x28], r14d
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], edi
sbb eax, eax
mov dword [rsp + 0x34], r14d
and eax, 3
mov qword [rsp + 0x40], rsi
mov r8, rbp
mov dword [rsp + 0x38], eax
xor edx, edx
mov qword [rsp + 0x48], r15
mov ecx, 0x400
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov rdx, qword [0x1402bfcf8]
mov ebx, eax
add rbx, rbx
mov edi, eax
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov dword [rsp + 0x28], edi
lea r9, [rsp + 0x30]
mov r8, rbp
mov ecx, 0x400
mov rsi, rax
lea rdx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rdx
mov word [rdx + rbx], r14w
mov rdx, qword [rax + 8]
mov qword [rsp + 0x20], rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetNumberFormatW]
test eax, eax
jne 0x14013221a
lea rcx, [rsi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140132216
call fcn.14013d2a0
xor eax, eax
jmp 0x14013228c
mov r8, qword [rsi + 8]
xorps xmm1, xmm1
mov rax, r8
mov ecx, r8d
and rax, 0xfffffffffffffff1
and ecx, 0xf
je 0x14013224d
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rax]
pmovmskb edx, xmm0
shr edx, cl
bsf ecx, edx
je 0x140132249
mov eax, ecx
shr rax, 1
jmp 0x140132283
add rax, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rax]
pmovmskb ecx, xmm0
bsf edx, ecx
jne 0x140132275
nop dword [rax]
add rax, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rax]
pmovmskb ecx, xmm0
bsf edx, ecx
je 0x140132260
sub rax, r8
mov ecx, edx
sar rax, 1
shr rcx, 1
add rax, rcx
add rax, rax
mov qword [rsi], rax
mov rax, rsi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1401347c0
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
sub rsp, 0x18
cmp qword [0x1402c2d88], 0
mov r8, rcx
je 0x1401347e1
movups xmm0, xmmword [0x1402c2d80]
movups xmmword ds:[rcx], xmm0
add rsp, 0x18
ret
mov ecx, 0x7ffe0030
mov qword [rsp + 8], 0x7ffe0030
xorps xmm0, xmm0
xorps xmm1, xmm1
pcmpeqw xmm0, xmmword [rcx]
pmovmskb eax, xmm0
bsf edx, eax
mov dword [rsp + 0x28], edx
jne 0x140134829
nop word [rax + rax]
add rcx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rcx]
pmovmskb eax, xmm0
bsf edx, eax
mov dword [rsp + 0x28], edx
je 0x140134810
add rcx, 0xffffffff8001ffd0
mov eax, edx
sar rcx, 1
shr rax, 1
add rcx, rax
add rcx, rcx
mov qword [rsp], rcx
cmp word [rcx + 0x7ffe002e], 0x5c
jne 0x140134854
lea rax, [rcx - 2]
mov qword [rsp], rax
movups xmm0, xmmword ds:[rsp]
lea rax, [rcx - 2]
cmovne rax, rcx
movups xmmword [r8], xmm0
mov qword [0x1402c2d80], rax
lock or dword [rsp], 0
mov qword [0x1402c2d88], 0x7ffe0030
add rsp, 0x18
ret

Function at 0x1401350d0
Capabilities:
Parse pe header

Disassembly:
mov r9, rdx
xor r8d, r8d
xor edx, edx
jmp fcn.1401350e0
Function at 0x1401350e0
Capabilities:
Parse pe header

Disassembly:
mov qword ss:[rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r15
sub rsp, 0x40
mov eax, edx
mov r15, r9
and eax, 1
mov rdi, r8
shl eax, 0x13
mov rsi, rcx
mov ebx, eax
bts ebx, 0x11
test dl, 2
cmove ebx, eax
xor ebp, ebp
bts ebx, 0xe
test byte [0x1402bb770], 1
jne 0x140135218
lock bts qword [0x1402bb770], 0x1f
jae 0x140135152
test byte [0x1402bb770], 1
jne 0x140135218
xor edx, edx
lea rcx, [0x1402bb770]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x140135218
xor edx, edx
lea rcx, str.shell32.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x1401351b1
xor edx, edx
lea rcx, str.shell32.dll
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x1401351b1
cmp dword [0x1402b5e88], 0x3e
jae 0x14013520c
xor r8d, r8d
lea rcx, str.shell32.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x14013520c
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140135202
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140135202
cmp dword [rdx + rcx], 0x4550
jne 0x140135202
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140135202
cmp dword [rdx + 4], ebp
je 0x140135202
lea r8, [rcx + rax]
mov word [rsp + 0x20], bp
lea r9, str.SHGetKnownFolderPath
call fcn.140174840
nop
jmp 0x140135205
mov rax, rbp
mov qword [0x1402c2d70], rax
lea rcx, [0x1402bb770]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402c2d70]
nop
test rax, rax
je 0x14013533a
lea r9, [rsp + 0x30]
mov r8, rdi
mov edx, ebx
mov rcx, rsi
call qword [str.PB__]
nop dword [rax]
test eax, eax
js 0x14013533a
mov r8, qword ds:[rsp + 0x30]
xorps xmm1, xmm1
mov rdx, r8
mov qword [rsp + 0x60], r14
and rdx, 0xfffffffffffffff1
mov ecx, r8d
and ecx, 0xf
je 0x140135282
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14013527e
mov edx, ecx
shr rdx, 1
jmp 0x1401352c3
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x1401352b5
nop dword [rax]
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x1401352a0
sub rdx, r8
mov eax, ecx
sar rdx, 1
shr rax, 1
add rdx, rax
lea r14, [rdx + rdx]
test r15, r15
je 0x1401352d1
mov rsi, qword [r15]
jmp 0x1401352d4
mov rsi, rbp
mov rdx, qword [0x1402bfcf8]
lea rbx, [rsi + r14]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov r8, r14
mov rdi, rax
lea rcx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov word [rcx + rbx], bp
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call fcn.1401e3aa0
test r15, r15
je 0x140135325
mov rcx, qword ds:[rdi + 8]
mov r8, rsi
mov rdx, qword [r15 + 8]
add rcx, r14
call fcn.1401e3aa0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov r14, qword [rsp + 0x60]
mov rax, rdi
jmp 0x14013533c
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop rdi
pop rsi
ret
Function at 0x1401372c0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x30
test byte [0x1402bb790], 1
mov rbx, rcx
jne 0x1401373dc
lock bts qword [0x1402bb790], 0x1f
jae 0x140137305
test byte [0x1402bb790], 1
jne 0x1401373dc
xor edx, edx
lea rcx, [0x1402bb790]
call sym.SystemInformer.exe_PhfWaitForEvent
nop dword [rax]
jmp 0x1401373dc
xor edx, edx
lea rcx, str.shell32.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14013736e
xor edx, edx
lea rcx, str.shell32.dll
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14013736e
cmp dword [0x1402b5e88], 0x3e
jae 0x1401373d0
xor r8d, r8d
lea rcx, str.shell32.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x1401373d0
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401373c7
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1401373c7
cmp dword [rdx + rcx], 0x4550
jne 0x1401373c7
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401373c7
cmp dword [rdx + 4], 0
je 0x1401373c7
lea r8, ds:[rcx + rax]
xor eax, eax
lea r9, str.ShellExecuteExW
mov word [rsp + 0x20], ax
call fcn.140174840
jmp 0x1401373c9
xor eax, eax
mov qword [0x1402c2de8], rax
lea rcx, [0x1402bb790]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402c2de8]
test rax, rax
jne 0x1401373ee
add rsp, 0x30
pop rbx
ret
mov rcx, rbx
call qword [str.PB__]
test eax, eax
setne al
add rsp, 0x30
pop rbx
ret