joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e5de0
Capabilities:
Delete directory

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
mov ebx, r8d
mov rdi, rcx
mov rax, qword [0x1403a6f68]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rcx, rdx
call fcn.1400eb070
mov r14, rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r15, qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, 0xfde9
xor edx, edx
mov r8, rax
mov r9d, 0xffffffff
call r15
movsxd r12, eax
lea rcx, [r12 + r12]
call fcn.140023c50
mov rsi, rax
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
xor edx, edx
mov r8, r14
mov r9d, 0xffffffff
call r15
test bl, bl
je 0x1400e5ece
mov ecx, 0x8000
mov edx, 2
call fcn.140023bf0
mov rdi, rax
mov qword [rsp + 0x30], rax
lea r8, [0x1402a45b2]
mov edx, 0x7fff
mov rcx, rax
mov r9, rsi
call fcn.140016c80
mov word [rdi + 0xfffe], 0
cmp eax, 0x7fff
ja 0x1400e5ef1
movsxd rbx, eax
mov edx, 0x8000
mov rcx, rsi
call fcn.1402772d8
cmp rax, rbx
jne 0x1400e5ef1
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x30]
call fcn.1400e5f40
mov ebx, eax
jmp 0x1400e5efe
mov rcx, rdi
mov rdx, r14
mov r8b, 1
call fcn.1400ebd30
cmp eax, 1
jne 0x1400e5f08
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne bl
jmp 0x1400e5f15
mov ecx, reloc.WS2_32.dll_WSAGetLastError
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
mov rcx, rdi
call fcn.14026bdf8
jmp 0x1400e5f15
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
mov rcx, rsi
call fcn.14026bdf8
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140262cb0
mov eax, ebx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1400e6210
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rdi, r8
mov rcx, rdx
call fcn.1400eb070
mov rbx, rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r14, qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, 0xfde9
xor edx, edx
mov r8, rax
mov r9d, 0xffffffff
call r14
movsxd r15, eax
lea rcx, [r15 + r15]
call fcn.140023c50
mov rsi, rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
xor edx, edx
mov r8, rbx
mov r9d, 0xffffffff
call r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400e6357
test al, 0x10
je 0x1400e635d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
mov rcx, rsi
xor edx, edx
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x1400e635d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.1400eb070
mov rdi, rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov ecx, 0xfde9
xor edx, edx
mov r8, rax
mov r9d, 0xffffffff
call r14
movsxd r15, eax
lea rcx, [r15 + r15]
call fcn.140023c50
mov rbx, rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
xor edx, edx
mov r8, rdi
mov r9d, 0xffffffff
call r14
mov rcx, rsi
mov rdx, rbx
mov r8d, 8
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne dil
mov rcx, rbx
call fcn.14026bdf8
jmp 0x1400e636a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
mov rcx, rsi
call fcn.14026bdf8
mov eax, edi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1400e6380
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
mov r14, qword [rdx]
mov rax, qword [rdx + 8]
mov ebx, 0x7fff
mov edx, 0x7fff
sub rdx, rax
lea rcx, [r14 + rax*2]
lea r8, [0x1402a45b2]
mov r9, rdi
call fcn.140016c80
mov word [r14 + 0xfffe], 0
test eax, eax
js 0x1400e643b
movsxd r14, eax
sub rbx, qword [rsi + 8]
cmp rbx, r14
jl 0x1400e643b
mov edx, 0x8000
mov rcx, rdi
call fcn.1402772d8
cmp rax, r14
jne 0x1400e643b
add qword [rsi + 8], r14
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, eax
mov al, 1
test ecx, ecx
jne 0x1400e6448
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1400e6446
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, eax
xor eax, eax
cmp edx, 0xffffffff
je 0x1400e6448
mov ecx, edx
and ecx, 1
je 0x1400e6448
and edx, 0xfffffffe
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1400e6446
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
jmp 0x1400e6448
mov ecx, reloc.WS2_32.dll_WSAGetLastError
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400eab90
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call fcn.140278d0c
cdqe
add rsp, 0x28
ret
mov rax, qword [rcx + 0x10]
mov ecx, dword [rax]
jmp 0x1400258a0

Function at 0x1400eaba0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rdi, r8
mov rsi, rdx
mov rax, qword [0x1403a6f68]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rax, qword [rcx + 0x10]
mov ecx, dword [rax]
call fcn.140281ff8
mov rbx, rax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov rcx, rax
mov rdx, rsi
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400eac7e
mov edi, dword [rsp + 0x44]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
je 0x1400eac85
mov ecx, dword [rsp + 0x44]
add rcx, rcx
call fcn.140262cd8
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov ebx, eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov ecx, ebx
xor edx, edx
mov r8, rsi
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r9d, dword [rsp + 0x44]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov ecx, ebx
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
mov rcx, rdi
call fcn.140262f6c
movsxd rdi, esi
jmp 0x1400eac85
mov rdi, 0xffffffffffffffff
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140262cb0
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400eade0
Capabilities:
Clear file content

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, rdx
mov rsi, rcx
mov rax, qword [rcx + 0x10]
mov ecx, dword [rax]
call fcn.140281ff8
xor edi, edi
mov rcx, rax
mov rdx, rbx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400eae2a
mov rax, qword [rsi + 0x10]
mov ecx, dword [rax]
call fcn.140281ff8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne dil
mov eax, edi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400ebd30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov ebx, r8d
mov rax, qword [0x1403a6f68]
xor rax, rsp
mov qword [rsp + 0x90], rax
lea rax, [0x1402cde50]
mov qword [rsp + 0x50], rax
lea r9, [rsp + 0x50]
mov qword [rsp + 0x88], r9
lea rcx, [rsp + 0x40]
mov r8b, 1
call fcn.1400eb0d0
mov rsi, qword [rsp + 0x48]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r14, qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, 0xfde9
xor edx, edx
mov r8, rsi
mov r9d, 0xffffffff
call r14
movsxd r15, eax
lea rcx, [r15 + r15]
call fcn.140023c50
mov rdi, rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
xor edx, edx
mov r8, rsi
mov r9d, 0xffffffff
call r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400ebdf8
mov ebp, eax
test eax, 0x400
jne 0x1400ebe02
shr ebp, 4
and ebp, 1
jmp 0x1400ebe87
mov ebp, 5
jmp 0x1400ebe87
mov ebp, 2
test bl, bl
je 0x1400ebe87
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
mov rcx, rdi
xor edx, edx
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x1400ebe70
mov rbx, rax
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
mov ebp, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x50]
shr eax, 4
and eax, 1
test ebp, ebp
mov ebp, 2
cmovne ebp, eax
jmp 0x1400ebe87
call qword [sym.imp.KERNEL32.dll_GetLastError]
and eax, 0xfffffffe
xor ecx, ecx
cmp eax, 2
sete cl
lea ebp, [rcx + rcx*2]
add ebp, 2
mov rcx, rdi
call fcn.14026bdf8
cmp byte [rsp + 0x40], 0
je 0x1400ebe9e
mov rcx, rsi
call fcn.14026bdf8
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140262cb0
mov eax, ebp
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400ec070
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rax, qword [0x1403a6f68]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea rax, [0x1402cde80]
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x78], r9
lea rcx, [rsp + 0x30]
mov r8b, 1
call fcn.1400eb0d0
mov rdi, qword [rsp + 0x38]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov rbx, qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, 0xfde9
xor edx, edx
mov r8, rdi
mov r9d, 0xffffffff
call rbx
movsxd r14, eax
lea rcx, [r14 + r14]
call fcn.140023c50
mov rsi, rax
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
xor edx, edx
mov r8, rdi
mov r9d, 0xffffffff
call rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400ec132
mov ecx, eax
and ecx, 0x400
je 0x1400ec132
mov rcx, rsi
test al, 0x10
jne 0x1400ec141
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1400ec147
mov ecx, 0x1126
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
jmp 0x1400ec14d
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne dil
mov rcx, rsi
call fcn.14026bdf8
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140262cb0
mov eax, edi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400ec180
Capabilities:
Move file

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rdi, r8
mov rsi, rcx
mov rax, qword [0x1403a6f68]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea r15, [0x1402cde80]
mov qword [rsp + 0x40], r15
lea rbx, [rsp + 0x40]
mov qword [rsp + 0x78], rbx
lea rcx, [rsp + 0x30]
mov r8b, 1
mov r9, rbx
call fcn.1400eb0d0
mov r14, qword [rsp + 0x38]
mov rdx, r14
xor r8d, r8d
call fcn.1400ebd30
test eax, eax
je 0x1400ec1f4
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x1400ec311
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x78], rbx
lea rcx, [rsp + 0x30]
mov rdx, rdi
mov r8b, 1
mov r9, rbx
call fcn.1400eb0d0
mov rbx, qword [rsp + 0x38]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r15, qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, 0xfde9
xor edx, edx
mov r8, r14
mov r9d, 0xffffffff
call r15
movsxd r12, eax
lea rcx, [r12 + r12]
call fcn.140023c50
mov rdi, rax
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
xor edx, edx
mov r8, r14
mov r9d, 0xffffffff
call r15
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov ecx, 0xfde9
xor edx, edx
mov r8, rbx
mov r9d, 0xffffffff
call r15
movsxd r12, eax
lea rcx, [r12 + r12]
call fcn.140023c50
mov r14, rax
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
xor edx, edx
mov r8, rbx
mov r9d, 0xffffffff
call r15
mov rcx, rsi
mov rdx, rbx
call fcn.1400e5740
cmp eax, 1
jne 0x1400ec2e9
mov rdx, rbx
xor r8d, r8d
call fcn.1400ebd30
cmp eax, 2
jne 0x1400ec2e9
mov rdx, rbx
call fcn.1400ec070
test al, al
je 0x1400ec334
mov rcx, rdi
mov rdx, r14
mov r8d, 9
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne sil
mov rcx, r14
call fcn.14026bdf8
mov rcx, rdi
call fcn.14026bdf8
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140262cb0
mov eax, esi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x1400ec301
Function at 0x1400ec340
Capabilities:
Move file

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rbx, r8
mov rdi, rcx
mov rax, qword [0x1403a6f68]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea r13, [0x1402cde80]
mov qword [rsp + 0x40], r13
lea r14, [rsp + 0x40]
mov qword [rsp + 0x78], r14
lea rcx, [rsp + 0x30]
mov r8b, 1
mov r9, r14
call fcn.1400eb0d0
mov r15, qword [rsp + 0x38]
mov rdx, r15
xor r8d, r8d
call fcn.1400ebd30
cmp eax, 2
jne 0x1400ec4cc
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r12, qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, 0xfde9
xor edx, edx
mov r8, r15
mov r9d, 0xffffffff
call r12
movsxd rbp, eax
lea rcx, [rbp*2]
call fcn.140023c50
mov rsi, rax
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
xor edx, edx
mov r8, r15
mov r9d, 0xffffffff
call r12
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x78], r14
lea rcx, [rsp + 0x30]
mov rdx, rbx
mov r8b, 1
mov r9, r14
call fcn.1400eb0d0
mov r14, qword [rsp + 0x38]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov ecx, 0xfde9
xor edx, edx
mov r8, r14
mov r9d, 0xffffffff
call r12
movsxd r15, eax
lea rcx, [r15 + r15]
call fcn.140023c50
mov rbx, rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
xor edx, edx
mov r8, r14
mov r9d, 0xffffffff
call r12
mov rcx, rdi
mov rdx, r14
call fcn.1400e5740
cmp eax, 1
jne 0x1400ec4a2
mov rdx, r14
xor r8d, r8d
call fcn.1400ebd30
cmp eax, 2
jne 0x1400ec4a2
mov rdx, r14
call fcn.1400ec070
test al, al
je 0x1400ec4ff
mov rcx, rsi
mov rdx, rbx
mov r8d, 9
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne dil
mov rcx, rbx
call fcn.14026bdf8
mov rcx, rsi
call fcn.14026bdf8
jmp 0x1400ec4d9
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140262cb0
mov eax, edi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor edi, edi
jmp 0x1400ec4ba
Function at 0x1400edd10
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1403a6f68]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ecx, 0x18
call fcn.140262f30
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rsi
lea rcx, [rsp + 0x34]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
lea r8, [0x1400eddb0]
xor esi, esi
xor ecx, ecx
mov edx, 0x100000
mov r9, rax
call fcn.1402829a0
lea rcx, [rax + 1]
cmp rcx, 1
ja 0x1400edd81
call fcn.140276810
mov esi, dword [rax]
jmp 0x1400edd8a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140262cb0
mov eax, esi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400ee410
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
mov rsi, rdx
mov ebx, ecx
mov rax, qword [0x1403a6f68]
xor rax, rsp
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x44]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rdi, rax
test rax, rax
je 0x1400ee4f7
mov eax, dword [rsp + 0x44]
cmp eax, ebx
jle 0x1400ee466
mov dword [rsp + 0x44], ebx
mov eax, ebx
test eax, eax
jle 0x1400ee4ee
xor r12d, r12d
xorps xmm6, xmm6
mov r13, qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
nop dword [rax + rax]
mov rbx, qword [rdi + r12*8]
movups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov ecx, 0xfde9
xor edx, edx
mov r8, rbx
mov r9d, 0xffffffff
call r13
movsxd r14, eax
mov rcx, r14
call fcn.140023c50
mov r15, rax
movups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
xor edx, edx
mov r8, rbx
mov r9d, 0xffffffff
call r13
mov qword [rsi + r12*8], r15
inc r12
movsxd rax, dword [rsp + 0x44]
cmp r12, rax
jl 0x1400ee480
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140262cb0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14010ae00
Capabilities:
Enumerate process modules

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
mov eax, 0x2040
call fcn.140262f90
sub rsp, rax
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1403a6f68]
xor rax, rsp
mov qword [rsp + 0x2038], rax
cmp qword [0x1403a9bb0], 0
jne 0x14010ae51
mov ecx, 8
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov qword [0x1403a9bb0], rax
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, 0x410
xor edx, edx
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
je 0x14010aede
mov rbx, rax
lea rdx, [rsp + 0x30]
lea r9, [rsp + 0x2c]
mov rcx, rax
mov r8d, 0x2000
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x14010aebf
cmp dword [rsp + 0x2c], 8
jb 0x14010aebf
xor r14d, r14d
mov r15, qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax]
mov rcx, qword [rsp + r14*8 + 0x30]
mov rdx, rdi
call r15
test rax, rax
jne 0x14010af14
inc r14
mov eax, dword [rsp + 0x2c]
shr eax, 3
cmp r14, rax
jb 0x14010aea0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.None_of_the_loaded_modules_contained_the_requested_symbol__s.
xor r14d, r14d
xor ecx, ecx
mov r8, rdi
call fcn.14018d4c0
jmp 0x14010aeef
lea rdx, str.Failed_to_open_current_process.
xor r14d, r14d
xor ecx, ecx
call fcn.14018d4c0
mov qword [rsi], rax
mov rcx, qword [rsp + 0x2038]
xor rcx, rsp
call fcn.140262cb0
mov rax, r14
add rsp, 0x2040
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov r14, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14010aef2
Function at 0x14012f850
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov eax, dword [0x1403aea80]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rsi, qword [rax + 8]
test rsi, rsi
je 0x14012f8b8
mov rcx, qword [rsi + 0x698]
lea rax, [0x1403a9eb8]
test rcx, rcx
je 0x14012f91a
mov rdx, qword [0x1403a9ea8]
test rdx, rdx
je 0x14012f8e3
mov rcx, qword [rcx + 0x380]
mov rcx, qword [rcx + 8]
mov rdi, rax
call fcn.140266ba0
mov rcx, rax
mov rax, rdi
test rcx, rcx
jne 0x14012f912
jmp 0x14012f91a
mov ecx, dword [0x1403a4f00]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14012f8dc
cmp byte [rax + 8], 0
jne 0x14012f916
mov rcx, rax
call fcn.140049860
test rax, rax
jne 0x14012f916
call fcn.14018c690
jmp 0x14012f916
mov rdx, qword [0x1403a9c20]
test rdx, rdx
je 0x14012f8fa
mov rdx, qword [rdx + 0x50]
cmp rdx, rcx
jne 0x14012f901
jmp 0x14012f912
xor edx, edx
cmp rdx, rcx
je 0x14012f912
mov rdi, rax
call fcn.1401292e0
mov ecx, eax
mov rax, rdi
test cl, cl
jne 0x14012f91a
mov rax, qword [rsi + 0x10]
mov rax, qword [rax + 0x38]
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x140145d50
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx + 7]
sar rax, 1
mov rdx, qword [rcx - 1]
and edx, 0xfffff000
cmp edx, 0x5d000
je 0x140145d7b
mov rdx, qword [rcx - 1]
and edx, 0xfffff000
cmp edx, 0x5f000
jne 0x140145db4
mov rdx, qword [rcx - 1]
and edx, 0xfffff000
cmp edx, 0x5d000
jne 0x140145d98
add rcx, 0xf
test rax, rax
jg 0x140145da1
jmp 0x140145dd7
mov rcx, qword [rcx + 0xf]
test rax, rax
jle 0x140145dd7
mov edx, eax
and edx, 3
cmp rax, 4
jae 0x140145dde
xor r8d, r8d
jmp 0x140145e69
mov rdx, qword [rcx - 1]
and edx, 0xfffff000
cmp edx, 0x5e000
jne 0x140145ea9
add rcx, 0xf
test rax, rax
jg 0x140145eb6
xor eax, eax
jmp 0x140145f88
movabs r8, 0x7ffffffffffffffc
and rax, r8
xor r8d, r8d
nop
movzx r9d, byte [rcx]
add r9d, r8d
mov r8d, r9d
shl r8d, 0xa
add r8d, r9d
mov r9d, r8d
shr r9d, 6
xor r9d, r8d
movzx r8d, byte [rcx + 1]
add r8d, r9d
mov r9d, r8d
shl r9d, 0xa
add r9d, r8d
mov r8d, r9d
shr r8d, 6
xor r8d, r9d
movzx r9d, byte [rcx + 2]
add r9d, r8d
mov r8d, r9d
shl r8d, 0xa
add r8d, r9d
mov r9d, r8d
shr r9d, 6
xor r9d, r8d
movzx r8d, byte [rcx + 3]
add r8d, r9d
mov r9d, r8d
shl r9d, 0xa
add r9d, r8d
mov r8d, r9d
shr r8d, 6
xor r8d, r9d
add rcx, 4
add rax, 0xfffffffffffffffc
jne 0x140145df0
test rdx, rdx
je 0x140145f84
xor eax, eax
nop word cs:[rax + rax]
movzx r9d, byte [rcx + rax]
add r9d, r8d
mov r10d, r9d
shl r10d, 0xa
add r10d, r9d
mov r8d, r10d
shr r8d, 6
xor r8d, r10d
inc rax
cmp rdx, rax
jne 0x140145e80
jmp 0x140145f84
mov rcx, qword [rcx + 0xf]
test rax, rax
jle 0x140145dd7
mov edx, eax
and edx, 3
cmp rax, 4
jae 0x140145ec9
xor r8d, r8d
jmp 0x140145f59
movabs r8, 0x7ffffffffffffffc
and rax, r8
xor r8d, r8d
nop dword [rax]
movzx r9d, word [rcx]
add r9d, r8d
mov r8d, r9d
shl r8d, 0xa
add r8d, r9d
mov r9d, r8d
shr r9d, 6
xor r9d, r8d
movzx r8d, word [rcx + 2]
add r8d, r9d
mov r9d, r8d
shl r9d, 0xa
add r9d, r8d
mov r8d, r9d
shr r8d, 6
xor r8d, r9d
movzx r9d, word [rcx + 4]
add r9d, r8d
mov r8d, r9d
shl r8d, 0xa
add r8d, r9d
mov r9d, r8d
shr r9d, 6
xor r9d, r8d
movzx r8d, word [rcx + 6]
add r8d, r9d
mov r9d, r8d
shl r9d, 0xa
add r9d, r8d
mov r8d, r9d
shr r8d, 6
xor r8d, r9d
add rcx, 8
add rax, 0xfffffffffffffffc
jne 0x140145ee0
test rdx, rdx
je 0x140145f84
xor eax, eax
movzx r9d, word [rcx + rax*2]
add r9d, r8d
mov r10d, r9d
shl r10d, 0xa
add r10d, r9d
mov r8d, r10d
shr r8d, 6
xor r8d, r10d
inc rax
cmp rdx, rax
jne 0x140145f60
lea eax, [r8 + r8*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
mov eax, ecx
shl eax, 0xf
add eax, ecx
and eax, 0x3fffffff
cmp eax, 1
adc eax, 0
ret
Function at 0x1401610d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov rax, qword [0x1403a6f68]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov eax, dword [0x1403aea80]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 8]
mov rcx, qword [rax + 0x698]
mov rcx, qword [rcx + 0x20]
mov rdx, qword [rcx + 0x4e0]
mov rcx, qword [rax + 0x18]
call fcn.1401613b0
mov qword [rsp + 0x20], r14
mov rcx, qword [r14 + 8]
test byte [rcx + 7], 2
cmove rax, r14
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
pcmpeqd xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], 0xffffffffffffffff
lea rcx, [rsp + 0x20]
call fcn.140161280
test al, al
je 0x14016125c
lea r15, [rsp + 0x20]
lea r12, [0x1402acde9]
lea r13, [0x140305c3e]
nop dword [rax + rax]
mov r8d, dword [rsp + 0x38]
add r8, rdi
mov rcx, rbx
lea rdx, str.0x_.8llx:
call fcn.1400244b0
mov rbp, qword [rsp + 0x48]
test rbp, rbp
js 0x1401611d0
add rbp, qword [rsp + 0x50]
jg 0x1401611e4
jmp 0x140161240
mov rcx, r15
call fcn.14017d900
mov rbp, qword [rsp + 0x48]
add rbp, qword [rsp + 0x50]
jle 0x140161240
xor r14d, r14d
jmp 0x140161200
mov rcx, rbx
call fcn.140024620
inc r14
cmp rbp, r14
je 0x140161240
cmp qword [rsp + 0x48], 0
jns 0x140161210
mov rcx, r15
call fcn.14017d900
mov rax, r14
shr rax, 3
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 8]
add rcx, qword [rsp + 0x58]
movzx eax, byte [rax + rcx + 0xb]
mov ecx, r14d
and ecx, 7
bt eax, ecx
mov rdx, r12
jae 0x1401611f0
mov rdx, r13
jmp 0x1401611f0
mov rcx, r15
call fcn.140161280
test al, al
je 0x14016125c
mov rcx, rbx
mov rdx, rsi
call fcn.140024620
jmp 0x1401611a0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140262cb0
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret