joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402dd820
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x14044f038]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x140466f00], 0
je 0x1402dd866
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.14025a610
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x140466ed8]
test rdi, rdi
je 0x1402dd907
test byte [0x14045322c], 1
je 0x1402dd849
cmp byte [rdi + 0x17], 0
jns 0x1402dd888
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 [0x140466f00], rax
inc rax
cmp rax, 1
ja 0x1402dd849
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14025c760
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x1402dd9cd
xor esi, esi
jmp 0x1402dd849
mov ecx, 0x18
call fcn.140258e18
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.14025c760
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x1403db8a0]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.14029a900
movzx eax, byte [rdi + 0x17]
mov rcx, rdi
test al, al
jns 0x1402dd96f
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
test rax, rax
jne 0x1402dd995
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rdi
call fcn.1400e4b90
mov qword [0x140466ed8], rdi
jmp 0x1402dd876
lea r8, [rax + rax]
test r8, r8
je 0x1402dd974
lea rdx, [r8 - 2]
cmp word [rcx + r8 - 2], 0x5c
mov r8, rdx
jne 0x1402dd999
cmp rdx, 0xfffffffffffffffe
je 0x1402dd974
sar rdx, 1
cmp rax, rdx
jbe 0x1402dda94
inc rdx
mov rcx, rdi
call fcn.14029acc0
jmp 0x1402dd974
mov rdi, qword [0x140466ed8]
lea rbx, [rsp + 0x40]
mov rcx, rbx
call fcn.1402831c4
mov rcx, rdi
mov rdx, rbx
mov r8, rax
call fcn.1400e47e0
mov rcx, qword [0x140466ed8]
call fcn.1402cfc10
cmp word [rax], 0x5c
je 0x1402dda1a
mov rcx, qword [0x140466ed8]
lea rdx, [0x1403dcbd0]
mov r8d, 1
call fcn.1400e4b90
mov rcx, qword [0x140466ed8]
lea rdx, str.debug.log
mov r8d, 9
call fcn.1400e4b90
mov rcx, qword [0x140466ed8]
cmp byte [rcx + 0x17], 0
jns 0x1402dda43
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 [0x140466f00], rax
inc rax
cmp rax, 1
ja 0x1402dd849
mov qword [0x140466f00], 0
jmp 0x1402dd900
mov rcx, rdi
call fcn.14029aaa0
int3
Function at 0x1402e9110
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x14044f038]
xor rax, rsp
mov qword [rsp + 0x278], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [0x1403db8a0]
movups xmmword [rcx], xmm0
call fcn.14020a520
mov eax, ebx
xor al, 1
movzx eax, al
lea ecx, [rax + rax*8]
add ecx, 0x67
mov rdx, rsi
call fcn.140105560
test al, al
jne 0x1402e91f6
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14025c760
mov word [rdi], 0
lea rax, [0x1403ee1c0]
lea rcx, str.LOCALAPPDATA
test bl, bl
cmovne rcx, rax
mov rdx, rdi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0x102
ja 0x1402e91d4
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1402831c4
mov qword [rbx + 8], rax
lea rcx, [rsp + 0x48]
mov rdx, rbx
call fcn.14020a650
jmp 0x1402e91de
lea rcx, [rsp + 0x48]
call fcn.14020a520
lea rdi, [rsp + 0x48]
mov rcx, rsi
mov rdx, rdi
call fcn.14020a880
mov rcx, rdi
call fcn.14020a810
movzx eax, byte [rsi + 0x17]
test al, al
jns 0x1402e9202
mov rax, qword [rsi + 8]
test rax, rax
je 0x1402e92c5
lea rdi, [rsp + 0x48]
mov rcx, rdi
call fcn.1401184e0
movzx eax, byte [rdi + 0x17]
test al, al
mov rcx, qword [rdi]
cmovns rcx, rdi
lea r8, [rsp + 0x38]
mov qword [r8], rcx
cmovs rax, qword [rdi + 8]
mov qword [r8 + 8], rax
lea rbx, [rsp + 0x70]
mov rcx, rsi
mov rdx, rbx
call fcn.14020bb40
mov rcx, rsi
mov rdx, rbx
call fcn.14020a880
mov rcx, rbx
call fcn.14020a810
cmp byte [rdi + 0x17], 0
jns 0x1402e9269
mov rcx, qword [rsp + 0x48]
call fcn.140258e54
lea rcx, [0x1403e0220]
lea rdi, [rsp + 0x28]
mov qword [rdi], rcx
call fcn.1402831c4
mov qword [rdi + 8], rax
lea rbx, [rsp + 0x70]
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
call fcn.14020bb40
mov rcx, rsi
mov rdx, rbx
call fcn.14020a880
mov rcx, rbx
call fcn.14020a810
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.14025a610
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
int3
Function at 0x1402ec210
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
sub rsp, 0x20
lea rax, [0x1404672f0]
xor ecx, ecx
mov edx, 0xedb88320
mov r9d, ecx
shr r9d, 1
mov r8d, ecx
and r8d, 1
neg r8d
and r8d, edx
xor r8d, r9d
mov r10d, r8d
shr r10d, 1
mov r9d, ecx
shl r9d, 0x1e
sar r9d, 0x1f
and r9d, edx
xor r9d, r10d
mov r10d, r9d
shr r10d, 6
mov r11d, ecx
shl r11d, 0x1d
sar r11d, 0x1f
and r11d, 0x76dc419
mov esi, ecx
shl esi, 0x1c
sar esi, 0x1f
and esi, 0xedb8832
xor esi, r11d
mov r11d, ecx
shl r11d, 0x1b
sar r11d, 0x1f
and r11d, 0x1db71064
xor r11d, esi
mov esi, ecx
shl esi, 0x1a
sar esi, 0x1f
and esi, 0x3b6e20c8
xor esi, r11d
xor esi, r10d
shl r8d, 0x1a
sar r8d, 0x1f
and r8d, 0x76dc4190
xor r8d, esi
shl r9d, 0x1a
sar r9d, 0x1f
and r9d, edx
xor r9d, r8d
mov dword [rax], r9d
inc rcx
add rax, 4
cmp rcx, 0x100
jne 0x1402ec223
mov eax, 0x100
lea rcx, [0x1404672f0]
mov edx, dword [rcx + rax*4 - 0x400]
movzx r8d, dl
shr edx, 8
xor edx, dword [rcx + r8*4]
mov dword [rcx + rax*4], edx
inc rax
cmp rax, 0x800
jne 0x1402ec2e6
lea rax, [0x140259700]
mov qword [0x1404692f0], rax
mov qword [0x1404672e8], rax
lea rsi, [0x140259610]
mov qword [0x1404692f8], rsi
call fcn.14034f2b0
test eax, eax
jne 0x1402ec339
mov qword [0x1404672e8], rsi
add rsp, 0x20
pop rsi
ret
Function at 0x1402f2590
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x14044f038]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [0x1404694e8]
test rax, rax
je 0x1402f2695
cmp eax, 2
jne 0x1402f260c
mov ecx, 2
call fcn.140209bc0
test al, al
je 0x1402f2665
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x8e
mov r9d, 2
call fcn.140110e20
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
jmp 0x1402f26e6
mov eax, 1
lock xadd qword [0x140469520], rax
test rax, rax
jle 0x1402f262c
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1404694a0], eax
mov qword [0x140469498], rsi
mov rcx, qword [0x14045f750]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 2
call fcn.140209bc0
test al, al
jne 0x1402f26b4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xffff7001
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14025a610
xor eax, eax
add rsp, 0x168
pop rdi
pop rsi
ret
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x1404694e8]
test rax, rax
je 0x1402f269c
jmp 0x1402f25be
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, ILCreateFromPathW
mov r9d, 2
call fcn.140110e20
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
call fcn.14029aae0
mov rcx, rsi
call fcn.140111310
jmp 0x1402f2665

Function at 0x1402f3930
Capabilities:
Prepare http request

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rdi, rcx
mov rax, qword [0x14044f038]
xor rax, rsp
mov qword [rsp + 0x60], rax
movzx ebp, byte [rcx + 0xd0]
shl ebp, 0x17
or ebp, 0x100
lea rax, [rcx + 0xf8]
movzx ecx, byte [rcx + 0x10f]
test cl, cl
cmovs rax, qword [rdi + 0xf8]
mov rsi, rdx
lea rdx, [rsp + 0x38]
mov qword [rdx], rax
cmovs rcx, qword [rdi + 0x100]
mov qword [rdx + 8], rcx
lea rbx, [rsp + 0x48]
mov rcx, rbx
call fcn.14016c470
cmp byte [rbx + 0x17], 0
jns 0x1402f39a1
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rdi + 0x28]
mov rdx, qword [rdi + 0x110]
mov dword [rsp + 0x30], ebp
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov r8, rbx
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
lea rcx, [0x1403d3248]
mov qword [rsi], rcx
mov qword [rsi + 8], rax
mov byte [rsi + 0x10], 0
cmp byte [rsp + 0x5f], 0
jns 0x1402f39e7
mov rcx, qword [rsp + 0x48]
call fcn.140258e54
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14025a610
mov rax, rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x1402f4450
Capabilities:
Receive http response

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov rdx, qword [rcx + 0x160]
mov r8, qword [rcx + 0x168]
mov rax, r8
sub rax, rdx
cmp rax, 0x3fff
ja 0x1402f44b7
lea rcx, [rsi + 0x160]
mov edx, 0x4000
sub rdx, rax
call fcn.1401da5b0
mov rdx, qword [rsi + 0x160]
mov r8, qword [rsi + 0x168]
cmp rdx, r8
je 0x1402f44d9
sub r8d, edx
mov rcx, qword [rsi + 0x40]
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x1402f44cf
xor eax, eax
add rsp, 0x30
pop rsi
ret
cmp rax, 0x4000
je 0x1402f4496
lea r8, [rdx + 0x4000]
mov qword [rsi + 0x168], r8
jmp 0x1402f449b
add rsp, 0x30
pop rsi
jmp fcn.14035c700
lea rax, str.front___called_on_an_empty_vector
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_vector
lea r9, str._empty__
mov r8d, 0x236
call fcn.14029ef60
int3

