joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401501e0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
cmp dword [rcx + 0x10108], 0
mov r9d, dword [rcx + 0xd4]
je 0x1401502a2
test r9d, r9d
je 0x1401502f8
xor eax, eax
mov ecx, 0xff
mov r10d, dword [rsi + 0x10128]
mov r8d, dword [rsi + 0x10130]
mov edx, r8d
and edx, 0xfffd
mov r11d, r8d
or r11d, 2
xor edx, 3
imul edx, r11d
shr edx, 8
mov r11, qword [rsi + 0x10138]
mov bl, byte [rsi + rax + 0x100]
xor bl, r10b
movzx edi, bl
shr r10d, 8
xor r10d, dword [r11 + rdi*4]
mov dword [rsi + 0x10128], r10d
and r10d, ecx
add r10d, dword [rsi + 0x1012c]
imul r10d, r10d, 0x8088405
inc r10d
mov dword [rsi + 0x1012c], r10d
shr r10d, 0x18
mov edi, r8d
and edi, ecx
xor edi, r10d
shr r8d, 8
xor r8d, dword [r11 + rdi*4]
mov dword [rsi + 0x10130], r8d
xor byte [rsi + rax + 0x100], dl
inc rax
cmp r9, rax
jne 0x14015020e
lea r8, [rsi + 0x100]
mov rdx, qword [rsi + 0x58]
mov rax, qword [rsi + 0x10]
mov rcx, qword [rsi + 0x38]
call qword [0x1401bc008]
mov edx, dword [rsi + 0x84]
mov r8d, dword [rsi + 0xd4]
xor ecx, ecx
cmp eax, r8d
setne cl
add qword [rsi + 0x10118], r8
neg ecx
add qword [rsi + 0x10120], rdx
xor eax, eax
mov dword [rsi + 0x84], eax
mov dword [rsi + 0xd4], eax
mov eax, ecx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
xor r9d, r9d
jmp 0x1401502a2

Function at 0x140150c30
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push rsi
push rdi
push rbx
movabs rax, 0x2345678912345678
mov qword [rdx], rax
mov dword [rdx + 8], 0x34567890
mov bl, byte [rcx]
test bl, bl
je 0x140150cb2
inc rcx
mov eax, 0x12345678
mov r10d, 0x23456789
mov r9d, 0x34567890
mov r11d, 0xff
mov esi, eax
xor sil, bl
movzx esi, sil
shr eax, 8
xor eax, dword [r8 + rsi*4]
mov dword [rdx], eax
mov esi, eax
and esi, r11d
add esi, r10d
imul r10d, esi, 0x8088405
inc r10d
mov dword [rdx + 4], r10d
mov esi, r10d
shr esi, 0x18
mov edi, r9d
and edi, r11d
xor edi, esi
shr r9d, 8
xor r9d, dword [r8 + rdi*4]
mov dword [rdx + 8], r9d
mov bl, byte [rcx]
inc rcx
test bl, bl
jne 0x140150c67
pop rbx
pop rdi
pop rsi
ret
Function at 0x140028974
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001c284
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c284
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140028ac4
cmp rax, 0xffffffffffffffff
je 0x140028ac4
xor edi, edi
test rbp, rbp
jle 0x140028a6f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001eb98
mov rbx, rax
test rax, rax
jne 0x1400289fc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140028a65
mov edx, 0x8000
mov ecx, r14d
call fcn.140019be8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001cf60
cmp eax, 0xffffffff
je 0x140028a45
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140028a0c
mov edx, r15d
mov ecx, r14d
call fcn.140019be8
jmp 0x140028a65
cmp byte [rsi + 0x38], dil
je 0x140028a5c
cmp dword [rsi + 0x34], 5
jne 0x140028a5c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140028a65
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001a948
jmp 0x140028ad8
jns 0x140028ad8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c284
cmp rax, 0xffffffffffffffff
jne 0x140028a90
cmp byte [rsi + 0x30], dil
je 0x140028ad8
mov edi, dword [rsi + 0x2c]
jmp 0x140028ad8
mov ecx, r14d
call fcn.14001871c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140028ad8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140028ad8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140028ad1
mov eax, dword [rsi + 0x2c]
jmp 0x140028ad6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c284
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140029bd0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140029bf8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140029bf8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140013800
Capabilities:
Listen for remote procedure calls

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0xc]
mov ecx, dword [rcx + 8]
mov r8d, 1
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
mov ebx, eax
cmp eax, 0x6b1
je 0x140013871
test eax, eax
je 0x140013871
lea rcx, str...SwRpcServer.cpp
mov edx, 0x5c
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x140013841
inc rax
jmp 0x140013848
lea rax, str...SwRpcServer.cpp
lea rcx, [0x140042858]
mov rdx, rax
call fcn.140001760
movabs rcx, 0x212500000000
shl rax, 0x34
or rax, rbx
or rax, rcx
add rsp, 0x20
pop rbx
ret
movabs rax, 0x8000000000
add rsp, 0x20
pop rbx
ret
Function at 0x140011208
Capabilities:
Terminate process

Disassembly:
jmp 0x1400134b0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x14001128f
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400147f0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014810
xor al, al
jmp 0x140014891
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014823
xor al, al
jmp 0x140014891
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001484d
xor al, al
jmp 0x140014891
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014861
xor al, al
jmp 0x140014891
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014873
xor al, al
jmp 0x140014891
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001488f
xor al, al
jmp 0x140014891
mov al, 1
add rsp, 0x38
ret
Function at 0x1400126f0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113b6
movzx eax, al
test eax, eax
jne 0x140012710
mov ecx, 7
call fcn.14001132a
nop
mov byte [rsp + 0x20], 0
call fcn.14001133e
mov byte [rsp + 0x21], al
cmp dword [0x14001e888], 1
jne 0x140012734
mov ecx, 7
call fcn.14001132a
nop
jmp 0x14001278c
cmp dword [0x14001e888], 0
jne 0x140012787
mov dword [0x14001e888], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111ae
test eax, eax
je 0x140012768
mov eax, 0xff
jmp 0x140012891
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.140011334
mov dword [0x14001e888], 2
jmp 0x14001278c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011316
call fcn.1400112b2
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400127e9
mov rcx, qword [rsp + 0x30]
call fcn.14001115e
movzx eax, al
test eax, eax
je 0x1400127e9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140024020]
nop
call fcn.1400112e4
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001281d
mov rcx, qword [rsp + 0x38]
call fcn.14001115e
movzx eax, al
test eax, eax
je 0x14001281d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011370
nop
call fcn.140012940
mov dword [rsp + 0x28], eax
call fcn.14001128f
movzx eax, al
test eax, eax
jne 0x14001283c
mov ecx, dword [rsp + 0x28]
call fcn.14001105a
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001284b
call fcn.14001137a
nop
xor edx, edx
mov cl, 1
call fcn.14001114f
mov eax, dword [rsp + 0x28]
jmp 0x140012891
add rsp, 0x68
ret
Function at 0x14000c610
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140287748]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [0x14028a7a8], 0
jne 0x14000c681
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x24]
dec ecx
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
mov qword [0x14028a798], rax
mov eax, dword [rsp + 0x48]
mov qword [0x14028a7a0], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x14028a7a8], rax
lea rax, [0x14028a798]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401140d0
add rsp, 0x68
ret
Function at 0x14000db90
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140287748]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rdx
mov r15, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
xor esi, esi
mov qword [rdx], rsi
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rsi
mov dword [rsp + 0x20], 1
xor edx, edx
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
jg 0x14000dc00
jmp 0x14000dd42
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x4c], xmm0
mov qword [rsp + 0x5c], rsi
mov dword [rsp + 0x48], Ordinal_32
lea rdx, [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x14000dd38
lea r12, vtable.std::_Ref_count_obj2_class_blackbone::Thread_.0
nop dword [rax]
nop word [rax + rax]
mov rbp, qword [r15]
mov eax, dword [rbp + 8]
cmp dword [rsp + 0x54], eax
jne 0x14000dd22
mov ecx, Ordinal_41
call fcn.140113d28
mov rsi, rax
mov qword [rsp + 0x28], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
mov qword [rax], r12
lea r14, [rax + 0x10]
mov r8d, dword [rsp + 0x50]
mov qword [r14], rbp
mov dword [r14 + 8], r8d
xor edx, edx
mov ecx, 0x10005b
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [r14 + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
or dword [rsp + 0x20], 2
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], rsi
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x14000dccf
mov qword [rdx], r14
mov qword [rdx + 8], rsi
movdqu xmmword [rsp + 0x28], xmm0
add qword [rdi + 8], 0x10
jmp 0x14000dcdd
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.14000e050
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000dd22
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000dd1d
mov rbx, qword [rsp + 0x30]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000dd1d
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rsp + 0x40]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x14000dc40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401140d0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140010cd0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1a0
mov rax, qword [0x140287748]
xor rax, rsp
mov qword [rsp + 0x190], rax
xorps xmm0, xmm0
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x108
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
test rbx, rbx
je 0x140010dbe
mov rax, qword [rax + 0x70]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
lea r8, [rsp + 0x40]
mov r9d, 0x40
mov rdx, rbx
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
test eax, eax
jne 0x140010dbe
mov eax, 0x5a4d
cmp word [rsp + 0x40], ax
jne 0x140010dbe
movsxd rdx, dword [rsp + 0x7c]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
add rdx, rbx
je 0x140010dbe
mov rax, qword [rax + 0x70]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
mov r9d, 0x108
lea r8, [rsp + 0x80]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
test eax, eax
jne 0x140010dbe
cmp dword [rsp + 0x80], 0x4550
sete al
jmp 0x140010dc0
xor al, al
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1401140d0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1a0
pop rdi
ret
Function at 0x140011210
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0xc0
mov rax, qword [0x140287748]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rsi, rcx
movsxd r14, r8d
lea rcx, [rsp + 0x60]
call fcn.1400224d0
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140022cd0
xor ebp, ebp
mov dword [rsp + 0xa0], r14d
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], 7
mov word [rax], bp
mov rdx, qword [rsp + 0x58]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x20], xmm1
movups xmmword [rsp + 0x90], xmm1
cmp rdx, 8
jb 0x1400112d4
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400112c5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400112c5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140113d64
movups xmm1, xmmword [rsp + 0x20]
movups xmm0, xmmword [rsp + 0x30]
movq r11, xmm0
mov qword [rsp + 0xf0], rbx
mov qword [rsp + 0xb8], rdi
lea r8, [rsp + 0x80]
movdqa xmm0, xmm1
mov qword [rsp + 0xb0], r15
psrldq xmm0, 8
lea r15, [rsi + 0x18]
movq rbx, xmm1
movq rdi, xmm0
cmp rdi, 8
movabs rdx, 0xcbf29ce484222325
mov rcx, rbp
cmovae r8, r11
lea r9, [rbx + rbx]
test r9, r9
je 0x140011354
movabs r10, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + r8]
inc rcx
xor rdx, rax
imul rdx, r10
cmp rcx, r9
jb 0x140011340
mov rax, qword [rsi + 0x30]
mov rcx, r14
xor rcx, rdx
and rcx, qword [rsi + 0x48]
add rcx, rcx
mov r10, qword [rax + rcx*8 + 8]
cmp r10, qword [rsi + 0x20]
je 0x1400113cc
mov rsi, qword [rax + rcx*8]
cmp qword [r10 + 0x28], 8
lea rax, [r10 + 0x10]
jb 0x140011383
mov rax, qword [r10 + 0x10]
cmp rdi, 8
lea r8, [rsp + 0x80]
cmovae r8, r11
cmp rbx, qword [r10 + 0x20]
jne 0x1400113be
mov rdx, rbx
test rbx, rbx
je 0x1400113b8
sub r8, rax
movzx ecx, word [rax + r8]
cmp cx, word [rax]
jne 0x1400113be
add rax, 2
sub rdx, 1
jne 0x1400113a4
cmp r14d, dword [r10 + 0x30]
je 0x1400113c9
cmp r10, rsi
je 0x1400113cc
mov r10, qword [r10 + 8]
jmp 0x140011374
mov rbp, r10
mov rbx, qword [rsp + 0xf0]
test rbp, rbp
je 0x1400113f9
lea rdx, [rsp + 0x80]
mov rcx, r15
call fcn.1400117d0
mov r11, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x98]
mov r15, qword [rsp + 0xb0]
cmp rdi, 8
jb 0x14001143f
lea rdx, [rdi*2 + 2]
mov rax, r11
cmp rdx, 0x1000
jb 0x140011437
mov r11, qword [r11 - 8]
add rdx, 0x27
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011437
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r11
call fcn.140113d64
mov rdi, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1401140d0
add rsp, 0xc0
pop r14
pop rsi
pop rbp
ret
Function at 0x1400117d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 8
mov r8, rdx
mov r10, qword [rdx + 0x10]
mov rdi, rcx
mov r9, rdx
jb 0x1400117f1
mov r9, qword [rdx]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
add r10, r10
je 0x140011824
movabs r11, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + r9]
inc rcx
xor rdx, rax
imul rdx, r11
cmp rcx, r10
jb 0x140011810
movsxd r9, dword [r8 + 0x20]
mov rcx, rdi
xor r9, rdx
lea rdx, [rsp + 0x20]
call fcn.140012980
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x1400118bc
mov rdx, qword [rdi + 0x30]
and rdx, r9
shl rdx, 4
add rdx, qword [rdi + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x140011875
cmp rax, rbx
jne 0x14001186b
mov rax, qword [rdi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x140011880
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x140011880
cmp rax, rbx
jne 0x140011880
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdx, qword [rbx]
lea rcx, [rbx + 0x10]
dec qword [rdi + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
call fcn.140012a60
mov edx, 0x48
mov rcx, rbx
call fcn.140113d64
mov eax, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x140015d10
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140287748]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
mov byte [rcx + 0x60], 0
mov rcx, qword [rcx + 0x48]
xor esi, esi
test rcx, rcx
je 0x140015d4c
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov qword [rbx + 0x48], rsi
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140015d61
jle 0x140015d5d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x38], rsi
mov edi, esi
mov edx, edi
mov rcx, rbx
call fcn.140015a30
inc edi
cmp edi, 4
jl 0x140015d63
cmp qword [rbx + 0x10], rsi
je 0x140015de6
call fcn.140002eb0
mov rcx, qword [rbx]
mov dword [rsp + 0x40], esi
mov edx, dword [rcx + 8]
mov rcx, qword [rax]
mov dword [rsp + 0x44], edx
cmp rcx, 0xffffffffffffffff
je 0x140015dd1
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x44]
mov dword [rsp + 0x28], esi
mov r9d, 4
mov edx, 0x8005e020
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140015dd1
mov rax, qword gs:[0x30]
lea rcx, [rbx + 8]
call fcn.140015ec0
mov qword [rbx + 0x40], rsi
mov qword [rbx + 0x58], rsi
mov qword [rbx + 0x50], rsi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401140d0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140019670
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x70
mov rax, qword [0x140287748]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rax, qword [rcx + 0x78]
xor esi, esi
mov qword [rsp + 0x50], rsi
mov rbx, rcx
test rax, rax
je 0x140019797
mov rdx, qword [rax]
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x60], rsi
add rdx, 0x18
je 0x140019797
mov rax, qword [rcx + 0x70]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x20], r8
lea r9d, [rsi + 8]
lea r8, [rsp + 0x50]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp qword [rsp + 0x50], rsi
je 0x140019797
mov qword [rsp + 0x58], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [rbx]
lea r9, [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov r8, rax
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], esi
mov rcx, qword [rcx]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140019726
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x78]
mov qword [rsp + 0x40], rsi
test rdx, rdx
je 0x14001975d
mov rax, qword [rdx + 0x18]
lea r8, [rsp + 0x40]
mov rdx, qword [rdx]
mov r9d, 8
add rdx, 0x18
mov qword [rsp + 0x20], rsi
mov rcx, qword [rax + 0x70]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov rdx, qword [rbx + 0x88]
mov qword [rsp + 0x48], rsi
test rdx, rdx
je 0x140019797
mov rax, qword [rdx + 0x18]
lea r8, [rsp + 0x48]
mov rdx, qword [rdx]
mov r9d, 8
add rdx, 0x18
mov qword [rsp + 0x20], rsi
mov rcx, qword [rax + 0x70]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x1400197aa
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x40], rsi
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001985e
call fcn.140016d60
test al, al
je 0x14001985e
mov rcx, qword [rbx + 0x20]
xor edx, edx
mov qword [rsp + 0x88], rdi
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x20]
mov edx, 0xffffffff
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdi, qword [rbx + 0x20]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140019808
jle 0x140019804
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x10], rsi
mov dword [rdi + 8], esi
mov rdi, qword [rbx + 0x28]
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
test rdi, rdi
je 0x140019848
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140019848
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x140019848
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x48]
mov rdi, qword [rsp + 0x88]
test rcx, rcx
je 0x14001985e
call fcn.1400169c0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401140d0
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x140024750
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
xor esi, esi
mov rcx, qword [rcx + 0x10]
movzx edi, dl
test rcx, rcx
je 0x14002477c
jle 0x140024778
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbx + 0x10], rsi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140024791
jle 0x14002478d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], rsi
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400247a4
jle 0x1400247a1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rsi
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x1400247b9
jle 0x1400247b5
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [rbx + 0x48], rsi
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
test dil, dil
jne 0x140024825
cmp qword [rbx + 0x110], 8
lea rcx, [rbx + 0xf8]
jb 0x1400247de
mov rcx, qword [rbx + 0xf8]
mov qword [rbx + 0x108], rsi
mov word [rcx], si
cmp byte [rbx + 0x1c], sil
je 0x14002480a
add rbx, 0x118
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140024802
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x140024811
add rbx, 0x118
cmp qword [rbx + 0x18], 8
mov rax, rbx
jb 0x14002481e
mov rax, qword [rbx]
mov qword [rbx + 0x10], rsi
mov word [rax], si
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret