joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140161c24
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rdi, qword [rcx + 0x50]
mov r12, qword [rcx + 0x58]
mov ebx, 1
cmp rdi, r12
je 0x140161cac
mov rsi, r8
mov r14, rcx
lea r15, [rsp + 0x20]
mov rcx, rdi
mov rdx, r15
call fcn.140176f86
test al, al
je 0x140161cc9
cmp rdi, qword [r14 + 0x58]
je 0x140161cac
cmp byte [rdi + 0x27], 0
jns 0x140161c86
mov rcx, qword [rdi + 0x10]
jmp 0x140161c8a
lea rcx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
mov ebx, 1
cmovne ebx, ecx
test ebx, ebx
jne 0x140161cac
mov qword [rsi], rdi
xor ebx, ebx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14010fba0
mov eax, ebx
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
add rdi, 0x70
cmp rdi, r12
jne 0x140161c65
mov rdi, r12
jmp 0x140161c74
Function at 0x140176aa0
Capabilities:
Identify system language via api

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x28]
mov qword [r8], 0
lea r9, [rsp + 0x24]
mov dword [r9], 0xaaaaaaaa
lea rdx, [0x1402ab170]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140176b07
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx]
movzx edi, word [rcx + 2]
shl edi, 0x10
movzx esi, ax
or esi, edi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14010fba0
mov eax, esi
add rsp, 0x38
pop rdi
pop rsi
ret
mov edi, 0x4e40000
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
jmp 0x140176aec

Function at 0x140176b20
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
movaps xmmword [rsp + 0xa0], xmm6
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm6, xmmword [0x14029bb90]
lea r14, [rsp + 0x50]
movaps xmmword [r14 + 0x30], xmm6
movaps xmmword [r14 + 0x20], xmm6
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
lea rdx, str.DoLinkOrCopyFile
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0xbb
call fcn.14009b140
xor ebp, ebp
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140059ca0
mov rcx, rsi
call fcn.140095dd0
test al, al
jne 0x140176bcc
mov rcx, rdi
call fcn.140095dd0
test al, al
jne 0x140176bca
cmp byte [rsi + 0x17], 0
jns 0x140176c00
cmp qword [rsi + 8], 0x103
jbe 0x140176c00
xor ebp, ebp
lea rcx, [rsp + 0x50]
call fcn.140059e90
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14010fba0
mov eax, ebp
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
cmp byte [rdi + 0x17], 0
jns 0x140176c10
cmp qword [rdi + 8], 0x103
ja 0x140176bca
lea r14, [rsp + 0x20]
movaps xmmword [r14], xmm6
lea rdx, str.DoLinkOrCopyFile
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0xce
call fcn.14009b140
lea r8, [0x1402f3f98]
mov rcx, r14
mov rdx, r15
call fcn.14016e510
cmp byte [rsi + 0x17], 0
jns 0x140176c55
mov rsi, qword [rsi]
cmp byte [rdi + 0x17], 0
mov r14, rdi
jns 0x140176c61
mov r14, qword [rdi]
mov r15d, ebx
and r15d, 1
test bl, 2
je 0x140176ca7
test r15d, r15d
jne 0x140176c97
mov rcx, r14
mov rdx, rsi
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateHardLinkW]
mov bpl, 1
test eax, eax
je 0x140176ca7
lea rcx, [rsp + 0x20]
call fcn.1400c7600
jmp 0x140176bcc
mov rcx, rdi
call fcn.1400c3870
test al, al
je 0x140176c72
xor ebp, ebp
jmp 0x140176c88
mov rcx, rsi
mov rdx, r14
mov r8d, r15d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140176ca3
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bpl
je 0x140176c88
mov ecx, eax
and ecx, 1
je 0x140176c88
and eax, 0xfffffffe
mov rcx, r14
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov bpl, 1
jmp 0x140176c88
Function at 0x14017f141
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov ecx, 2
call sym.msedge.exe_OQS_CPU_has_extension
mov rcx, r14
mov rdx, rbx
mov r8, rdi
mov r9, rsi
test eax, eax
je 0x14017f17e
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp 0x140186eab
nop
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp 0x14017f6bb
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xd0
mov rbx, r9
mov rsi, r8
mov r14, rdx
mov rdi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
vpbroadcastb ymm0, byte [0x1402a24cc]
mov qword [rsp + 0xc8], rax
vmovdqu ymmword [rsp + 0xa0], ymm0
vmovdqu ymmword [rsp + 0x20], ymm0
vmovdqu ymmword [rsp + 0x80], ymm0
cmp r8, 4
jb 0x14017f632
lea r15, [rsp + 0x80]
vmovdqu ymm0, ymmword [r14]
vmovups ymm1, ymmword [r14 + 0x20]
vmovups ymmword [rsp + 0xa0], ymm1
vmovdqu ymmword [rsp + 0x80], ymm0
mov rcx, rdi
mov rdx, r15
mov r8, rbx
vzeroupper
call fcn.14017fc65
add rsi, 0xfffffffffffffffc
add r14, 0x40
add rdi, 0x40
cmp rsi, 3
ja 0x14017f5f2
test rsi, rsi
jne 0x14017f65a
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
vzeroupper
call fcn.14010fba0
nop
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
vmovdqu ymm0, ymmword [rsp + 0x20]
vmovdqu ymmword [rsp + 0x60], ymm0
vmovdqu ymmword [rsp + 0x40], ymm0
lea rax, [rsi*4]
xor ecx, ecx
mov edx, dword [r14 + rcx*4]
mov dword [rsp + rcx*4 + 0x80], edx
inc rcx
cmp rax, rcx
jne 0x14017f676
lea r14, [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, r14
mov r8, rbx
vzeroupper
call fcn.14017fc65
shl rsi, 4
mov rcx, rdi
mov rdx, r14
mov r8, rsi
call fcn.140111620
jmp 0x14017f637
mov rax, r8
mov r8, rdx
mov rdx, rcx
shr r8, 4
mov rcx, r9
mov r9, rax
jmp 0x14017f597
cmp rdx, 0x10
jb 0x140186f41
shr rdx, 4
xor eax, eax
vmovdqa xmm0, xmmword [r8]
vpxor xmm0, xmm0, xmmword [rcx + rax]
vaesenc xmm0, xmm0, xmmword [r8 + 0x10]
vaesenc xmm0, xmm0, xmmword [r8 + 0x20]
vaesenc xmm0, xmm0, xmmword [r8 + 0x30]
vaesenc xmm0, xmm0, xmmword [r8 + 0x40]
vaesenc xmm0, xmm0, xmmword [r8 + 0x50]
vaesenc xmm0, xmm0, xmmword [r8 + 0x60]
vaesenc xmm0, xmm0, xmmword [r8 + 0x70]
vaesenc xmm0, xmm0, xmmword [r8 + 0x80]
vaesenc xmm0, xmm0, xmmword [r8 + 0x90]
vaesenc xmm0, xmm0, xmmword [r8 + 0xa0]
vaesenc xmm0, xmm0, xmmword [r8 + 0xb0]
vaesenc xmm0, xmm0, xmmword [r8 + 0xc0]
vaesenc xmm0, xmm0, xmmword [r8 + 0xd0]
vaesenclast xmm0, xmm0, xmmword [r8 + 0xe0]
vmovdqu xmmword [r9 + rax], xmm0
add rax, 0x10
dec rdx
jne 0x140186ebb
ret
Function at 0x1401802a0
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1401802ca
xor eax, eax
xor r9d, r9d
mov r10b, byte [rdx + rax]
xor r10b, byte [rcx + rax]
or r9b, r10b
inc rax
cmp r8, rax
jne 0x1401802aa
movzx eax, r9b
neg eax
shr eax, 8
and eax, 1
ret
xor eax, eax
jmp 0x1401802c1

Function at 0x1401804c0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x50], rax
vmovups ymm0, ymmword [rcx]
vmovups ymm1, ymmword [rcx + 0x10]
vmovups ymmword [rsp + 0x30], ymm1
vmovups ymmword [rsp + 0x20], ymm0
test rdx, rdx
jne 0x14018052b
vxorps xmm0, xmm0, xmm0
vmovups ymmword [0x1402f22b8], ymm0
vmovups ymmword [0x1402f22a8], ymm0
lea rcx, [rsp + 0x20]
vzeroupper
call fcn.14018053f
mov dword [0x1402f22d8], 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14010fba0
nop
add rsp, 0x58
ret
xor eax, eax
mov cl, byte [rdx + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp rax, 0x30
jne 0x14018052d
jmp 0x1401804ed

Function at 0x14018053f
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x60], rax
vpbroadcastb ymm0, byte [0x1402a2650]
vmovdqu ymmword [rsp + 0x40], ymm0
vmovdqu ymmword [rsp + 0x30], ymm0
xor r12d, r12d
lea rdi, [0x1402f22a8]
lea rbx, [rsp + 0x28]
lea r14, [0x1402f22c8]
jmp 0x1401805dd
inc cl
mov byte [rax + rdi + 0x20], cl
mov rax, r12
shl rax, 4
lea r15, [rsp + rax]
add r15, 0x30
mov qword [rsp + 0x28], 0
mov rcx, rdi
mov rdx, rbx
vzeroupper
call fcn.14017f073
mov edx, 0x10
mov rcx, r14
mov r8, rdi
mov r9, r15
call fcn.14017f0d8
mov rcx, qword [rsp + 0x28]
call fcn.14017f0aa
inc r12
cmp r12, 3
je 0x1401805f9
mov eax, 0xf
mov eax, eax
mov cl, byte [rax + rdi + 0x20]
cmp cl, 0xff
jne 0x14018058b
mov byte [rax + rdi + 0x20], 0
add eax, 0xffffffff
jb 0x1401805e2
jmp 0x140180591
test rsi, rsi
je 0x140180610
xor eax, eax
mov cl, byte [rsi + rax]
xor byte [rsp + rax + 0x30], cl
inc rax
cmp rax, 0x30
jne 0x140180600
vmovups ymm0, ymmword [rsp + 0x30]
vmovups ymmword [0x1402f22a8], ymm0
vmovaps xmm0, xmmword [rsp + 0x50]
vmovups xmmword [0x1402f22c8], xmm0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
vzeroupper
call fcn.14010fba0
nop
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x140188659
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14018867f
xor r9d, r9d
xor eax, eax
mov r10b, byte [rdx + rax]
xor r10b, byte [rcx + rax]
or r9b, r10b
inc rax
cmp r8, rax
jne 0x140188663
xor eax, eax
test r9b, r9b
setne al
ret
xor eax, eax
ret

