joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003a80
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rdx
mov rdx, rcx
mov rcx, rax
jmp 0x14000a580
mov rax, qword gs:[0x30]
mov r10, rcx
mov r8, qword [rax + 0x60]
mov r9, qword [r8 + 0x18]
add r9, 0x20
mov rax, qword [r9]
nop dword [rax + rax]
cmp qword [rax + 0x20], rdx
je 0x14000a5bd
test rdx, rdx
je 0x14000a5bd
mov rax, qword [rax]
cmp rax, r9
jne 0x14000a5a0
mov qword [rcx], 0
xor eax, eax
ret
mov rcx, qword [rax + 0x40]
mov qword [r10], rcx
movzx eax, word [rax + 0x38]
shr eax, 1
ret

Function at 0x14000a9b0
Capabilities:
Resume thread
Suspend thread

Disassembly:
cmp qword [rcx + 0x60], 0xffffffffffffffff
je 0x1400060a7
mov eax, dword [rcx + 0x38]
shr eax, 5
test al, 1
jne 0x1400060a7
mov eax, dword [rcx + 0x38]
shr eax, 7
test al, 1
jne 0x1400060a7
mov rdx, rcx
mov rcx, qword [rcx + 0x60]
jmp 0x14000a9b0
ret
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x500
mov rax, qword [0x1402177e8]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
mov rax, qword [0x140216c98]
mov rbx, rdx
mov rdi, rcx
cmp rax, 0xffffffffffffffff
jne 0x14000aa0e
xor edx, edx
lea rcx, str.kernel32
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
lea rdx, str.QueueUserAPC2
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140216c98], rax
test rax, rax
je 0x14000aa6a
mov rcx, rbx
call fcn.1400063e0
test al, al
jne 0x14000aab8
mov dl, 1
mov rcx, rbx
call fcn.140006450
mov r9d, 0x10001
lea rcx, [0x14000a5f0]
mov r8, rbx
mov rdx, rdi
call qword [0x140216c98]
test eax, eax
jne 0x14000aab8
xor edx, edx
mov rcx, rbx
call fcn.140006450
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x14000aab8
mov qword [0x140216c98], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x14000aab8
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x50], 0x40100003
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x14000aaaf
mov eax, dword [rsp + 0x50]
test eax, eax
jns 0x14000aaaf
test eax, 0x18000000
jne 0x14000aaaf
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [0x14021bae8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.140068850
mov rbx, qword [rsp + 0x520]
add rsp, 0x500
pop rdi
ret

Function at 0x14000ace0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rcx + rbx], 0
jne 0x14000acf4
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], 0
mov rcx, rax
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14000ada0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
mov r9, rdx
mov r8, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x14000adc9
add rsp, 0x38
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x38
ret
Function at 0x14000ade0
Capabilities:
Create thread
Resume thread

Disassembly:
push rbx
sub rsp, 0x30
mov r9, rdx
mov qword [rsp + 0x28], 0
mov r8, rcx
mov dword [rsp + 0x20], 4
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x14000ae15
add rsp, 0x30
pop rbx
ret
mov edx, 2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x30
pop rbx
ret

Function at 0x14000d150
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
push rbx
push rbp
push r12
push r14
push r15
sub rsp, 0xe0
mov rax, qword [0x1402177e8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movups xmm0, xmmword [str.DOTNET_]
mov rbp, rcx
lea rcx, [rsp + 0x40]
xorps xmm1, xmm1
movzx r15d, r9b
movaps xmmword [rsp + 0x40], xmm0
mov r12, r8
movups xmmword [rsp + 0x50], xmm1
mov r14, rdx
sub rcx, 2
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rsp + 0x70], xmm1
movups xmmword [rsp + 0x80], xmm1
movups xmmword [r11 - 0x78], xmm1
movups xmmword [r11 - 0x68], xmm1
movups xmmword [r11 - 0x58], xmm1
nop
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x14000d1c0
xor edx, edx
nop dword [rax]
movzx eax, word [r14 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x14000d1d0
mov r8d, 9
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call sub.KERNEL32.dll_GetEnvironmentVariableW
xor ebx, ebx
mov r10d, eax
lea ecx, [rax - 1]
cmp ecx, 7
jbe 0x14000d2b6
mov rax, qword [rbp]
test rax, rax
jne 0x14000d219
mov rcx, rbp
call fcn.14000d350
mov rax, qword [rbp]
cmp rax, 1
je 0x14000d32b
mov rbp, qword [rbp]
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0xd0], rdi
mov edi, ebx
nop dword [rax]
movsxd rsi, edi
mov rcx, r14
imul rdx, rsi, 0x78
add rdx, rbp
call sub.api_ms_win_crt_string_l1_1_0.dll__wcsicmp
test eax, eax
je 0x14000d262
inc edi
cmp edi, 0xa
jl 0x14000d240
mov r10d, ebx
jmp 0x14000d2a1
xor r9b, r9b
mov r8d, ebx
mov rdx, rbx
nop dword [rax + rax]
imul rax, rsi, 0x3c
add rax, rdx
movzx ecx, word [rbp + rax*2 + 0x66]
mov word [rsp + rdx*2 + 0x20], cx
test cx, cx
je 0x14000d294
inc r8d
inc rdx
cmp r8d, 9
jb 0x14000d270
jmp 0x14000d297
mov r9b, 1
test r9b, r9b
mov r10d, ebx
cmovne r10d, r8d
mov rdi, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0xd8]
test r10d, r10d
je 0x14000d32b
cmp r10d, 9
jae 0x14000d32b
mov r8d, ebx
test r10d, r10d
je 0x14000d323
lea r9, [rsp + 0x20]
nop dword [rax]
movzx edx, word [r9]
lea eax, [rdx - 0x30]
test r15b, r15b
je 0x14000d2ed
cmp ax, 9
ja 0x14000d32b
lea ebx, [rbx + rbx*4]
lea ebx, [rbx - 0x18]
lea ebx, [rdx + rbx*2]
jmp 0x14000d317
shl ebx, 4
cmp ax, 9
ja 0x14000d2fb
add ebx, 0xffffffd0
jmp 0x14000d315
lea eax, [rdx - 0x61]
cmp ax, 5
ja 0x14000d309
add ebx, 0xffffffa9
jmp 0x14000d315
lea eax, [rdx - 0x41]
cmp ax, 5
ja 0x14000d32b
add ebx, 0xffffffc9
add ebx, edx
inc r8d
add r9, 2
cmp r8d, r10d
jb 0x14000d2d0
mov dword [r12], ebx
mov al, 1
jmp 0x14000d32d
xor al, al
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140068850
add rsp, 0xe0
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret
Function at 0x140011a20
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 8], rbx
push rsi
push rdi
push r14
sub rsp, 0xc0
mov rax, qword [0x1402177e8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rsi, r9
mov rdi, r8
mov r14, rdx
mov rbx, rcx
test rcx, rcx
je 0x140011b0f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, 0x48
lea rdx, [rsp + 0x60]
mov rcx, rax
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
test eax, eax
je 0x140011b0f
mov rdx, qword [rsp + 0x70]
test r14, r14
je 0x140011aea
xorps xmm0, xmm0
test rdx, rdx
js 0x140011a91
cvtsi2ss xmm0, rdx
jmp 0x140011aa9
mov rax, rdx
mov rcx, rdx
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
cvtps2pd xmm1, xmm0
xorps xmm0, xmm0
mulsd xmm1, qword [0x1401ddbb8]
test rbx, rbx
js 0x140011ac3
cvtsi2ss xmm0, rbx
jmp 0x140011adb
mov rax, rbx
mov rcx, rbx
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
cvtps2pd xmm0, xmm0
divsd xmm1, xmm0
cvttsd2si rax, xmm1
mov dword [r14], eax
xor eax, eax
test rdi, rdi
je 0x140011b01
cmp rdx, rbx
jbe 0x140011afb
mov qword [rdi], rax
jmp 0x140011b01
sub rbx, rdx
mov qword [rdi], rbx
test rsi, rsi
je 0x140011bd8
jmp 0x140011bd5
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rdx, qword [rsp + 0x48]
cmp rdx, qword [rsp + 0x28]
jae 0x140011bb2
test r14, r14
je 0x140011ba1
mov rcx, rdx
xorps xmm0, xmm0
sub rcx, qword [rsp + 0x50]
js 0x140011b4b
cvtsi2ss xmm0, rcx
jmp 0x140011b60
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
cvtps2pd xmm1, xmm0
xorps xmm0, xmm0
mulsd xmm1, qword [0x1401ddbb8]
test rdx, rdx
js 0x140011b7a
cvtsi2ss xmm0, rdx
jmp 0x140011b92
mov rax, rdx
mov rcx, rdx
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
cvtps2pd xmm0, xmm0
divsd xmm1, xmm0
cvttsd2si rax, xmm1
mov dword [r14], eax
test rdi, rdi
je 0x140011ba9
mov qword [rdi], rdx
test rsi, rsi
je 0x140011bd8
xor eax, eax
jmp 0x140011bd5
test r14, r14
je 0x140011bbe
mov eax, dword [rsp + 0x24]
mov dword [r14], eax
test rdi, rdi
je 0x140011bcb
mov rax, qword [rsp + 0x30]
mov qword [rdi], rax
test rsi, rsi
je 0x140011bd8
mov rax, qword [rsp + 0x40]
mov qword [rsi], rax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140068850
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop r14
pop rdi
pop rsi
ret
Function at 0x140011c00
Capabilities:
Get memory capacity

Disassembly:
push rdi
sub rsp, 0x1b0
mov rax, qword [0x1402177e8]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rdi, rcx
test rcx, rcx
je 0x140011c26
mov byte [rcx], 0
mov rax, qword [0x140216cd8]
cmp rax, 0xffffffffffffffff
jne 0x140011db0
mov qword [rsp + 0x1c8], rbx
xor ebx, ebx
mov qword [rsp + 0x1d0], rbp
mov rbp, rax
mov qword [rsp + 0x1d8], rsi
mov qword [rsp + 0x1a8], r14
mov r14d, ebx
mov qword [rsp + 0x1a0], r15
mov r15d, ebx
mov dword [rsp + 0x30], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_IsProcessInJob]
test eax, eax
je 0x140011d33
cmp dword [rsp + 0x30], ebx
je 0x140011d33
mov r9d, 0x90
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x100]
xor ecx, ecx
lea edx, [rbp + 0xa]
call qword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
test eax, eax
je 0x140011d33
mov eax, dword [rsp + 0x110]
mov rdx, rbp
bt eax, 9
mov rcx, rbp
mov rsi, rbp
cmovb rdx, qword [rsp + 0x178]
bt eax, 8
cmovb rcx, qword [rsp + 0x170]
test al, 1
cmovne rsi, qword [rsp + 0x120]
cmp rdx, rbp
jne 0x140011cfc
cmp rcx, rbp
jne 0x140011cfc
cmp rsi, rbp
je 0x140011d33
cmp rdx, rcx
mov dword [rsp + 0x40], 0x40
cmovb rcx, rdx
cmp rcx, rsi
cmovb rsi, rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rbp, qword [rsp + 0x48]
mov r15, qword [rsp + 0x68]
cmp rsi, rbp
mov r14, qword [rsp + 0x50]
cmovb rbp, rsi
cmp rbp, 0xffffffffffffffff
mov rsi, rbx
cmovne rsi, rbp
mov rbp, qword [rsp + 0x1d0]
test r15, r15
jne 0x140011d74
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x80], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov r15, qword [rsp + 0xa8]
mov r14, qword [rsp + 0x88]
test rsi, rsi
cmovne r14, rsi
cmp r15, r14
mov r15, qword [rsp + 0x1a0]
mov r14, qword [rsp + 0x1a8]
cmovae rbx, rsi
mov rsi, qword [rsp + 0x1d8]
mov qword [0x140216cd8], rbx
mov rax, qword [0x140216cd8]
mov rbx, qword [rsp + 0x1c8]
mov rcx, rax
test rax, rax
je 0x140011dc2
test rdi, rdi
je 0x140011df4
mov byte [rdi], 1
jmp 0x140011df4
lea rcx, [rsp + 0xc0]
mov dword [rsp + 0xc0], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0xc8]
cmp qword [rsp + 0xe8], rax
cmovb rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140068850
add rsp, 0x1b0
pop rdi
ret
Function at 0x140012050
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
xor ebx, ebx
mov dword [0x14021c560], eax
mov eax, dword [rsp + 0x24]
mov dword [0x14021c564], eax
mov eax, dword [rsp + 0x48]
mov dword [0x14021c568], eax
mov dword [rsp + 0x60], ebx
mov byte [0x14021c56d], bl
call fcn.1400131e0
test al, al
je 0x1400120be
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
test eax, eax
je 0x1400120be
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1400120be
inc eax
mov byte [0x14021c56d], 1
mov dword [0x14021c5f0], eax
mov byte [0x14021c56e], bl
mov word [rsp + 0x60], bx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessGroupAffinity]
mov edi, 1
test eax, eax
jne 0x1400120fb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400120fb
movzx eax, word [rsp + 0x60]
jmp 0x140012102
mov eax, edi
mov word [rsp + 0x60], ax
cmp ax, di
seta cl
call fcn.1400130d0
test al, al
je 0x14001212b
call fcn.140011e30
test al, al
je 0x14001212b
cmp dword [0x14021c5f4], edi
seta al
mov byte [0x14021c56e], al
jmp 0x140012132
movzx eax, byte [0x14021c56e]
test al, al
je 0x140012180
mov r9d, dword [0x14021c5f8]
test r9, r9
je 0x140012203
lea r8, [0x14021c570]
nop dword [rax]
mov rcx, rbx
mov rax, rbx
shr rax, 6
and ecx, 0x3f
lea rdx, [r8 + rax*8]
inc rbx
mov rax, qword [rdx]
bts rax, rcx
mov qword [rdx], rax
cmp rbx, r9
jb 0x140012150
mov al, 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
je 0x140012203
mov r9, qword [rsp + 0x60]
lea r8, [0x14021c570]
nop dword [rax]
test r9, rdi
je 0x1400121d1
mov rcx, rbx
mov rax, rbx
shr rax, 6
and ecx, 0x3f
lea rdx, [r8 + rax*8]
mov rax, qword [r8 + rax*8]
bts rax, rcx
mov qword [rdx], rax
rol rdi, 1
test r9, rdi
je 0x1400121f6
lea rdx, [rbx + 1]
mov rax, rdx
and edx, 0x3f
shr rax, 6
lea rcx, [r8 + rax*8]
mov rax, qword [r8 + rax*8]
bts rax, rdx
mov qword [rcx], rax
rol rdi, 1
add rbx, 2
cmp rbx, 0x40
jb 0x1400121b0
mov rbx, qword [rsp + 0x70]
mov al, 1
add rsp, 0x50
pop rdi
ret
Function at 0x140072510
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
mov r8d, edx
mov dword [rbp - 0x3c], r8d
mov rdx, rcx
mov qword [rbp - 0x48], rdx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
mov r9d, 2
mov dword [rbp - 0x40], r9d
lea rcx, [rbp - 0x78]
call fcn.1400027f0
mov r8d, dword [rbp - 0x3c]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
mov r9d, dword [rbp - 0x40]
call sub.bcrypt.dll_BCryptGenRandom
mov esi, eax
lea rcx, [rbp - 0x78]
call fcn.140002840
test esi, esi
jne 0x140072584
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp esi, 0xc0000017
jne 0x1400725ab
lea rcx, [0x1401ae7c8]
call fcn.140001cf0
mov rsi, rax
mov rcx, rsi
call fcn.140084c30
mov rcx, rsi
call fcn.140002950
lea rcx, [0x1401ae110]
call fcn.140001cf0
mov rsi, rax
mov rcx, rsi
call fcn.14007bd10
mov rcx, rsi
call fcn.140002950
int3

Function at 0x1400765e0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r12
push rdi
push rsi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x20]
xor eax, eax
mov qword [rbp + 8], rax
xorps xmm4, xmm4
movaps xmmword [rbp + 0x10], xmm4
movaps xmmword [rbp + 0x20], xmm4
mov rax, qword [0x1402177e8]
mov qword [rbp], rax
mov rsi, rcx
mov edi, dword [rsi + 8]
xor ebx, ebx
cmp edi, 0x40
jae 0x140076633
test dword [rsp], esp
sub rsp, 0x80
lea r14, [rsp + 0x20]
mov r15d, 0x40
jmp 0x14007665e
call fcn.140001724
mov rcx, qword [rax + 8]
lea edx, [rdi + 1]
cmp dword [rcx], ecx
call fcn.1400db8f0
mov rbx, rax
test rbx, rbx
jne 0x140076656
xor r14d, r14d
xor r15d, r15d
jmp 0x14007665e
lea r14, [rbx + 0x10]
mov r15d, dword [rbx + 8]
lea rcx, [rsi + 0xc]
mov edx, dword [rsi + 8]
mov edx, edi
mov qword [rbp + 0x18], rcx
mov dword [rbp + 0x20], edx
mov qword [rbp + 8], r14
mov dword [rbp + 0x10], r15d
lea rcx, [rbp + 0x18]
lea rdx, [rbp + 8]
call fcn.140093fb0
cmp edi, r15d
jae 0x14007674e
mov eax, edi
mov word [r14 + rax*2], 0
mov esi, 0x15051505
mov r12d, 0x15051505
xor eax, eax
test r15d, r15d
je 0x1400766aa
mov rax, r14
mov qword [rbp + 0x28], rax
cmp edi, 2
jle 0x1400766e5
add edi, 0xfffffffc
mov edx, esi
rol edx, 5
add esi, edx
mov edx, dword [rax]
or edx, 0x200020
xor esi, edx
mov edx, r12d
rol edx, 5
add r12d, edx
mov edx, dword [rax + 4]
or edx, 0x200020
xor r12d, edx
add rax, 8
cmp edi, 2
jg 0x1400766b3
test edi, edi
jle 0x1400766ff
mov edx, r12d
rol edx, 5
add edx, r12d
mov r12d, dword [rax]
or r12d, 0x200020
xor r12d, edx
xor eax, eax
mov qword [rbp + 0x28], rax
test rbx, rbx
je 0x140076720
call fcn.140001724
mov rcx, qword [rax + 8]
mov rdx, rbx
xor r8d, r8d
cmp dword [rcx], ecx
call fcn.1400dbb00
imul eax, r12d, 0x5d588b65
add eax, esi
lea rcx, [0x1402177e8]
mov rcx, qword [rcx]
cmp qword [rbp], rcx
je 0x14007673e
call fcn.140003bb0
nop
lea rsp, [rbp + 0x30]
pop rbx
pop rsi
pop rdi
pop r12
pop r14
pop r15
pop rbp
ret
call fcn.1400ada00
int3
Function at 0x14007a790
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
mov qword [rsp + 0x60], r9
mov r10, qword [rcx]
mov ecx, dword [rcx + 8]
mov r11, qword [rdx]
mov esi, ecx
and esi, 0xfffffffc
mov edi, dword [rdx + 8]
xor ebx, ebx
xor ebp, ebp
test ecx, ecx
je 0x14007a9b4
lea r14, [0x1401abcd0]
mov eax, esi
sar eax, 2
lea eax, [rax + rax*2]
cmp edi, eax
jl 0x14007a7d7
lea r15d, [rsi - 4]
jmp 0x14007a7ee
mov edx, 0x55555556
mov eax, edx
imul edi
mov r15d, edx
shr r15d, 0x1f
add r15d, edx
shl r15d, 2
test r15d, r15d
jle 0x14007a894
movsxd rax, ebx
lea rax, [r10 + rax*2]
movzx edx, word [rax]
movzx r12d, word [rax + 2]
movzx r13d, word [rax + 4]
movzx eax, word [rax + 6]
mov r9d, edx
or r9d, r12d
or r9d, r13d
or r9d, eax
test r9d, 0xffffff00
je 0x14007a82c
mov r9d, 0xffffffff
jmp 0x14007a861
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
movsxd r9, r12d
movsx r12, byte [r14 + r9]
movsxd r9, r13d
movsx r13, byte [r14 + r9]
cdqe
movsx rax, byte [r14 + rax]
shl edx, 0x12
or eax, edx
shl r12d, 0xc
or eax, r12d
shl r13d, 6
mov r9d, eax
or r9d, r13d
test r9d, r9d
jl 0x14007a9d1
movsxd rax, ebp
add rax, r11
mov edx, r9d
sar edx, 0x10
mov byte [rax], dl
mov edx, r9d
sar edx, 8
mov byte [rax + 1], dl
mov byte [rax + 2], r9b
add ebp, 3
add ebx, 4
cmp ebx, r15d
jl 0x14007a7f7
lea eax, [rsi - 4]
cmp r15d, eax
jne 0x14007a9d1
cmp ebx, esi
je 0x14007a9d1
lea eax, [rsi - 4]
cdqe
movzx eax, word [r10 + rax*2]
lea edx, [rsi - 3]
movsxd rdx, edx
movzx edx, word [r10 + rdx*2]
lea r9d, [rsi - 2]
movsxd r9, r9d
movzx r9d, word [r10 + r9*2]
lea r15d, [rsi - 1]
movsxd r15, r15d
movzx r10d, word [r10 + r15*2]
mov r15d, eax
or r15d, edx
or r15d, r9d
or r15d, r10d
test r15d, 0xffffff00
jne 0x14007a9d1
cdqe
movsx rax, byte [r14 + rax]
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
shl eax, 0x12
shl edx, 0xc
or eax, edx
cmp r10d, 0x3d
je 0x14007a959
movsxd r9, r9d
movsx r9, byte [r14 + r9]
movsxd r10, r10d
movsx r10, byte [r14 + r10]
or r10d, eax
shl r9d, 6
mov eax, r10d
or eax, r9d
jl 0x14007a9d1
add edi, 0xfffffffd
cmp ebp, edi
jg 0x14007a9d1
movsxd rdx, ebp
add r11, rdx
mov edx, eax
sar edx, 0x10
mov byte [r11], dl
mov edx, eax
sar edx, 8
mov byte [r11 + 1], dl
mov byte [r11 + 2], al
add ebp, 3
jmp 0x14007a9ad
cmp r9d, 0x3d
je 0x14007a996
movsxd r9, r9d
movsx r9, byte [r14 + r9]
mov edx, r9d
shl edx, 6
or eax, edx
jl 0x14007a9d1
lea edx, [rdi - 2]
cmp ebp, edx
jg 0x14007a9d1
mov edx, eax
sar edx, 0x10
movsxd r9, ebp
mov byte [r11 + r9], dl
sar eax, 8
lea edx, [rbp + 1]
movsxd rdx, edx
mov byte [r11 + rdx], al
add ebp, 2
jmp 0x14007a9ad
test eax, eax
jl 0x14007a9d1
lea edx, [rdi - 1]
cmp ebp, edx
jg 0x14007a9d1
sar eax, 0x10
movsxd rdx, ebp
mov byte [r11 + rdx], al
inc ebp
add ebx, 4
cmp esi, ecx
jne 0x14007a9d1
mov dword [r8], ebx
mov r9, qword [rsp + 0x60]
mov dword [r9], ebp
mov eax, 1
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
mov dword [r8], ebx
mov r9, qword [rsp + 0x60]
mov dword [r9], ebp
xor eax, eax
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14007f080
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x30
xor eax, eax
mov qword [rsp + 0x28], rax
mov rbx, rcx
mov edi, edx
mov rsi, r8
test edi, edi
jg 0x14007f0a2
mov edi, 1
mov rcx, rbx
neg rcx
lea rdx, [0x1401a1188]
mov rax, rcx
or rax, 1
test dword [0x14021b7d0], 0x1000
je 0x14007f0d0
xor r8d, r8d
lzcnt r8, rax
xor r8d, 0x3f
jmp 0x14007f0d4
bsr r8, rax
movsxd rax, r8d
movzx ebp, byte [rdx + rax]
mov edx, ebp
shl rdx, 3
lea rax, [0x1401a5078]
add rdx, rax
cmp rcx, qword [rdx]
setb cl
movzx ecx, cl
sub ebp, ecx
cmp edi, ebp
jge 0x14007f0fd
jmp 0x14007f0ff
mov ebp, edi
mov r14d, dword [rsi + 8]
add ebp, r14d
lea rcx, [0x1401ac880]
mov edx, ebp
call fcn.140001db0
mov rcx, rax
test rcx, rcx
jne 0x14007f120
xor eax, eax
jmp 0x14007f12e
lea rax, [rcx + 0xc]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movsxd rdx, ebp
lea r8, [rax + rdx*2]
mov r9, rbx
neg r9
cmp r9, 0x64
jb 0x14007f210
add r8, 0xfffffffffffffffc
add edi, 0xfffffffe
movabs rdx, 0x28f5c28f5c28f5c3
mov rax, r9
shr rax, 2
mul rdx
shr rdx, 2
imul rax, rdx, 0x64
sub r9, rax
lea rax, [0x1402072d0]
add r9d, r9d
movsxd r9, r9d
mov eax, dword [rax + r9*2 + 0xc]
mov dword [r8], eax
cmp rdx, 0x64
jae 0x14007f208
test rdx, rdx
je 0x14007f203
dec edi
movabs r9, 0xcccccccccccccccd
mov qword [rsp + 0x20], rdx
mov rax, rdx
mul r9
shr rdx, 3
lea rax, [rdx + rdx*4]
add rax, rax
mov r9, qword [rsp + 0x20]
mov r10, r9
sub r10, rax
mov r9, rdx
add r8, 0xfffffffffffffffe
add r10, 0x30
mov word [r8], r10w
test r9, r9
jne 0x14007f1fe
test edi, edi
mov rdx, r9
jg 0x14007f18f
mov rax, r8
lea edx, [r14 - 1]
test edx, edx
jl 0x14007f232
cmp r14d, edx
jle 0x14007f218
add rax, 0xfffffffffffffffe
mov r8d, edx
movzx r8d, word [rsi + r8*2 + 0xc]
mov word [rax], r8w
dec edx
jns 0x14007f1e7
jmp 0x14007f232
mov rdx, r9
jmp 0x14007f18f
mov r9, rdx
jmp 0x14007f1d0
mov r9, rdx
jmp 0x14007f145
mov rdx, r9
jmp 0x14007f18a
add rax, 0xfffffffffffffffe
cmp edx, r14d
jae 0x14007f247
mov r8d, edx
movzx r8d, word [rsi + r8*2 + 0xc]
mov word [rax], r8w
dec edx
jns 0x14007f218
xor eax, eax
mov qword [rsp + 0x28], rax
mov rax, rcx
add rsp, 0x30
pop rbx
pop rbp
pop rsi
pop rdi
pop r14
ret
call fcn.1400ada00
int3