joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401b57c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x1401b583a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x1401b5830
cmp r11, r10
ja 0x1401b58c5
cmp r10, rdx
ja 0x1401b58d7
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x1401b5832
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x1401b5810
jmp 0x1401b58a7
ja 0x1401b583a
mov r11, r10
cmp rax, r8
jne 0x1401b57e2
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x1401b58ab
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x1401b5880
mov r8, r10
sub ecx, r9d
jns 0x1401b589e
jmp 0x1401b58ad
cmp r10, rdx
je 0x1401b58b9
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x1401b58ad
xor al, 1
cmp r8, rdx
jne 0x1401b5860
jmp 0x1401b58ad
xor eax, eax
jmp 0x1401b58ad
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.1401c20b0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.1401c27c0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1401c2740
int3

Function at 0x1401b80cc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1401b8116
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401b8116
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401b8116
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401b8116
cmp dword [rcx + 0x84], 0xe
jbe 0x1401b8116
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401b8118
xor al, al
add rsp, 0x28
ret
Function at 0x1401c01f0
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x1401c0251
mov rdi, rax
lea rdx, [0x14023cd3e]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401c0251
mov rsi, rax
lea rdx, [0x14023cd4c]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401c0251
mov rdi, rax
xor ebx, ebx
jmp 0x1401c02d7
lea rcx, [0x14023ccd8]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x1401c034f
mov rsi, rax
lea rdx, [0x14023cce2]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401c034f
mov rdi, rax
lea rdx, [0x14023ccf5]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401c034f
mov rbx, rax
lea rdx, [0x14023cd09]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401c034f
mov rsi, rax
lea rcx, [rbp - 0x40]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
jne 0x1401c034f
mov rdi, qword [rbp - 0x40]
movzx eax, byte [0x1402df001]
mov ecx, 0x18
mov edx, 8
call fcn.140009000
test rax, rax
je 0x1401c0384
mov rcx, rax
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
xor eax, eax
lock cmpxchg qword [0x1402df048], rcx
je 0x1401c0343
mov rsi, rax
cmp qword [rcx], 0
mov qword [rbp - 8], rcx
je 0x1401c032c
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp - 8]
call fcn.140009010
mov rcx, rsi
mov rax, rcx
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rax, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 1
lea rax, [0x14023ccd8]
mov qword [rbp - 0x30], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
lea rdx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001fparking_lot_core_0.9.10_src_thread_parkerwindowsmod.rs
lea rcx, [rbp - 0x40]
call fcn.1401c2140
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rbx
mov ecx, 8
mov edx, 0x18
call fcn.1401c1ed0
ud2
Function at 0x1401c1460
Capabilities:
Resolve dns

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov ebp, r9d
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.1401a91d0
mov rdx, qword [rsp + 0x30]
movabs rax, 0x8000000000000000
cmp rdx, rax
jne 0x1401c14f9
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x1401c152b
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
jne 0x1401c1549
jmp 0x1401c155a
lea rax, str.h__
mov qword [rsi + 8], rax
mov qword [rsi], 1
test rdx, rdx
je 0x1401c155a
mov rcx, qword [rsp + 0x38]
mov r8d, 1
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140009010
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], bp
xor eax, eax
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
je 0x1401c155a
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.140009010
nop
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x14000404c
Capabilities:
Hash data using sha1

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rdx
and dword [rsp + 0x20], 0
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
and qword [rdx + 0x10], 0
and qword [rdx + 0x18], 0
mov r8, qword [r8 + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140004085
mov rax, qword [rax]
mov rdx, rax
mov rcx, rdi
call fcn.140007c64
mov dword [rsp + 0x20], 1
xor esi, esi
mov rdx, rdi
mov rcx, rbx
call fcn.140003ab4
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140003d8c
mov rdx, rax
mov rcx, rdi
call fcn.140005620
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400040f6
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400040f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000414a
call fcn.1400f7be0
mov dword [rbx], 0x67452301
mov dword [rbx + 4], 0xefcdab89
mov dword [rbx + 8], 0x98badcfe
mov dword [rbx + 0xc], 0x10325476
mov dword [rbx + 0x10], 0xc3d2e1f0
lea rcx, [rbx + 0x18]
cmp qword [rbx + 0x30], 0xf
jbe 0x140004127
mov rcx, qword [rbx + 0x18]
and qword [rbx + 0x28], 0
mov byte [rcx], 0
and qword [rbx + 0x38], 0
inc esi
cmp esi, 0xa
jb 0x14000409a
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
call fcn.140100bd8
int3
Function at 0x140023110
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140023130
xor eax, eax
jmp 0x140023216
cmp qword [rcx + 0x68], 0
je 0x140023141
call fcn.140004f90
jmp 0x140023216
mov rax, qword [rcx + 0x38]
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140023158
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14002315a
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14002318c
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.140121e30
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140023210
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400231c3
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x1400231ec
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.140106ccc
add r14, rax
sub rdi, rax
cmp rax, rbx
jne 0x140023210
cmp rdi, rbx
ja 0x1400231ca
test rdi, rdi
je 0x140023210
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call fcn.140106ccc
sub rdi, rax
sub rbp, rdi
mov rax, rbp
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140036154
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r9, qword [rcx]
mov ebx, 0x270
mov ecx, dword [r9]
cmp ecx, ebx
jne 0x1400361bf
lea r8, [r9 + 8]
mov r10d, 0x7fffffff
mov r11d, 0x9908b0df
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
and edx, r10d
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub rbx, 1
jne 0x140036182
mov ecx, dword [r9]
jmp 0x140036295
cmp ecx, 0x4e0
jb 0x140036295
lea rbx, [r9 + 0x9c4]
mov esi, 0xe3
mov edi, dword [rbx]
mov r10d, 0x7fffffff
mov r11d, 0x9908b0df
mov eax, edi
mov r8, rbx
mov edx, eax
add rbx, 4
mov edi, dword [rbx]
xor edx, edi
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rsi, 1
jne 0x1400361e5
lea rbx, [r9 + 0xd50]
mov esi, 0x18c
mov edi, dword [rbx]
mov eax, edi
mov r8, rbx
mov edx, eax
add rbx, 4
mov edi, dword [rbx]
xor edx, edi
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rsi, 1
jne 0x14003622a
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 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
ret
Function at 0x1400381c4
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140162100]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x70], rdx
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x80]
call fcn.1401224d0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140038221
mov rcx, qword [rbx]
mov r8, qword [rbx + 0x10]
add r8, rcx
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140038235
mov rdx, qword [rbx]
lea rcx, [rbp - 0x10]
call fcn.1400286a0
lea rax, [rbp - 0x10]
cmp qword [rbp + 8], 7
cmova rax, qword [rbp - 0x10]
mov qword [rbp - 0x70], rax
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14003825d
mov rdx, qword [rdi]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14003830b
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [rsp + 0x68]
lea rcx, [rbp - 0x10]
call fcn.140006794
nop
mov rcx, rdi
call fcn.140006794
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400382ff
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400382fa
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400383cc
mov rcx, r8
call fcn.1400f7be0
and qword [rbx + 0x10], 0
mov eax, esi
jmp 0x1400383a2
call qword [sym.imp.KERNEL32.dll_GetLastError]
and qword [rsp + 0x50], 0
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, 0x400
mov r8d, eax
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140038352
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, [rbp - 0x10]
call fcn.140006794
nop
mov rcx, rdi
call fcn.140006794
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14003839b
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140038396
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400383d2
mov rcx, r8
call fcn.1400f7be0
and qword [rbx + 0x10], 0
xor eax, eax
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1400f7bc0
mov rbx, qword [rsp + 0x150]
add rsp, 0x120
pop rdi
pop rsi
pop rbp
ret
call fcn.140100bd8
int3
call fcn.140100bd8
int3
Function at 0x1400385fc
Capabilities:
Hash data using sha256

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x140162100]
xor rax, rsp
mov qword [rbp + 0x37], rax
and dword [rbp - 0x31], 0
mov rdi, r8
and qword [rbp - 0x59], 0
mov r8d, edx
mov rdx, rcx
mov dword [rbp - 0x51], 0x6a09e667
lea rcx, [rbp - 0x59]
mov dword [rbp - 0x4d], 0xbb67ae85
mov rbx, r9
mov dword [rbp - 0x49], 0x3c6ef372
mov dword [rbp - 0x45], 0xa54ff53a
mov dword [rbp - 0x41], 0x510e527f
mov dword [rbp - 0x3d], 0x9b05688c
mov dword [rbp - 0x39], 0x1f83d9ab
mov dword [rbp - 0x35], 0x5be0cd19
call fcn.140039d50
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x59]
call fcn.140039e00
mov eax, 0x20
lea rdx, [rbp + 0x17]
cmp rbx, rax
mov rcx, rdi
cmova rbx, rax
mov r8, rbx
call fcn.140121e30
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400f7bc0
add rsp, 0xc0
pop rdi
pop rbx
pop rbp
ret
Function at 0x140039b4c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
lea r11, [rcx + 8]
movups xmm0, xmmword [r11]
lea r9, [rsp + 0x20]
mov qword [rbp + 0x70], r11
movups xmm1, xmmword [r11 + 0x10]
lea r8, [rdx + 2]
sub r9, rdx
movups xmmword [rsp], xmm0
mov edx, 0x10
movups xmmword [rsp + 0x10], xmm1
movzx eax, byte [r8 - 1]
movzx ecx, byte [r8 - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8]
shl ecx, 8
lea r8, [r8 + 4]
or ecx, eax
movzx eax, byte [r8 - 3]
shl ecx, 8
or ecx, eax
mov dword [r9 + r8 - 6], ecx
sub rdx, 1
jne 0x140039b98
lea r9, [rsp + 0x58]
lea r10d, [rdx + 0x30]
mov ecx, dword [r9]
mov r8d, ecx
mov edx, dword [r9 - 0x34]
lea r9, [r9 + 4]
mov eax, ecx
ror r8d, 0x13
shr ecx, 0xa
ror eax, 0x11
xor r8d, eax
mov eax, edx
xor r8d, ecx
ror eax, 7
mov ecx, edx
shr edx, 3
ror ecx, 0x12
xor ecx, eax
xor ecx, edx
add r8d, ecx
add r8d, dword [r9 - 0x3c]
add r8d, dword [r9 - 0x18]
mov dword [r9 + 4], r8d
sub r10, 1
jne 0x140039bd2
mov r15d, dword [rsp + 0x18]
xor r14d, r14d
mov esi, dword [rsp + 0x10]
mov r12d, dword [rsp + 0xc]
mov r13d, dword [rsp + 4]
mov edi, dword [rsp]
mov ebx, dword [rsp + 0x14]
mov r11d, dword [rsp + 8]
mov edx, edi
mov eax, esi
shr eax, 0xb
mov r10d, esi
shl r10d, 0x15
mov ecx, esi
or r10d, eax
shl ecx, 0x1a
mov eax, esi
shl edx, 0x13
shr eax, 6
mov r9d, r13d
or ecx, eax
or r9d, edi
xor r10d, ecx
mov eax, esi
shl eax, 7
and r9d, r11d
mov ecx, esi
mov r8d, r13d
shr ecx, 0x19
and r8d, edi
or ecx, eax
mov eax, ebx
xor eax, r15d
xor r10d, ecx
and eax, esi
mov ecx, edi
xor eax, r15d
shr ecx, 0x16
add r10d, eax
lea rax, [0x14013ebd0]
add r10d, dword [r14 + rax]
mov eax, edi
add r10d, dword [rsp + r14 + 0x20]
add r14, 4
add r10d, dword [rsp + 0x1c]
shr eax, 0xd
add r12d, r10d
or edx, eax
mov dword [rsp + 0x1c], r15d
mov eax, edi
mov r15d, ebx
shl eax, 0xa
mov ebx, esi
or ecx, eax
mov esi, r12d
mov eax, edi
xor edx, ecx
shl eax, 0x1e
mov r12d, r11d
mov r11d, r13d
mov r13d, edi
shr edi, 2
or eax, edi
mov edi, r9d
xor eax, edx
or edi, r8d
add eax, r10d
add edi, eax
cmp r14, 0x100
jl 0x140039c3a
lea rcx, [rsp]
mov dword [rsp + 8], r11d
sub rcx, qword [rbp + 0x60]
mov edx, 8
mov r11, qword [rbp + 0x70]
mov dword [rsp], edi
mov dword [rsp + 0x10], esi
mov dword [rsp + 0x18], r15d
mov dword [rsp + 0xc], r12d
mov dword [rsp + 4], r13d
mov dword [rsp + 0x14], ebx
mov eax, dword [rcx + r11 - 8]
add dword [r11], eax
lea r11, [r11 + 4]
sub rdx, 1
jne 0x140039d23
mov rbx, qword [rsp + 0x168]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140045590
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
movsxd r10, dword [rcx + 0xc]
mov r14, rdx
movsxd rbx, r8d
mov r9, rcx
test r8d, r8d
jle 0x1400455ed
mov rdi, qword [rcx]
mov r11, r10
movsxd rsi, dword [rcx + 8]
xor edx, edx
mov al, byte [r14 + rdx]
lea rcx, [r11 + 1]
xor byte [r11 + rdi], al
lea eax, [r10 + 1]
xor r10d, r10d
cmp rcx, rsi
cmovl r10d, eax
xor r11d, r11d
inc rdx
cmp rcx, rsi
cmovl r11, rcx
cmp rdx, rbx
jl 0x1400455c1
add dword [r9 + 0x10], r8d
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov r14, qword [rsp + 0x20]
mov dword [r9 + 0xc], r10d
ret
Function at 0x140075f14
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.14007bad8
test ebx, ebx
jne 0x140075f7d
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.14007bad8
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 0x1400c46f4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400c476b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400c476b
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x1400c4758
cmp rbx, rcx
jae 0x1400c476b
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x1400c4743
cmp rbx, rcx
jae 0x1400c476b
movzx eax, word [rbx]
neg ax
sbb rax, rax
and rax, rbx
jmp 0x1400c476d
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400c5750
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140162100]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rax, rdx
mov qword [rbp - 0x38], rcx
mov rbx, rcx
lea r9, [rbp - 0x38]
xor edi, edi
mov rcx, rax
xor r8d, r8d
mov qword [rbp - 0x38], rdi
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jns 0x1400c57bc
mov qword [rbp - 0x48], rdi
lea rax, [0x140137188]
mov qword [rbp - 0x50], rax
lea rdx, [rbp - 0x50]
movaps xmm0, xmmword [rbp - 0x50]
mov rcx, rbx
movdqa xmmword [rbp - 0x50], xmm0
call fcn.140034558
jmp 0x1400c581e
mov rcx, qword [rbp - 0x38]
or rax, 0xffffffffffffffff
mov qword [rbp - 0x50], rcx
inc rax
cmp word [rcx + rax*2], di
jne 0x1400c57c8
mov qword [rbp - 0x48], rax
lea rdx, [rbp - 0x50]
movaps xmm0, xmmword [rbp - 0x50]
lea rcx, [rbp - 0x30]
movdqa xmmword [rbp - 0x50], xmm0
call fcn.140034558
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movups xmm0, xmmword [rbp - 0x30]
lea rcx, [rbp - 0x30]
mov word [rbp - 0x30], di
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rbx], xmm0
movdqa xmm0, xmmword [0x14014e380]
movdqu xmmword [rbp - 0x20], xmm0
movups xmmword [rbx + 0x10], xmm1
call fcn.140006794
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400f7bc0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400c5840
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov rax, qword [0x140162100]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rdx
mov rdx, rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x1400c5879
mov rdx, qword [rcx]
mov r8, qword [rcx + 0x10]
add r8, rdx
cmp qword [rcx + 0x18], 0xf
jbe 0x1400c588a
mov rcx, qword [rcx]
mov rdx, rcx
lea rcx, [rbp + 0x27]
call fcn.1400286a0
nop
lea rdx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 7
cmova rdx, qword [rbp + 0x27]
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
jne 0x1400c59dc
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400c58db
mov rcx, qword [rdi]
mov r8, qword [rdi + 0x10]
add r8, rcx
cmp qword [rdi + 0x18], 0xf
jbe 0x1400c58ec
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp + 7]
call fcn.1400286a0
nop
mov eax, dword [rbp + 0x17]
lea esi, [rax*2 + 2]
lea rdi, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova rdi, qword [rbp + 7]
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], rbx
mov qword [rbp - 9], rbx
mov r8d, 0x27
lea rdx, str.UUxrrRklQRY0ZLhb1VnWd0I0ISxwpSGDUohNwY
lea rcx, [rbp - 0x21]
call fcn.1400078a0
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x49]
call fcn.1400cb590
nop
mov rdx, qword [rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x31], xmm1
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], bx
jne 0x1400c595a
lea rcx, [rbp - 0x41]
call fcn.1400078a0
lea rdx, [rbp - 0x41]
cmp qword [rbp - 0x29], 7
cmova rdx, qword [rbp - 0x41]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
lea rcx, [rbp - 0x41]
call fcn.140006794
nop
mov rdx, qword [rbp - 0x49]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x1400c59c2
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x1400c59d2
mov bl, 1
lea rcx, [rbp + 7]
call fcn.140006794
nop
lea rcx, [rbp + 0x27]
call fcn.140006794
mov al, bl
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400f7bc0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret