joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003a4e0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
movzx r9d, byte [r8]
mov r11, rdx
mov rdx, rcx
movabs rax, 0xcbf29ce484222325
xor r9, rax
movabs rcx, 0x100000001b3
movzx eax, byte [r8 + 1]
mov rbx, r8
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 2]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 3]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 4]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 5]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 6]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 7]
mov r8, qword [rdx + 0x18]
imul r9, rcx
xor r9, rax
imul r9, rcx
mov rcx, qword [rdx + 0x30]
mov rdx, qword [rdx + 8]
and rcx, r9
mov rax, rcx
add rax, rax
add rcx, rcx
mov rax, qword [r8 + rax*8]
mov r9, qword [r8 + rcx*8]
lea r10, [r8 + rcx*8]
cmp r9, rdx
jne 0x14003a58f
mov rcx, rdx
jmp 0x14003a596
mov rcx, qword [r10 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x14003a5e6
mov rcx, qword [rbx]
cmp qword [rax + 0x10], rcx
je 0x14003a5a9
mov rax, qword [rax]
jmp 0x14003a585
mov rbx, qword [rbx]
mov rcx, rax
nop
cmp r9, rdx
jne 0x14003a5ba
mov r8, rdx
jmp 0x14003a5c1
mov r8, qword [r10 + 8]
mov r8, qword [r8]
cmp rax, r8
je 0x14003a5d1
cmp rbx, qword [rax + 0x10]
jne 0x14003a5d1
mov rax, qword [rax]
jmp 0x14003a5b0
cmp rcx, rax
je 0x14003a5e6
mov qword [r11 + 8], rax
mov rax, r11
mov qword [r11], rcx
mov rbx, qword [rsp + 8]
ret
mov rbx, qword [rsp + 8]
mov rax, r11
mov qword [r11], rdx
mov qword [r11 + 8], rdx
ret

Function at 0x14003a600
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x20
mov r9, r8
mov r10, rcx
movzx r8d, byte [r8 + 0x10]
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
mov rdi, rdx
xor r8, rax
movzx eax, byte [r9 + 0x11]
mov rdx, qword [r10 + 0x30]
imul r8, rcx
xor r8, rax
movzx eax, byte [r9 + 0x12]
imul r8, rcx
xor r8, rax
movzx eax, byte [r9 + 0x13]
imul r8, rcx
xor r8, rax
movzx eax, byte [r9 + 0x14]
imul r8, rcx
xor r8, rax
movzx eax, byte [r9 + 0x15]
imul r8, rcx
xor r8, rax
movzx eax, byte [r9 + 0x16]
imul r8, rcx
xor r8, rax
movzx eax, byte [r9 + 0x17]
imul r8, rcx
xor r8, rax
imul r8, rcx
mov rcx, qword [r10 + 0x18]
and rdx, r8
shl rdx, 4
add rcx, rdx
cmp qword [rcx + 8], r9
jne 0x14003a6c9
cmp qword [rcx], r9
jne 0x14003a6bf
mov rax, qword [r10 + 8]
mov qword [rcx], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
mov qword [rdx + rcx + 8], rax
jmp 0x14003a6d4
mov rax, qword [r9 + 8]
mov qword [rcx + 8], rax
jmp 0x14003a6d4
cmp qword [rcx], r9
jne 0x14003a6d9
mov rax, qword [r9]
mov qword [rcx], rax
mov r9, qword [rsp + 0x40]
mov rax, qword [r9 + 8]
mov rcx, r9
mov rbx, qword [r9]
mov qword [rax], rbx
mov rdx, qword [r9]
mov rax, qword [r9 + 8]
mov qword [rdx + 8], rax
dec qword [r10 + 0x10]
call fcn.1402dfaa0
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14003ac90
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
movzx r9d, byte [r8]
mov r10, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r9, rax
mov rbx, rdx
movzx eax, byte [r8 + 1]
mov r11, r8
mov rdx, qword [r10 + 0x18]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 2]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 3]
mov r8, qword [r10 + 8]
imul r9, rcx
xor r9, rax
imul r9, rcx
mov rcx, qword [r10 + 0x30]
and rcx, r9
mov rax, rcx
add rax, rax
add rcx, rcx
mov rax, qword [rdx + rax*8]
mov r9, qword [rdx + rcx*8]
lea r10, [rdx + rcx*8]
cmp r9, r8
jne 0x14003ad0f
mov rcx, r8
jmp 0x14003ad16
mov rcx, qword [r10 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x14003ad3e
mov ecx, dword [r11]
cmp dword [rax + 0x10], ecx
je 0x14003ad28
mov rax, qword [rax]
jmp 0x14003ad05
mov ecx, dword [rax + 0x10]
cmp dword [r11], ecx
cmovne rax, r8
mov qword [rbx], rax
mov rax, rbx
mov rbx, qword [rsp + 8]
ret
mov qword [rbx], r8
mov rax, rbx
mov rbx, qword [rsp + 8]
ret

Function at 0x14003ad50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r15, qword [r8 + 0x18]
mov r14, r8
mov rdi, qword [r8 + 0x10]
mov r12, rdx
mov rbp, rcx
cmp r15, 0x10
jb 0x14003ad81
mov r8, qword [r8]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
test rdi, rdi
je 0x14003adb4
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor rdx, rax
imul rdx, r9
cmp rcx, rdi
jb 0x14003ada0
mov rcx, qword [rbp + 0x30]
and rcx, rdx
mov qword [rsp + 0x58], rsi
mov rdx, qword [rbp + 0x18]
mov rax, rcx
mov rbp, qword [rbp + 8]
add rax, rax
mov rbx, qword [rdx + rax*8]
lea rax, [rcx + rcx]
mov r13, qword [rdx + rax*8]
lea rax, [rax + 1]
lea rax, [rdx + rax*8]
mov qword [rsp + 0x50], rax
cmp r13, rbp
jne 0x14003adf1
mov rax, rbp
jmp 0x14003adf7
mov rax, qword [rax]
mov rax, qword [rax]
cmp rbx, rax
je 0x14003ae95
cmp r15, 0x10
jb 0x14003ae0b
mov rdx, qword [r14]
jmp 0x14003ae0e
mov rdx, r14
cmp qword [rbx + 0x28], 0x10
jb 0x14003ae1b
mov rcx, qword [rbx + 0x10]
jmp 0x14003ae1f
lea rcx, [rbx + 0x10]
mov rsi, qword [rbx + 0x20]
mov r8, rdi
cmp rsi, rdi
cmovb r8, rsi
test r8, r8
je 0x14003ae3b
call fcn.1402e2d90
test eax, eax
jne 0x14003ae42
cmp rsi, rdi
jb 0x14003ae42
jbe 0x14003ae4c
mov rbx, qword [rbx]
mov rax, qword [rsp + 0x50]
jmp 0x14003ade7
cmp qword [rbx + 0x28], 0x10
jb 0x14003ae59
mov rdx, qword [rbx + 0x10]
jmp 0x14003ae5d
lea rdx, [rbx + 0x10]
cmp r15, 0x10
jb 0x14003ae66
mov r14, qword [r14]
mov rsi, qword [rbx + 0x20]
cmp rdi, rsi
mov r8, rsi
cmovb r8, rdi
test r8, r8
je 0x14003ae85
mov rcx, r14
call fcn.1402e2d90
test eax, eax
jne 0x14003ae8c
cmp rdi, rsi
jb 0x14003ae8c
jbe 0x14003ae8f
mov rbx, rbp
mov qword [r12], rbx
jmp 0x14003ae99
mov qword [r12], rbp
mov rsi, qword [rsp + 0x58]
mov rax, r12
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140045770
Capabilities:
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14045d5f0]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [rcx + 0x18], 8
mov rdi, rdx
mov rbx, rcx
mov dword [rsp + 0x20], 0
jb 0x1400457a8
mov rsi, qword [rcx]
jmp 0x1400457ab
mov rsi, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400457d6
test al, 0x10
je 0x1400457c4
mov al, 1
jmp 0x140045880
test rdi, rdi
je 0x1400457cf
mov dword [rdi], 0xfffffff7
xor al, al
jmp 0x140045880
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.140026d00
cmp qword [rbx + 0x18], 8
jb 0x1400457ef
mov r8, qword [rbx]
jmp 0x1400457f2
mov r8, rbx
cmp qword [rsp + 0x40], 8
lea rcx, [rsp + 0x28]
mov r9, qword [rbx + 0x10]
cmovae rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x38]
call fcn.140027fe0
test eax, eax
jne 0x140045824
test rdi, rdi
je 0x14004586d
mov dword [rdi], 0xfffffffc
xor bl, bl
jmp 0x140045873
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.140045770
test al, al
je 0x14004586d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140045871
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp eax, 0xb7
jne 0x14004585f
mov rcx, rbx
call fcn.1400464c0
test al, al
jne 0x140045871
test rdi, rdi
je 0x14004586d
mov ecx, esi
call fcn.140030400
mov dword [rdi], eax
xor bl, bl
jmp 0x140045873
mov bl, 1
lea rcx, [rsp + 0x28]
call fcn.140026350
movzx eax, bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1402e0100
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x1400462c0
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x14045d5f0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rax, qword [rcx + 0x10]
xor esi, esi
mov dword [rsp + 0x20], esi
movzx r14d, dl
mov rdi, rcx
mov ebp, esi
test rax, rax
jne 0x1400462fb
mov al, 1
jmp 0x140046495
cmp rax, 0x104
jb 0x14004630a
xor al, al
jmp 0x140046495
lea rdx, [rsp + 0x28]
mov qword [rsp + 0x98], rbx
call fcn.140026c00
mov r9d, 2
lea rdx, [0x1403b26d4]
xor r8d, r8d
mov rcx, rax
call fcn.140046a90
lea rcx, [rsp + 0x28]
mov rbx, rax
call fcn.140026350
cmp rbx, 0xffffffffffffffff
je 0x140046392
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.140026c00
lea rdx, [rsp + 0x28]
mov rcx, rdi
mov rbx, rax
call fcn.140026d00
mov rcx, rax
movzx r8d, r14b
mov rdx, rbx
call fcn.140046110
lea rcx, [rsp + 0x28]
movzx ebx, al
call fcn.140026350
lea rcx, [rsp + 0x48]
call fcn.140026350
movzx eax, bl
jmp 0x14004648d
cmp qword [rdi + 0x18], 8
jb 0x14004639e
mov rcx, qword [rdi]
jmp 0x1400463a1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x1400463b5
mov al, 1
jmp 0x14004648d
test bl, 1
je 0x1400463dc
cmp qword [rdi + 0x18], 8
jb 0x1400463c6
mov rcx, qword [rdi]
jmp 0x1400463c9
mov rcx, rdi
mov edx, ebx
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x14004648b
test bl, 0x10
jne 0x1400463fe
cmp qword [rdi + 0x18], 8
jb 0x1400463eb
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
jmp 0x14004648d
test r14b, r14b
je 0x140046448
mov ebp, 1
mov qword [rsp + 0x40], 7
mov r8d, ebp
mov qword [rsp + 0x38], rsi
lea rdx, [0x1403b26dc]
mov word [rsp + 0x28], si
lea rcx, [rsp + 0x28]
call fcn.14000ef50
movzx r8d, bpl
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.140046110
test al, al
jne 0x140046448
xor bl, bl
jmp 0x14004644a
mov bl, 1
test bpl, 1
je 0x14004646d
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x14004646d
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
inc r8
call fcn.14001ee60
test bl, bl
je 0x14004648b
cmp qword [rdi + 0x18], 8
jb 0x14004647b
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
jmp 0x14004648d
xor al, al
mov rbx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1402e0100
mov rbp, qword [rsp + 0xa0]
add rsp, 0x70
pop r14
pop rdi
pop rsi
ret

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

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 8
jb 0x1400464ce
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400464e4
shr eax, 4
and eax, 1
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret
Function at 0x1400464f0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x14045d5f0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rdi, rcx
lea rdx, [rbp - 0x70]
xor ebx, ebx
mov ecx, 0x104
mov word [rbp - 0x70], bx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x103
ja 0x140046603
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rbx
mov word [rsp + 0x30], bx
cmp word [rbp - 0x70], bx
je 0x14004656b
lea rax, [rbp - 0x70]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140046561
mov r8, rbx
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.14000ef50
cmp qword [rsp + 0x48], 8
lea rax, [rsp + 0x30]
lea rdx, [rsp + 0x20]
cmovae rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
call fcn.1400262d0
mov rcx, rax
lea rdx, [rsp + 0x50]
call fcn.140027df0
mov rdx, rax
mov rcx, rdi
call fcn.140026430
lea rcx, [rsp + 0x50]
call fcn.140026350
lea rcx, [rsp + 0x70]
call fcn.140026350
mov r8, qword [rsp + 0x48]
cmp r8, 8
jb 0x1400465ff
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
inc r8
call fcn.14001ee60
mov al, 1
jmp 0x140046605
xor al, al
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1402e0100
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x140046630
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x280
mov rax, qword [0x14045d5f0]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor r9d, r9d
lea rax, [rsp + 0x60]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x28]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1400466b9
cmp word [rsp + 0x60], 0
je 0x1400466b9
lea rax, [rsp + 0x60]
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
nop dword [rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x140046690
mov qword [rsp + 0x38], rcx
lea rdx, [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x30]
mov rcx, rbx
movdqa xmmword [rsp + 0x30], xmm0
call fcn.1400262d0
jmp 0x140046714
lea rcx, [rsp + 0x40]
call fcn.140026330
lea rcx, [rsp + 0x40]
call fcn.140046730
mov rcx, rbx
test al, al
je 0x1400466e0
lea rdx, [rsp + 0x40]
call fcn.140026270
jmp 0x14004670a
mov qword [rsp + 0x38], 3
lea rax, [0x1403b26e0]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.1400262d0
lea rcx, [rsp + 0x40]
call fcn.140026350
mov rax, rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1402e0100
add rsp, 0x280
pop rbx
ret
Function at 0x140046730
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x290
mov rax, qword [0x14045d5f0]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbx, rcx
lea rdx, [rsp + 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x1400467df
cmp word [rsp + 0x70], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
jne 0x14004677d
xor eax, eax
jmp 0x140046790
lea rcx, [rsp + 0x70]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x140046786
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
movaps xmm0, xmmword [rsp + 0x20]
lea rcx, [rsp + 0x50]
movdqa xmmword [rsp + 0x20], xmm0
call fcn.1400262d0
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.140027df0
mov rdx, rax
mov rcx, rbx
call fcn.140026430
lea rcx, [rsp + 0x30]
call fcn.140026350
lea rcx, [rsp + 0x50]
call fcn.140026350
mov al, 1
jmp 0x1400467e1
xor al, al
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1402e0100
add rsp, 0x290
pop rbx
ret

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

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 8
jb 0x1400469ae
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
add rsp, 0x28
ret

Function at 0x1400469c0
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 8
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
jb 0x1400469e2
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x1400469ec
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x140046a08
mov al, 1
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 0x40], rbp
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140030400
cmp qword [rdi + 0x18], 8
mov ebp, eax
jb 0x140046a26
mov rdi, qword [rdi]
cmp qword [rbx + 0x18], 8
jb 0x140046a30
mov rbx, qword [rbx]
xor eax, eax
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x20], rax
lea r9d, [rax + 2]
call qword [sym.imp.KERNEL32.dll_ReplaceFileW]
test eax, eax
je 0x140046a57
mov al, 1
jmp 0x140046a73
test rsi, rsi
je 0x140046a71
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140030400
cmp eax, 0xfffffffc
cmove eax, ebp
mov dword [rsi], eax
xor al, al
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140047050
Capabilities:
Read file on windows