Function at 0x1403216e0
Capabilities:
Create process on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rsi, rcx
mov rax, qword [0x14044f038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x50]
mov qword [rdi + 0x40], r14
movaps xmm0, xmmword [0x1403db8a0]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, str.PinShortcutToTaskbar
lea r8, str.....chromeinstallerutil_taskbar_util.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0x77
call fcn.140209ca0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1401fe1a0
call fcn.140149d40
cmp eax, 0xd
jge 0x1403217c3
cmp byte [rsi + 0x17], 0
jns 0x14032176c
mov rsi, qword [rsi]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rdx, str.taskbarpin
xor ecx, ecx
mov r8, rsi
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x21
setge sil
lea rcx, [rsp + 0x50]
call fcn.1401fe3e0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14025a610
mov eax, esi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdi, [rsp + 0x30]
mov qword [rdi], r14
mov rcx, rdi
call fcn.1403219d0
cmp qword [rdi], 0
je 0x14032184b
cmp byte [rsi + 0x17], 0
jns 0x1403217e2
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_ILCreateFromPathW]
mov rdi, rax
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0x80]
xor edx, edx
mov r8, rdi
mov r9d, 4
call qword [case.0x1402d5a00.0]
test eax, eax
setns sil
test rdi, rdi
je 0x140321822
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_ILFree]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14032179a
mov qword [rsp + 0x30], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1402d5a00.0]
jmp 0x14032179a
xor esi, esi
jmp 0x14032179a
Function at 0x140321860
Capabilities:
Create process on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rsi, rcx
mov rax, qword [0x14044f038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x50]
mov qword [rdi + 0x40], r14
movaps xmm0, xmmword [0x1403db8a0]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, str.UnpinShortcutFromTaskbar
lea r8, str.....chromeinstallerutil_taskbar_util.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0x83
call fcn.140209ca0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1401fe1a0
call fcn.140149d40
cmp eax, 0xd
jge 0x140321942
cmp byte [rsi + 0x17], 0
jns 0x1403218ec
mov rsi, qword [rsi]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rdx, str.taskbarunpin
xor ecx, ecx
mov r8, rsi
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x21
setge bl
lea rcx, [rsp + 0x50]
call fcn.1401fe3e0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14025a610
mov eax, ebx
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdi, [rsp + 0x30]
mov qword [rdi], r14
mov rcx, rdi
call fcn.1403219d0
cmp qword [rdi], 0
je 0x1403218e3
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140321964
mov rcx, qword [rsi]
call qword [sym.imp.SHELL32.dll_ILCreateFromPathW]
mov rbx, rax
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0x80]
mov rdx, rbx
xor r8d, r8d
mov r9d, 4
call qword [case.0x1402d5a00.0]
mov edi, eax
test rbx, rbx
je 0x14032199e
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_ILFree]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1403219be
mov qword [rsp + 0x30], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1402d5a00.0]
mov bl, 1
test edi, edi
jns 0x140321919
jmp 0x1403218e3

