joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400aa4ec
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140093170
sub rsp, rax
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140091b6c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400aa53b
mov rax, rbp
jmp 0x1400aa643
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x1225a0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400b4878
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x1225a0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400aa63f
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400aa63f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400b4878
test rax, rax
js 0x1400aa63f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400aa63f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400aa631
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400aa631
cmp byte [rcx], 0xd
jne 0x1400aa617
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400aa626
cmp byte [rcx + 1], 0xa
jne 0x1400aa626
inc rcx
jmp 0x1400aa626
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x113370]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400aa5f9
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400aa643
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400931d0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400acec0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400acee8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400acee8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400b7388
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1400b0ae4
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1400b7429
cmp ebx, dword [rsp + 0x30]
je 0x1400b7422
test esi, esi
je 0x1400b7422
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400b73fd
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400b740a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400b73e7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400b740e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400b742b
mov eax, 1
jmp 0x1400b742b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b8190
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400b8217
mov rsi, rbx
cmp word [rax], bp
je 0x1400b81d6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400b81c0
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400b81bc
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140049650
mov rdi, rax
test rax, rax
je 0x1400b8204
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400c2c60
mov rbp, rdi
xor ecx, ecx
call fcn.140069c30
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400ba7b8
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1400ba802
call fcn.1400a3474
mov dword [rax], 0xf
call fcn.1400917a0
mov dword [rax], 0xd
call fcn.1400b2e84
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400931d0
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1400ba80d
lea eax, [rbx + 1]
jmp 0x1400ba7ef
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1400ba7ed
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1400ba7ef

Function at 0x1400badd8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400badee
mov al, 1
jmp 0x1400bae4e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400badff
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400bae4c
mov ecx, dword [rcx + 0x18]
nop
call fcn.140091bec
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400bae4c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400bae4c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400bae4c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400bae4e
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1400c8440
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x1400c8477
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 0x1400c8451
ret

Function at 0x1400c84f0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x1400c8528
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 0x1400c8501
ret
Function at 0x1400dde20
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov edi, edx
mov rsi, rcx
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x1400dde91
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x1400dde9b
mov dil, 1
test bl, bl
je 0x1400dde7a
cmp byte [rsi + 8], 0
je 0x1400dde96
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400931d0
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rsi]
jmp 0x1400dde4d
mov rcx, qword [rsi]
jmp 0x1400dde6f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rsi + 8], 0
je 0x1400ddec3
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400ddec8
xor edi, edi
jmp 0x1400dde7a
mov rcx, qword [rsi]
jmp 0x1400ddeb0
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rsi + 8], 0
je 0x1400ddeef
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dil, 1
jmp 0x1400dde7a
mov rcx, qword [rsi]
jmp 0x1400ddedf
Function at 0x1400ddf00
Capabilities:
Create process on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x140
vmovaps xmmword [rsp + 0x130], xmm6
mov ebx, r9d
mov edi, r8d
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x40], 0xa
mov al, byte [0x14012460a]
test al, al
jne 0x1400de1c8
movabs r13, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x120], r13
vbroadcastss xmm6, dword [0x1400f27f0]
vmovaps xmmword [rsp + 0x110], xmm6
lea r15, [rsp + 0x80]
mov rcx, r14
mov rdx, r15
call fcn.140047620
cmp byte [r15 + 0x17], 0
js 0x1400de034
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x120], rax
vmovups xmm0, xmmword [rsp + 0x80]
vmovaps xmmword [rsp + 0x110], xmm0
lea r12, [rsp + 0xf0]
mov qword [r12 + 0x10], r13
vmovaps xmmword [r12], xmm6
xor r15d, r15d
mov rcx, r14
mov rdx, r12
xor r8d, r8d
call fcn.140020cd0
vxorps xmm0, xmm0, xmm0
vmovups ymmword [rsp + 0xd0], ymm0
vmovups ymmword [rsp + 0xb0], ymm0
movabs rax, 0x4000000070
mov qword [rsp + 0x80], rax
vzeroupper
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rsp + 0x88], rax
lea rax, str.runas
mov qword [rsp + 0x90], rax
cmp byte [rsp + 0x127], 0
js 0x1400de071
lea rax, [rsp + 0x110]
jmp 0x1400de079
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
lea rcx, [rsp + 0x110]
call fcn.1400071a0
cmp byte [rsp + 0x97], 0
jns 0x1400ddfb4
mov rcx, qword [rsp + 0x80]
call fcn.1400910b4
jmp 0x1400ddfb4
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x98], rax
cmp byte [rsp + 0x107], 0
jns 0x1400de093
mov r12, qword [rsp + 0xf0]
lea rcx, [rsp + 0x80]
mov qword [rcx + 0x20], r12
mov qword [rcx + 0x28], r15
xor dil, 1
movzx eax, dil
mov dword [rcx + 0x30], eax
mov qword [rcx + 0x38], r15
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1400de12c
test bl, bl
je 0x1400de124
vbroadcastss ymm0, dword [0x1400f27f0]
lea rdi, [rsp + 0x40]
vmovups ymmword [rdi + 0x20], ymm0
vmovups ymmword [rdi], ymm0
lea rdx, str.LaunchElevatedProcess
lea r8, str....._baseprocesslaunch_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x9e
vzeroupper
call fcn.140056ee0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140074800
mov rcx, qword [rsp + 0xe8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call fcn.140088a20
mov r15, qword [rsp + 0xe8]
mov rcx, rsi
mov rdx, r15
call fcn.140028bd0
cmp byte [rsp + 0x107], 0
jns 0x1400de14e
mov rcx, qword [rsp + 0xf0]
call fcn.1400910b4
cmp byte [rsp + 0x127], 0
jns 0x1400de165
mov rcx, qword [rsp + 0x110]
call fcn.1400910b4
mov qword [rsp + 0x40], 0xa
mov al, byte [0x14012460a]
test al, al
jne 0x1400de1a4
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.1400931d0
vmovaps xmm6, xmmword [rsp + 0x130]
add rsp, 0x140
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx ecx, al
lea r8, [rsp + 0x80]
mov qword [r8], 0
lea rdx, [rsp + 0x40]
mov r9d, 2
call fcn.140056f00
jmp 0x1400de178
movzx ecx, al
lea rax, str.LaunchElevatedProcess
lea r8, [rsp + 0x80]
mov qword [r8], rax
lea rdx, [rsp + 0x40]
mov r9d, 1
call fcn.140058440
jmp 0x1400ddf50
Function at 0x1400de940
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x1401247b8], 0
je 0x1400de986
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.1400931d0
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x1401247a8]
test rdi, rdi
jne 0x1400dea6c
mov ecx, 0x18
call fcn.1400910bc
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1400c3300
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
vbroadcastss xmm0, dword [0x1400f27f0]
vmovups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.140042710
movzx ecx, byte [rdi + 0x17]
test cl, cl
mov rax, qword [rdi]
mov r8, qword [rdi + 8]
mov r9, rcx
cmovs r9, r8
mov r10, rdi
cmovs r10, rax
test r9, r9
je 0x1400dea50
add r9, r9
test r9, r9
je 0x1400dea50
lea rdx, [r9 - 2]
cmp word [r10 + r9 - 2], 0x5c
mov r9, rdx
jne 0x1400dea12
cmp rdx, 0xfffffffffffffffe
je 0x1400dea50
sar rdx, 1
lea r9, [rdx + 1]
test cl, cl
jns 0x1400debc8
cmp r8, rdx
jbe 0x1400debed
mov qword [rdi + 8], r9
mov word [rax + rdx*2 + 2], 0
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rdi
call fcn.140044680
mov qword [0x1401247a8], rdi
test byte [0x140115568], 1
je 0x1400de969
cmp byte [rdi + 0x17], 0
jns 0x1400dea82
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1401247b8], rax
inc rax
cmp rax, 1
ja 0x1400de969
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400c3300
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jb 0x1400debc1
mov rcx, qword [0x1401247a8]
lea rdx, [rsp + 0x40]
call fcn.140017ec0
mov rcx, qword [0x1401247a8]
movzx eax, byte [rcx + 0x17]
test al, al
jns 0x1400debdd
mov rax, qword [rcx + 8]
test rax, rax
je 0x1400debea
mov rdx, qword [rcx]
cmp word [rdx + rax*2 - 2], 0x5c
je 0x1400deb4c
lea rdx, [0x14010490c]
mov r8d, 1
call fcn.140044680
mov rcx, qword [0x1401247a8]
lea rdx, str.debug.log
mov r8d, 9
call fcn.140044680
mov rcx, qword [0x1401247a8]
cmp byte [rcx + 0x17], 0
jns 0x1400deb75
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1401247b8], rax
inc rax
cmp rax, 1
ja 0x1400de969
mov qword [0x1401247b8], 0
xor esi, esi
jmp 0x1400de969
cmp rdx, rcx
jae 0x1400debed
and r9b, 0x7f
mov byte [rdi + 0x17], r9b
mov rax, rdi
jmp 0x1400dea49
test rax, rax
je 0x1400debea
mov rdx, rcx
jmp 0x1400deb32
int3
int3
Function at 0x1400e1480
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov edi, 2
cmp rdx, 1
je 0x1400e14ae
lea rax, [rdx - 1]
test rdx, rax
je 0x1400e14ab
mov rcx, rdx
call fcn.14007f3f0
mov rdi, rax
jmp 0x1400e14ae
mov rdi, rdx
mov rbx, qword [rsi + 8]
cmp rdi, rbx
ja 0x1400e155b
jae 0x1400e1553
mov rax, qword [rsi + 0x18]
test rax, rax
js 0x1400e14d1
vcvtsi2ss xmm0, xmm0, rax
jmp 0x1400e14e6
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
vcvtsi2ss xmm0, xmm0, rax
vaddss xmm0, xmm0, xmm0
vdivss xmm0, xmm0, dword [rsi + 0x20]
vroundss xmm0, xmm0, xmm0, 0xa
vcvttss2si rax, xmm0
mov rcx, rax
vsubss xmm0, xmm0, dword [0x1400fc464]
vcvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rbx, 3
jb 0x1400e153f
popcnt rax, rbx
cmp eax, 1
ja 0x1400e153f
lea rax, [rdx - 1]
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
cmp rdx, 2
cmovb rax, rdx
jmp 0x1400e1547
mov rcx, rdx
call fcn.14007f3f0
cmp rdi, rax
cmovbe rdi, rax
cmp rdi, rbx
jb 0x1400e155b
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov rcx, rsi
mov rdx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp 0x1400e1570
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
test rdx, rdx
je 0x1400e1612
mov rdi, rdx
mov rax, rdx
shr rax, 0x3d
jne 0x1400e1697
lea rcx, [rdi*8]
call fcn.1400910bc
mov rcx, qword [rsi]
mov qword [rsi], rax
test rcx, rcx
je 0x1400e15af
call fcn.1400910b4
mov qword [rsi + 8], rdi
xor eax, eax
mov rcx, qword [rsi]
mov qword [rcx + rax*8], 0
inc rax
cmp rdi, rax
jne 0x1400e15b5
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x1400e162e
lea r10, [rsi + 0x10]
mov rcx, qword [r9 + 8]
popcnt r8, rdi
cmp r8, 1
jbe 0x1400e15f6
cmp rcx, rdi
jb 0x1400e15fd
mov rax, rcx
xor edx, edx
div rdi
mov rcx, rdx
jmp 0x1400e15fd
lea rax, [rdi - 1]
and rcx, rax
mov rax, qword [rsi]
mov qword [rax + rcx*8], r10
mov r10, qword [r9]
test r10, r10
je 0x1400e162e
lea r11, [rdi - 1]
jmp 0x1400e167e
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x1400e1626
call fcn.1400910b4
mov qword [rsi + 8], 0
add rsp, 0x28
pop rdi
pop rsi
ret
mov qword [rdx + rax*8], r9
jmp 0x1400e1670
and rax, r11
cmp rax, rcx
je 0x1400e166d
mov rdx, qword [rsi]
cmp qword [rdx + rax*8], 0
je 0x1400e1635
mov rdx, qword [r10]
mov qword [r9], 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, r9
mov rax, rcx
mov r9, r10
mov r10, qword [r10]
mov rcx, rax
test r10, r10
je 0x1400e162e
mov rax, qword [r10 + 8]
cmp r8d, 1
jbe 0x1400e163b
cmp rax, rdi
jb 0x1400e163e
xor edx, edx
div rdi
mov rax, rdx
jmp 0x1400e163e
int3

Function at 0x1400e2d10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov rdx, qword [rcx]
mov r8, qword [rcx + 8]
mov rax, r8
sub rax, rdx
je 0x1400e2d4d
js 0x1400e2d51
shr rax, 2
lea r9, [0x1400fd550]
movzx r10d, byte [rdx]
movzx r11d, al
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
inc rdx
cmp rdx, r8
jne 0x1400e2d2c
cmp eax, dword [rcx + 0x18]
sete al
ret
xor eax, eax
jmp 0x1400e2d46
int3
Function at 0x1400e7660
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov edi, 2
cmp rdx, 1
je 0x1400e768e
lea rax, [rdx - 1]
test rdx, rax
je 0x1400e768b
mov rcx, rdx
call fcn.14007f3f0
mov rdi, rax
jmp 0x1400e768e
mov rdi, rdx
mov rbx, qword [rsi + 8]
cmp rdi, rbx
ja 0x1400e773b
jae 0x1400e7733
mov rax, qword [rsi + 0x18]
test rax, rax
js 0x1400e76b1
vcvtsi2ss xmm0, xmm0, rax
jmp 0x1400e76c6
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
vcvtsi2ss xmm0, xmm0, rax
vaddss xmm0, xmm0, xmm0
vdivss xmm0, xmm0, dword [rsi + 0x20]
vroundss xmm0, xmm0, xmm0, 0xa
vcvttss2si rax, xmm0
mov rcx, rax
vsubss xmm0, xmm0, dword [0x1400fc464]
vcvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rbx, 3
jb 0x1400e771f
popcnt rax, rbx
cmp eax, 1
ja 0x1400e771f
lea rax, [rdx - 1]
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
cmp rdx, 2
cmovb rax, rdx
jmp 0x1400e7727
mov rcx, rdx
call fcn.14007f3f0
cmp rdi, rax
cmovbe rdi, rax
cmp rdi, rbx
jb 0x1400e773b
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov rcx, rsi
mov rdx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp 0x1400e7750
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
test rdx, rdx
je 0x1400e7809
mov rdi, rdx
mov rax, rdx
shr rax, 0x3d
jne 0x1400e789a
call fcn.140083380
lea rdx, [rdi*8]
mov rcx, rax
xor r8d, r8d
call fcn.140011080
mov rbx, qword [rsi]
mov qword [rsi], rax
test rbx, rbx
je 0x1400e77a6
call fcn.140083380
mov rcx, rax
mov rdx, rbx
call fcn.140015350
mov qword [rsi + 8], rdi
xor eax, eax
mov rcx, qword [rsi]
mov qword [rcx + rax*8], 0
inc rax
cmp rdi, rax
jne 0x1400e77ac
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x1400e7830
lea r10, [rsi + 0x10]
mov rcx, qword [r9 + 8]
popcnt r8, rdi
cmp r8, 1
jbe 0x1400e77ed
cmp rcx, rdi
jb 0x1400e77f4
mov rax, rcx
xor edx, edx
div rdi
mov rcx, rdx
jmp 0x1400e77f4
lea rax, [rdi - 1]
and rcx, rax
mov rax, qword [rsi]
mov qword [rax + rcx*8], r10
mov r10, qword [r9]
test r10, r10
je 0x1400e7830
lea r11, [rdi - 1]
jmp 0x1400e7881
mov rdi, qword [rsi]
mov qword [rsi], 0
test rdi, rdi
je 0x1400e7828
call fcn.140083380
mov rcx, rax
mov rdx, rdi
call fcn.140015350
mov qword [rsi + 8], 0
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov qword [rdx + rax*8], r9
jmp 0x1400e7873
and rax, r11
cmp rax, rcx
je 0x1400e7870
mov rdx, qword [rsi]
cmp qword [rdx + rax*8], 0
je 0x1400e7838
mov rdx, qword [r10]
mov qword [r9], 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, r9
mov rax, rcx
mov r9, r10
mov r10, qword [r10]
mov rcx, rax
test r10, r10
je 0x1400e7830
mov rax, qword [r10 + 8]
cmp r8d, 1
jbe 0x1400e783e
cmp rax, rdi
jb 0x1400e7841
xor edx, edx
div rdi
mov rax, rdx
jmp 0x1400e7841
int3
Function at 0x1400e91d0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, 0xffffffffffffffff
xor edx, edx
div rcx
mov rbx, 0xfffffffffffffffe
sub rbx, rdx
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x28]
mov qword [rsp + 0x28], r14
mov rcx, rdi
mov edx, 8
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1400e9252
mov rax, qword [rsp + 0x28]
cmp rax, rbx
ja 0x1400e9210
xor edx, edx
div rsi
mov rsi, rdx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400931d0
mov rax, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
Function at 0x1401cf380
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov r11d, 0x9e3779b9
cmp rdx, 3
jae 0x1401cf39c
mov eax, 0x9e3779b9
mov r10, rdx
jmp 0x1401cf438
mov r9d, 2
mov r10, rdx
mov eax, 0x9e3779b9
movzx ebx, byte [rcx]
add ebx, eax
movzx eax, byte [rcx + 1]
add eax, r11d
movzx edi, byte [rcx + 2]
add edi, r8d
sub ebx, eax
sub ebx, edi
mov esi, edi
shr esi, 0xd
xor esi, ebx
sub eax, edi
sub eax, esi
mov ebx, esi
shl ebx, 8
xor ebx, eax
sub edi, esi
sub edi, ebx
mov eax, ebx
shr eax, 0xd
xor eax, edi
sub esi, ebx
sub esi, eax
mov edi, eax
shr edi, 0xc
xor edi, esi
sub ebx, eax
sub ebx, edi
mov esi, edi
shl esi, 0x10
xor esi, ebx
sub eax, edi
sub eax, esi
mov ebx, esi
shr ebx, 5
xor ebx, eax
sub edi, esi
sub edi, ebx
mov eax, ebx
shr eax, 3
xor eax, edi
sub esi, ebx
sub esi, eax
mov r11d, eax
shl r11d, 0xa
xor r11d, esi
sub ebx, eax
sub ebx, r11d
mov r8d, r11d
shr r8d, 0xf
xor r8d, ebx
add rcx, 3
add r10, 0xfffffffffffffffd
cmp r10, r9
ja 0x1401cf3aa
add edx, r8d
cmp r10, 1
je 0x1401cf44e
cmp r10, 2
jne 0x1401cf453
movzx ebx, byte [rcx + 1]
add r11d, ebx
movzx ecx, byte [rcx]
add eax, ecx
sub eax, edx
sub eax, r11d
mov ecx, edx
shr ecx, 0xd
xor ecx, eax
sub r11d, edx
sub r11d, ecx
mov eax, ecx
shl eax, 8
xor eax, r11d
sub edx, ecx
sub edx, eax
mov ebx, eax
shr ebx, 0xd
xor ebx, edx
sub ecx, eax
sub ecx, ebx
mov edx, ebx
shr edx, 0xc
xor edx, ecx
sub eax, ebx
sub eax, edx
mov edi, edx
shl edi, 0x10
xor edi, eax
sub ebx, edx
sub ebx, edi
mov ecx, edi
shr ecx, 5
xor ecx, ebx
sub edx, edi
sub edx, ecx
mov eax, ecx
shr eax, 3
xor eax, edx
sub edi, ecx
sub edi, eax
sub ecx, eax
shl eax, 0xa
xor eax, edi
sub ecx, eax
shr eax, 0xf
xor eax, ecx
pop rbx
pop rdi
pop rsi
ret