Disassembly:
or r8, 0xffffffffffffffff
jmp 0x140047060
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r15
sub rsp, 0x20
xor ebp, ebp
mov r15, r8
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
je 0x140047093
cmp qword [rdx + 0x18], 0x10
mov qword [rdx + 0x10], rbp
jb 0x14004708d
mov rax, qword [rdx]
jmp 0x140047090
mov rax, rsi
mov byte [rax], bpl
call fcn.140027bf0
test al, al
je 0x1400470ac
xor al, al
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop rsi
pop rbp
ret
lea rdx, [0x1403b06f8]
mov qword [rsp + 0x48], r14
mov rcx, rbx
call fcn.1400468b0
mov r14, rax
test rax, rax
je 0x14004717e
mov ecx, 0x10000
mov qword [rsp + 0x40], rdi
call fcn.1402e0130
mov r9, r14
mov edx, 1
mov r8d, 0x10000
mov rcx, rax
mov rbx, rax
call fcn.1402ee190
mov rdi, rax
test rax, rax
je 0x14004714c
nop dword [rax]
test rsi, rsi
je 0x140047120
mov rcx, r15
mov r8, rdi
sub rcx, rbp
mov rdx, rbx
cmp rcx, rdi
cmovb r8, rcx
mov rcx, rsi
call fcn.14000e8b0
mov rax, r15
sub rax, rbp
cmp rax, rdi
jb 0x14004715d
mov r9, r14
mov edx, 1
mov r8d, 0x10000
mov rcx, rbx
add rbp, rdi
call fcn.1402ee190
mov rdi, rax
test rax, rax
jne 0x140047100
mov rcx, r14
call fcn.1402ee260
test eax, eax
jne 0x14004715d
mov dil, 1
jmp 0x140047160
xor dil, dil
mov rcx, r14
call fcn.1402ea1c0
test rbx, rbx
je 0x140047175
mov rcx, rbx
call fcn.1402e0e90
movzx eax, dil
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop rsi
pop rbp
ret

Function at 0x140047060
Capabilities:
Read file on windows

Disassembly:
or r8, 0xffffffffffffffff
jmp 0x140047060
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r15
sub rsp, 0x20
xor ebp, ebp
mov r15, r8
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
je 0x140047093
cmp qword [rdx + 0x18], 0x10
mov qword [rdx + 0x10], rbp
jb 0x14004708d
mov rax, qword [rdx]
jmp 0x140047090
mov rax, rsi
mov byte [rax], bpl
call fcn.140027bf0
test al, al
je 0x1400470ac
xor al, al
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop rsi
pop rbp
ret
lea rdx, [0x1403b06f8]
mov qword [rsp + 0x48], r14
mov rcx, rbx
call fcn.1400468b0
mov r14, rax
test rax, rax
je 0x14004717e
mov ecx, 0x10000
mov qword [rsp + 0x40], rdi
call fcn.1402e0130
mov r9, r14
mov edx, 1
mov r8d, 0x10000
mov rcx, rax
mov rbx, rax
call fcn.1402ee190
mov rdi, rax
test rax, rax
je 0x14004714c
nop dword [rax]
test rsi, rsi
je 0x140047120
mov rcx, r15
mov r8, rdi
sub rcx, rbp
mov rdx, rbx
cmp rcx, rdi
cmovb r8, rcx
mov rcx, rsi
call fcn.14000e8b0
mov rax, r15
sub rax, rbp
cmp rax, rdi
jb 0x14004715d
mov r9, r14
mov edx, 1
mov r8d, 0x10000
mov rcx, rbx
add rbp, rdi
call fcn.1402ee190
mov rdi, rax
test rax, rax
jne 0x140047100
mov rcx, r14
call fcn.1402ee260
test eax, eax
jne 0x14004715d
mov dil, 1
jmp 0x140047160
xor dil, dil
mov rcx, r14
call fcn.1402ea1c0
test rbx, rbx
je 0x140047175
mov rcx, rbx
call fcn.1402e0e90
movzx eax, dil
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop rsi
pop rbp
ret
Function at 0x140047880
Capabilities:
Encode data using xor

Disassembly:
cmp rdx, 0x7fffffff
jbe 0x14004788c
xor eax, eax
ret
jmp 0x140062cd0
mov r9d, edx
mov r8, rcx
mov eax, edx
test edx, edx
jle 0x140062dae
test rcx, rcx
je 0x140062dae
mov r10d, edx
sar r9d, 2
and r10d, 3
test r9d, r9d
jle 0x140062d2a
nop dword [rax]
movzx ecx, word [r8]
dec r9d
movzx edx, word [r8 + 2]
add eax, ecx
mov ecx, eax
shl edx, 0xb
shl ecx, 0x10
add r8, 4
xor edx, ecx
xor eax, edx
mov ecx, eax
shr ecx, 0xb
add eax, ecx
test r9d, r9d
jg 0x140062d00
sub r10d, 1
je 0x140062d6e
sub r10d, 1
je 0x140062d5a
cmp r10d, 1
jne 0x140062d81
movzx ecx, word [r8]
movsx edx, byte [r8 + 2]
add eax, ecx
mov ecx, eax
shl edx, 0x12
shl ecx, 0x10
xor edx, ecx
xor eax, edx
mov ecx, eax
shr ecx, 0xb
jmp 0x140062d7f
movzx ecx, word [r8]
add eax, ecx
mov ecx, eax
shl ecx, 0xb
xor eax, ecx
mov ecx, eax
shr ecx, 0x11
jmp 0x140062d7f
movsx ecx, byte [r8]
add eax, ecx
mov ecx, eax
shl ecx, 0xa
xor eax, ecx
mov ecx, eax
shr ecx, 1
add eax, ecx
lea ecx, [rax*8]
xor eax, ecx
mov ecx, eax
shr ecx, 5
add eax, ecx
mov ecx, eax
shl ecx, 4
xor eax, ecx
mov ecx, eax
shr ecx, 0x11
add eax, ecx
mov ecx, eax
shl ecx, 0x19
xor eax, ecx
mov ecx, eax
shr ecx, 6
add eax, ecx
ret
xor eax, eax
ret
Function at 0x1400478d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
mov eax, 0x1350
call fcn.1402e0680
sub rsp, rax
mov rax, qword [0x14045d5f0]
xor rax, rsp
mov qword [rsp + 0x1340], rax
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov eax, dword [0x14045b0c0]
mov ecx, eax
mov dword [rsp + 0x20], eax
cmp eax, 0xffffffff
jne 0x1400479d3
lea rcx, [rsp + 0x20]
call fcn.140062dd0
test al, al
jne 0x14004793b
lea r9, str.PlatformThreadLocalStorage::AllocTLS_key_
lea r8d, [rbx + 0x73]
lea rdx, str..._.._base_threading_thread_local_storage.cc
lea rcx, [rsp + 0x28]
call fcn.14001d1c0
mov ebx, 1
test bl, 1
je 0x14004794d
and ebx, 0xfffffffe
lea rcx, [rsp + 0x28]
call fcn.14001d4f0
mov ecx, dword [rsp + 0x20]
cmp ecx, 0xffffffff
jne 0x1400479b0
lea rcx, [rsp + 0x20]
call fcn.140062dd0
test al, al
je 0x14004796b
cmp dword [rsp + 0x20], 0xffffffff
jne 0x14004798f
or ebx, 2
lea r9, str.PlatformThreadLocalStorage::AllocTLS_key___key___PlatformThreadLocalStorage::TLS_KEY_OUT_OF_INDEXES
mov r8d, 0x7d
lea rdx, str..._.._base_threading_thread_local_storage.cc
lea rcx, [rsp + 0x130]
call fcn.14001d1c0
test bl, 2
je 0x1400479a4
and ebx, 0xfffffffd
lea rcx, [rsp + 0x130]
call fcn.14001d4f0
or ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x20]
or eax, 0xffffffff
lock cmpxchg dword [0x14045b0c0], ecx
mov ecx, dword [rsp + 0x20]
cmp eax, 0xffffffff
je 0x1400479d3
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x14045b0c0]
mov dword [rsp + 0x20], ecx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140047a02
or ebx, 4
lea r9, str._PlatformThreadLocalStorage::GetTLSValue_key_
mov r8d, 0x8f
lea rdx, str..._.._base_threading_thread_local_storage.cc
lea rcx, [rsp + 0x238]
call fcn.14001d1c0
test bl, 4
je 0x140047a14
lea rcx, [rsp + 0x238]
call fcn.14001d4f0
xor edx, edx
lea rcx, [rsp + 0x340]
mov r8d, 0x1000
call fcn.1402e2e70
mov ecx, dword [rsp + 0x20]
lea rdx, [rsp + 0x340]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.1402e0130
mov rbx, rax
lea rdx, [rsp + 0x340]
mov rcx, rax
mov r8d, 0x20
nop dword [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdx]
lea rdx, [rdx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rdx - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub r8, 1
jne 0x140047a60
mov ecx, dword [rsp + 0x20]
mov rdx, rbx
call sub.KERNEL32.dll_TlsSetValue
mov rax, rbx
mov rcx, qword [rsp + 0x1340]
xor rcx, rsp
call fcn.1402e0100
add rsp, 0x1350
pop rbx
ret