joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400733f0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xc8
mov edi, r8d
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0x60]
mov qword [r15 + 0x50], rax
movaps xmm0, xmmword [0x140270690]
movaps xmmword [r15 + 0x40], xmm0
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea rdx, [0x1402758f6]
lea r8, str....._base_files_file_util_win.cc
lea r12, [rsp + 0x40]
mov rcx, r12
mov r9d, 0x3a8
call fcn.140120f60
xor esi, esi
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.140121610
cmp byte [rbx + 0x17], 0
jns 0x140073487
mov rbx, qword [rbx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
mov rcx, rbx
mov edx, 0x40000000
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
test rax, rax
je 0x1400734de
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp r15, 0xffffffffffffffff
je 0x1400735c3
call fcn.140105b90
mov rsi, r15
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, 0xffffffff
test edi, edi
js 0x14007352c
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14007352c
lea rbx, [rsp + 0x40]
mov dword [rbx], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov rcx, rsi
mov rdx, r14
mov r8d, edi
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [rbx]
xor edx, edx
cmp eax, 1
sbb edx, edx
cmp ecx, edi
mov ebx, 0xffffffff
cmove ebx, ecx
or ebx, edx
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14007355b
call fcn.140105b90
cmp qword [0x1402a45d0], 0
je 0x140073588
mov rcx, qword [0x1402a45d0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rsi
call qword [case.0x1401e7f70.0]
lea rcx, [rsp + 0x60]
call fcn.140120f80
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14017e7b0
mov eax, ebx
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14027d081]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400735d0
lea rcx, [sym.Maxthon.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1400735ca
call qword [case.0x1401e7f70.0]
mov rcx, rax
xor edx, edx
call fcn.140005a10
jmp 0x140073545
xor esi, esi
jmp 0x1400734d6
xor ecx, ecx
mov dl, 1
jmp 0x1400735bc
xor ecx, ecx
jmp 0x1400735ba
Function at 0x1400735e0
Capabilities:
Set current directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rcx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x50], rax
movaps xmm0, xmmword [0x140270690]
movaps xmmword [rsi + 0x40], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, [0x140275915]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x3f1
call fcn.140120f60
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140121610
cmp byte [rdi + 0x17], 0
jns 0x140073664
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
mov rcx, rsi
call fcn.140120f80
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14017e7b0
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400736a0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0x50]
mov qword [r12 + 0x50], rax
movaps xmm0, xmmword [0x140270690]
movaps xmmword [r12 + 0x40], xmm0
movaps xmmword [r12 + 0x30], xmm0
movaps xmmword [r12 + 0x20], xmm0
movaps xmmword [r12 + 0x10], xmm0
movaps xmmword [r12], xmm0
lea rdx, str.Read
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x3e
call fcn.140120f60
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.140121610
mov ebp, 0xffffffff
test r14, r14
js 0x140073782
test esi, esi
js 0x140073782
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], r15
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400737b0
mov ebp, dword [rsp + 0x2c]
test ebp, ebp
js 0x1400737c3
lea rcx, [rsp + 0x50]
call fcn.140120f80
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14017e7b0
mov eax, ebp
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebp, ebp
cmp eax, 0x26
setne bpl
neg ebp
jmp 0x140073782
int3
Function at 0x1400737d0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov esi, r8d
mov rbx, rdx
mov r14, rcx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0x50]
mov qword [r15 + 0x50], rax
movaps xmm0, xmmword [0x140270690]
movaps xmmword [r15 + 0x40], xmm0
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea rdx, str.WriteAtCurrentPos
lea r8, str....._base_files_file_win.cc
lea r12, [rsp + 0x30]
mov rcx, r12
mov r9d, 0x93
call fcn.140120f60
xor edi, edi
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.140121610
test esi, esi
js 0x1400738be
lea r15, [rsp + 0x30]
mov dword [r15], 0xaaaaaaaa
mov rcx, qword [r14]
mov qword [rsp + 0x20], 0
mov rdx, rbx
mov r8d, esi
mov r9, r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
sbb edi, edi
or edi, dword [r15]
lea rcx, [rsp + 0x50]
call fcn.140120f80
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14017e7b0
mov eax, edi
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov edi, 0xffffffff
jmp 0x140073891

Function at 0x1400738d0
Capabilities:
Get file size

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rcx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x50], r15
movaps xmm0, xmmword [0x140270690]
movaps xmmword [rsi + 0x40], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.GetLength
lea r8, str....._base_files_file_win.cc
lea r14, [rsp + 0x20]
mov rcx, r14
mov r9d, 0xa8
call fcn.140120f60
xor ebx, ebx
mov rcx, rsi
mov rdx, r14
xor r8d, r8d
call fcn.140121610
mov qword [r14], r15
mov rcx, qword [rdi]
lea rdi, [rsp + 0x20]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp eax, 1
sbb rbx, rbx
or rbx, qword [rdi]
mov rcx, rsi
call fcn.140120f80
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14017e7b0
mov rax, rbx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140073b00
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rdx]
mov qword [rdx], 0
lea r12, [r15 + 1]
cmp r12, 2
jb 0x140073b2c
call fcn.140105b90
mov qword [rsi], 0
test r15, r15
je 0x140073b62
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140073b89
cmp r12, 2
jb 0x140073b5a
mov qword [rsi], r15
call fcn.140105b90
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov al, byte [rdi + 8]
mov byte [rsi + 8], al
mov byte [rdi + 8], 0
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x140073bba
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.140105b90
mov r14, qword [rsi]
cmp qword [0x1402a45d0], 0
je 0x140073beb
mov rcx, qword [0x1402a45d0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x1401e7f70.0]
mov qword [rsi], 0
jmp 0x140073b4c
call fcn.140105b90
mov rbx, qword [rdi]
cmp qword [0x1402a45d0], 0
je 0x140073c2f
mov rcx, qword [0x1402a45d0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [case.0x1401e7f70.0]
mov qword [rdi], 0
jmp 0x140073b78
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14027d081]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140073c73
lea rcx, [sym.Maxthon.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140073c29
call qword [case.0x1401e7f70.0]
mov rcx, rax
xor edx, edx
call fcn.140005a10
jmp 0x140073b9b
xor ecx, ecx
mov dl, 1
jmp 0x140073c1f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14027d081]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140073c77
lea rcx, [sym.Maxthon.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140073c6d
call qword [case.0x1401e7f70.0]
mov rcx, rax
xor edx, edx
call fcn.140005a10
jmp 0x140073bcc
xor ecx, ecx
mov dl, 1
jmp 0x140073c63
xor ecx, ecx
jmp 0x140073c1d
xor ecx, ecx
jmp 0x140073c61
Function at 0x140073f70
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, qword [rcx]
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1400740ed
mov rdi, rcx
cmp dword [rcx + 8], 1
jne 0x1400740f1
mov qword [rdi], 0
call fcn.140105b90
test rsi, rsi
je 0x140073fcd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.140105b90
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x40]
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ecx, ecx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], 5
mov rcx, rax
mov rdx, rsi
mov r8, rax
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov ebx, eax
test eax, eax
je 0x14007404e
mov r14, qword [rsp + 0x40]
cmp qword [rdi], r14
je 0x140074047
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x140074093
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14007403f
mov qword [rdi], r14
call fcn.140105b90
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [rdi + 8], 0
test ebx, ebx
setne dil
call fcn.140105b90
cmp qword [0x1402a45d0], 0
je 0x1400740a9
mov rcx, qword [0x1402a45d0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rsi
call qword [case.0x1401e7f70.0]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14017e7b0
mov eax, edi
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
call fcn.140105b90
mov rcx, qword [rdi]
call fcn.1401651a0
mov qword [rdi], 0
jmp 0x14007402d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14027d081]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400740f4
lea rcx, [sym.Maxthon.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1400740e7
call qword [case.0x1401e7f70.0]
mov rcx, rax
xor edx, edx
call fcn.140005a10
jmp 0x140074063
xor ecx, ecx
mov dl, 1
jmp 0x1400740dd
xor edi, edi
jmp 0x140074079
int3
xor ecx, ecx
jmp 0x1400740db
Function at 0x140074400
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov edi, 2
cmp rdx, 1
jne 0x140074430
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x14007443e
mov rcx, rsi
mov rdx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14002b0e0
lea rax, [rdx - 1]
test rdx, rax
jne 0x140074454
mov rdi, rdx
jmp 0x140074415
jae 0x140074541
mov rax, qword [rsi + 0x18]
test rax, rax
js 0x140074461
cvtsi2ss xmm0, rax
jmp 0x140074476
mov rcx, rdx
call fcn.14011dd70
mov rdi, rax
jmp 0x140074415
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rsi + 0x20]
call fcn.14019b6a8
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x14025dc48]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rbx, 3
jb 0x140074529
mov rax, rbx
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, rbx
sub rax, rcx
movabs rcx, 0x3333333333333333
mov r8, rax
shr r8, 2
and rax, rcx
and r8, rcx
add r8, rax
mov rax, r8
shr rax, 4
add rax, r8
movabs rcx, 0xf0f0f0f0f0f0f0f
and rcx, rax
movabs rax, 0x101010101010101
imul rax, rcx
shr rax, 0x38
cmp eax, 1
ja 0x140074529
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 0x140074531
mov rcx, rdx
call fcn.14011dd70
cmp rdi, rax
cmovbe rdi, rax
cmp rdi, rbx
jb 0x14007441e
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x140074550
Capabilities:
Print debug messages

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, rcx
lea rdi, [rsp + 0x68]
mov qword [rdi], rdx
mov qword [rdi + 8], r8
mov qword [rdi + 0x10], r9
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
call fcn.14010a980
mov rcx, qword [rax]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0
lea rdi, [0x1402a2c20]
mov r8d, 0x400
mov rdx, rdi
mov r9, rsi
call fcn.14017ba88
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14017e7b0
nop
add rsp, 0x48
pop rdi
pop rsi
ret
Function at 0x140074c10
Capabilities:
Hash data using sha256

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, r8
mov rbx, rdx
mov r14, rcx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov ecx, pe_nt_image_headers64
call fcn.14017b1d8
mov rdi, rax
lea rax, [0x14026e4e8]
mov qword [rdi], rax
lea rax, [0x14004f670]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x1402a4610]
lea rdx, [0x1400d6e60]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140074d08
xorps xmm0, xmm0
movups xmmword [rdi + 0x64], xmm0
movups xmmword [rdi + 0x58], xmm0
movups xmmword [rdi + 0x48], xmm0
movups xmmword [rdi + 0x38], xmm0
movups xmmword [rdi + 0x28], xmm0
movaps xmm0, xmmword [0x140278a10]
movups xmmword [rdi + 8], xmm0
movaps xmm0, xmmword [0x140278a20]
movups xmmword [rdi + 0x18], xmm0
mov dword [rdi + 0x74], 0x20
mov rdx, qword [r14]
mov r8, qword [r14 + 8]
mov rax, qword [0x14026e4f0]
mov rcx, rdi
call qword [case.0x1401e7f70.0]
mov rax, qword [rdi]
mov rax, qword [rax + 0x10]
mov rcx, rdi
mov rdx, rbx
mov r8, rsi
call qword [case.0x1401e7f70.0]
test rdi, rdi
je 0x140074cf0
mov rax, qword [rdi]
mov rax, qword [rax]
mov rcx, rdi
mov edx, 1
call qword [case.0x1401e7f70.0]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14017e7b0
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.14017b5a8
int3
Function at 0x140075ea0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov eax, dword [0x1402a4570]
mov ecx, dword [0x14029dfe4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140076057
mov ecx, dword [0x14029bf80]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140075f08
mov rcx, qword [0x1402a4560]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [0x1402a4568]
mov rdx, qword [0x1402a4560]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov eax, dword [0x1402a0e38]
mov ecx, dword [0x14029dfe4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140076009
mov ecx, dword [0x14029bf80]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140075f67
mov rcx, qword [0x1402a0e28]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [0x1402a0e30]
mov rdx, qword [0x1402a0e28]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x140075f7a
lock dec dword [rcx + 8]
je 0x1400760af
mov rsi, qword [rsi]
test rsi, rsi
je 0x140075fd6
lock dec dword [rsi + 8]
jne 0x140075fd6
mov rcx, qword [rsi]
mov rax, qword [rcx + 8]
lea rdx, [0x1401e6bb0]
cmp qword [rcx + 0x10], rdx
jne 0x140075ff1
lea rcx, [0x140203760]
cmp rax, rcx
jne 0x140075ff1
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x140075fba
lock dec dword [rcx]
je 0x1400760a5
mov rdi, qword [rsi + 0x10]
test rdi, rdi
je 0x140075fc8
lock dec dword [rdi]
je 0x140075fde
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14017b254
nop
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [rdi + 8]
call fcn.1400091b0
mov rcx, rdi
call fcn.14017b254
jmp 0x140075fc8
mov r8, qword [case.0x1401e7f70.0]
mov rcx, rsi
mov edx, 1
add rsp, 0x28
pop rdi
pop rsi
jmp r8
lea rcx, [0x1402a0e38]
call fcn.14017b2bc
cmp dword [0x1402a0e38], 0xffffffff
jne 0x140075f2d
mov qword [0x1402a0e30], 0
lea rcx, [0x1402a0e28]
mov qword [0x1402a0e28], 0xffffffffffffffff
xor edx, edx
call fcn.140002850
lea rcx, [0x1402a0e38]
call fcn.14017b25c
jmp 0x140075f2d
lea rcx, [0x1402a4570]
call fcn.14017b2bc
cmp dword [0x1402a4570], 0xffffffff
jne 0x140075ece
mov qword [0x1402a4568], 0
lea rcx, [0x1402a4560]
mov qword [0x1402a4560], 0xffffffffffffffff
xor edx, edx
call fcn.140002850
lea rcx, [0x1402a4570]
call fcn.14017b25c
jmp 0x140075ece
call fcn.14017b254
jmp 0x140075fba
call fcn.140123c50
jmp 0x140075f7a
Function at 0x140076340
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1402a45c8]
mov ecx, dword [0x14029dfe4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400763a5
mov ecx, dword [0x14029bf80]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400763ee
mov rcx, qword [0x1402a45b8]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x1402a45c0]
jne 0x1400763ee
mov rax, qword [rax + rcx]
lea ecx, [rax - 1]
test rax, rax
mov eax, 2
cmovne eax, ecx
add rsp, 0x28
ret
lea rcx, [0x1402a45c8]
call fcn.14017b2bc
cmp dword [0x1402a45c8], 0xffffffff
jne 0x140076365
mov qword [0x1402a45b8], 0xffffffffffffffff
lea rcx, [0x1402a45b8]
mov dword [0x1402a45c0], 0
xor edx, edx
call fcn.140002850
lea rcx, [0x1402a45c8]
call fcn.14017b25c
jmp 0x140076365
xor eax, eax
jmp 0x140076392
Function at 0x140078120
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rdi, rdx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x30], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x28]
mov qword [rsi], rax
mov rdx, rsi
call fcn.140063130
mov rax, qword [rsi]
test rax, rax
je 0x140078197
mov rbx, qword [rax + 0x50]
mov r15, qword [rax + 0x58]
xor esi, esi
cmp rbx, r15
jne 0x14007819e
lea rcx, [rsp + 0x28]
call fcn.1400627f0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14017e7b0
mov eax, esi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 3
jmp 0x140078170
mov r12, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [rbx + 0x68], 2
jne 0x1400781ce
cmp byte [rbx + 0x27], 0
jns 0x1400781b7
mov rcx, qword [rbx + 0x10]
jmp 0x1400781bb
lea rcx, [rbx + 0x10]
call r12
test al, 0x10
jne 0x1400781ce
mov r14, qword [rdi + 8]
cmp r14, qword [rdi + 0x10]
jne 0x1400781d9
jmp 0x1400781ee
add rbx, 0x70
cmp rbx, r15
je 0x140078170
jmp 0x1400781a5
mov rcx, r14
mov rdx, rbx
call fcn.1400d87f0
add r14, 0x68
mov qword [rdi + 8], r14
jmp 0x1400781ce
mov rcx, rdi
mov rdx, rbx
call fcn.1400d85d0
jmp 0x1400781ce

Function at 0x140079580
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov eax, dword [0x1402a54f8]
mov ecx, dword [0x14029dfe4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400796a2
mov ecx, dword [0x14029bf80]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400795df
mov rcx, qword [0x1402a54e8]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x1402a54f0]
jne 0x1400795df
cmp qword [rax + rcx], 0
jne 0x14007966a
mov ecx, 4
call fcn.14017b1d8
mov rsi, rax
mov dword [rax], 0
mov ecx, dword [0x14029bf80]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14007970c
mov rcx, qword [0x1402a54e8]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x1402a54f0]
jne 0x14007970c
mov rdi, qword [rax + rcx]
mov ecx, dword [0x14029bf80]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400796f5
mov rcx, qword [0x1402a54e8]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [0x1402a54f0]
mov rdx, qword [0x1402a54e8]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
test rdi, rdi
jne 0x140079713
mov ecx, dword [0x14029bf80]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140079708
mov rcx, qword [0x1402a54e8]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x1402a54f0]
jne 0x140079708
mov rax, qword [rax + rcx]
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x1402a54f8]
call fcn.14017b2bc
cmp dword [0x1402a54f8], 0xffffffff
jne 0x1400795ab
mov qword [0x1402a54f0], 0
lea rcx, [0x1402a54e8]
mov qword [0x1402a54e8], 0xffffffffffffffff
lea rdx, [0x140076c10]
call fcn.140002850
lea rcx, [0x1402a54f8]
call fcn.14017b25c
jmp 0x1400795ab
test rsi, rsi
je 0x140079661
call fcn.140002990
jmp 0x14007963d
xor eax, eax
jmp 0x14007969b
xor edi, edi
jmp 0x140079627
mov rcx, rdi
call fcn.14017b254
jmp 0x14007966a
Function at 0x14007a760
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14007a780
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
repz ret

Function at 0x14007a7c0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14007a7e0
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
repz ret

Function at 0x14007a820
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14007a843
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
repz ret

Function at 0x14007a8a0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14007a8c3
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
repz ret

Function at 0x14007a920
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
xorps xmm5, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
nop dword [rax]
add rax, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14007a949
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
repz ret