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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x150
xor ebx, ebx
lea r9, [rax + 0x10]
mov r14, rcx
mov dword [rax + 0x10], ebx
xor r8d, r8d
lea rdx, [rax + 0x10]
lea esi, [rbx + 0xb]
mov ecx, esi
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140001ee8
mov edx, dword [rsp + 0x178]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov rdi, rax
test rax, rax
je 0x140001ee8
mov r8d, dword [rsp + 0x178]
xor r9d, r9d
mov rdx, rax
mov ecx, esi
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
test eax, eax
js 0x140001ed8
mov esi, ebx
cmp qword [rdi], rbx
jbe 0x140001ed8
lea rbp, [rdi + 8]
mov rax, rbp
lea rcx, [rsp + 0x20]
mov edx, 2
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140001e44
movups xmm0, xmmword [rax]
mov rdx, r14
movups xmm1, xmmword [rax + 0x10]
mov rax, qword [rax + 0x20]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov qword [rcx + 0x20], rax
lea rcx, [rsp + 0x48]
call sub.ntoskrnl.exe_strstr
test rax, rax
jne 0x140001ed3
inc rsi
add rbp, 0x128
cmp rsi, qword [rdi]
jb 0x140001e37
jmp 0x140001ed8
mov rbx, qword [rsp + 0x30]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, rbx
jmp 0x140001eea
xor eax, eax
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140001f04
Capabilities:
Map section object

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xb8
xor ebx, ebx
lea rdx, [0x140003a70]
lea rcx, [rbp - 0x41]
mov qword [rbp + 0x6f], rbx
mov qword [rbp - 0x49], rbx
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rbp - 0x41]
mov dword [rsp + 0x28], 0x20
xorps xmm0, xmm0
mov qword [rbp - 0x11], rax
lea esi, [rbx + 1]
mov dword [rbp - 0x21], 0x30
lea r9, [rbp - 0x31]
mov qword [rbp - 0x19], rbx
lea r8, [rbp - 0x21]
mov dword [rbp - 9], 0x240
mov edx, 0x120089
mov dword [rsp + 0x20], esi
lea rcx, [rbp + 0x7f]
movdqu xmmword [rbp - 1], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwOpenFile]
test eax, eax
js 0x140002080
mov rax, qword [rbp + 0x7f]
lea edi, [rbx + 2]
mov qword [rsp + 0x30], rax
lea r8, [rbp - 0x21]
mov dword [rsp + 0x28], 0x1000000
lea rcx, [rbp + 0x77]
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov edx, 0xf001f
mov qword [rbp - 0x11], rbx
call qword [sym.imp.ntoskrnl.exe_ZwCreateSection]
test eax, eax
js 0x140002076
mov rcx, qword [rbp + 0x77]
lea rax, [rbp - 0x49]
mov dword [rsp + 0x48], edi
lea r8, [rbp + 0x6f]
mov dword [rsp + 0x40], 0x100000
xor r9d, r9d
mov dword [rsp + 0x38], esi
or rdx, 0xffffffffffffffff
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
test eax, eax
js 0x14000206c
mov rdx, qword [rbp + 0x6f]
mov esi, ebx
movsxd rax, dword [rdx + 0x3c]
mov edi, dword [rax + rdx + 0x78]
add rdi, rdx
mov r15d, dword [rdi + 0x1c]
mov r12d, dword [rdi + 0x20]
add r15, rdx
mov r13d, dword [rdi + 0x24]
add r12, rdx
add r13, rdx
cmp dword [rdi + 0x14], ebx
jbe 0x140002062
mov eax, esi
mov ecx, dword [r12 + rax*4]
movzx eax, word [r13 + rax*2]
add rcx, rdx
mov r14d, dword [r15 + rax*4]
add r14, rdx
mov rdx, qword [rbp + 0x67]
call sub.ntoskrnl.exe__stricmp
mov rdx, qword [rbp + 0x6f]
test eax, eax
je 0x14000205d
inc esi
cmp esi, dword [rdi + 0x14]
jb 0x14000202d
jmp 0x140002062
movzx ebx, word [r14 + 1]
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwUnmapViewOfSection]
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, qword [rbp + 0x7f]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140002098
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x80
xorps xmm0, xmm0
xor ebx, ebx
cmp rcx, qword [0x140005070]
xorps xmm1, xmm1
mov r14, r8
mov rsi, rdx
mov rdi, rcx
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm1
je 0x14000210d
lea rdx, [0x140005068]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x140002216
mov rcx, qword [0x140005068]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov qword [0x140005070], rdi
mov qword [rbp - 0x58], rsi
or rax, 0xffffffffffffffff
inc rax
cmp byte [rsi + rax], bl
jne 0x140002115
mov r8b, 1
mov word [rbp - 0x5e], ax
lea rdx, [rbp - 0x60]
mov word [rbp - 0x60], ax
lea rcx, [rbp - 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
mov rcx, qword [0x140005068]
lea rdx, [rbp - 0x30]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rcx, qword [0x140005068]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
test rax, rax
jne 0x1400021be
mov rcx, qword [0x140005068]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessPeb]
mov rsi, qword [rax + 0x18]
test rsi, rsi
je 0x140002207
add rsi, 0x10
mov rdi, qword [rsi]
cmp rsi, rdi
je 0x140002207
xorps xmm0, xmm0
lea rcx, [rbp - 0x40]
movups xmmword [rbp - 0x40], xmm0
mov rdx, qword [rdi + 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
cmp word [rdi + 0x58], bx
je 0x1400021b3
mov r8b, 1
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlEqualUnicodeString]
test al, al
jne 0x1400021b8
mov rdi, qword [rdi]
jmp 0x14000217a
mov rbx, qword [rdi + 0x30]
jmp 0x140002207
mov esi, dword [rax + 0xc]
test rsi, rsi
je 0x140002207
add rsi, 0xc
mov edi, dword [rsi]
cmp rsi, rdi
je 0x140002207
xorps xmm0, xmm0
lea rcx, [rbp - 0x40]
movups xmmword [rbp - 0x40], xmm0
mov edx, dword [rdi + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
cmp word [rdi + 0x2c], bx
je 0x140002200
mov r8b, 1
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlEqualUnicodeString]
test al, al
jne 0x140002204
mov edi, dword [rdi]
jmp 0x1400021cc
mov ebx, dword [rdi + 0x18]
lea rcx, [rbp - 0x30]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
xor eax, eax
mov qword [r14], rbx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14000278c
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
xorps xmm0, xmm0
mov esi, r9d
movups xmmword [rbp - 0x30], xmm0
mov rbx, rcx
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov rdi, qword gs:[0x188]
mov rax, qword [0x140005050]
mov r10d, dword [rax + 0x30]
add rdi, r10
mov r14b, byte [rdi]
and qword [rbp + 0x40], 0
and qword [rbp + 0x38], 0
test rdx, rdx
je 0x1400027df
mov rax, qword [rdx]
mov qword [rbp + 0x40], rax
test r8, r8
je 0x1400027eb
mov eax, dword [r8]
mov qword [rbp + 0x38], rax
cmp rbx, qword [0x140005070]
je 0x140002819
lea rdx, [0x140005068]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x140002866
mov rcx, qword [0x140005068]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov qword [0x140005070], rbx
mov rcx, qword [0x140005068]
lea rdx, [rbp - 0x30]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov byte [rdi], 0
lea rcx, [rbp + 0x30]
mov rax, qword [0x140005050]
lea r8, [rbp + 0x38]
mov qword [rsp + 0x20], rcx
lea rdx, [rbp + 0x40]
mov r9d, esi
or rcx, 0xffffffffffffffff
mov rax, qword [rax]
call qword [0x1400041d8]
lea rcx, [rbp - 0x30]
mov byte [rdi], r14b
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov eax, ebx
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x140002874
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x90
and qword [rax + 8], 0
xorps xmm0, xmm0
cmp rcx, qword [0x140005070]
mov rdi, r9
mov esi, r8d
mov rbp, rdx
mov rbx, rcx
movups xmmword [rax - 0x68], xmm0
movups xmmword [rax - 0x58], xmm0
movups xmmword [rax - 0x48], xmm0
je 0x1400028d9
lea rdx, [0x140005068]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x140002933
mov rcx, qword [0x140005068]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov qword [0x140005070], rbx
mov rcx, qword [0x140005068]
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
lea rax, [rsp + 0xa0]
mov r8d, esi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
mov rax, qword [rsp + 0xc0]
mov rdx, rbp
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwQueryVirtualMemory]
lea rcx, [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov ecx, dword [rsp + 0x84]
mov eax, ebx
mov qword [rdi], rcx
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000294c
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
mov ebp, r8d
cmp rcx, qword [0x140005070]
mov r12, r9
mov r15, rdx
mov rdi, rcx
je 0x1400029a4
lea rdx, [0x140005068]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov ebx, eax
test eax, eax
jne 0x140002a25
mov rcx, qword [0x140005068]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov qword [0x140005070], rdi
mov rdx, qword [0x140005068]
mov rsi, qword [rdx + 0x28]
test rsi, rsi
jne 0x1400029c2
mov rax, qword [0x140005050]
mov ecx, dword [rax + 0x28]
mov rsi, qword [rcx + rdx]
xor r14d, r14d
mov rdi, rbp
test ebp, ebp
je 0x140002a23
lea rdx, [r14 + r15]
mov rcx, rsi
call fcn.140002c24
test rax, rax
je 0x140002a3c
mov rcx, rax
lea r9, [rsp + 0x50]
and ecx, 0xfff
mov edx, 0x1000
sub rdx, rcx
mov r8, rdi
cmp rdx, rdi
mov rcx, rax
cmovb r8, rdx
lea rdx, [r14 + r12]
mov qword [rsp + 0x50], r8
call fcn.140002a44
sub rdi, qword [rsp + 0x50]
mov ebx, eax
add r14, qword [rsp + 0x50]
test eax, eax
jne 0x140002a23
test rdi, rdi
jne 0x1400029cc
mov eax, ebx
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov eax, 0xc0000001
jmp 0x140002a25

Function at 0x140002b8c
Capabilities:
Find process by pid

Disassembly:
push rbx
sub rsp, 0x20
cmp rcx, qword [0x140005070]
mov rbx, rcx
je 0x140002bc3
lea rdx, [0x140005068]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x140002bcf
mov rcx, qword [0x140005068]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov qword [0x140005070], rbx
mov rcx, qword [0x140005068]
call sub.ntoskrnl.exe_PsResumeProcess
add rsp, 0x20
pop rbx
ret

Function at 0x140002bd8
Capabilities:
Find process by pid

Disassembly:
push rbx
sub rsp, 0x20
cmp rcx, qword [0x140005070]
mov rbx, rcx
je 0x140002c0f
lea rdx, [0x140005068]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x140002c1b
mov rcx, qword [0x140005068]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov qword [0x140005070], rbx
mov rcx, qword [0x140005068]
call sub.ntoskrnl.exe_PsSuspendProcess
add rsp, 0x20
pop rbx
ret
Function at 0x140002d74
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
mov ebp, r8d
cmp rcx, qword [0x140005070]
mov r12, r9
mov r15, rdx
mov rdi, rcx
je 0x140002dcc
lea rdx, [0x140005068]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov ebx, eax
test eax, eax
jne 0x140002e4d
mov rcx, qword [0x140005068]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov qword [0x140005070], rdi
mov rdx, qword [0x140005068]
mov rsi, qword [rdx + 0x28]
test rsi, rsi
jne 0x140002dea
mov rax, qword [0x140005050]
mov ecx, dword [rax + 0x28]
mov rsi, qword [rcx + rdx]
xor r14d, r14d
mov rdi, rbp
test ebp, ebp
je 0x140002e4b
lea rdx, [r14 + r15]
mov rcx, rsi
call fcn.140002c24
test rax, rax
je 0x140002e64
mov rcx, rax
lea r9, [rsp + 0x50]
and ecx, 0xfff
mov edx, 0x1000
sub rdx, rcx
mov r8, rdi
cmp rdx, rdi
mov rcx, rax
cmovb r8, rdx
lea rdx, [r14 + r12]
mov qword [rsp + 0x50], r8
call fcn.140002e6c
sub rdi, qword [rsp + 0x50]
mov ebx, eax
add r14, qword [rsp + 0x50]
test eax, eax
jne 0x140002e4b
test rdi, rdi
jne 0x140002df4
mov eax, ebx
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov eax, 0xc0000001
jmp 0x140002e4d

Function at 0x140002f0c
Capabilities:
Find process by pid

Disassembly:
push rbx
sub rsp, 0x40
and qword [rsp + 0x50], 0
mov rbx, rcx
cmp rcx, qword [0x140005070]
je 0x140002f49
lea rdx, [0x140005068]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x140002f9a
mov rcx, qword [0x140005068]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov qword [0x140005070], rbx
mov rcx, qword [0x140005068]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov r9d, 0x1fffff
mov byte [rsp + 0x28], 0
xor r8d, r8d
and qword [rsp + 0x20], 0
mov edx, 0x200
call qword [sym.imp.ntoskrnl.exe_ObOpenObjectByPointer]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
test rcx, rcx
je 0x140002f98
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ZwTerminateProcess]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
add rsp, 0x40
pop rbx
ret
Function at 0x140003084
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov r15, r8
mov rbp, rdx
mov rsi, rcx
test rcx, rcx
je 0x14000312f
call qword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
mov rdi, rax
test rax, rax
je 0x14000312f
movzx ecx, word [rax + 6]
lea r14, [rax + 0x108]
mov rbx, r14
lea rdx, [rcx + rcx*4]
lea rcx, [r14 + rdx*8]
cmp r14, rcx
jae 0x14000312f
mov rdx, rbp
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlCompareString]
test eax, eax
je 0x140003121
movzx eax, word [rdi + 6]
add rbx, 0x28
lea rcx, [rax + rax*4]
lea rax, [r14 + rcx*8]
cmp rbx, rax
jb 0x1400030d7
jmp 0x14000312f
mov eax, dword [rbx + 0xc]
mov ecx, dword [rbx + 8]
mov dword [r15], ecx
add rax, rsi
jne 0x140003131
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140002b80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1401170c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140002bad
xor eax, eax
jmp 0x140002d19
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140002be7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140002be7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140002d19
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140002d0c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140002c2a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140002c55
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002d11
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002cc4
sub eax, 1
je 0x140002cc4
cmp eax, 2
jne 0x140002d0c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002d11
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140002cf2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140002d0c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140002d11
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400dc170
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140002fe0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1401170c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400030b3
cmp byte [rcx + 0x71], 0
je 0x1400030b3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x1400030af
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140003074
sub eax, 1
je 0x140003078
cmp eax, 2
jne 0x1400030af
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400dc170
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400030a6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400030af
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000305c
xor al, al
jmp 0x14000305c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400dc170
add rsp, 0x60
pop rbx
ret
Function at 0x140007610
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x1401170c0]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor ebx, ebx
cmp byte [0x14018a18d], bl
jne 0x140007688
mov byte [0x14018a18f], bl
mov byte [0x14018a18c], bl
mov byte [0x14018a18e], bl
mov eax, ebx
xchg byte [0x14018a107], al
mov ecx, ebx
xchg byte [0x14018a105], cl
xchg byte [0x14018a104], bl
call fcn.140006860
mov byte [rax + 0x68], 0
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400dc170
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rbp
ret
mov eax, 1
xchg byte [0x14018a107], al
mov ecx, 1
xchg byte [0x14018a104], cl
mov eax, 1
xchg byte [0x14018a105], al
call fcn.140006860
lea rcx, vtable.std::_Func_impl_no_alloc_class__void___cdecl_cframe_void_::_2::_lambda_1___void__double_.0
mov qword [rbp - 0x19], rcx
lea rcx, [rbp - 0x19]
mov qword [rbp + 0x1f], rcx
lea rdx, [rbp - 0x19]
mov rcx, rax
call fcn.140006920
call fcn.140006860
lea rcx, vtable.std::_Func_impl_no_alloc_class__void___cdecl_spinbot_void_::_2::_lambda_1___void__double_.0
mov qword [rbp - 0x19], rcx
lea rcx, [rbp - 0x19]
mov qword [rbp + 0x1f], rcx
lea rdx, [rbp - 0x19]
mov rcx, rax
call fcn.140006920
call fcn.140006860
lea rcx, vtable.std::_Func_impl_no_alloc_class__void___cdecl_invis_void_::_2::_lambda_1___void__double_.0
mov qword [rbp - 0x19], rcx
lea rcx, [rbp - 0x19]
mov qword [rbp + 0x1f], rcx
lea rdx, [rbp - 0x19]
mov rcx, rax
call fcn.140006920
cmp byte [0x14018a64c], bl
jne 0x14000766b
mov byte [0x14018a64c], 1
mov ecx, 1
call fcn.1400dc274
mov qword [rbp + 0x27], rax
lea rcx, [rbp + 0x3f]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140007d20]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x37], rax
test rax, rax
je 0x14000778e
cmp dword [rbp + 0x3f], 0
je 0x140007782
movaps xmm0, xmmword [rbp + 0x37]
movdqa xmmword [rbp + 0x27], xmm0
lea rcx, [rbp + 0x27]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140007782
jmp 0x14000766b
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x3f], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140007e90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1401170c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x28], rdx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov dword [rsp + 0x20], 1
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x28]
call fcn.14000f0c0
nop
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
cmp rbx, rbp
je 0x140007ffd
movabs r12, 0xcbf29ce484222325
movabs r14, 0x100000001b3
nop dword [rax]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14000ee10
nop
lea rdx, [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
cmp rsi, 0xf
cmova rdx, qword [rsp + 0x40]
mov r9, r12
mov rax, r15
mov r8, qword [rsp + 0x50]
test r8, r8
je 0x140007f65
movzx ecx, byte [rdx + rax]
xor r9, rcx
imul r9, r14
inc rax
cmp rax, r8
jb 0x140007f52
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x28]
call fcn.14000d0b0
mov rcx, qword [rax + 8]
mov rax, qword [0x14018a1b8]
test rcx, rcx
cmovne rax, rcx
cmp rax, qword [0x14018a1b8]
je 0x140007fb6
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x140007fa6
mov rax, qword [rbx]
mov qword [rdx], rax
add qword [rdi + 8], 8
jmp 0x140007fb1
mov r8, rbx
mov rcx, rdi
call fcn.14000c900
mov rsi, qword [rsp + 0x58]
cmp rsi, 0xf
jbe 0x140007feb
lea rdx, [rsi + 1]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007fe6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008036
call fcn.1400dc2b8
add rbx, 8
cmp rbx, rbp
jne 0x140007f20
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x140008045
mov rdx, qword [rsp + 0x70]
sub rdx, rbx
and rdx, 0xfffffffffffffff8
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000803d
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000803d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rbx
call fcn.1400dc2b8
mov rax, rdi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400dc170
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret