joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000647c
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x14004de28]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
xor r14d, r14d
cmp rcx, 0xffffffffffffffff
jne 0x140006592
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x1400064c6
mov rcx, qword [rdx]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400065b3
mov qword [rsp + 0x20], r14
movdqa xmm0, xmmword [0x14003b930]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], r14w
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400080b0
test al, al
je 0x140006527
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140006569
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006564
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400066d5
call fcn.140025b1c
cmp rsi, 0xffffffffffffffff
jne 0x1400065b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 2]
test ecx, 0xffffffee
jne 0x140006588
cmp eax, 0x13
mov al, r14b
jne 0x14000658a
mov al, 1
mov byte [rbx + 0x64], al
jmp 0x1400066ab
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400065b3
or rsi, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
setne al
jmp 0x14000658a
cmp rbx, rdi
je 0x1400065d1
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400065c5
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rbx
call fcn.140001c80
mov qword [rsp + 0x20], r14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x6c]
call fcn.14002af0c
mov r8, rax
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.1400012bc
nop
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140008dc4
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14000664c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006647
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400066cf
call fcn.140025b1c
mov ecx, dword [rsp + 0x5c]
shl rcx, 0x20
mov eax, dword [rsp + 0x60]
add rcx, rax
mov qword [rbx + 0x20], rcx
mov eax, dword [rsp + 0x40]
mov dword [rbx + 0x28], eax
mov rax, qword [rsp + 0x44]
mov qword [rbx + 0x48], rax
mov rax, qword [rsp + 0x4c]
mov qword [rbx + 0x50], rax
mov rax, qword [rsp + 0x54]
mov qword [rbx + 0x58], rax
lea rcx, [rbx + 0x30]
lea rdx, [rsp + 0x54]
call fcn.14000e904
lea rcx, [rbx + 0x38]
lea rdx, [rsp + 0x44]
call fcn.14000e904
lea rcx, [rbx + 0x40]
lea rdx, [rsp + 0x4c]
call fcn.14000e904
mov dword [rbx + 0x60], r14d
mov rax, rsi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140025c30
add rsp, 0x2a0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14002ae94
int3
call fcn.14002ae94
int3
Function at 0x140007a28
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x140007ae0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
and qword [rsp + 0x30], 0
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.1400013c4
nop
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
sub rcx, rdx
sar rcx, 1
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call fcn.14002af0c
mov r8, rax
mov rdx, rbx
mov rcx, rsi
call fcn.140001c80
test edi, edi
setne bl
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140007ade
mov rdx, qword [rsp + 0x30]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007ad9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007af0
call fcn.140025b1c
mov al, bl
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
call fcn.14002ae94
int3

Function at 0x140008cf8
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 8
jb 0x140008d06
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x14000afcc
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor edi, edi
lea rbp, str.cw
mov ecx, edi
lea rsi, [0x140000000]
mov rdx, rbp
movzx eax, byte [rdx]
inc rdx
mov byte [rax + rsi + 0x568f0], cl
inc ecx
cmp ecx, 0x100
jl 0x14000aff5
mov r9b, byte [rdi + rbp]
mov dl, 2
mov cl, r9b
mov byte [rsi + rdi*4 + 0x575f1], r9b
mov byte [rsi + rdi*4 + 0x575f0], r9b
mov byte [rsi + rdi*4 + 0x571f3], r9b
mov byte [rsi + rdi*4 + 0x571f0], r9b
mov byte [rsi + rdi*4 + 0x56df3], r9b
mov byte [rsi + rdi*4 + 0x56df2], r9b
mov byte [rsi + rdi*4 + 0x569f2], r9b
mov byte [rsi + rdi*4 + 0x569f1], r9b
call fcn.14000b7e4
mov dl, 3
mov byte [rsi + rdi*4 + 0x575f3], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x571f2], al
mov byte [rsi + rdi*4 + 0x56df1], al
mov byte [rsi + rdi*4 + 0x569f0], al
call fcn.14000b7e4
movzx r9d, byte [rdi + rsi + 0x568f0]
mov dl, 0xb
mov cl, r9b
mov byte [rsi + rdi*4 + 0x575f2], al
mov byte [rsi + rdi*4 + 0x571f1], al
mov byte [rsi + rdi*4 + 0x56df0], al
mov byte [rsi + rdi*4 + 0x569f3], al
call fcn.14000b7e4
mov dl, 9
mov byte [rsi + rdi*4 + 0x585f2], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x581f1], al
mov byte [rsi + rdi*4 + 0x57df0], al
mov byte [rsi + rdi*4 + 0x579f3], al
mov byte [rsi + r9*4 + 0x595f2], al
mov byte [rsi + r9*4 + 0x591f1], al
mov byte [rsi + r9*4 + 0x58df0], al
mov byte [rsi + r9*4 + 0x589f3], al
call fcn.14000b7e4
mov dl, 0xd
mov byte [rsi + rdi*4 + 0x585f0], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x581f3], al
mov byte [rsi + rdi*4 + 0x57df2], al
mov byte [rsi + rdi*4 + 0x579f1], al
mov byte [rsi + r9*4 + 0x595f0], al
mov byte [rsi + r9*4 + 0x591f3], al
mov byte [rsi + r9*4 + 0x58df2], al
mov byte [rsi + r9*4 + 0x589f1], al
call fcn.14000b7e4
mov dl, 0xe
mov byte [rsi + rdi*4 + 0x585f1], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x581f0], al
mov byte [rsi + rdi*4 + 0x57df3], al
mov byte [rsi + rdi*4 + 0x579f2], al
mov byte [rsi + r9*4 + 0x595f1], al
mov byte [rsi + r9*4 + 0x591f0], al
mov byte [rsi + r9*4 + 0x58df3], al
mov byte [rsi + r9*4 + 0x589f2], al
call fcn.14000b7e4
mov byte [rsi + rdi*4 + 0x585f3], al
mov byte [rsi + rdi*4 + 0x581f2], al
mov byte [rsi + rdi*4 + 0x57df1], al
mov byte [rsi + rdi*4 + 0x579f0], al
inc rdi
mov byte [rsi + r9*4 + 0x595f3], al
mov byte [rsi + r9*4 + 0x591f2], al
mov byte [rsi + r9*4 + 0x58df1], al
mov byte [rsi + r9*4 + 0x589f0], al
cmp rdi, 0x100
jl 0x14000b00c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000b76c
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov r11, r8
mov r10, rdx
movdqu xmm1, xmmword [rcx + 8]
test r8, r8
je 0x14000b7de
mov rax, r10
add r10, 0x10
cmp byte [rcx + 1], 0
movdqu xmm0, xmmword [rax]
je 0x14000b791
pxor xmm0, xmm1
movdqu xmm1, xmmword [rcx + 0x18]
movsxd rax, dword [rcx + 4]
pxor xmm1, xmm0
cmp rax, 1
jle 0x14000b7bf
lea rdx, [rcx + 0x28]
lea r8, [rax - 1]
movdqu xmm0, xmmword [rdx]
lea rdx, [rdx + 0x10]
aesenc xmm1, xmm0
sub r8, 1
jne 0x14000b7ac
add rax, rax
movdqu xmm0, xmmword [rcx + rax*8 + 0x18]
mov rax, r9
add r9, 0x10
aesenclast xmm1, xmm0
movdqu xmmword [rax], xmm1
sub r11, 1
jne 0x14000b77c
movdqu xmmword [rcx + 8], xmm1
ret

Function at 0x14000b7e4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r10b, r10b
mov r11b, dl
mov bl, cl
test dl, dl
je 0x14000b82c
mov al, r10b
xor al, bl
movzx r8d, al
test r11b, 1
movzx eax, r10b
cmove r8d, eax
mov al, bl
add al, al
mov r10b, r8b
mov r8b, bl
movzx edx, al
mov cl, dl
mov ebx, edx
xor cl, 0x1b
test r8b, r8b
movzx ecx, cl
cmovs ebx, ecx
shr r11b, 1
jne 0x14000b7f5
mov rbx, qword [rsp + 8]
mov al, r10b
ret

