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

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1402c0040]
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 0x1401038fa
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 0x1401038fa
cmp dword [0x1402c0f40], 0x3e
jae 0x14010399d
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 0x14010399d
cmp byte [0x1402ca5ad], 0
je 0x140103942
cmp dword [0x1402c0f40], 0x3e
jb 0x140103942
xor r8d, r8d
lea rdx, str.SubscribeServiceChangeNotifications
mov rcx, rbx
call fcn.14017f020
xor r8d, r8d
mov qword [0x1402cdb10], rax
lea rdx, str.UnsubscribeServiceChangeNotifications
mov rcx, rbx
call fcn.14017f020
mov qword [0x1402ce330], rax
nop
jmp 0x14010399d
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x140103994
mov ecx, dword [rbx + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x140103994
cmp dword [rcx + rbx], 0x4550
jne 0x140103994
lea rdx, [rbx + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140103994
cmp dword [rdx + 4], 0
je 0x140103994
lea r8, [rbx + rax]
mov rcx, rbx
xor eax, eax
lea r9, str.NotifyServiceStatusChangeW
mov word [rsp + 0x20], ax
call fcn.14017f180
jmp 0x140103996
xor eax, eax
mov qword [0x1402cdb18], rax
mov eax, 1
mov byte [0x1402cbd94], 1
xchg dword [0x1402cdaf8], eax
cmp qword [0x1402cdb18], 0
je 0x1401039c7
xor edx, edx
lea rcx, [0x1401030e0]
call sym.SystemInformer.exe_PhCreateThread2
cmp qword [0x1402cdb10], 0
je 0x1401039fc
call fcn.140174cf0
mov rcx, rax
lea r8, [0x140103850]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor edx, edx
mov rax, qword [0x1402cdb10]
call qword [case.0x14013dbaa.0]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401e5e20
add rsp, 0x40
pop rbx
ret
Function at 0x140105760
Capabilities:
Capture screenshot

Disassembly:
push rdi
sub rsp, 0x80
mov rax, qword [0x1402c0040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r9, rcx
mov rdi, rdx
mov rcx, qword [rdx + 0x18]
cmp rcx, qword [0x1402ce340]
jne 0x14010579a
mov rcx, rdx
call fcn.140106980
mov al, 1
jmp 0x14010593f
mov qword [rsp + 0x90], rbx
xor ebx, ebx
cmp rcx, qword [0x1402ce350]
jne 0x140105904
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 0x1401058f8
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 [0x1402ca5af], bl
je 0x140105853
cmp dword [0x1402d0534], 1
jne 0x140105886
mov edx, 0x2b2b2b
jmp 0x140105858
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 0x140105937
mov r8, qword [0x1402ce368]
mov edx, dword [r8]
test edx, edx
je 0x140105935
mov r8, qword [r8 + 8]
nop word [rax + rax]
mov rcx, qword [r8 + rbx*8]
mov eax, dword [rcx + 0xb0]
cmp r9, rax
je 0x140105955
inc ebx
cmp ebx, edx
jb 0x140105920
xor al, al
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401e5e20
add rsp, 0x80
pop rdi
ret
mov rdx, qword ds:[rdi + 0x20]
lea r8, [rdi + 0x28]
call fcn.140106c20
mov al, 1
jmp 0x140105937
Function at 0x14010bac0
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 [0x1402c0040]
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 0x14010bb0b
lea rcx, [rsp + 0x68]
jmp 0x14010bb5b
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 0x14010bb9f
movdqu xmm0, xmmword [rax]
pcmpeqw xmm0, xmm1
pmovmskb edx, xmm0
shr edx, cl
bsf ecx, edx
mov dword [rsp + 0x20], ecx
je 0x14010bb9b
mov eax, ecx
shr rax, 1
jmp 0x14010bbe8
add rax, 0x10
movdqu xmm0, xmmword [rax]
pcmpeqw xmm0, xmm1
pmovmskb ecx, xmm0
bsf edx, ecx
mov dword [rsp + 0x20], edx
jne 0x14010bbda
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 0x14010bbc0
sub rax, rbx
mov ecx, edx
sar rax, 1
shr rcx, 1
add rax, rcx
add rax, rax
lea rdx, [0x1402c66c8]
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 [0x1402cb8c0]
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 0x14010bc51
mov rcx, qword [rbx + 8]
mov r8, rsi
call fcn.14020be40
test rdi, rdi
je 0x14010bc6e
lea rcx, [rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14010bc6e
call fcn.140142200
mov rax, rbx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1401e5e20
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14010c340
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 [0x1402c0040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rcx, qword [0x1402cba10]
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 0x14010c3fb
cmp ebx, 8
jae 0x14010c408
mov rcx, qword [0x1402cba10]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x20]
mov edx, 4
mov rcx, qword [0x1402cba10]
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 0x14010c3a7
test edi, edi
js 0x14010c408
mov qword [0x1402ce5a8], rsi
jmp 0x14010c41d
lfence
mov rcx, qword [0x1402cba10]
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.1401e5e20
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14010c780
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rsi
push r14
sub rsp, 0x50
mov rax, qword [0x1402c0040]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp dword [0x1402c0f40], 0x64
mov esi, ecx
jb 0x14010c8b7
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 0x14010c8b7
mov rcx, qword [0x1402cba10]
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.14020ba80
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 0x14010c895
mov edx, dword [rdi]
lea rcx, [rdi + 0x20]
add rdx, rdi
mov rax, rdi
cmp rcx, rdx
ja 0x14010c895
nop dword [rax]
movzx ecx, byte [rax + 0xe]
cmp ecx, esi
je 0x14010c88d
mov ecx, dword [rax]
add rax, rcx
mov edx, dword [rax]
lea rcx, [rax + 0x20]
add rdx, rax
cmp rcx, rdx
jbe 0x14010c870
jmp 0x14010c895
movzx ebp, byte [rax + 0x13]
and bpl, 1
mov rcx, qword [0x1402cba10]
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 0x14010c8b9
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401e5e20
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x140134620
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
test byte [0x1402c68e0], 1
mov rbx, rdx
mov rdi, rcx
jne 0x140134769
lock bts qword [0x1402c68e0], 0x1f
setb al
test al, al
je 0x14013466e
test byte [0x1402c68e0], 1
jne 0x140134769
xor edx, edx
lea rcx, [0x1402c68e0]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x140134769
lea r8, str.kernel32.dll
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x1401346a6
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x1401346a2
mov edx, ecx
shr rdx, 1
jmp 0x1401346e3
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x1401346d5
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x1401346c0
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.14017ede0
mov rcx, rax
test rax, rax
je 0x140134754
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140134754
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140134754
cmp dword [rdx + rcx], 0x4550
jne 0x140134754
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140134754
cmp dword [rdx + 4], 0
je 0x140134754
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.SystemTimeToTzSpecificLocalTimeEx
mov word [rsp + 0x20], ax
call fcn.14017f180
jmp 0x140134756
xor eax, eax
lea rcx, [0x1402c68e0]
mov qword [0x1402ce9c0], rax
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402ce9c0]
xor ecx, ecx
xorps xmm0, xmm0
mov r8, rbx
mov rdx, rdi
movups xmmword [rbx], xmm0
test rax, rax
je 0x14013479b
call qword [case.0x14013dbaa.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 0x1401352a0
Capabilities:
Access peb ldr_data

Disassembly:
push rbx
sub rsp, 0x20
mov eax, edx
mov ebx, ecx
test edx, edx
jne 0x1401352f6
cmp ecx, 0xc0000022
je 0x1401352dc
cmp ecx, 0xc0000005
je 0x1401352dc
mov eax, ecx
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x1401352d1
movzx eax, bx
jmp 0x1401352e6
cmp eax, 0xb0000
jne 0x1401352ea
mov eax, ebx
jmp 0x1401352e6
nop dword [rax]
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x1401352f6
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 0x1401359c0
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 [0x1402c0040]
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 [0x1402cba10]
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.14020be40
movzx ebx, byte [rbp + 0x90]
xor eax, eax
mov r8d, r15d
mov rdx, r14
cmp bl, 3
jne 0x140135b11
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.1401d18c0
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 0x140135ad9
mov r8d, eax
call fcn.14020ba80
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x28]
call fcn.1401d1a60
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 0x140135ae5
add eax, 0xfffffff8
mov r8d, eax
call fcn.14020ba80
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.1401d1a60
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsp + 0x78], xmm0
jmp 0x140135b58
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.1401d4a80
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x70]
call fcn.1401d4b50
movups xmm0, xmmword [rbp + 0x10]
mov bl, 5
mov rcx, qword [0x1402cba10]
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.1401e5e20
add rsp, 0x138
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140136ec0
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, [0x1402ce9a8]
test byte [0x1402c69a0], 1
lea r15, [0x1402cea08]
movzx ebx, r8b
mov edi, edx
mov rbp, rcx
jne 0x140136f87
lock bts qword [0x1402c69a0], 0x1f
setb al
test al, al
je 0x140136f29
test byte [0x1402c69a0], 1
jne 0x140136f87
xor edx, edx
lea rcx, [0x1402c69a0]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x140136f87
mov r9d, 4
mov r8, rsi
mov edx, 0xe
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x140136f54
mov dword [0x1402ce9a8], 0x2e
mov r9d, 4
mov r8, r15
mov edx, 0xf
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x140136f7b
mov dword [0x1402cea08], 0x2c
lea rcx, [0x1402c69a0]
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 [0x1402cb8c0]
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 0x14013703a
lea rcx, [rsi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140137036
call fcn.140142200
xor eax, eax
jmp 0x1401370ac
mov r8, qword [rsi + 8]
xorps xmm1, xmm1
mov rax, r8
mov ecx, r8d
and rax, 0xfffffffffffffff1
and ecx, 0xf
je 0x14013706d
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rax]
pmovmskb edx, xmm0
shr edx, cl
bsf ecx, edx
je 0x140137069
mov eax, ecx
shr rax, 1
jmp 0x1401370a3
add rax, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rax]
pmovmskb ecx, xmm0
bsf edx, ecx
jne 0x140137095
nop dword [rax]
add rax, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rax]
pmovmskb ecx, xmm0
bsf edx, ecx
je 0x140137080
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 0x1401396c0
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
sub rsp, 0x18
cmp qword [0x1402ce9d8], 0
mov r8, rcx
je 0x1401396e1
movups xmm0, xmmword [0x1402ce9d0]
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 0x140139729
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 0x140139710
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 0x140139754
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 [0x1402ce9d0], rax
lock or dword [rsp], 0
mov qword [0x1402ce9d8], 0x7ffe0030
add rsp, 0x18
ret

Function at 0x14013a160
Capabilities:
Parse pe header

Disassembly:
mov r9, rdx
xor r8d, r8d
xor edx, edx
jmp fcn.14013a180
Function at 0x14013a180
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 0x14013a1ad
lfence
mov ebx, 0x80000
test dl, 2
je 0x14013a1b9
lfence
bts ebx, 0x11
bts ebx, 0xe
test byte [0x1402c6990], 1
jne 0x14013a2bd
lock bts qword [0x1402c6990], 0x1f
setb al
test al, al
je 0x14013a1fb
test byte [0x1402c6990], 1
jne 0x14013a2bd
xor edx, edx
lea rcx, [0x1402c6990]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x14013a2bd
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 0x14013a258
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 0x14013a258
cmp dword [0x1402c0f40], 0x3e
jae 0x14013a2b1
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 0x14013a2b1
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14013a2a7
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14013a2a7
cmp dword [rdx + rcx], 0x4550
jne 0x14013a2a7
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14013a2a7
cmp dword [rdx + 4], ebp
je 0x14013a2a7
lea r8, [rcx + rax]
mov word [rsp + 0x20], bp
lea r9, str.SHGetKnownFolderPath
call fcn.14017f180
jmp 0x14013a2aa
mov rax, rbp
mov qword [0x1402ce9b8], rax
lea rcx, [0x1402c6990]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402ce9b8]
test rax, rax
je 0x14013a3da
lea r9, ds:[rsp + 0x30]
mov r8, rdi
mov edx, ebx
mov rcx, rsi
call qword [case.0x14013dbaa.0]
test eax, eax
js 0x14013a3da
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 0x14013a327
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14013a323
mov edx, ecx
shr rdx, 1
jmp 0x14013a363
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x14013a355
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x14013a340
sub rdx, r8
mov eax, ecx
sar rdx, 1
shr rax, 1
add rdx, rax
lea r14, [rdx + rdx]
test r15, r15
je 0x14013a371
mov rsi, qword [r15]
jmp 0x14013a374
mov rsi, rbp
mov rdx, qword [0x1402cb8c0]
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.14020be40
test r15, r15
je 0x14013a3c5
mov rcx, qword ds:[rdi + 8]
mov r8, rsi
mov rdx, qword [r15 + 8]
add rcx, r14
call fcn.14020be40
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov r14, qword [rsp + 0x60]
mov rax, rdi
jmp 0x14013a3dc
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 0x14013bec0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x30
test byte [0x1402c69b0], 1
mov rbx, rcx
jne 0x14013bfdc
lock bts qword [0x1402c69b0], 0x1f
setb al
test al, al
je 0x14013bf0a
test byte [0x1402c69b0], 1
jne 0x14013bfdc
xor edx, edx
lea rcx, [0x1402c69b0]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x14013bfdc
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 0x14013bf6e
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 0x14013bf6e
cmp dword [0x1402c0f40], 0x3e
jae 0x14013bfd0
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 0x14013bfd0
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14013bfc7
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14013bfc7
cmp dword [rdx + rcx], 0x4550
jne 0x14013bfc7
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14013bfc7
cmp dword [rdx + 4], 0
je 0x14013bfc7
lea r8, ds:[rcx + rax]
xor eax, eax
lea r9, str.ShellExecuteExW
mov word [rsp + 0x20], ax
call fcn.14017f180
jmp 0x14013bfc9
xor eax, eax
mov qword [0x1402cea38], rax
lea rcx, [0x1402c69b0]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cea38]
test rax, rax
jne 0x14013bfee
add rsp, 0x30
pop rbx
ret
mov rcx, rbx
call qword [case.0x14013dbaa.0]
test eax, eax
setne al
add rsp, 0x30
pop rbx
ret