Function at 0x140188682
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1401886a9
neg r9b
xor eax, eax
mov r10b, byte [rcx + rax]
mov r11b, byte [rdx + rax]
xor r11b, r10b
and r11b, r9b
xor r11b, r10b
mov byte [rcx + rax], r11b
inc rax
cmp r8, rax
jne 0x14018868c
ret
Function at 0x1401a2fb1
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2c8
movaps xmmword [rsp + 0x2b0], xmm6
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x2a8], rax
mov rbx, qword [rcx]
mov rax, qword [rcx + 8]
mov qword [rsp + 0x28], rax
cmp rbx, rax
je 0x1401a3015
mov rsi, r8
mov rdi, rdx
movabs rbp, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x14029bb90]
lea r13, [rsp + 0x50]
lea r14, [rsp + 0x30]
jmp 0x1401a3095
mov rcx, qword [rsp + 0x2a8]
xor rcx, rsp
call fcn.14010fba0
movaps xmm6, xmmword [rsp + 0x2b0]
add rsp, 0x2c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rsi
mov rdx, r14
call fcn.1400c5cea
mov rbp, rax
jmp 0x1401a306a
mov rbp, qword [rsi + 8]
cmp rbp, qword [rsi + 0x10]
jae 0x1401a3041
mov rcx, rsi
mov rdx, r14
call fcn.140161bf6
add rbp, 0x18
mov qword [rsi + 8], rbp
mov rcx, r14
call fcn.1400f0250
cmp byte [rsp + 0x67], 0
mov rbp, r15
jns 0x1401a308a
mov rcx, qword [rsp + 0x50]
call fcn.14010cc0c
add rbx, 0x18
cmp rbx, qword [rsp + 0x28]
je 0x1401a3015
mov r12, r14
mov qword [rsp + 0x60], rbp
movaps xmmword [rsp + 0x50], xmm6
cmp byte [rbx + 0x17], 0
js 0x1401a30be
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x50], xmm0
mov r14, r13
jmp 0x1401a30d0
mov rdx, qword [rbx]
mov r8, qword [rbx + 8]
mov r14, r13
mov rcx, r13
call fcn.140090a56
mov r15, rbp
mov qword [rsp + 0x40], rbp
movaps xmmword [rsp + 0x30], xmm6
mov rcx, r12
call fcn.1400a4a50
mov r8d, 0x208
lea rcx, [rsp + 0xa0]
mov dl, 0xaa
call fcn.140111cd0
movzx eax, byte [rsp + 0x67]
mov r8d, eax
and r8d, 0x7f
test al, al
cmovs r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov r13, r14
cmovns rdx, r14
lea r14, [rsp + 0x78]
mov rcx, r14
call fcn.1400f1a58
lea rbp, [rsp + 0x88]
mov rcx, rbp
mov rdx, r14
call fcn.1400efbb0
cmp byte [rsp + 0x9f], 0
jns 0x1401a314c
mov rbp, qword [rsp + 0x88]
mov rcx, rbp
lea rdx, [rsp + 0xa0]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebp, eax
cmp byte [rsp + 0x9f], 0
jns 0x1401a317c
mov rcx, qword [rsp + 0x88]
call fcn.14010cc0c
dec ebp
cmp ebp, 0x102
mov r14, r12
ja 0x1401a3051
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0x68], rcx
call fcn.14010ced4
mov qword [rsp + 0x70], rax
lea r12, [rsp + 0x88]
mov rcx, r12
lea rdx, [rsp + 0x68]
call fcn.1400ae6e0
mov rcx, r14
mov rdx, r12
call fcn.1400a3db0
mov rcx, r12
call fcn.1400f0250
mov rbp, qword [rdi + 8]
cmp rbp, qword [rdi + 0x10]
jb 0x1401a31ed
mov rcx, rdi
mov rdx, r14
call fcn.1400c5cea
mov rbp, rax
mov qword [rdi + 8], rbp
jmp 0x1401a306e
mov rcx, rdi
mov rdx, r14
call fcn.140161bf6
add rbp, 0x18
jmp 0x1401a31e4
Function at 0x1401a68ac
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x80
mov rsi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
lea rdi, [rsp + 0x40]
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx edx, word [rdi]
lea rcx, [rsp + 0x28]
call fcn.140105958
lea rdi, [rsi + 0x10]
cmp byte [rsi + 0x27], 0
js 0x1401a693a
mov rax, qword [rsp + 0x38]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdi], xmm0
movzx eax, byte [rsi + 0x27]
test al, al
js 0x1401a6934
test rax, rax
setne bl
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14010fba0
mov eax, ebx
add rsp, 0x80
pop rbx
pop rdi
pop rsi
ret
mov rax, qword [rsi + 0x18]
jmp 0x1401a6914
mov rcx, qword [rdi]
call fcn.14010cc0c
jmp 0x1401a68fb

