joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140087f50
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
movsx r8d, byte [0x140190f58]
mov r14, rcx
mov rdx, qword [0x140191ba8]
xor r9d, r9d
shl r8d, 3
mov ecx, 0x53
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
movsx ebp, byte [0x140190f58]
xor ebx, ebx
mov rdx, qword [0x140191ba8]
mov edi, ebx
mov r10d, ebx
mov esi, 2
cmp ebp, 4
jb 0x14008800d
mov r9d, ebp
xorps xmm2, xmm2
and r9d, 0xfffffffc
xorps xmm1, xmm1
mov r8d, esi
nop dword [rax]
mov eax, r10d
add r10d, 4
movq xmm0, qword [rdx + rax*8]
lea eax, [r8 - 1]
movhpd xmm0, qword [rdx + rax*8]
mov eax, r8d
paddq xmm2, xmm0
movq xmm0, qword [rdx + rax*8]
lea eax, [r8 + 1]
movhpd xmm0, qword [rdx + rax*8]
add r8d, 4
paddq xmm1, xmm0
cmp r10d, r9d
jb 0x140087fc0
paddq xmm1, xmm2
movdqa xmm0, xmm1
psrldq xmm0, 8
paddq xmm1, xmm0
movq rdi, xmm1
mov r8, rbx
mov r9, rbx
cmp r10d, ebp
jae 0x140088061
mov eax, ebp
mov ecx, r10d
sub eax, r10d
cmp eax, esi
jb 0x140088056
mov eax, ebp
sub eax, r10d
sub eax, esi
shr eax, 1
inc eax
mov r11d, eax
lea eax, [r10 + rax*2]
nop word [rax + rax]
add r8, qword [rdx + rcx*8]
add r9, qword [rdx + rcx*8 + 8]
add rcx, rsi
sub r11, 1
jne 0x140088040
cmp eax, ebp
jae 0x14008805a
add rdi, qword [rdx + rcx*8]
lea rax, [r9 + r8]
add rdi, rax
mov rdx, qword [0x140191b78]
lea r8d, [rbp*8]
mov rax, rdi
xor r9d, r9d
sub rax, qword [0x140191b50]
mov ecx, 0x6c
mov qword [0x140191b58], rax
mov qword [r14], rax
mov qword [0x140191b50], rdi
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
movsx edi, byte [0x140190f58]
mov r11, rbx
mov rdx, qword [0x140191b78]
mov r8d, ebx
cmp edi, 4
jb 0x140088109
mov r9d, edi
xorps xmm2, xmm2
and r9d, 0xfffffffc
xorps xmm1, xmm1
nop
mov eax, r8d
add r8d, 4
movq xmm0, qword [rdx + rax*8]
lea eax, [rsi - 1]
movhpd xmm0, qword [rdx + rax*8]
mov eax, esi
paddq xmm2, xmm0
movq xmm0, qword [rdx + rax*8]
lea eax, [rsi + 1]
movhpd xmm0, qword [rdx + rax*8]
add esi, 4
paddq xmm1, xmm0
cmp r8d, r9d
jb 0x1400880c0
paddq xmm1, xmm2
movdqa xmm0, xmm1
psrldq xmm0, 8
paddq xmm1, xmm0
movq r11, xmm1
mov r9, rbx
cmp r8d, edi
jae 0x140088153
mov eax, edi
mov ecx, r8d
sub eax, r8d
cmp eax, 2
jb 0x140088148
mov eax, edi
sub eax, r8d
sub eax, 2
shr eax, 1
inc eax
mov r10d, eax
lea eax, [r8 + rax*2]
add rbx, qword [rdx + rcx*8]
add r9, qword [rdx + rcx*8 + 8]
add rcx, 2
sub r10, 1
jne 0x140088131
cmp eax, edi
jae 0x14008814c
add r11, qword [rdx + rcx*8]
lea rax, [r9 + rbx]
add r11, rax
mov rbx, qword [rsp + 0x30]
mov rax, r11
sub rax, qword [0x140191b60]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov qword [0x140191b68], rax
mov qword [0x140191b60], r11
add rsp, 0x20
pop r14
ret
Function at 0x14008fcd0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
jne 0x14008fe24
movsx r8d, byte [0x140190f58]
mov edx, 4
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
shl r8, 3
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
movsx r8d, byte [0x140190f58]
xor r9d, r9d
shl r8d, 3
mov rdx, rax
mov ecx, 0x53
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x14008fe10
mov qword [rsp + 0x68], rsi
xor r11d, r11d
movsx esi, byte [0x140190f58]
xor r9d, r9d
cmp esi, 4
jb 0x14008fda7
mov r8d, esi
xorps xmm2, xmm2
and r8d, 0xfffffffc
xorps xmm1, xmm1
mov edx, 2
nop word [rax + rax]
movq xmm0, qword [rdi + r9*8]
lea eax, [rdx - 1]
movhpd xmm0, qword [rdi + rax*8]
add r9d, 4
mov eax, edx
paddq xmm2, xmm0
movq xmm0, qword [rdi + rax*8]
lea eax, [rdx + 1]
movhpd xmm0, qword [rdi + rax*8]
add edx, 4
paddq xmm1, xmm0
cmp r9d, r8d
jb 0x14008fd60
paddq xmm1, xmm2
movdqa xmm0, xmm1
psrldq xmm0, 8
paddq xmm1, xmm0
movq r11, xmm1
xor edx, edx
xor r8d, r8d
cmp r9d, esi
jae 0x14008fdf3
mov eax, esi
mov ecx, r9d
sub eax, r9d
cmp eax, 2
jb 0x14008fde8
mov eax, esi
sub eax, r9d
sub eax, 2
shr eax, 1
inc eax
mov r10d, eax
lea eax, [r9 + rax*2]
add rdx, qword [rdi + rcx*8]
add r8, qword [rdi + rcx*8 + 8]
add rcx, 2
sub r10, 1
jne 0x14008fdd1
cmp eax, esi
jae 0x14008fdec
add r11, qword [rdi + rcx*8]
lea rax, [r8 + rdx]
add r11, rax
mov rsi, qword [rsp + 0x68]
mov rax, r11
sub rax, qword [rbx + 0x618]
mov qword [rbx + 0x620], rax
mov qword [rbx + 0x618], r11
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x14008fe71
mov rax, qword [rcx + 0x70]
mov rcx, qword [rax + 0x48]
test rcx, rcx
je 0x14008fe71
mov r9d, 0x10
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x30]
mov edx, 0x26
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x14008fe71
mov rcx, qword [rsp + 0x30]
mov rax, rcx
sub rax, qword [rbx + 0x618]
mov qword [rbx + 0x620], rax
mov qword [rbx + 0x618], rcx
mov rax, qword [rbx + 0x618]
mov edi, 0xffffffff
test rax, rax
je 0x14008feb1
xor r8d, r8d
mov dword [rsp + 0x30], 0x10009
mov edx, 1
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhFormat
mov rcx, qword [rbx + 0x7c0]
mov qword [rbx + 0x7c0], rax
jmp 0x14008fec3
mov rcx, qword [rbx + 0x7c0]
mov qword [rbx + 0x7c0], 0
test rcx, rcx
je 0x14008fedd
add rcx, 0xfffffffffffffff0
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14008fedd
call fcn.1400d9400
mov rax, qword [rbx + 0x620]
test rax, rax
je 0x14008ff18
xor r8d, r8d
mov dword [rsp + 0x30], 0x10009
mov edx, 1
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhFormat
mov rcx, qword [rbx + 0x7c8]
mov qword [rbx + 0x7c8], rax
jmp 0x14008ff2a
mov rcx, qword [rbx + 0x7c8]
mov qword [rbx + 0x7c8], 0
test rcx, rcx
je 0x14008ff42
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], edi
cmp edi, 1
jne 0x14008ff42
call fcn.1400d9400
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x1400b17f0
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
sub rsp, 0x50
test byte [rcx + 0x110], 4
mov rbp, rcx
jne 0x1400b199f
mov rax, qword [rcx + 0x58]
mov rdx, qword [0x140191180]
mov qword [rsp + 0x70], rbx
mov rbx, qword [0x14018a7a8]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rdi
mov rdi, qword [rax + 0x10]
mov qword [rsp + 0x30], r15
add rbx, qword [rdi]
lea rcx, [rbx + 0x12]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhCreateObject
xor esi, esi
mov r15, rax
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + rbx], si
mov r8, qword [0x14018a7a8]
mov rdx, qword [str.SystemCurrentControlSetServices_]
mov rcx, qword [rax + 8]
call fcn.1401317c0
mov rcx, qword [0x14018a7a8]
add rcx, qword [r15 + 8]
mov r8, qword [rdi]
mov rdx, qword [rdi + 8]
call fcn.1401317c0
mov r9, r15
mov dword [rsp + 0x20], esi
mov edx, 0x20019
lea rcx, [rsp + 0x68]
mov r8, 0xfffffffffffffffd
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhOpenKey
test eax, eax
js 0x1400b196c
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov edx, 4
mov qword [rsp + 0x38], r14
mov r8d, 0x100
mov r14, qword [rsp + 0x68]
mov esi, 0x10
mov dword [rsp + 0x60], 0x100
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
nop word [rax + rax]
mov r9d, dword [rsp + 0x60]
lea rax, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, r14
call qword [sym.imp.ntdll.dll_NtQueryKey]
mov edi, eax
test eax, eax
jns 0x1400b193c
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp edi, 0x80000005
jne 0x1400b195c
mov r8d, dword [rsp + 0x60]
mov edx, 4
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
add esi, 0xffffffff
jne 0x1400b18e0
test edi, edi
js 0x1400b195c
mov rax, qword [rbx]
mov r8, rbx
mov qword [rbp + 0x178], rax
xor edx, edx
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtClose]
mov r14, qword [rsp + 0x38]
lea rcx, [r15 - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
mov r15, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x70]
cmp eax, 1
jne 0x1400b1998
call fcn.1400d9400
or dword [rbp + 0x110], 4
add rsp, 0x50
pop rbp
ret
Function at 0x1400b9cf0
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x30
movsx eax, byte [0x140190f58]
xor ebx, ebx
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov edx, 4
mov r8d, eax
shl r8, 3
mov qword [0x14018fef0], rbx
mov qword [0x14018fe38], rbx
mov qword [0x14018ff28], rbx
mov qword [0x14018ff30], rbx
mov qword [0x14018ff18], rbx
mov dword [0x14018fe60], eax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov edx, 4
mov qword [0x14018fe58], rax
mov eax, dword [0x14018fe60]
lea r8, [rax + rax*2]
shl r8, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov edx, 4
mov qword [0x14018fe30], rax
mov eax, dword [0x14018fe60]
lea r8, [rax + rax*2]
shl r8, 3
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov edx, 4
mov qword [0x14018ff08], rax
mov eax, dword [0x14018fe60]
lea r8, [rax + rax*2]
shl r8, 3
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edx, dword [0x14018fe60]
xorps xmm0, xmm0
mov qword [0x14018ff00], rax
xorps xmm1, xmm1
mov dword [0x14018ff48], ebx
mov r9, rax
mov byte [0x14018ff4c], bl
mov dword [0x14018ff60], 0xffffffff
movdqu xmmword [0x14018ff38], xmm0
movdqu xmmword [0x14018ff50], xmm1
test edx, edx
je 0x1400b9e29
mov rax, qword [0x14018fe30]
mov ecx, edx
add rax, 8
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 0x1400b9e03
lea eax, [rdx + rdx*2]
mov dword [0x14018fe64], ebx
shl eax, 3
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], eax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtPowerInformation]
test eax, eax
jns 0x1400b9e69
mov eax, dword [0x14018fe60]
xor edx, edx
mov rcx, qword [0x14018ff00]
lea r8, [rax + rax*2]
shl r8, 3
call fcn.140131400
cmp dword [sym.4yUlCM3HuVsHzW5CaCX.exe_WindowsVersion], 0x3d
mov qword [0x14018ff20], rbx
mov qword [0x14018fe40], rbx
jb 0x1400b9e8a
add rsp, 0x30
pop rbx
jmp fcn.1400bc220
add rsp, 0x30
pop rbx
ret
Function at 0x1400ba190
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x38
mov eax, dword [0x14018fe60]
xor r9d, r9d
mov rdx, qword [0x14018ff08]
mov ecx, 0x17
mov qword [rsp + 0x40], rbx
xor ebx, ebx
lea r8d, [rax + rax*2]
shl r8d, 3
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov r10d, dword [0x14018fe60]
test eax, eax
js 0x1400ba244
xor edx, edx
mov qword [rsp + 0x30], rdi
mov rdi, qword [0x14018ff08]
xor r8d, r8d
cmp r10d, 2
jb 0x1400ba222
lea eax, [r10 - 2]
mov qword [rsp + 0x48], rsi
shr eax, 1
lea rcx, [rdi + 0x1c]
inc eax
mov r9d, eax
lea esi, [rax + rax]
lea r11, [rax + 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 0x1400ba200
cmp esi, r10d
mov rsi, qword [rsp + 0x48]
jb 0x1400ba230
jmp 0x1400ba238
test r10d, r10d
je 0x1400ba238
xor r11d, r11d
nop word [rax + rax]
lea rax, [r11 + r11*2]
mov ebx, dword [rdi + rax*8 + 4]
mov rdi, qword [rsp + 0x30]
lea rax, [r8 + rdx]
add rbx, rax
mov ecx, dword [0x140192188]
xor r8d, r8d
mov r9, qword [0x14018ff00]
mov eax, ecx
sub eax, dword [0x14018fef0]
xor edx, edx
mov dword [0x14018fef4], eax
mov dword [0x14018fef0], ecx
mov ecx, dword [0x140191b48]
mov eax, ecx
sub eax, dword [0x14018fe38]
mov dword [0x14018fe3c], eax
mov rax, rbx
sub rax, qword [0x14018ff28]
mov qword [0x14018ff30], rax
mov dword [0x14018fe38], ecx
mov ecx, dword [0x140192194]
mov eax, ecx
sub eax, dword [0x14018ff18]
mov dword [0x14018ff1c], eax
lea eax, [r10 + r10*2]
shl eax, 3
mov dword [0x14018ff18], ecx
mov ecx, 0xb
mov dword [rsp + 0x20], eax
mov qword [0x14018ff28], rbx
call qword [sym.imp.ntdll.dll_NtPowerInformation]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x1400ba2f1
mov eax, dword [0x14018fe60]
xor edx, edx
mov rcx, qword [0x14018ff00]
lea r8, [rax + rax*2]
shl r8, 3
call fcn.140131400
cmp dword [sym.4yUlCM3HuVsHzW5CaCX.exe_WindowsVersion], 0x3d
jb 0x1400ba333
mov r8, qword [0x14018fe40]
test r8, r8
je 0x1400ba315
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, qword [0x14018ff20]
mov qword [0x14018fe40], rax
mov qword [0x14018ff20], 0
call fcn.1400bc220
mov eax, dword [0x14018fe64]
inc eax
mov dword [0x14018fe64], eax
cmp eax, 2
jbe 0x1400ba350
mov dword [0x14018fe64], 2
call fcn.1400bb530
add rsp, 0x38
jmp fcn.1400bb670
Function at 0x1400bc220
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.4yUlCM3HuVsHzW5CaCX.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 0x1400bc2d4
nop word [rax + rax]
cmp ebx, 8
jae 0x1400bc2f1
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.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.4yUlCM3HuVsHzW5CaCX.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 0x1400bc280
test edi, edi
js 0x1400bc2f1
mov qword [0x14018ff20], rsi
mov eax, edi
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.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 0x1400caa50
Capabilities:
Write file on windows

Disassembly:
push rbx
mov eax, 0x2080
call fcn.14012f350
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, [0x14018a860]
mov qword [rsp + 0x28], rax
call fcn.14012ff50
test eax, eax
js 0x1400cab70
xor ebx, ebx
test eax, eax
mov rax, qword [rsp + 0x68]
jle 0x1400cab15
cmp rax, qword [rsp + 0x70]
jb 0x1400cab05
lea rcx, [rsp + 0x78]
cmp rax, rcx
je 0x1400cab05
mov qword [rsp + 0x40], rbx
lea rcx, [rsp + 0x60]
sub eax, ecx
mov qword [rsp + 0x38], rbx
mov rcx, qword [rsp + 0x60]
sub eax, 0x18
mov dword [rsp + 0x30], eax
xor r9d, r9d
lea rax, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x28], rax
xor edx, edx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
test eax, eax
js 0x1400cab70
lea rax, [rsp + 0x78]
mov qword [rsp + 0x68], rax
mov byte [rax], 0xa
mov rax, qword [rsp + 0x68]
inc rax
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x78]
cmp rax, rcx
je 0x1400cab65
mov qword [rsp + 0x40], rbx
lea rcx, [rsp + 0x60]
sub eax, ecx
mov qword [rsp + 0x38], rbx
mov rcx, qword [rsp + 0x60]
sub eax, 0x18
mov dword [rsp + 0x30], eax
xor r9d, r9d
lea rax, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x28], rax
xor edx, edx
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
add rsp, 0x2080
pop rbx
ret
mov eax, 0xffffffff
add rsp, 0x2080
pop rbx
ret

Function at 0x1400cb550
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x60
mov rax, qword [rdx + 8]
mov rbx, rdx
mov esi, ecx
cmp rax, qword [rdx + 0x10]
jb 0x1400cb5b3
lea rdi, [rdx + 0x18]
cmp rax, rdi
je 0x1400cb5b3
xor ecx, ecx
sub eax, ebx
mov qword [r11 - 0x28], rcx
sub eax, 0x18
mov qword [r11 - 0x30], rcx
xor r9d, r9d
mov rcx, qword [rbx]
xor r8d, r8d
mov dword [rsp + 0x30], eax
xor edx, edx
lea rax, [r11 - 0x18]
mov qword [r11 - 0x40], rdi
mov qword [r11 - 0x48], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
test eax, eax
js 0x1400cb5cc
mov qword [rbx + 8], rdi
mov rax, rdi
mov byte [rax], sil
inc qword [rbx + 8]
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov rbx, qword [rsp + 0x70]
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1400d0370
Capabilities:
Identify system language via api

Disassembly:
push rbx
push rdi
sub rsp, 0x28
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.4yUlCM3HuVsHzW5CaCX.exe_PhGetMessage
mov rbx, rax
test rax, rax
je 0x1400d04dc
cmp byte [0x14018dbaa], 1
mov rdi, qword [rax + 8]
mov qword [rsp + 0x40], rbp
mov rbp, 0xffffffffffffffff
jb 0x1400d0439
mov rdx, rdi
mov ecx, edi
and rdx, 0xfffffffffffffff1
xorps xmm1, xmm1
and ecx, 0xf
je 0x1400d03f9
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
sar eax, cl
bsf ecx, eax
mov dword [rsp + 0x48], ecx
je 0x1400d03f5
mov edx, ecx
shr rdx, 1
jmp 0x1400d044a
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x48], ecx
jne 0x1400d0429
nop dword [rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x48], ecx
je 0x1400d0410
sub rdx, rdi
mov eax, ecx
sar rdx, 1
shr rax, 1
add rdx, rax
jmp 0x1400d044a
mov rdx, rbp
nop dword [rax]
inc rdx
cmp word [rdi + rdx*2], 0
jne 0x1400d0440
add rdx, rdx
mov qword [rbx], rdx
cmp rdx, 4
jb 0x1400d04e3
mov rax, rdx
shr rax, 1
cmp word [rdi + rax*2 - 4], 0xd
jne 0x1400d04e3
cmp word [rdi + rax*2 - 2], 0xa
jne 0x1400d04e3
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x20], r14
lea r14, [rdx - 4]
mov rdx, qword [0x140191180]
lea rcx, [r14 + 0x12]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhCreateObject
mov rsi, rax
xor ecx, ecx
mov qword [rax], r14
add rax, 0x10
mov qword [rsi + 8], rax
mov word [rax + r14], cx
test rdi, rdi
je 0x1400d04b7
mov rcx, qword [rsi + 8]
mov r8, r14
mov rdx, rdi
call fcn.1401317c0
lea rcx, [rbx - 0x10]
lock xadd dword [rcx + 8], ebp
mov r14, qword [rsp + 0x20]
cmp ebp, 1
jne 0x1400d04cf
call fcn.1400d9400
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x50]
add rsp, 0x28
pop rdi
pop rbx
ret
mov rbp, qword [rsp + 0x40]
mov rax, rbx
add rsp, 0x28
pop rdi
pop rbx
ret
Function at 0x1400d0d30
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.4yUlCM3HuVsHzW5CaCX.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.1401317c0
movzx ebx, byte [rbp + 0x7f]
xor eax, eax
mov r8d, r15d
mov rdx, r14
cmp bl, 3
jne 0x1400d0e5f
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.14010fb20
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 0x1400d0e35
mov r8d, eax
call fcn.140131400
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x39]
call fcn.14010fcc0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp + 7], rax
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
jmp 0x1400d0e40
add eax, 0xfffffff8
mov r8d, eax
call fcn.140131400
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.14010fcc0
movups xmm0, xmmword [rbp - 0x39]
jmp 0x1400d0ea2
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.1401116c0
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x41]
call fcn.140111790
movups xmm0, xmmword [rbp - 0x61]
mov bl, 5
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.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
shr ax, 8
and al, 0xf
or al, bl
mov rbx, qword [r11 + 0x20]
mov byte [rsi + 7], al
movzx eax, byte [rsi + 8]
and al, 0x3f
or al, 0x80
mov byte [rsi + 8], al
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r15
pop r14
pop rbp
ret