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

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor edx, edx
lea rcx, str.sechost.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
jne 0x1401037fa
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 0x1401037fa
cmp dword [0x1402bff40], 0x3e
jae 0x14010389d
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 0x14010389d
cmp byte [0x1402c964d], 0
je 0x140103842
cmp dword [0x1402bff40], 0x3e
jb 0x140103842
xor r8d, r8d
lea rdx, str.SubscribeServiceChangeNotifications
mov rcx, rbx
call fcn.14017dae0
xor r8d, r8d
mov qword [0x1402ccbc0], rax
lea rdx, str.UnsubscribeServiceChangeNotifications
mov rcx, rbx
call fcn.14017dae0
mov qword [0x1402cd3e0], rax
nop
jmp 0x14010389d
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x140103894
mov ecx, dword [rbx + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x140103894
cmp dword [rcx + rbx], 0x4550
jne 0x140103894
lea rdx, [rbx + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140103894
cmp dword [rdx + 4], 0
je 0x140103894
lea r8, [rbx + rax]
mov rcx, rbx
xor eax, eax
lea r9, str.NotifyServiceStatusChangeW
mov word [rsp + 0x20], ax
call fcn.14017dc40
jmp 0x140103896
xor eax, eax
mov qword [0x1402ccbc8], rax
mov eax, 1
mov byte [0x1402cae44], 1
xchg dword [0x1402ccba8], eax
cmp qword [0x1402ccbc8], 0
je 0x1401038c7
xor edx, edx
lea rcx, [0x140103080]
call sym.SystemInformer.exe_PhCreateThread2
cmp qword [0x1402ccbc0], 0
je 0x1401038fc
call fcn.1401737f0
mov rcx, rax
lea r8, [0x140103750]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor edx, edx
mov rax, qword [0x1402ccbc0]
call qword [case.0x14013d64a.0]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401e4160
add rsp, 0x40
pop rbx
ret
Function at 0x140105680
Capabilities:
Capture screenshot

Disassembly:
push rdi
sub rsp, 0x80
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r9, rcx
mov rdi, rdx
mov rcx, qword [rdx + 0x18]
cmp rcx, qword [0x1402cd3f0]
jne 0x1401056ba
mov rcx, rdx
call fcn.1401068a0
mov al, 1
jmp 0x14010585f
mov qword [rsp + 0x90], rbx
xor ebx, ebx
cmp rcx, qword [0x1402cd400]
jne 0x140105824
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 0x140105818
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]
mov edx, 1
mov rcx, rsi
mov r15, rax
call qword [sym.imp.GDI32.dll_SetBkMode]
cmp byte [0x1402c964f], bl
je 0x140105773
cmp dword [0x1402cf5d4], 1
jne 0x1401057a6
mov edx, 0x2b2b2b
jmp 0x140105778
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 0x140105857
mov r8, qword [0x1402cd418]
mov edx, dword [r8]
test edx, edx
je 0x140105855
mov r8, qword [r8 + 8]
nop word [rax + rax]
mov rcx, qword [r8 + rbx*8]
mov eax, dword [rcx + 0xb0]
cmp r9, rax
je 0x140105875
inc ebx
cmp ebx, edx
jb 0x140105840
xor al, al
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401e4160
add rsp, 0x80
pop rdi
ret
mov rdx, qword ds:[rdi + 0x20]
lea r8, [rdi + 0x28]
call fcn.140106b40
mov al, 1
jmp 0x140105857
Function at 0x14010ba20
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 [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor r9d, r9d
lea rdx, [rsp + 0x68]
mov r8d, 0x31
mov ecx, 0x69
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
nop dword [rax]
test eax, eax
js 0x14010ba6b
lea rcx, [rsp + 0x68]
jmp 0x14010babb
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 0x14010baff
movdqu xmm0, xmmword [rax]
pcmpeqw xmm0, xmm1
pmovmskb edx, xmm0
shr edx, cl
bsf ecx, edx
mov dword [rsp + 0x20], ecx
je 0x14010bafb
mov eax, ecx
shr rax, 1
jmp 0x14010bb48
add rax, 0x10
movdqu xmm0, xmmword [rax]
pcmpeqw xmm0, xmm1
pmovmskb ecx, xmm0
bsf edx, ecx
mov dword [rsp + 0x20], edx
jne 0x14010bb3a
nop dword [rax]
nop dword [rax + rax]
movdqu xmm0, xmmword [rax + 0x10]
add rax, 0x10
pcmpeqw xmm0, xmm1
pmovmskb ecx, xmm0
bsf edx, ecx
mov dword [rsp + 0x20], edx
je 0x14010bb20
sub rax, rbx
mov ecx, edx
sar rax, 1
shr rcx, 1
add rax, rcx
add rax, rax
lea rdx, [0x1402c5678]
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 ds:[rsp + 0x28]
mov rdx, qword [0x1402ca978]
lea rcx, [rsi + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov rdx, qword ds:[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 0x14010bbb1
mov rcx, qword [rbx + 8]
mov r8, rsi
call fcn.14020a640
test rdi, rdi
je 0x14010bbce
lea rcx, [rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14010bbce
call fcn.140141ca0
mov rax, rbx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1401e4160
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14010c2a0
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 [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rcx, qword [0x1402caad0]
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 0x14010c35b
cmp ebx, 8
jae 0x14010c368
mov rcx, qword [0x1402caad0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x20]
mov edx, 4
mov rcx, qword [0x1402caad0]
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 0x14010c307
test edi, edi
js 0x14010c368
mov qword [0x1402cd658], rsi
jmp 0x14010c37d
lfence
mov rcx, qword [0x1402caad0]
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.1401e4160
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14010c6e0
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rsi
push r14
sub rsp, 0x50
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp dword [0x1402bff40], 0x64
mov esi, ecx
jb 0x14010c817
xor r14d, r14d
lea rax, [r11 - 0x28]
mov qword [r11 - 0x30], rax
lea rdx, [r11 - 0x20]
xor r9d, r9d
mov dword [r11 - 0x38], r14d
mov r8d, 8
mov dword [r11 - 0x28], r14d
mov ecx, 0xaf
mov qword [r11 - 0x20], r14
call qword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
mov eax, dword ds:[rsp + 0x30]
test eax, eax
je 0x14010c817
mov rcx, qword [0x1402caad0]
add eax, 4
mov qword [rsp + 0x60], rbx
mov edx, 4
mov qword [rsp + 0x68], rbp
xor bpl, bpl
mov r8d, eax
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x30], eax
mov ebx, eax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
mov rdi, rax
call fcn.14020a280
mov eax, dword [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r9, rdi
mov qword [rsp + 0x28], r14
mov r8d, 8
mov dword [rsp + 0x20], eax
mov ecx, 0xaf
mov qword [rsp + 0x40], r14
call qword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
mov rbx, qword [rsp + 0x60]
test eax, eax
js 0x14010c7f5
mov edx, dword [rdi]
lea rcx, [rdi + 0x20]
add rdx, rdi
mov rax, rdi
cmp rcx, rdx
ja 0x14010c7f5
nop dword [rax]
movzx ecx, byte [rax + 0xe]
cmp ecx, esi
je 0x14010c7ed
mov ecx, dword [rax]
add rax, rcx
mov edx, dword [rax]
lea rcx, [rax + 0x20]
add rdx, rax
cmp rcx, rdx
jbe 0x14010c7d0
jmp 0x14010c7f5
movzx ebp, byte [rax + 0x13]
and bpl, 1
mov rcx, qword [0x1402caad0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rdi, qword [rsp + 0x70]
movzx eax, bpl
mov rbp, qword [rsp + 0x68]
jmp 0x14010c819
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401e4160
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x140121dc0
Capabilities:
Encode data using xor

Disassembly:
mov r9, qword [rcx + 0xb8]
xor r8d, r8d
mov r10, rcx
cmp dword [r9], r8d
jbe 0x140121e05
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 0x140121de0
mov rcx, qword [r10 + 0x78]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x404
jmp qword [sym.imp.USER32.dll_SendMessageW]
Function at 0x140134180
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
test byte [0x1402c5980], 1
mov rbx, rdx
mov rdi, rcx
jne 0x1401342c9
lock bts qword [0x1402c5980], 0x1f
setb al
test al, al
je 0x1401341ce
test byte [0x1402c5980], 1
jne 0x1401342c9
xor edx, edx
lea rcx, [0x1402c5980]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x1401342c9
lea r8, str.kernel32.dll
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x140134206
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x140134202
mov edx, ecx
shr rdx, 1
jmp 0x140134243
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x140134235
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x140134220
sub rdx, r8
mov eax, ecx
sar rdx, 1
shr rax, 1
add rdx, rax
lea rax, [rdx + rdx]
mov qword [rsp + 0x38], r8
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
call fcn.14017d8a0
mov rcx, rax
test rax, rax
je 0x1401342b4
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401342b4
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1401342b4
cmp dword [rdx + rcx], 0x4550
jne 0x1401342b4
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401342b4
cmp dword [rdx + 4], 0
je 0x1401342b4
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.SystemTimeToTzSpecificLocalTimeEx
mov word [rsp + 0x20], ax
call fcn.14017dc40
jmp 0x1401342b6
xor eax, eax
lea rcx, [0x1402c5980]
mov qword [0x1402cda70], rax
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cda70]
xor ecx, ecx
xorps xmm0, xmm0
mov r8, rbx
mov rdx, rdi
movups xmmword [rbx], xmm0
test rax, rax
je 0x1401342fb
call qword [case.0x14013d64a.0]
test eax, eax
setne al
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
mov rbx, qword [rsp + 0x50]
test eax, eax
setne al
add rsp, 0x40
pop rdi
ret

Function at 0x140134e00
Capabilities:
Access peb ldr_data

Disassembly:
push rbx
sub rsp, 0x20
mov eax, edx
mov ebx, ecx
test edx, edx
jne 0x140134e56
cmp ecx, 0xc0000022
je 0x140134e3c
cmp ecx, 0xc0000005
je 0x140134e3c
mov eax, ecx
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x140134e31
movzx eax, bx
jmp 0x140134e46
cmp eax, 0xb0000
jne 0x140134e4a
mov eax, ebx
jmp 0x140134e46
nop dword [rax]
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x140134e56
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 0x140135520
Capabilities:
Hash data using sha1

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x38]
sub rsp, 0x138
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rbp + 0x28], rax
movups xmm0, xmmword [rdx]
mov ebx, r9d
mov rdi, r8
mov rsi, rcx
mov edx, 4
mov rcx, qword [0x1402caad0]
movups xmmword [rbp + 0x10], xmm0
ror word [rbp + 0x14], 8
lea r15d, [rbx + 0x10]
ror word [rbp + 0x16], 8
movd eax, xmm0
mov r8d, r15d
bswap eax
mov dword [rbp + 0x10], eax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
movups xmm0, xmmword [rbp + 0x10]
mov r8d, ebx
mov rdx, rdi
mov r14, rax
lea rcx, [rax + 0x10]
movups xmmword [rax], xmm0
call fcn.14020a640
movzx ebx, byte [rbp + 0x90]
xor eax, eax
mov r8d, r15d
mov rdx, r14
cmp bl, 3
jne 0x140135671
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x28], 0x67452301
mov dword [rsp + 0x2c], 0xefcdab89
mov dword [rsp + 0x30], 0x98badcfe
mov dword [rsp + 0x34], 0x10325476
mov qword [rsp + 0x20], rax
call fcn.1401d0380
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x38]
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 0x140135639
mov r8d, eax
call fcn.14020a280
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x28]
call fcn.1401d0520
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x68], rax
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
jmp 0x140135645
add eax, 0xfffffff8
mov r8d, eax
call fcn.14020a280
mov eax, dword ds:[rsp + 0x20]
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x70], eax
lea rcx, [rsp + 0x28]
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x74], eax
call fcn.1401d0520
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsp + 0x78], xmm0
jmp 0x1401356b8
lea rcx, ds:[rbp - 0x70]
mov dword [rbp - 0x58], 0x67452301
mov dword [rbp - 0x54], 0xefcdab89
mov dword [rbp - 0x50], 0x98badcfe
mov dword [rbp - 0x4c], 0x10325476
mov dword [rbp - 0x48], 0xc3d2e1f0
mov qword [rbp - 0x44], rax
call fcn.1401d3540
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x70]
call fcn.1401d3610
movups xmm0, xmmword [rbp + 0x10]
mov bl, 5
mov rcx, qword [0x1402caad0]
mov r8, r14
xor edx, edx
movups xmmword [rbp + 0x10], xmm0
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
movups xmm0, xmmword [rbp + 0x10]
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 + 0x28]
xor rcx, rsp
call fcn.1401e4160
add rsp, 0x138
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140136a20
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, [0x1402cda58]
test byte [0x1402c5a40], 1
lea r15, [0x1402cdab8]
movzx ebx, r8b
mov edi, edx
mov rbp, rcx
jne 0x140136ae7
lock bts qword [0x1402c5a40], 0x1f
setb al
test al, al
je 0x140136a89
test byte [0x1402c5a40], 1
jne 0x140136ae7
xor edx, edx
lea rcx, [0x1402c5a40]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x140136ae7
mov r9d, 4
mov r8, rsi
mov edx, 0xe
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x140136ab4
mov dword [0x1402cda58], 0x2e
mov r9d, 4
mov r8, r15
mov edx, 0xf
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x140136adb
mov dword [0x1402cdab8], 0x2c
lea rcx, [0x1402c5a40]
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 [0x1402ca978]
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 0x140136b9a
lea rcx, [rsi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140136b96
call fcn.140141ca0
xor eax, eax
jmp 0x140136c0c
mov r8, qword [rsi + 8]
xorps xmm1, xmm1
mov rax, r8
mov ecx, r8d
and rax, 0xfffffffffffffff1
and ecx, 0xf
je 0x140136bcd
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rax]
pmovmskb edx, xmm0
shr edx, cl
bsf ecx, edx
je 0x140136bc9
mov eax, ecx
shr rax, 1
jmp 0x140136c03
add rax, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rax]
pmovmskb ecx, xmm0
bsf edx, ecx
jne 0x140136bf5
nop dword [rax]
add rax, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rax]
pmovmskb ecx, xmm0
bsf edx, ecx
je 0x140136be0
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 0x140139200
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
sub rsp, 0x18
cmp qword [0x1402cda88], 0
mov r8, rcx
je 0x140139221
movups xmm0, xmmword [0x1402cda80]
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 0x140139269
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 0x140139250
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 0x140139294
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 [0x1402cda80], rax
lock or dword [rsp], 0
mov qword [0x1402cda88], 0x7ffe0030
add rsp, 0x18
ret