Function at 0x1401a7336
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x80
mov rsi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
lea rdi, [rsp + 0x40]
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx edx, word [rdi]
lea rcx, [rsp + 0x28]
call fcn.140105958
lea rdi, [rsi + 0x70]
cmp byte [rsi + 0x87], 0
js 0x1401a73ca
mov rax, qword [rsp + 0x38]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdi], xmm0
movzx eax, byte [rsi + 0x87]
test al, al
js 0x1401a73c4
test rax, rax
setne bl
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14010fba0
mov eax, ebx
add rsp, 0x80
pop rbx
pop rdi
pop rsi
ret
mov rax, qword [rsi + 0x78]
jmp 0x1401a73a4
mov rcx, qword [rdi]
call fcn.14010cc0c
jmp 0x1401a7388

Function at 0x1401a73d4
Capabilities:
Identify system language via api

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edx, ax
lea rcx, [rsp + 0x20]
call fcn.140105958
lea rdi, [rsi + 0x88]
cmp byte [rsi + 0x9f], 0
js 0x1401a7452
mov rax, qword [rsp + 0x30]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
movzx eax, byte [rsi + 0x9f]
test al, al
js 0x1401a7449
test rax, rax
setne bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14010fba0
mov eax, ebx
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
mov rax, qword [rsi + 0x90]
jmp 0x1401a742c
mov rcx, qword [rdi]
call fcn.14010cc0c
jmp 0x1401a7410
Function at 0x1401a74cc
Capabilities:
Get geographical location

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov ecx, 0x10
call qword [sym.imp.KERNEL32.dll_GetUserGeoID]
lea rcx, [rsp + 0x28]
mov edx, eax
call fcn.1401c295a
lea rdi, [rsi + 0xb8]
cmp byte [rsi + 0xcf], 0
js 0x1401a7531
mov rax, qword [rsp + 0x38]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdi], xmm0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14010fba0
nop
add rsp, 0x48
pop rdi
pop rsi
ret
mov rcx, qword [rdi]
call fcn.14010cc0c
jmp 0x1401a750b
Function at 0x1401ad0f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor edx, edx
jmp 0x1401ad23e
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x60], 0
je 0x1401ad2a1
mov edi, dword [rsi + 0x5c]
test bl, bl
je 0x1401ad27a
mov dword [rsi + 0x5c], 0xffffffff
mov byte [rsi + 0x60], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14010fba0
mov eax, edi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov edi, 0xffffffff
jmp 0x1401ad27a
cmp byte [rsi + 0x61], 0
je 0x1401ad2d7
mov rcx, qword [rsi + 0x40]
call fcn.14012dd28
cmp eax, 0xffffffff
je 0x1401ad29a
test bl, bl
je 0x1401ad2c1
movzx edi, al
mov dword [rsi + 0x5c], edi
jmp 0x1401ad27a
mov rdx, qword [rsi + 0x40]
movzx edi, al
mov ecx, edi
call fcn.140130ad4
cmp eax, 0xffffffff
cmove edi, eax
jmp 0x1401ad27a
movabs rdi, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], rdi
mov eax, dword [rsi + 0x58]
cmp eax, 2
mov r15d, 1
cmovge r15d, eax
xor r14d, r14d
mov rcx, qword [rsi + 0x40]
call fcn.14012dd28
cmp eax, 0xffffffff
je 0x1401ad29a
mov byte [rsp + r14 + 0x58], al
inc r14
cmp r15, r14
jne 0x1401ad2f9
lea rax, [rsp + 0x58]
mov byte [rax - 1], 0xaa
lea rax, [rsp + 0x48]
mov qword [rax], rdi
lea rbp, [rsp + 0x40]
mov qword [rbp], rdi
mov edi, 0xffffffff
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov r14d, dword [rdx]
movzx r12d, word [rdx + 4]
movzx r13d, word [rdx + 6]
lea r9, [rsp + r15 + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x38], rbp
lea r8, [rsp + 0x58]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x57]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x58]
call qword [0x140318008]
cmp eax, 1
jne 0x1401ad3c1
mov rax, qword [rsi + 0x50]
mov dword [rax], r14d
mov word [rax + 4], r12w
mov word [rax + 6], r13w
cmp r15, 8
je 0x1401ad27a
mov rcx, qword [rsi + 0x40]
call fcn.14012dd28
cmp eax, 0xffffffff
je 0x1401ad27a
mov byte [rsp + r15 + 0x58], al
inc r15
jmp 0x1401ad333
cmp eax, 2
je 0x1401ad27a
cmp eax, 3
jne 0x1401ad3d7
mov al, byte [rsp + 0x58]
mov byte [rsp + 0x57], al
test bl, bl
je 0x1401ad3ef
movzx edi, byte [rsp + 0x57]
jmp 0x1401ad2bc
movzx edi, byte [rsp + 0x57]
jmp 0x1401ad27a
test r15, r15
jle 0x1401ad3e5
mov rdx, qword [rsi + 0x40]
dec r15
mov eax, r15d
movzx ecx, byte [rsp + rax + 0x58]
call fcn.140130ad4
cmp eax, 0xffffffff
jne 0x1401ad3ef
jmp 0x1401ad27a

Function at 0x1401adcf0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x1401add27
movabs rcx, 0xf000000000000000
shl rax, 4
movsx r9, byte [rdx]
add r9, rax
mov r10, r9
and r10, rcx
mov rax, r10
shr rax, 0x38
or rax, r10
xor rax, r9
inc rdx
cmp rdx, r8
jne 0x1401add01
ret

Function at 0x1401adda0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x1401addd8
movabs rcx, 0xf000000000000000
shl rax, 4
movzx r9d, word [rdx]
add r9, rax
mov r10, r9
and r10, rcx
mov rax, r10
shr rax, 0x38
or rax, r10
xor rax, r9
add rdx, 2
cmp rdx, r8
jne 0x1401addb1
ret
Function at 0x1401c3d20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
test rcx, rcx
je 0x1401c3d9c
mov r14, rcx
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
je 0x1401c3d9c
mov rsi, r9
mov rdi, r8
mov rbx, rdx
movzx ecx, word [rax + 0x18]
cmp ecx, 0x20b
je 0x1401c3d68
cmp ecx, 0x10b
jne 0x1401c3d8b
lea rdx, [rax + 0x74]
lea rcx, [rax + 0x78]
jmp 0x1401c3d76
lea rdx, [rax + 0x84]
lea rcx, [rax + 0x88]
cmp dword [rdx], 7
jb 0x1401c3d8b
mov edx, dword [rcx + 0x30]
test rdx, rdx
je 0x1401c3d8b
mov ecx, dword [rcx + 0x34]
cmp ecx, 0x1c
jae 0x1401c3db3
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, dword [rax + 0x50]
shr ecx, 2
imul r15, rcx, 0x24924925
shr r15, 0x20
lea r12, [rdx + r14]
add r12, 0x14
xor r13d, r13d
jmp 0x1401c3ddd
inc r13d
cmp r13d, r15d
je 0x1401c3d8b
add r12, 0x1c
cmp dword [r12 - 8], 0xd
jne 0x1401c3dd1
mov ecx, dword [r12]
test rcx, rcx
je 0x1401c3dd1
mov edx, dword [r12 - 4]
lea eax, [rdx + rcx]
cmp eax, ebp
jae 0x1401c3dd1
add rcx, r14
mov qword [rsp + 0x20], rsi
mov r8, rbx
mov r9, rdi
call fcn.1401c3b10
test eax, eax
je 0x1401c3dd1
jmp 0x1401c3d8b
Function at 0x1401c6870
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
cmp rdx, 1
jne 0x1401c6af3
mov rbx, qword [rsi + 8]
mov edi, 2
cmp rbx, 2
jae 0x1401c68e0
lea rbx, [rsi + 8]
lea rcx, [rdi*8]
call fcn.14010cc14
mov rcx, qword [rsi]
mov qword [rsi], rax
test rcx, rcx
jne 0x1401c6ae9
mov qword [rbx], rdi
xor eax, eax
mov rcx, qword [rsi]
mov qword [rcx + rax*8], 0
inc rax
cmp rdi, rax
jne 0x1401c68b8
mov r8, qword [rsi + 0x10]
test r8, r8
jne 0x1401c69e7
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
cmp rdi, rbx
jae 0x1401c68d8
mov rax, qword [rsi + 0x18]
test rax, rax
jns 0x1401c6905
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x1401c690a
cvtsi2ss xmm0, rax
divss xmm0, dword [rsi + 0x20]
call fcn.14012cc00
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x1402a301c]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp rbx, 3
jb 0x1401c69bd
mov rcx, rbx
shr rcx, 1
movabs rdx, 0x5555555555555555
and rdx, rcx
mov rcx, rbx
sub rcx, rdx
movabs rdx, 0x3333333333333333
mov r8, rcx
shr r8, 2
and rcx, rdx
and r8, rdx
add r8, rcx
mov rcx, r8
shr rcx, 4
add rcx, r8
movabs rdx, 0xf0f0f0f0f0f0f0f
and rdx, rcx
movabs rcx, 0x101010101010101
imul rcx, rdx
shr rcx, 0x38
cmp ecx, 1
ja 0x1401c69bd
lea rcx, [rax - 1]
bsr rcx, rcx
xor ecx, 0x3f
neg cl
mov edx, 1
shl rdx, cl
cmp rax, 2
cmovb rdx, rax
jmp 0x1401c69c8
mov rcx, rax
call fcn.14009db99
mov rdx, rax
cmp rdi, rdx
cmova rdx, rdi
cmp rdx, rbx
jae 0x1401c68d8
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1401c6b30
lea r10, [rsi + 0x10]
mov rcx, qword [r8 + 8]
mov rax, rdi
shr rax, 1
movabs rdx, 0x5555555555555555
and rdx, rax
mov rax, rdi
sub rax, rdx
movabs rdx, 0x3333333333333333
mov r9, rax
and r9, rdx
shr rax, 2
and rax, rdx
add rax, r9
mov rdx, rax
shr rdx, 4
add rdx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rax, rdx
movabs r9, 0x101010101010101
imul r9, rax
shr r9, 0x38
cmp r9, 1
jbe 0x1401c6a63
cmp rcx, rdi
jb 0x1401c6a6a
mov rax, rcx
xor edx, edx
div rdi
mov rcx, rdx
jmp 0x1401c6a6a
lea rax, [rdi - 1]
and rcx, rax
mov rax, qword [rsi]
mov qword [rax + rcx*8], r10
mov r10, qword [r8]
test r10, r10
je 0x1401c68d8
lea r11, [rdi - 1]
jmp 0x1401c6ad0
mov qword [rdx + rax*8], r8
jmp 0x1401c6abe
and rax, r11
cmp rax, rcx
je 0x1401c6abb
mov rdx, qword [rsi]
cmp qword [rdx + rax*8], 0
je 0x1401c6a83
mov rdx, qword [r10]
mov qword [r8], rdx
mov rdx, qword [rsi]
mov rdx, qword [rdx + rax*8]
mov rdx, qword [rdx]
mov qword [r10], rdx
mov rdx, qword [rsi]
mov rax, qword [rdx + rax*8]
mov qword [rax], r10
mov r10, r8
mov rax, rcx
mov r8, r10
mov r10, qword [r10]
mov rcx, rax
test r10, r10
je 0x1401c68d8
mov rax, qword [r10 + 8]
cmp r9d, 1
jbe 0x1401c6a89
cmp rax, rdi
jb 0x1401c6a8c
xor edx, edx
div rdi
mov rax, rdx
jmp 0x1401c6a8c
call fcn.14010cc0c
jmp 0x1401c68b3
mov rdi, rdx
lea rax, [rdx - 1]
test rdx, rax
je 0x1401c6b0a
mov rcx, rdi
call fcn.14009db99
mov rdi, rax
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x1401c68e0
mov rax, rdi
shr rax, 0x3d
je 0x1401c6893
int3