Function at 0x14000b838
Capabilities:
Encode data using xor

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, 0x40
mov rax, qword [0x14004de28]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov esi, 1
mov rdi, rcx
cmp dword [rcx + 4], esi
jle 0x14000b91f
lea rbx, [r11 - 0x38]
sub rbx, rcx
lea rbp, [rcx + 0x2a]
sub rbx, 0x2a
lea r15, [0x140000000]
xor r9d, r9d
mov r10, rbp
lea r14, [rbx + r9]
mov r11d, 4
movzx eax, byte [r10 + 1]
lea rdx, [r9 + rax*4]
movzx eax, byte [r10 - 1]
mov r8b, byte [rdx + r15 + 0x595f0]
lea rcx, [r9 + rax*4]
movzx eax, byte [r10 - 2]
xor r8b, byte [rcx + r15 + 0x58df0]
lea rcx, [r9 + rax*4]
movzx eax, byte [r10]
xor r8b, byte [rcx + r15 + 0x589f0]
lea rcx, [r9 + rax*4]
xor r8b, byte [rcx + r15 + 0x591f0]
mov byte [r14 + r10], r8b
lea r10, [r10 + 4]
sub r11, 1
jne 0x14000b896
inc r9
cmp r9, 4
jl 0x14000b889
movsxd rcx, esi
lea r8d, [r11 + 0x10]
shl rcx, 4
lea rdx, [rsp + 0x20]
add rcx, 0x18
add rcx, rdi
call fcn.140026e10
inc esi
add rbp, 0x10
sub rbx, 0x10
cmp esi, dword [rdi + 4]
jl 0x14000b886
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140025c30
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x14000bd30
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
push r14
sub rsp, 0x20
mov r10, qword [0x140059a00]
xor ebx, ebx
movzx ebp, r9b
mov r14b, r8b
mov rdi, rdx
mov rsi, rcx
test r10, r10
jne 0x14000bdcf
cmp byte [0x1400599f8], bl
jne 0x14000bdcf
lea rcx, str.Crypt32.dll
call fcn.14000dc4c
mov qword [0x1400599f0], rax
test rax, rax
je 0x14000bdb8
lea rdx, str.CryptProtectMemory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400599f0]
lea rdx, str.CryptUnprotectMemory
mov qword [0x140059a00], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140059a08], rax
jmp 0x14000bdbf
mov rax, qword [0x140059a08]
mov r10, qword [0x140059a00]
mov byte [0x1400599f8], 1
jmp 0x14000bdd6
mov rax, qword [0x140059a08]
mov rcx, rdi
mov r8d, ebp
and rcx, 0xfffffffffffffff0
test r14b, r14b
je 0x14000be29
test r10, r10
je 0x14000be46
mov edx, ecx
mov rax, r10
mov rcx, rsi
call qword [0x14003b4b0]
test eax, eax
jne 0x14000be61
lea rdx, str.CryptProtectMemory_failed
lea rbx, [0x14006acf0]
mov rcx, rbx
call fcn.140003b8c
mov rcx, rbx
call fcn.140003f38
mov edx, 2
mov rcx, rbx
call fcn.140003b84
jmp 0x14000be61
test rax, rax
je 0x14000be46
mov edx, ecx
mov rcx, rsi
call qword [0x14003b4b0]
test eax, eax
jne 0x14000be61
lea rdx, str.CryptUnprotectMemory_failed
jmp 0x14000be03
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test rdi, rdi
je 0x14000be61
lea ecx, [rax + 0x4b]
add cl, bl
xor byte [rbx + rsi], cl
inc rbx
cmp rbx, rdi
jb 0x14000be51
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 0x14000c704
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x14004de28]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov edi, dword [rcx + 0x18]
mov ebp, 0x38
mov r14, qword [rcx + 0x18]
and edi, 0x3f
shl r14, 3
mov rsi, rdx
mov rbx, rcx
mov byte [rdi + rcx + 0x20], 0x80
inc edi
cmp edi, ebp
je 0x14000c792
jbe 0x14000c77d
lea edx, [rbp + 8]
cmp edi, edx
jae 0x14000c767
sub edx, edi
mov ecx, edi
add rcx, 0x20
mov r8d, edx
add rcx, rbx
xor edx, edx
call fcn.1400274c0
xor edi, edi
lea r8, [rbx + 0x20]
mov r9b, 1
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000bf0c
sub ebp, edi
mov ecx, edi
add rcx, 0x20
mov r8d, ebp
add rcx, rbx
xor edx, edx
call fcn.1400274c0
mov rcx, r14
shr rcx, 0x20
call fcn.14002de84
mov ecx, r14d
mov dword [rbx + 0x58], eax
call fcn.14002de84
lea r8, [rbx + 0x20]
mov dword [rbx + 0x5c], eax
mov r9b, 1
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000bf0c
mov rdx, rbx
mov ecx, 5
sub rdx, rsi
mov eax, dword [rdx + rsi]
mov dword [rsi], eax
lea rsi, [rsi + 4]
sub rcx, 1
jne 0x14000c7cb
and qword [rbx + 0x18], rcx
mov dword [rbx], 0x67452301
mov dword [rbx + 4], 0xefcdab89
mov dword [rbx + 8], 0x98badcfe
mov dword [rbx + 0xc], 0x10325476
mov dword [rbx + 0x10], 0xc3d2e1f0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140025c30
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x14000c824
Capabilities:
Hash data using sha1

Disassembly:
and qword [rcx + 0x18], 0
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
ret

Function at 0x14000ce9c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
cmp qword [rcx + 0x18], 8
jb 0x14000ceb3
mov rcx, qword [rcx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x14000cf85
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
and qword [rsp + 0x30], 0
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.1400013c4
nop
mov rax, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
sub rax, rdx
sar rax, 1
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14000ceff
mov rcx, qword [rdi]
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov rbx, qword [rsp + 0x20]
test eax, eax
je 0x14000cf43
mov rcx, qword [rsp + 0x28]
sub rcx, rbx
sar rcx, 1
mov eax, eax
cmp rax, rcx
ja 0x14000cf43
mov rcx, rbx
call fcn.14002af0c
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call fcn.140001c80
mov dil, 1
mov rbx, qword [rsp + 0x20]
jmp 0x14000cf46
xor dil, dil
test rbx, rbx
je 0x14000cf82
mov rdx, qword [rsp + 0x30]
sub rdx, rbx
sar rdx, 1
add rdx, rdx
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000cf7a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cf90
mov rcx, rbx
call fcn.140025b1c
mov al, dil
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
call fcn.14002ae94
int3
Function at 0x14000dc4c
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov rax, qword [0x14004de28]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
xor edi, edi
mov qword [rbp - 0x19], rdi
mov edx, 0x104
lea rcx, [rbp - 0x29]
call fcn.1400013c4
nop
mov rdx, qword [rbp - 0x21]
mov rcx, qword [rbp - 0x29]
sub rdx, rcx
sar rdx, 1
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, 0x1000
test eax, eax
jne 0x14000dcb9
mov ebx, edi
jmp 0x14000de19
mov qword [rbp - 0x11], rdi
movdqa xmm0, xmmword [0x14003b930]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], di
mov qword [rbp + 0x2f], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x3f], xmm0
mov rcx, rbx
call fcn.14002af0c
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x2f]
call fcn.1400012bc
nop
mov rbx, qword [rbp - 0x29]
mov qword [rbp + 0xf], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1f], xmm0
mov rcx, rbx
call fcn.14002af0c
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0xf]
call fcn.1400012bc
nop
lea r8, [rbp - 0x11]
lea rdx, [rbp + 0x2f]
lea rcx, [rbp + 0xf]
call fcn.1400088f8
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x14000dd68
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, rsi
jb 0x14000dd63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000de7f
call fcn.140025b1c
movdqa xmm0, xmmword [0x14003b930]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], di
mov rdx, qword [rbp + 0x47]
cmp rdx, 8
jb 0x14000ddb5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, rsi
jb 0x14000ddb0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000de85
call fcn.140025b1c
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x14000de08
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, rsi
jb 0x14000de03
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000de8b
call fcn.140025b1c
movdqa xmm0, xmmword [0x14003b930]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], di
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x14000de51
mov rdx, qword [rbp - 0x19]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, rsi
jb 0x14000de4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000de79
call fcn.140025b1c
mov rax, rbx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140025c30
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14002ae94
nop
call fcn.14002ae94
nop
call fcn.14002ae94
nop
call fcn.14002ae94
int3
Function at 0x14001511c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x14006a0a8], 0
je 0x140015137
or eax, 0xffffffff
jmp 0x14001523f
mov rax, qword [0x140059f58]
test rax, rax
jg 0x140015157
dec rax
mov qword [0x140059f58], rax
and qword [0x140069fb8], 0
jmp 0x14001512f
mov rbx, qword [0x140069fb8]
test rbx, rbx
jg 0x1400151ab
mov rcx, qword [0x140069fa8]
mov ebx, 0x2000
mov edx, ebx
call fcn.1400153bc
movsxd rcx, eax
mov qword [0x140069fb8], rcx
test eax, eax
je 0x14001514d
cmp rcx, 0xffffffffffffffff
je 0x1400151e1
mov rax, qword [0x140069fa8]
add qword [0x140069ff8], rbx
mov qword [0x140069fb0], rax
call fcn.140014a38
mov rbx, qword [0x140069fb8]
mov rax, qword [0x140059f90]
test byte [rax + 0x90], 1
je 0x140015224
cmp byte [0x14006a1ec], 0
je 0x1400151f9
test rbx, rbx
je 0x140015224
mov rdx, qword [0x140069fb0]
lea rcx, [0x14006a1f8]
mov r8, rbx
call fcn.140018d6c
jmp 0x14001521d
lea rdx, [0x14006a780]
lea rcx, [0x14006acf0]
call fcn.140003df0
jmp 0x14001514d
mov rdi, qword [0x140069fb0]
test rbx, rbx
je 0x140015224
call fcn.140018ac0
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.140018c34
inc rdi
sub rbx, 1
jne 0x140015205
mov rbx, qword [0x140069fb8]
mov rax, qword [0x140069fb0]
dec rbx
mov qword [0x140069fb8], rbx
movzx eax, byte [rax]
inc qword [0x140069fb0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140018b2c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14004de28]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov dil, r8b
mov rcx, rdx
call fcn.140018ae0
mov r8d, 0xc
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.140026e10
xor ebx, ebx
mov ecx, dword [0x14006a130]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [rsp + rbx + 0x20], al
movzx ecx, byte [rsp + rbx + 0x20]
call fcn.140018c34
inc rbx
cmp rbx, 0xc
jl 0x140018b68
mov rax, qword [0x140059f90]
movzx ecx, byte [0x14006a027]
test byte [rax + 0x90], 2
movzx eax, byte [0x14006a01f]
cmovne ecx, eax
movzx eax, byte [rsp + 0x2b]
cmp eax, ecx
je 0x140018bc6
or eax, 0xffffffff
jmp 0x140018c1b
test dil, dil
je 0x140018c19
mov rbx, qword [0x140069fb8]
mov rax, qword [0x140059f58]
mov rdi, qword [0x140069fb0]
movsxd rcx, ebx
cmp rcx, rax
cmovg ebx, eax
test ebx, ebx
je 0x140018c19
mov ecx, dword [0x14006a130]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.140018c34
inc rdi
sub ebx, 1
jne 0x140018bed
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140025c30
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140018c34
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov r8, qword [0x14006a128]
mov eax, ecx
mov r9d, ecx
mov rdx, r8
mov rcx, qword [0x14006a130]
xor rdx, rax
movzx eax, dl
lea rdx, [0x140059b30]
shr r8d, 8
xor r8d, dword [rdx + rax*4]
movzx eax, r8b
add eax, dword [0x14006a12c]
imul eax, eax, 0x8088405
mov dword [0x14006a128], r8d
inc eax
mov dword [0x14006a12c], eax
shr rax, 0x18
xor rax, rcx
shr ecx, 8
movzx eax, al
xor ecx, dword [rdx + rax*4]
mov eax, r9d
mov dword [0x14006a130], ecx
ret