Function at 0x140139c00
Capabilities:
Parse pe header

Disassembly:
mov r9, rdx
xor r8d, r8d
xor edx, edx
jmp fcn.140139c20
Function at 0x140139c20
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
xor ebp, ebp
mov r15, r9
mov rdi, r8
mov rsi, rcx
mov ebx, ebp
test dl, 1
je 0x140139c4d
lfence
mov ebx, 0x80000
test dl, 2
je 0x140139c59
lfence
bts ebx, 0x11
bts ebx, 0xe
test byte [0x1402c5a30], 1
jne 0x140139d5d
lock bts qword [0x1402c5a30], 0x1f
setb al
test al, al
je 0x140139c9b
test byte [0x1402c5a30], 1
jne 0x140139d5d
xor edx, edx
lea rcx, [0x1402c5a30]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x140139d5d
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 0x140139cf8
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 0x140139cf8
cmp dword [0x1402bff40], 0x3e
jae 0x140139d51
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 0x140139d51
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140139d47
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140139d47
cmp dword [rdx + rcx], 0x4550
jne 0x140139d47
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140139d47
cmp dword [rdx + 4], ebp
je 0x140139d47
lea r8, [rcx + rax]
mov word [rsp + 0x20], bp
lea r9, str.SHGetKnownFolderPath
call fcn.14017dc40
jmp 0x140139d4a
mov rax, rbp
mov qword [0x1402cda68], rax
lea rcx, [0x1402c5a30]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cda68]
test rax, rax
je 0x140139e7a
lea r9, ds:[rsp + 0x30]
mov r8, rdi
mov edx, ebx
mov rcx, rsi
call qword [case.0x14013d64a.0]
test eax, eax
js 0x140139e7a
mov r8, qword [rsp + 0x30]
xorps xmm1, xmm1
mov rdx, r8
mov qword [rsp + 0x60], r14
and rdx, 0xfffffffffffffff1
mov ecx, r8d
and ecx, 0xf
je 0x140139dc7
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x140139dc3
mov edx, ecx
shr rdx, 1
jmp 0x140139e03
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x140139df5
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x140139de0
sub rdx, r8
mov eax, ecx
sar rdx, 1
shr rax, 1
add rdx, rax
lea r14, [rdx + rdx]
test r15, r15
je 0x140139e11
mov rsi, qword [r15]
jmp 0x140139e14
mov rsi, rbp
mov rdx, qword [0x1402ca978]
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.14020a640
test r15, r15
je 0x140139e65
mov rcx, qword ds:[rdi + 8]
mov r8, rsi
mov rdx, qword [r15 + 8]
add rcx, r14
call fcn.14020a640
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov r14, qword [rsp + 0x60]
mov rax, rdi
jmp 0x140139e7c
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop rdi
pop rsi
ret