Function at 0x140321c40
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x268
mov rsi, rdx
mov edi, ecx
mov rax, qword [0x14044f038]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rbx, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.14025c760
mov word [rbx], 0
mov qword [rsp + 0x20], rbx
xor ecx, ecx
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test eax, eax
js 0x140321ccf
lea r14, [rsp + 0x28]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1402831c4
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov rdx, r14
call fcn.14020a650
mov rcx, rsi
mov rdx, rbx
call fcn.14020a880
mov rcx, rbx
call fcn.14020a810
test edi, edi
setns bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14025a610
mov eax, ebx
add rsp, 0x268
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140322200
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 [0x14044f038]
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 0x140322294
mov rsi, r8
mov r14, rcx
lea r15, [rsp + 0x20]
mov rcx, rdi
mov rdx, r15
call fcn.140323040
test al, al
jne 0x14032225c
add rdi, 0x70
cmp rdi, r12
jne 0x140322241
mov rdi, r12
cmp rdi, qword [r14 + 0x58]
je 0x140322294
cmp byte [rdi + 0x27], 0
jns 0x14032226e
mov rcx, qword [rdi + 0x10]
jmp 0x140322272
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 0x140322294
mov qword [rsi], rdi
xor ebx, ebx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14025a610
mov eax, ebx
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x140322420
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rax, qword [0x14044f038]
xor rax, rsp
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov r14, qword [rcx + 0x50]
mov r12, qword [rcx + 0x58]
mov esi, 1
cmp r14, r12
je 0x1403224a8
mov rdi, r9
mov ebp, r8d
mov rbx, rcx
lea r15, [rsp + 0x20]
mov rcx, r14
mov rdx, r15
call fcn.140323040
test al, al
jne 0x140322480
add r14, 0x70
cmp r14, r12
jne 0x140322465
mov r14, r12
cmp r14, qword [rbx + 0x58]
je 0x1403224a8
mov eax, dword [r14 + 0x68]
cmp eax, ebp
jne 0x14032249b
cmp byte [r14 + 0x27], 0
jns 0x1403224c6
mov rcx, qword [r14 + 0x10]
jmp 0x1403224ca
xor ecx, ecx
cmp eax, 1
sete cl
lea esi, [rcx + rcx*2]
inc esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14025a610
mov eax, esi
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [r14 + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1403224a8
shr eax, 3
and eax, 2
mov esi, eax
jne 0x1403224a8
mov byte [rbx + 0x48], 1
mov qword [rdi], r14
xor esi, esi
jmp 0x1403224a8
Function at 0x140332fc0
Capabilities:
Hash data using sha512

Disassembly:
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x38], rax
movabs rax, 0x4000000000
mov qword [rcx + 0xd0], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x40], xmm0
mov eax, 1
ret
Function at 0x140336f00
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x80
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov edx, dword [rsp + 0xe0]
mov rax, qword [0x14044f038]
xor rax, rsp
mov qword [rsp + 0x78], rax
movsxd r8, dword [rcx + 0x18]
lea ecx, [rdx + 4]
mov r11, rcx
shr r11, 6
xor eax, eax
mov r10d, 0
cmp r11, r8
jae 0x140336f5b
mov r10, qword [r9 + r11*8]
shr r10, cl
shl r10d, 5
and r10d, 0x20
lea ecx, [rdx + 3]
mov r11, rcx
shr r11, 6
cmp r11, r8
jae 0x140336f77
mov rax, qword [r9 + r11*8]
shr rax, cl
shl eax, 4
and eax, 0x10
or eax, r10d
lea ecx, [rdx + 2]
mov r14, rcx
shr r14, 6
xor r10d, r10d
mov r11d, 0
cmp r14, r8
jae 0x140336fa1
mov r11, qword [r9 + r14*8]
shr r11, cl
shl r11d, 3
and r11d, 8
or eax, r11d
lea ecx, [rdx + 1]
mov r11, rcx
shr r11, 6
cmp r11, r8
jae 0x140336fc2
mov r10, qword [r9 + r11*8]
shr r10, cl
shl r10d, 2
and r10d, 4
or eax, r10d
mov ecx, edx
mov r11, rcx
shr r11, 6
xor r10d, r10d
cmp r11, r8
jae 0x140336fe4
mov r10, qword [r9 + r11*8]
shr r10, cl
add r10d, r10d
and r10d, 2
or eax, r10d
test edx, edx
je 0x14033700a
dec edx
mov r10, rdx
shr r10, 6
xor ecx, ecx
cmp r10, r8
jae 0x140337008
mov r8, qword [r9 + r10*8]
xor ecx, ecx
bt r8, rdx
setb cl
or eax, ecx
mov r14d, eax
shr r14, 5
lea ecx, [r14 - 1]
neg r14
and ecx, eax
xor eax, 0x3f
mov r15d, r14d
and r15d, eax
or r15d, ecx
mov rax, r15
shr rax, 1
and r15d, 1
add r15, rax
xor r12d, r12d
mov r8d, 0xd8
mov rcx, rsi
xor edx, edx
call fcn.14025c760
mov r13, r15
not r13
mov r8, r12
xor r8, r15
dec r8
and r8, r13
sar r8, 0x3f
mov qword [rsp + 0x20], rsi
mov rcx, rdi
mov rdx, rsi
mov r9, rbx
call fcn.140333de0
inc r12
add rbx, 0xd8
cmp r12, 0x11
jne 0x14033704c
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], rax
movaps xmm0, xmmword [0x1403db8a0]
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
add rsi, 0x48
mov eax, dword [rdi + 0x40]
test eax, eax
jle 0x140337184
xor ecx, ecx
xor edx, edx
or rdx, qword [rsi + rcx*8]
inc rcx
cmp rax, rcx
jne 0x1403370bc
test rdx, rdx
sete dl
test rax, rax
je 0x140337163
movsxd rcx, eax
mov rax, qword [rdi + 0x38]
xor r8d, r8d
lea r9, [rsp + 0x30]
sub r10, r10
jmp 0x1403370f0
mov r10, qword [rax + r8*8]
sbb r10, qword [rsi + r8*8]
mov qword [r9 + r8*8], r10
lea r8, [r8 + 1]
dec rcx
jne 0x1403370f0
sbb r10, r10
movsxd rax, dword [rdi + 0x40]
mov ecx, eax
test rax, rax
jle 0x140337131
xor r8d, r8d
test dl, dl
jne 0x140337121
mov r9, qword [rsp + r8*8 + 0x30]
jmp 0x140337124
xor r9d, r9d
mov qword [rsp + r8*8 + 0x30], r9
inc r8
cmp rcx, r8
jne 0x140337116
test rcx, rcx
je 0x140337163
and r14d, 1
mov rcx, r14
neg rcx
dec r14
xor edx, edx
mov r8, qword [rsp + rdx*8 + 0x30]
and r8, rcx
mov r9, qword [rsi + rdx*8]
and r9, r14
or r9, r8
mov qword [rsi + rdx*8], r9
inc rdx
cmp rax, rdx
jne 0x140337145
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14025a610
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov dl, 1
jmp 0x1403370ce
Function at 0x140356240
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp edx, 0x33ff
jg 0x140356262
add edx, edx
movzx r8d, dx
movzx edx, word [rcx]
cmp r8d, edx
jbe 0x1403562c0
and edx, 1
or edx, 2
lea rcx, [rcx + rdx*2]
jmp 0x14035624e
mov r8d, edx
shr r8d, 9
add r8d, 0x3400
shl edx, 6
and r8d, 0xfffe
mov eax, 0xffffffff
movzx r9d, word [rcx]
cmp r8d, r9d
jbe 0x140356299
and r9d, 1
or r9, 2
mov r10, r9
lea rcx, [rcx + r10*2]
jmp 0x14035627f
mov r10d, r9d
and r10d, 0x7ffe
cmp r8d, r10d
jne 0x1403562bf
movzx r10d, word [rcx + 2]
cmp r10w, dx
jae 0x1403562ec
mov r10d, 3
test r9w, r9w
jns 0x140356293
ret
mov r9d, edx
and r9d, 0x7ffe
mov eax, 0xffffffff
cmp r8d, r9d
jne 0x1403562bf
movzx eax, word [rcx + 2]
test dl, 1
je 0x1403562bf
shl eax, 0x10
mov r10d, eax
movzx eax, word [rcx + 4]
or eax, r10d
jmp 0x1403562bf
xor edx, r10d
test edx, 0xffc0
jne 0x1403562bf
and r10d, 0x3f
shl r10d, 0x10
jmp 0x1403562e3