Function at 0x140018f04
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14004de28]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r14, qword [rsp + 0xa0]
mov r12, rdx
lea rdx, [rsp + 0x20]
mov rsi, r9
mov r15, r8
mov rbx, rcx
call fcn.140019404
xor edi, edi
test rsi, rsi
je 0x140018f7c
cmp byte [r14], dil
je 0x140018f7c
movups xmm0, xmmword [rsi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rsi + 0x20]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rsi + 0x30]
movups xmmword [rbx + 0x30], xmm1
movups xmm0, xmmword [rsi + 0x40]
movups xmmword [rbx + 0x40], xmm0
movups xmm1, xmmword [rsi + 0x50]
movups xmmword [rbx + 0x50], xmm1
jmp 0x140018fb0
lea rax, [rbx + 0x60]
mov ecx, 0x40
xor byte [rax], 0x6a
inc rax
sub rcx, 1
jne 0x140018f85
mov rcx, rbx
call fcn.14000c824
mov r8d, 0x40
lea rdx, [rbx + 0x60]
mov rcx, rbx
call fcn.14000c84c
test rsi, rsi
je 0x140018fe7
cmp byte [r14], dil
jne 0x140018fe7
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rsi + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rsi + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rsi + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rsi + 0x50], xmm1
mov byte [r14], 1
mov r8d, 0x14
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000c84c
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140019404
test r15, r15
je 0x140019020
mov rcx, rdi
mov al, byte [rsp + rcx + 0x20]
inc edi
mov byte [rcx + r12], al
mov ecx, edi
cmp rcx, r15
jb 0x14001900f
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140025c30
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14001903c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
lea rbp, [rcx + 0x60]
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
cmp r8, 0x40
jbe 0x140019088
call fcn.14000c824
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.14000c84c
mov rdx, rbp
mov rcx, rbx
call fcn.140019404
mov edi, 0x14
jmp 0x140019090
mov rcx, rbp
call fcn.140026e10
xor eax, eax
mov qword [rbx + 0xa0], rdi
lea edx, [rax + 0x36]
test rdi, rdi
je 0x1400190b7
mov ecx, eax
xor byte [rcx + rbx + 0x60], dl
inc eax
mov rdi, qword [rbx + 0xa0]
mov ecx, eax
cmp rcx, rdi
jb 0x1400190a3
mov r8d, 0x40
lea rcx, [rbx + 0x60]
sub r8, rdi
add rcx, rdi
call fcn.1400274c0
mov rcx, rbx
call fcn.14000c824
mov r8d, 0x40
mov rdx, rbp
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.14000c84c