joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400045d8
Capabilities:
Capture screenshot

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x14013c0e8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r15, rcx
lea r8, [r11 - 0x78]
mov ebx, 1
xor ecx, ecx
mov edx, ebx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
lea rcx, [rsp + 0x88]
call fcn.1400042d4
xor r8d, r8d
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x58]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov ecx, ebx
mov r14, rax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
mov edi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rcx, r14
mov ebx, eax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, edi
mov edx, ebx
mov rcx, r14
mov rbp, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
mov rcx, rbp
mov rsi, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
mov r9d, ebx
and dword [rsp + 0x38], 0
xor r8d, r8d
and dword [rsp + 0x30], 0
xor edx, edx
mov qword [rsp + 0x28], r14
mov rcx, rbp
mov dword [rsp + 0x20], edi
call qword [sym.imp.GDI32.dll_BitBlt]
lea rcx, [rsp + 0x60]
call fcn.14000434c
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.140004440
lea rdx, [rsp + 0x78]
call fcn.140004504
mov rcx, r15
call fcn.14000b540
mov rdx, rax
lea r8, [rsp + 0x78]
lea rcx, [rsp + 0x60]
call fcn.1400043f0
mov rcx, rbp
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
lea rcx, [rsp + 0x60]
call fcn.1400044fc
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov rcx, r15
call fcn.14000b830
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400cb0f0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140006760
Capabilities:
Get disk information
Get disk size
Get memory capacity

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x14013c0e8]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rbx, rcx
mov dword [rsp + 0x40], 0x40
lea rcx, [rsp + 0x40]
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov r8, qword [rsp + 0x48]
xorps xmm0, xmm0
test r8, r8
js 0x1400067b5
cvtsi2sd xmm0, r8
jmp 0x1400067cb
mov rax, r8
and r8d, 1
shr rax, 1
or rax, r8
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
mulsd xmm0, qword [0x1401291f0]
lea rdx, [rbp - 0x80]
mov ecx, 0x104
movsd qword [rbx], xmm0
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
xor esi, esi
test eax, eax
je 0x140006885
lea rbx, [rbp - 0x80]
cmp word [rbp - 0x80], si
je 0x140006885
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x14000686c
lea r9, [rsp + 0x30]
mov rcx, rbx
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x14000686c
mov rcx, qword [rsp + 0x20]
xorps xmm0, xmm0
test rcx, rcx
js 0x14000683c
cvtsi2sd xmm0, rcx
jmp 0x140006851
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
mulsd xmm0, qword [0x1401291f0]
lea rdx, [rsp + 0x28]
mov rcx, rdi
movsd qword [rsp + 0x28], xmm0
call fcn.1400068a8
mov rcx, rbx
call fcn.1400e2208
lea rbx, [rbx + rax*2]
add rbx, 2
cmp word [rbx], si
jne 0x1400067fe
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400cb0f0
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x2a0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400082c8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x100
mov rax, qword [0x14013c0e8]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rbx, r8
mov rdi, rdx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
movdqa xmm0, xmmword [0x140129410]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1401294a0]
movdqa xmmword [rsp + 0x60], xmm1
movdqa xmm0, xmmword [0x140129400]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x140129450]
movdqa xmmword [rsp + 0x80], xmm1
movdqa xmm0, xmmword [0x140129490]
movdqa xmmword [r11 - 0x78], xmm0
movdqa xmm1, xmmword [0x140129470]
movdqa xmmword [r11 - 0x68], xmm1
movdqa xmm0, xmmword [0x1401294d0]
movdqa xmmword [r11 - 0x58], xmm0
movdqa xmm1, xmmword [0x1401294c0]
movdqa xmmword [r11 - 0x48], xmm1
movdqa xmm0, xmmword [0x140129460]
movdqa xmmword [r11 - 0x38], xmm0
mov word [r11 - 0x28], 0x6c75
mov byte [r11 - 0x26], 0x74
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140006918
mov rdx, rax
mov rcx, rdi
call fcn.14000bdc4
lea rcx, [rsp + 0x30]
call fcn.14000bd68
nop
jmp 0x1400083b2
movdqa xmm0, xmmword [0x140129410]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1401294a0]
movdqa xmmword [rsp + 0x60], xmm1
movdqa xmm0, xmmword [0x140129400]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x140129450]
movdqa xmmword [rsp + 0x80], xmm1
movdqa xmm0, xmmword [0x140129490]
movdqa xmmword [rsp + 0x90], xmm0
movdqa xmm1, xmmword [0x140129480]
movdqa xmmword [rsp + 0xa0], xmm1
mov dword [rsp + 0xb0], 0x6f725020
mov dword [rsp + 0xb4], 0x74637564
mov dword [rsp + 0xb8], 0x656d614e
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140006918
mov rdx, rax
mov rcx, rbx
call fcn.14000bdc4
lea rcx, [rsp + 0x30]
call fcn.14000bd68
nop
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1400cb0f0
mov rbx, qword [rsp + 0x110]
add rsp, 0x100
pop rdi
ret
Function at 0x140008960
Capabilities:
Get hostname
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0xff90]
mov eax, 0x10090
call fcn.1400cba50
sub rsp, rax
mov rax, qword [0x14013c0e8]
xor rax, rsp
mov qword [rbp + 0xff80], rax
mov rdi, rcx
mov dword [rsp + 0x50], 0x7fff
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x140008a13
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.14000b874
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.14000b630
mov rbx, qword [rax]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.14000b684
mov r8, rbx
mov rdx, qword [rax]
lea rcx, [rsp + 0x20]
call fcn.140012444
mov rdx, rax
lea rcx, [0x140146040]
call fcn.14000bdc4
lea rcx, [rsp + 0x20]
call fcn.14000bd68
nop
lea rcx, [rsp + 0x58]
call fcn.14000b830
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x140008a8a
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.14000b874
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.14000b630
mov rbx, qword [rax]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.14000b684
mov r8, rbx
mov rdx, qword [rax]
lea rcx, [rsp + 0x20]
call fcn.140012444
mov rdx, rax
lea rcx, [0x140146020]
call fcn.14000bdc4
lea rcx, [rsp + 0x20]
call fcn.14000bd68
nop
lea rcx, [rsp + 0x58]
call fcn.14000b830
lea rdx, str.appdata
lea rcx, [rsp + 0x20]
call fcn.140006538
mov rdx, rax
lea rcx, [0x140146080]
call fcn.14000bdc4
lea rcx, [rsp + 0x20]
call fcn.14000bd68
lea rdx, str.localappdata
lea rcx, [rsp + 0x20]
call fcn.140006538
mov rdx, rax
lea rcx, [0x140145fc0]
call fcn.14000bdc4
lea rcx, [rsp + 0x20]
call fcn.14000bd68
lea r8, str.MicrosoftWindowsStart_MenuProgramsStartup_
lea rdx, [0x140146080]
lea rcx, [rsp + 0x20]
call fcn.1400115f0
mov rdx, rax
lea rcx, [0x1401460b0]
call fcn.14000bdc4
lea rcx, [rsp + 0x20]
call fcn.14000bd68
lea rcx, [rsp + 0x20]
call fcn.140006560
mov rdx, rax
lea rcx, [0x140146060]
call fcn.14000bdc4
lea rcx, [rsp + 0x20]
call fcn.14000bd68
mov rax, rdi
mov rcx, qword [rbp + 0xff80]
xor rcx, rsp
call fcn.1400cb0f0
lea r11, [rsp + 0x10090]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14000a5c8
Capabilities:
Write file on windows

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 r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x14000a5f8
call fcn.14000ad78
jmp 0x14000a664
mov rsi, rbx
call fcn.14000dd74
mov rbp, rax
test rbx, rbx
jle 0x14000a65e
test rax, rax
jle 0x14000a63f
cmp rbx, rax
mov rcx, rdi
cmovl rbp, rbx
call fcn.14000de68
mov rcx, rax
mov r8, rbp
mov rdx, r14
call fcn.14000ef84
mov edx, ebp
mov rcx, rdi
sub rbx, rbp
call fcn.14000ddc0
add r14, rbp
test rbx, rbx
jle 0x14000a65e
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000a65e
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.1400e1a0c
sub rbx, rax
sub rsi, rbx
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x14000a680
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x14013c0e8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rdi, r8
mov rbp, rdx
mov rsi, rcx
test r8, r8
jg 0x14000a6af
xor eax, eax
jmp 0x14000a790
cmp qword [rcx + 0x68], 0
je 0x14000a6c0
call fcn.14000ae40
jmp 0x14000a790
mov rbx, rdi
mov qword [rsp + 0x20], rbx
call fcn.14000ddd4
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14000a716
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.14000a7a8
mov rcx, rsi
mov rbx, qword [rax]
call fcn.14000de70
mov rdx, rax
mov r8, rbx
mov rcx, rbp
call fcn.14000ef84
sub qword [rsp + 0x20], rbx
mov edx, ebx
mov rcx, rsi
add rbp, rbx
call fcn.14000de44
mov rbx, qword [rsp + 0x20]
cmp qword [rsi + 0x80], 0
je 0x14000a78a
mov rcx, rsi
call fcn.14000da08
mov rbx, qword [rsp + 0x20]
mov r14d, 0xfff
jmp 0x14000a761
mov r9, qword [rsi + 0x80]
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.1400e27dc
mov rbx, qword [rsp + 0x20]
add rbp, rax
sub rbx, rax
mov qword [rsp + 0x20], rbx
cmp rax, r14
jne 0x14000a78a
cmp rbx, r14
ja 0x14000a735
test rbx, rbx
je 0x14000a78a
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, rbp
call fcn.1400e27dc
mov rbx, qword [rsp + 0x20]
sub rbx, rax
sub rdi, rbx
mov rax, rdi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400cb0f0
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000da84
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14013c0e8]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rcx + 0x68], 0
mov rsi, rcx
je 0x14000db19
cmp byte [rcx + 0x71], 0
je 0x14000db19
mov rax, qword [rcx]
mov rbx, qword [rax + 0x18]
call fcn.140006034
mov edx, eax
mov rcx, rsi
mov edi, eax
call rbx
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x34]
mov dword [rsp + 0x34], edi
call fcn.14000ef60
test al, al
jne 0x14000db74
mov rcx, qword [rsi + 0x68]
lea rax, [rsp + 0x38]
lea rdx, [rsi + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x40]
call fcn.14000f238
test eax, eax
je 0x14000db3a
sub eax, 1
je 0x14000db3e
cmp eax, 2
jne 0x14000db74
mov byte [rsi + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400cb0f0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov byte [rsi + 0x71], 0
mov rbx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
sub rbx, rax
je 0x14000db6b
mov r9, qword [rsi + 0x80]
lea rcx, [rsp + 0x40]
mov r8, rbx
mov edx, 1
call fcn.1400e1a0c
cmp rbx, rax
jne 0x14000db74
cmp byte [rsi + 0x71], 0
sete al
jmp 0x14000db1b
xor al, al
jmp 0x14000db1b

Function at 0x14000fc80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rcx + 4], edx
lea r9, [rcx + 8]
mov r8d, 1
mov r10d, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, r8d
inc r8
mov dword [r9], edx
lea r9, [r9 + 4]
cmp r8, r10
jb 0x14000fc93
mov dword [rcx], r10d
ret
Function at 0x14001b62c
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx], 0x270
mov rbx, rcx
jne 0x14001b644
call fcn.14001b96c
jmp 0x14001b651
cmp dword [rcx], 0x4e0
jb 0x14001b651
call fcn.14001b9b0
mov eax, dword [rbx]
mov edx, dword [rbx + rax*4 + 4]
inc eax
mov dword [rbx], eax
mov ecx, edx
mov eax, dword [rbx + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 0x20
pop rbx
ret

Function at 0x14001b96c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
lea r8, [rcx + 8]
mov r9d, 0x270
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x14001b976
ret

Function at 0x14001b9b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
lea r10, [rcx + 0x9c4]
mov r9, rcx
mov eax, dword [r10]
mov r11d, 0xe3
lea r8, [r10 + 4]
mov edx, dword [r8]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 - 0x9c0], ecx
lea r10, [r8]
sub r11, 1
jne 0x14001b9c3
lea r10, [r9 + 0xd50]
mov r11d, 0x18c
mov eax, dword [r10]
lea r8, [r10 + 4]
mov edx, dword [r8]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd4c]
xor ecx, edx
mov dword [r10 - 0x9c0], ecx
lea r10, [r8]
sub r11, 1
jne 0x14001ba0e
mov edx, dword [r9 + 0x1380]
xor edx, dword [r9 + 4]
btr edx, 0x1f
xor edx, dword [r9 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
and dword [r9], 0
ret

Function at 0x14001beac
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14013c0e8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
lea rcx, [rsp + 0x30]
call fcn.140008958
mov rcx, r8
call fcn.14000193c
mov r8, rax
mov rcx, rdx
call fcn.14000193c
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14001ef34
nop
lea rdi, [rbx + 8]
lea rcx, [rsp + 0x30]
call fcn.140002d50
mov r9, rax
mov qword [rsp + 0x28], rdi
and dword [rsp + 0x20], 0
lea r8, [0x14001ef98]
xor edx, edx
xor ecx, ecx
call fcn.1400ddb20
mov qword [rbx], rax
test rax, rax
je 0x14001bf53
lea rcx, [rsp + 0x30]
call fcn.140014490
nop
lea rcx, [rsp + 0x30]
call fcn.14001e984
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400cb0f0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
and dword [rdi], 0
mov ecx, 6
call fcn.1400c9564
int3
Function at 0x14002cd50
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movsxd r10, dword [rcx + 0xc]
mov r9, rcx
movsxd r11, r8d
test r8d, r8d
jle 0x14002cda7
mov rsi, qword [rcx]
mov rbx, r10
movsxd rbp, dword [rcx + 8]
xor edi, edi
mov al, byte [rdi + rdx]
lea rcx, [rbx + 1]
xor byte [rbx + rsi], al
lea eax, [r10 + 1]
xor r10d, r10d
cmp rcx, rbp
cmovl r10d, eax
xor ebx, ebx
inc rdi
cmp rcx, rbp
cmovl rbx, rcx
cmp rdi, r11
jl 0x14002cd7e
add dword [r9 + 0x10], r8d
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov dword [r9 + 0xc], r10d
ret
Function at 0x140053aa4
Capabilities:
Create thread

Disassembly:
sub rsp, 0x28
mov r8, rcx
xor eax, eax
mov rcx, qword [rcx + 0x48]
test rcx, rcx
je 0x140053ad6
cmp dword [rcx + 0x20], eax
je 0x140053ace
mov rcx, qword [rcx]
lea rdx, [0x140053a78]
add rsp, 0x28
jmp fcn.140052784
mov rcx, r8
call fcn.140053974
add rsp, 0x28
ret

Function at 0x14005eb04
Capabilities:
Reference sql statements

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 r14
sub rsp, 0x40
mov r14d, dword [rsp + 0x70]
mov ebx, r8d
mov dword [rax - 0x18], r14d
mov rbp, r9
mov qword [rax - 0x20], r9
mov rdi, rdx
mov r9, rdx
mov byte [rcx + 0x1c], 1
mov r8, rdx
mov dword [rax - 0x28], ebx
lea rdx, str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
mov rsi, rcx
call fcn.140064204
test ebx, ebx
jne 0x14005eb6d
mov r9, rbp
mov dword [rsp + 0x20], r14d
mov r8, rdi
lea rdx, str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
mov rcx, rsi
call fcn.140064204
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400a7d90
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
mov qword [rsp + 8], rbx
mov r9d, 0x23456789
mov dword [rdx], 0x12345678
mov dword [rdx + 4], r9d
mov rbx, r8
mov dword [rdx + 8], 0x34567890
mov r10, rcx
movzx eax, byte [rcx]
test al, al
je 0x1400a7e23
mov r8d, 0x12345678
mov r11d, 0x34567890
nop word [rax + rax]
mov rcx, r8
lea r10, [r10 + 1]
xor rcx, rax
movzx eax, cl
mov ecx, r8d
shr ecx, 8
xor ecx, dword [rbx + rax*4]
movzx eax, cl
mov r8d, ecx
add eax, r9d
mov dword [rdx], ecx
imul r9d, eax, 0x8088405
mov ecx, r11d
shr ecx, 8
inc r9d
mov dword [rdx + 4], r9d
mov eax, r9d
shr rax, 0x18
xor rax, r11
movzx eax, al
xor ecx, dword [rbx + rax*4]
mov dword [rdx + 8], ecx
mov r11d, ecx
movzx eax, byte [r10]
test al, al
jne 0x1400a7dd0
mov rbx, qword [rsp + 8]
ret

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x10108], 0
mov rbx, rcx
je 0x1400a7ef6
xor r11d, r11d
cmp dword [rcx + 0xd4], r11d
jbe 0x1400a7ef6
nop word [rax + rax]
movzx eax, byte [r11 + rbx + 0x100]
mov edx, dword [rbx + 0x10128]
mov ecx, edx
mov r8, qword [rbx + 0x10138]
xor rcx, rax
mov r10d, dword [rbx + 0x10130]
movzx eax, cl
and r10d, 0xfffd
mov ecx, dword [rbx + 0x10130]
or r10d, 2
shr edx, 8
xor edx, dword [r8 + rax*4]
mov dword [rbx + 0x10128], edx
movzx eax, dl
add eax, dword [rbx + 0x1012c]
imul eax, eax, 0x8088405
inc eax
mov dword [rbx + 0x1012c], eax
shr rax, 0x18
xor rax, rcx
shr ecx, 8
movzx eax, al
xor ecx, dword [r8 + rax*4]
mov eax, r10d
xor eax, 1
mov dword [rbx + 0x10130], ecx
imul eax, r10d
shr eax, 8
xor byte [r11 + rbx + 0x100], al
inc r11d
cmp r11d, dword [rbx + 0xd4]
jb 0x1400a7e60
mov r9d, dword [rbx + 0xd4]
lea r8, [rbx + 0x100]
mov rdx, qword [rbx + 0x58]
mov rcx, qword [rbx + 0x38]
mov edi, dword [rbx + 0xd4]
call qword [rbx + 0x10]
xor edx, edx
mov dword [rbx + 0xd4], 0
cmp eax, edi
mov ecx, 0xffffffff
cmovne edx, ecx
mov ecx, dword [rbx + 0x84]
add qword [rbx + 0x10118], rdi
mov eax, edx
add qword [rbx + 0x10120], rcx
mov dword [rbx + 0x84], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b4880
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0x1c]
test ecx, ecx
je 0x1400b48c2
mov r8d, 0x10
xor edx, edx
sub r8d, ecx
add rcx, qword [rbx + 0x48]
call fcn.1400cd940
mov rdx, qword [rbx + 0x48]
mov r8d, 0x10
mov rcx, rbx
mov dword [rbx + 0x1c], 0
add rsp, 0x20
pop rbx
jmp fcn.1400b3c00
add rsp, 0x20
pop rbx
ret
Function at 0x1400d9e94
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1400d9d27
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400d9d27
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400d9d27
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400d9d27
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400d9d27
cmp dword [rcx + 0x84], 0xe
jbe 0x1400d9d27
cmp dword [rcx + 0xf8], 0
je 0x1400d9d27
mov ecx, ebx
call fcn.1400d9dc8
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1400d9bb8
cmp dword [rbp + 0x20], 0
je 0x1400d9d74
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400d9d7c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400d9cc0
Function at 0x140002ed0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x140002f27
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rsi
call fcn.140002f30
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140002f17
mov qword [rsi], rdi
call fcn.140018290
mov r8, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
mov r9, rax
call fcn.14001e930
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x14000c1c0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x88
movdqa xmmword [rsp + 0x70], xmm13
movdqa xmmword [rsp + 0x60], xmm12
movdqa xmmword [rsp + 0x50], xmm11
movdqa xmmword [rsp + 0x40], xmm10
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
movdqu xmm4, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rcx + 0x30]
movd xmm0, r8d
pxor xmm0, xmm4
lea r8, [rdx - 0x40]
lea r11, [rcx + 0x40]
mov eax, 0x40
cmp r8, rax
jb 0x14000c30d
add rdx, 0xffffffffffffff80
mov r9, rdx
and r9, 0xffffffffffffffc0
mov r10, r9
sub r10, 0xffffffffffffff80
movabs rax, 0x154442bd4
movq xmm9, rax
movdqa xmm8, xmmword [0x1400f55f0]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm9, 0
movdqa xmm12, xmm3
pclmulqdq xmm12, xmm9, 0
movdqa xmm11, xmm2
pclmulqdq xmm11, xmm9, 0
movdqa xmm10, xmm1
pclmulqdq xmm10, xmm9, 0
movdqa xmm4, xmm0
pclmulqdq xmm4, xmm8, 0x11
movdqa xmm5, xmm3
pclmulqdq xmm5, xmm8, 0x11
movdqa xmm7, xmm2
pclmulqdq xmm7, xmm8, 0x11
movdqa xmm13, xmm1
pclmulqdq xmm13, xmm8, 0x11
movdqu xmm0, xmmword [r11]
pxor xmm0, xmm6
pxor xmm0, xmm4
movdqu xmm3, xmmword [r11 + 0x10]
pxor xmm3, xmm12
pxor xmm3, xmm5
movdqu xmm2, xmmword [r11 + 0x20]
pxor xmm2, xmm11
pxor xmm2, xmm7
movdqu xmm1, xmmword [r11 + 0x30]
pxor xmm1, xmm10
pxor xmm1, xmm13
add r8, 0xffffffffffffffc0
add r11, 0x40
cmp r8, 0x3f
ja 0x14000c258
sub rdx, r9
add rcx, r10
mov r8, rdx
mov r11, rcx
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x1400f5600]
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm2
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
cmp r8, 0x10
jb 0x14000c39d
movdqu xmm1, xmmword [r11]
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm1
pxor xmm0, xmm2
add r11, 0x10
add r8, 0xfffffffffffffff0
cmp r8, 0xf
ja 0x14000c372
movdqa xmm1, xmmword [0x1400f5600]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pmovzxdq xmm1, xmm0
psrldq xmm0, 4
movabs rax, 0x163cd6124
movq xmm2, rax
pclmulqdq xmm2, xmm1, 0
pxor xmm2, xmm0
pmovzxdq xmm0, xmm2
pclmulqdq xmm0, xmmword [0x1400f5610], 0x10
pmovzxdq xmm0, xmm0
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
pextrd eax, xmm1, 1
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
add rsp, 0x88
ret