joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007a490
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rbx
push rsi
push rdi
push r12
sub rsp, 0x288
mov ecx, dword [0x14015dac4]
xor ebx, ebx
mov rsi, qword [0x14015ccc0]
mov edi, edx
mov r12, qword [0x14015ccb8]
mov dword [rsp + 0x50], ebx
mov qword [rax - 0x50], rbx
mov qword [rax - 0x48], rbx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x14015dac4]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x268], rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14007a4fe
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov qword [rsp + 0x2b8], rbp
lea r9, [rsp + 0x2c0]
mov qword [rsp + 0x280], r13
lea r8, [rsp + 0x40]
mov qword [rsp + 0x278], r14
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x270], r15
mov rcx, r12
lea r15d, [rdi + 1]
mov dword [rsp + 0x2b0], r15d
call fcn.1400c91e0
mov ebp, dword [rsp + 0x2c0]
lea rcx, [rsp + 0x2c0]
mov r8d, ebp
mov edx, r15d
call fcn.1400c8c20
mov r13, qword [rsp + 0x40]
mov r14, qword [rsp + 0x2c0]
test ebp, ebp
je 0x14007a5c2
mov rdi, rbx
mov r15d, ebp
nop word [rax + rax]
mov rcx, qword [rdi + r13]
or rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp word [rcx + rdx*2], bx
jne 0x14007a590
add rdx, rdx
call sym.ProcessJacker.exe_PhCreateStringEx
mov rcx, rax
call sym.ProcessJacker.exe_PhAutoDereferenceObject
mov rcx, qword [r14]
mov qword [rdi + rcx], rax
add rdi, 8
sub r15, 1
jne 0x14007a580
mov r15d, dword [rsp + 0x2b0]
mov rdi, qword [rsp + 0x48]
mov dword [rsp + 0x2c0], 1
cmp dword [rsi], ebx
jbe 0x14007a614
nop word [rax + rax]
mov rdx, qword [rsi + 8]
lea rcx, [rsp + 0x2c0]
mov eax, ebx
mov r9, r14
mov dword [rsp + 0x30], ebp
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rcx
mov rcx, r12
mov rdx, qword [rdx + rax*8]
call fcn.14007a2b0
inc ebx
cmp ebx, dword [rsi]
jb 0x14007a5e0
mov rcx, qword [sym.ProcessJacker.exe_PhHeapHandle]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rcx, qword [sym.ProcessJacker.exe_PhHeapHandle]
mov r8, r13
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r9d, dword [rsp + 0x2c8]
mov r8d, ebp
mov edx, r15d
mov rcx, r14
call fcn.1400c8d00
lea rcx, [rsp + 0x50]
mov rbx, rax
call sym.ProcessJacker.exe_PhDrainAutoPool
mov ecx, dword [0x14015dac4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r15, qword [rsp + 0x270]
lea rcx, [rsp + 0x50]
mov r14, qword [rsp + 0x278]
mov r13, qword [rsp + 0x280]
mov rbp, qword [rsp + 0x2b8]
cmp rax, rcx
je 0x14007a69d
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov rdx, qword [rsp + 0x268]
mov ecx, dword [0x14015dac4]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14007a6c1
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov r8, qword [rsp + 0x260]
test r8, r8
je 0x14007a6dd
mov rcx, qword [sym.ProcessJacker.exe_PhHeapHandle]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, rbx
add rsp, 0x288
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x140085640
Capabilities:
Create service
Delete service
Start service

Disassembly:
push rbp
push r13
sub rsp, 0x98
xor edx, edx
mov r13, rcx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbp, rax
test rax, rax
jne 0x140085685
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x14008584f
movzx eax, ax
or eax, 0xc0070000
add rsp, 0x98
pop r13
pop rbp
ret
mov rdx, qword [0x14015f348]
lea rcx, str.__s___ras___s_
mov r8, qword [r13 + 0x48]
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xc8], rsi
mov rdx, qword [rdx + 8]
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x88], r14
call sym.ProcessJacker.exe_PhFormatString
mov rdx, qword [r13 + 0x48]
mov rbx, rax
lea rax, [0x14010bbf8]
mov r9d, 0xf01ff
mov qword [rsp + 0x60], rax
mov r8, rdx
lea rax, str.LocalSystem
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x58], rax
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
mov rcx, rbp
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
or esi, 0xffffffff
lea rcx, [rbx - 0x10]
mov edx, esi
mov edi, eax
lock xadd dword [rcx + 8], edx
cmp edx, 1
jne 0x140085742
call fcn.1400ae900
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test r14, r14
jne 0x140085764
test edi, edi
jle 0x14008575d
movzx edi, di
or edi, 0xc0070000
mov eax, edi
jmp 0x14008582f
mov qword [rsp + 0x80], r15
call fcn.1400854b0
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rdx, qword [r13 + 0x48]
lea rcx, str.BaseNamedObjects_
call sym.ProcessJacker.exe_PhConcatStrings2
mov r15, rax
mov edi, 0xa
movzx ecx, word [rax]
mov word [rsp + 0x70], cx
movzx ecx, word [rax]
mov word [rsp + 0x72], cx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x78], rcx
nop dword [rax]
lea rcx, [rsp + 0x70]
call fcn.140060070
mov ebx, eax
test eax, eax
jns 0x1400857f1
lea rdx, [rsp + 0xc0]
mov qword [rsp + 0xc0], 0xfffffffffff85ee0
xor ecx, ecx
call qword [sym.imp.ntdll.dll_NtDelayExecution]
add edi, 0xffffffff
jne 0x1400857c0
lea rcx, [r15 - 0x10]
lock xadd dword [rcx + 8], esi
mov r15, qword [rsp + 0x80]
cmp esi, 1
jne 0x14008580c
call fcn.1400ae900
test ebx, ebx
js 0x140085824
mov rdx, r13
mov ecx, 0xc
call fcn.140060450
mov ebx, eax
call fcn.1400601f0
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xb0]
mov r14, qword [rsp + 0x88]
add rsp, 0x98
pop r13
pop rbp
ret
Function at 0x140095630
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov edx, 1
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x24], dx
xor r8d, r8d
mov dword [rsp + 0x20], 0x4c
call sym.ProcessJacker.exe_PhFormat
mov rcx, rax
add rsp, 0x48
jmp sym.ProcessJacker.exe_PhAutoDereferenceObject

Function at 0x140095920
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x30
movsx eax, byte [0x14015deb8]
xor ebx, ebx
mov rcx, qword [sym.ProcessJacker.exe_PhHeapHandle]
mov r8d, eax
shl r8, 3
lea edx, [rbx + 4]
mov qword [0x14015d808], rbx
mov qword [0x14015d750], rbx
mov qword [0x14015d840], rbx
mov qword [0x14015d848], rbx
mov qword [0x14015d830], rbx
mov dword [0x14015d778], eax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rcx, qword [sym.ProcessJacker.exe_PhHeapHandle]
lea edx, [rbx + 4]
mov qword [0x14015d770], rax
mov eax, dword [0x14015d778]
lea r8, [rax + rax*2]
shl r8, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rcx, qword [sym.ProcessJacker.exe_PhHeapHandle]
lea edx, [rbx + 4]
mov qword [0x14015d748], rax
mov eax, dword [0x14015d778]
lea r8, [rax + rax*2]
shl r8, 3
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rcx, qword [sym.ProcessJacker.exe_PhHeapHandle]
lea edx, [rbx + 4]
mov qword [0x14015d820], rax
mov eax, dword [0x14015d778]
lea r8, [rax + rax*2]
shl r8, 3
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edx, dword [0x14015d778]
xorps xmm0, xmm0
mov qword [0x14015d818], rax
xorps xmm1, xmm1
mov dword [0x14015d860], ebx
mov r9, rax
mov byte [0x14015d864], bl
mov dword [0x14015d878], 0xffffffff
movdqu xmmword [0x14015d850], xmm0
movdqu xmmword [0x14015d868], xmm1
test edx, edx
je 0x140095a56
mov rax, qword [0x14015d748]
mov ecx, edx
add rax, 8
nop dword [rax + rax]
mov dword [rax + 8], ebx
mov qword [rax - 8], rbx
mov qword [rax], rbx
mov byte [rax + 0xc], bl
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbx
mov dword [rax + 0x20], 0xffffffff
lea rax, [rax + 0x30]
sub rcx, 1
jne 0x140095a30
lea eax, [rdx + rdx*2]
mov dword [0x14015d7f8], ebx
xor edx, edx
shl eax, 3
xor r8d, r8d
mov dword [rsp + 0x20], eax
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtPowerInformation]
test eax, eax
jns 0x140095a94
mov eax, dword [0x14015d778]
xor edx, edx
mov rcx, qword [0x14015d818]
lea r8, [rax + rax*2]
shl r8, 3
call fcn.1400e43c0
cmp dword [sym.ProcessJacker.exe_WindowsVersion], 0x3d
mov qword [0x14015d838], rbx
mov qword [0x14015d758], rbx
jb 0x140095ab5
add rsp, 0x30
pop rbx
jmp fcn.1400977b0
add rsp, 0x30
pop rbx
ret
Function at 0x140095ca0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x38
mov eax, dword [0x14015d778]
xor r9d, r9d
mov rdx, qword [0x14015d820]
mov qword [rsp + 0x40], rbx
xor ebx, ebx
lea r8d, [rax + rax*2]
shl r8d, 3
lea ecx, [rbx + 0x17]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov r10d, dword [0x14015d778]
test eax, eax
js 0x140095d3f
xor edx, edx
mov qword [rsp + 0x30], rdi
mov rdi, qword [0x14015d820]
xor r8d, r8d
xor r11d, r11d
cmp r10d, 2
jb 0x140095d26
lea eax, [r10 - 2]
shr eax, 1
lea rcx, [rdi + 0x1c]
inc eax
mov r9d, eax
lea r11d, [rax + rax]
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [rcx - 0x18]
lea rcx, [rcx + 0x30]
add rdx, rax
mov eax, dword [rcx - 0x30]
add r8, rax
sub r9, 1
jne 0x140095d10
cmp r11d, r10d
jae 0x140095d33
lea rcx, [r11 + r11*2]
mov ebx, dword [rdi + rcx*8 + 4]
mov rdi, qword [rsp + 0x30]
lea rax, [r8 + rdx]
add rbx, rax
mov ecx, dword [0x14015f088]
xor edx, edx
mov r9, qword [0x14015d818]
mov eax, ecx
sub eax, dword [0x14015d808]
xor r8d, r8d
mov dword [0x14015d80c], eax
mov dword [0x14015d808], ecx
mov ecx, dword [0x14015ebe8]
mov eax, ecx
sub eax, dword [0x14015d750]
mov dword [0x14015d754], eax
mov rax, rbx
sub rax, qword [0x14015d840]
mov qword [0x14015d848], rax
mov dword [0x14015d750], ecx
mov ecx, dword [0x14015f094]
mov eax, ecx
sub eax, dword [0x14015d830]
mov dword [0x14015d834], eax
lea eax, [r10 + r10*2]
shl eax, 3
mov dword [0x14015d830], ecx
lea ecx, [rdx + 0xb]
mov dword [rsp + 0x20], eax
mov qword [0x14015d840], rbx
call qword [sym.imp.ntdll.dll_NtPowerInformation]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x140095dea
mov eax, dword [0x14015d778]
xor edx, edx
mov rcx, qword [0x14015d818]
lea r8, [rax + rax*2]
shl r8, 3
call fcn.1400e43c0
cmp dword [sym.ProcessJacker.exe_WindowsVersion], 0x3d
jb 0x140095e2c
mov r8, qword [0x14015d758]
test r8, r8
je 0x140095e0e
mov rcx, qword [sym.ProcessJacker.exe_PhHeapHandle]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, qword [0x14015d838]
mov qword [0x14015d758], rax
mov qword [0x14015d838], 0
call fcn.1400977b0
mov eax, dword [0x14015d7f8]
mov ecx, 2
inc eax
cmp eax, ecx
cmova eax, ecx
mov dword [0x14015d7f8], eax
call fcn.140096c70
add rsp, 0x38
jmp fcn.140096db0
Function at 0x1400977b0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rcx, qword [sym.ProcessJacker.exe_PhHeapHandle]
mov edx, 4
mov r8d, 0x100
mov dword [rsp + 0x30], 0x100
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
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 0x140097864
nop word [rax + rax]
cmp ebx, 8
jae 0x140097864
mov rcx, qword [sym.ProcessJacker.exe_PhHeapHandle]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x30]
mov edx, 4
mov rcx, qword [sym.ProcessJacker.exe_PhHeapHandle]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
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 0x140097810
test edi, edi
js 0x140097881
mov qword [0x14015d838], rsi
mov eax, edi
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [sym.ProcessJacker.exe_PhHeapHandle]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rbx, qword [rsp + 0x38]
mov eax, edi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400992a0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x14015efd8]
mov eax, ecx
sub eax, dword [0x14015d988]
mov dword [0x14015d98c], eax
mov dword [0x14015d988], ecx
mov ecx, dword [0x14015efdc]
mov eax, ecx
sub eax, dword [0x14015da88]
mov dword [0x14015da8c], eax
mov dword [0x14015da88], ecx
mov ecx, dword [0x14015efe0]
mov eax, ecx
sub eax, dword [0x14015d9b0]
mov dword [0x14015d9b4], eax
mov dword [0x14015d9b0], ecx
mov ecx, dword [0x14015efe4]
mov eax, ecx
sub eax, dword [0x14015d9a8]
mov dword [0x14015d9ac], eax
mov dword [0x14015d9a8], ecx
mov ecx, dword [0x14015ef9c]
mov eax, ecx
sub eax, dword [0x14015da78]
mov dword [0x14015da7c], eax
mov dword [0x14015da78], ecx
mov ecx, dword [0x14015efb0]
mov eax, ecx
sub eax, dword [0x14015d980]
mov dword [0x14015d984], eax
mov dword [0x14015d980], ecx
mov ecx, dword [0x14015efc0]
mov eax, ecx
sub eax, dword [0x14015d970]
mov dword [0x14015d974], eax
mov dword [0x14015d970], ecx
mov ecx, dword [0x14015efc8]
mov eax, ecx
sub eax, dword [0x14015d990]
mov dword [0x14015d994], eax
mov eax, dword [0x14015dac0]
inc eax
mov dword [0x14015d990], ecx
mov ecx, 2
cmp eax, ecx
cmova eax, ecx
mov dword [0x14015dac0], eax
call fcn.140099f80
add rsp, 0x28
jmp fcn.14009a070
Function at 0x1400a3570
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x2088
call fcn.1400ffb20
sub rsp, rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
lea rax, [rsp + 0x2078]
xor r9d, r9d
mov qword [rsp + 0x70], rax
lea rax, [0x140155600]
mov qword [rsp + 0x28], rax
lea rax, [0x1400a3bc0]
mov qword [rsp + 0x20], rax
call fcn.1400a5ed0
test eax, eax
jns 0x1400a35cd
or eax, 0xffffffff
add rsp, 0x2088
ret
mov rax, qword [rsp + 0x68]
jle 0x1400a35fe
cmp rax, qword [rsp + 0x70]
jb 0x1400a35ee
lea rcx, [rsp + 0x60]
call fcn.1400a3ca0
test eax, eax
js 0x1400a35c2
mov rax, qword [rsp + 0x68]
mov byte [rax], 0xa
mov rax, qword [rsp + 0x68]
inc rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x2080], rbx
lea rcx, [rsp + 0x78]
xor ebx, ebx
lea rdx, [rsp + 0x60]
cmp rax, rcx
je 0x1400a3658
mov rcx, qword [rsp + 0x60]
sub eax, edx
sub eax, 0x18
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
xor r9d, r9d
mov dword [rsp + 0x30], eax
xor r8d, r8d
lea rax, [rsp + 0x78]
xor edx, edx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
test eax, eax
setns bl
dec ebx
mov eax, ebx
mov rbx, qword [rsp + 0x2080]
add rsp, 0x2088
ret

Function at 0x1400a3c10
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, rcx
test rcx, rcx
jne 0x1400a3c27
or eax, 0xffffffff
add rsp, 0x60
pop rbx
ret
xor eax, eax
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x40], rax
lea rdi, [rcx + 0x18]
mov rcx, qword [rcx]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov dword [rsp + 0x30], 0x2000
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rdi
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtReadFile]
test eax, eax
js 0x1400a3c72
mov rax, qword [rsp + 0x58]
test rax, rax
jne 0x1400a3c80
or eax, 0xffffffff
mov rdi, qword [rsp + 0x70]
add rsp, 0x60
pop rbx
ret
add rax, 0x18
mov qword [rbx + 8], rdi
mov rdi, qword [rsp + 0x70]
add rax, rbx
mov qword [rbx + 0x10], rax
xor eax, eax
add rsp, 0x60
pop rbx
ret

Function at 0x1400a3ca0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, rcx
test rcx, rcx
jne 0x1400a3cb7
lea eax, [rcx + 1]
add rsp, 0x60
pop rbx
ret
mov qword [rsp + 0x70], rdi
lea rdi, [rcx + 0x18]
cmp qword [rcx + 8], rdi
je 0x1400a3d14
mov eax, dword [rcx + 8]
xor r9d, r9d
sub eax, ecx
xor r8d, r8d
xor ecx, ecx
sub eax, 0x18
mov qword [rsp + 0x40], rcx
xor edx, edx
mov qword [rsp + 0x38], rcx
mov rcx, qword [rbx]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
test eax, eax
jns 0x1400a3d10
or eax, 0xffffffff
mov rdi, qword [rsp + 0x70]
add rsp, 0x60
pop rbx
ret
mov qword [rbx + 8], rdi
xor eax, eax
mov rdi, qword [rsp + 0x70]
add rsp, 0x60
pop rbx
ret
Function at 0x1400a7a80
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov eax, ecx
mov edi, ecx
and eax, 0xfff0000
cmp eax, 0x70000
je 0x1400a7ac5
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
lea rcx, [0x140126110]
movzx ebx, ax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r9d, edi
mov r8d, ebx
mov rcx, rax
mov edx, 0xb
call sym.ProcessJacker.exe_PhGetMessage
jmp 0x1400a7acd
movzx ecx, cx
call sym.ProcessJacker.exe_PhGetWin32Message
mov rbx, rax
test rax, rax
je 0x1400a7ba6
cmp qword [rax], 0
je 0x1400a7ba6
mov rcx, qword [rax + 8]
call sym.ProcessJacker.exe_PhCountStringZ
or edi, 0xffffffff
lea rdx, [rax + rax]
mov qword [rbx], rdx
cmp rdx, 4
jb 0x1400a7b3f
mov rcx, qword [rbx + 8]
mov rax, rdx
shr rax, 1
cmp word [rcx + rax*2 - 4], 0xd
jne 0x1400a7b3f
cmp word [rcx + rax*2 - 2], 0xa
jne 0x1400a7b3f
add rdx, 0xfffffffffffffffc
call sym.ProcessJacker.exe_PhCreateStringEx
mov rcx, rbx
mov rbx, rax
test rcx, rcx
je 0x1400a7b3f
add rcx, 0xfffffffffffffff0
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400a7b3f
call fcn.1400ae900
mov rax, qword [rbx + 8]
cmp word [rax], 0x7b
jne 0x1400a7ba6
movups xmm0, xmmword [rbx]
mov edx, 0xa
xor r8d, r8d
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
call sym.ProcessJacker.exe_PhFindCharInStringRef
cmp rax, 0xffffffffffffffff
je 0x1400a7ba6
mov rcx, qword [rsp + 0x28]
lea r8, [rax + rax]
mov rdx, qword [rsp + 0x20]
add rcx, 2
sub rdx, r8
add rcx, r8
sub rdx, 2
call sym.ProcessJacker.exe_PhCreateStringEx
mov rcx, rbx
mov rbx, rax
test rcx, rcx
je 0x1400a7ba6
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], edi
cmp edi, 1
jne 0x1400a7ba6
call fcn.1400ae900
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400a7bc0
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, ecx
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
lea rcx, str.kernel32.dll
movzx ebx, ax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r9d, edi
mov r8d, ebx
mov rcx, rax
mov edx, 0xb
call sym.ProcessJacker.exe_PhGetMessage
mov rbx, rax
test rax, rax
je 0x1400a7c65
mov rcx, qword [rax + 8]
call sym.ProcessJacker.exe_PhCountStringZ
lea rdx, [rax + rax]
mov qword [rbx], rdx
cmp rdx, 4
jb 0x1400a7c62
mov rcx, qword [rbx + 8]
mov rax, rdx
shr rax, 1
cmp word [rcx + rax*2 - 4], 0xd
jne 0x1400a7c62
cmp word [rcx + rax*2 - 2], 0xa
jne 0x1400a7c62
add rdx, 0xfffffffffffffffc
call sym.ProcessJacker.exe_PhCreateStringEx
mov rdi, rax
test rbx, rbx
je 0x1400a7c65
lea rcx, [rbx - 0x10]
or edx, 0xffffffff
lock xadd dword [rcx + 8], edx
cmp edx, 1
jne 0x1400a7c65
call fcn.1400ae900
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400a8380
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x3f]
sub rsp, 0xc0
movups xmm0, xmmword [rdx]
mov ebx, r9d
mov rdi, r8
mov rsi, rcx
mov edx, 4
mov rcx, qword [sym.ProcessJacker.exe_PhHeapHandle]
movups xmmword [rbp - 0x61], xmm0
ror word [rbp - 0x5d], 8
lea r15d, [rbx + 0x10]
ror word [rbp - 0x5b], 8
movd eax, xmm0
mov r8d, r15d
bswap eax
mov dword [rbp - 0x61], eax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
movups xmm0, xmmword [rbp - 0x61]
mov r8d, ebx
mov rdx, rdi
mov r14, rax
lea rcx, [rax + 0x10]
movups xmmword [rax], xmm0
call fcn.1400e3970
movzx ebx, byte [rbp + 0x7f]
xor eax, eax
mov r8d, r15d
mov rdx, r14
cmp bl, 3
jne 0x1400a84b8
lea rcx, [rbp - 0x41]
mov dword [rbp - 0x39], 0x67452301
mov dword [rbp - 0x35], 0xefcdab89
mov dword [rbp - 0x31], 0x98badcfe
mov dword [rbp - 0x2d], 0x10325476
mov qword [rbp - 0x41], rax
call fcn.1400e0970
mov edx, dword [rbp - 0x41]
lea rcx, [rbp - 0x29]
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 0x1400a848e
mov r8d, eax
call fcn.1400e43c0
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x39]
call fcn.1400e0b10
xor eax, eax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rax
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
jmp 0x1400a8499
add eax, 0xfffffff8
mov r8d, eax
call fcn.1400e43c0
mov eax, dword [rbp - 0x41]
lea rdx, [rbp - 0x29]
mov dword [rbp + 0xf], eax
lea rcx, [rbp - 0x39]
mov eax, dword [rbp - 0x3d]
mov dword [rbp + 0x13], eax
call fcn.1400e0b10
movups xmm0, xmmword [rbp - 0x39]
jmp 0x1400a84fb
lea rcx, [rbp - 0x41]
mov dword [rbp - 0x29], 0x67452301
mov dword [rbp - 0x25], 0xefcdab89
mov dword [rbp - 0x21], 0x98badcfe
mov dword [rbp - 0x1d], 0x10325476
mov dword [rbp - 0x19], 0xc3d2e1f0
mov qword [rbp - 0x15], rax
call fcn.1400e2780
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x41]
call fcn.1400e2860
movups xmm0, xmmword [rbp - 0x61]
mov bl, 5
mov rcx, qword [sym.ProcessJacker.exe_PhHeapHandle]
mov r8, r14
xor edx, edx
movups xmmword [rbp - 0x61], xmm0
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
movups xmm0, xmmword [rbp - 0x61]
shl bl, 4
lea r11, [rsp + 0xc0]
mov rdi, qword [r11 + 0x30]
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
and byte [rsi + 7], 0xf
or byte [rsi + 7], bl
and byte [rsi + 8], 0x3f
or byte [rsi + 8], 0x80
mov rsi, qword [r11 + 0x28]
mov rbx, qword [r11 + 0x20]
mov rsp, r11
pop r15
pop r14
pop rbp
ret