Function at 0x1401cf720
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x128
mov rsi, rcx
lea rcx, [0x14062b898]
lea rdx, [0x1405f2323]
call fcn.1401cf500
test eax, eax
jne 0x1401cf7af
lea rcx, [rsp + 0x20]
mov edx, 0x104
call sub.KERNEL32.dll_GetSystemDirectoryA
test eax, eax
jne 0x1401cf75a
xor eax, eax
jmp 0x1401cf7a4
mov edi, eax
mov rcx, rsi
call fcn.1401bdfb0
lea ecx, [rdi + 1]
add rcx, rax
add rcx, 1
cmp rcx, 0x104
ja 0x1401cf756
inc rax
mov ecx, edi
add rcx, rsp
add rcx, 0x21
mov byte [rcx - 1], 0x5c
mov rdx, rsi
mov r8, rax
call fcn.1401cda80
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 8
call sub.KERNEL32.dll_LoadLibraryExA
nop
add rsp, 0x128
pop rdi
pop rsi
ret
mov rcx, rsi
xor edx, edx
mov r8d, 0x800
add rsp, 0x128
pop rdi
pop rsi
jmp sub.KERNEL32.dll_LoadLibraryExA
Function at 0x14020dd20
Capabilities:
Print debug messages
Terminate process

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
call sub.KERNEL32.dll_OutputDebugStringA
lea rcx, [0x1405f40cc]
call fcn.1401cf720
test rax, rax
je 0x14020ddfa
mov rdi, rax
lea rdx, [0x1405f40d9]
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
mov rbx, rax
lea rdx, [0x1405f40ee]
mov rcx, rdi
call sub.KERNEL32.dll_GetProcAddress
mov r15, rax
lea rdx, [0x1405f40fb]
mov rcx, rdi
call sub.KERNEL32.dll_GetProcAddress
test rbx, rbx
je 0x14020ddf2
test r15, r15
je 0x14020ddf2
mov r14, rax
test rax, rax
je 0x14020ddf2
lea rax, [0x1405f4111]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rsi
lea rdx, [0x1405f411f]
xor ecx, ecx
call rbx
test rax, rax
je 0x14020ddf2
mov rbx, rax
xor eax, eax
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0
mov word [rsp + 0x28], 2
mov rcx, rbx
mov dx, 1
xor r8d, r8d
mov r9d, 0xc0070003
call r15
mov rcx, rbx
call r14
mov rcx, rdi
call sub.KERNEL32.dll_FreeLibrary
lea rcx, [0x1405f4127]
call fcn.1401cf720
test rax, rax
je 0x14020de3e
mov rdi, rax
lea rdx, [0x1405f4132]
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x14020de36
lea r8, [0x1405f413e]
xor ecx, ecx
mov rdx, rsi
mov r9d, 0x10
call rax
mov rcx, rdi
call sub.KERNEL32.dll_FreeLibrary
call sub.KERNEL32.dll_GetCurrentProcess
mov rcx, rax
mov edx, 1
call sub.KERNEL32.dll_TerminateProcess
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret