joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002bdf0
Capabilities:
Timestomp file

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xb0
mov eax, r9d
mov rsi, rcx
mov edi, dword [rsp + 0xf0]
mov rcx, qword [0x1402f4538]
xor rcx, rsp
mov qword [rsp + 0xa8], rcx
mov r9d, 4
test dil, 4
jne 0x14002be33
movsxd rcx, r8d
lea r8, [0x140243cb8]
mov r9d, dword [r8 + rcx*4]
bswap eax
mov ecx, eax
and ecx, 0x1000000
shl ecx, 7
shl eax, 5
and eax, 0x40000000
or eax, ecx
mov ecx, edi
and ecx, 8
shl ecx, 0xd
or ecx, eax
mov eax, edi
and eax, 0x20
lea eax, [rcx + rax*8]
mov ecx, edi
and ecx, 0x10
shr ecx, 4
mov byte [rsp + 0x30], cl
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0x80
lea rcx, [rsp + 0x90]
lea r8, [rsp + 0xa0]
call fcn.14002bf80
cmp dword [rsp + 0x90], 0
je 0x14002bec3
movups xmm0, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x88]
lea rdx, [rsp + 0x70]
call fcn.14001a120
or byte [rsi + 8], 1
mov rax, qword [rsp + 0x88]
mov qword [rsi], rax
jmp 0x14002bf19
test dil, 0x20
jne 0x14002bed3
mov rdi, qword [rsp + 0xa0]
jmp 0x14002bf12
lea rdi, [rsp + 0x58]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
lea rdx, [rsp + 0x68]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov rdi, qword [rsp + 0xa0]
test eax, eax
je 0x14002bf37
lea r8, [rsp + 0x68]
mov rcx, rdi
xor edx, edx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
je 0x14002bf37
and byte [rsi + 8], 0xfe
mov qword [rsi], rdi
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140241350
mov rax, rsi
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov edx, ebx
call fcn.1400715f0
lea rcx, [rsp + 0x50]
mov rdx, rdi
call fcn.14001a120
or byte [rsi + 8], 1
mov rax, qword [rsp + 0x50]
jmp 0x14002bebe

Function at 0x14002c5f0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov r10, rdx
mov rsi, rcx
mov rax, qword [0x1402f4538]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rcx, qword [r8 + 8]
mov eax, 0xffffffff
cmp rcx, rax
cmovb rax, rcx
mov dword [rsp + 0x4c], 0
mov rdx, qword [r8]
mov qword [rsp + 0x20], r9
lea r9, [rsp + 0x4c]
mov rcx, r10
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002c662
and byte [rsi + 8], 0xfe
mov eax, dword [rsp + 0x4c]
mov qword [rsi], rax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140241350
mov rax, rsi
add rsp, 0x58
pop rdi
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x14002c640
cmp eax, 0x26
je 0x14002c640
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov edx, eax
call fcn.1400715f0
lea rcx, [rsp + 0x40]
mov rdx, rdi
call fcn.14001a120
or byte [rsi + 8], 1
mov rax, qword [rsp + 0x40]
jmp 0x14002c648
Function at 0x14002cbf0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, rdx
mov rax, qword [0x1402f4538]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
xor edi, edi
lea r9, [rsp + 0x38]
mov edx, 0x8000
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x14002cc75
mov rdi, qword [rsp + 0x38]
mov rcx, rdi
call qword [0x1402f0c78]
mov qword [rsp + 0x20], rsi
lea rcx, [rsp + 0x28]
mov edx, 0xfde9
mov r8, rdi
mov r9, rax
call fcn.14002ce10
mov edi, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test edi, edi
je 0x14002cc68
xor edi, edi
jmp 0x14002cc75
mov rcx, rsi
xor edx, edx
call fcn.140025480
mov dil, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140241350
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret

Function at 0x14002fbe0
Capabilities:
Link many functions at runtime

Disassembly:
push rsi
push rdi
sub rsp, 0x28
lea rcx, str.Dbghelp.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x14002fcc4
mov rsi, rax
lea rdx, str.MiniDumpWriteDump
mov rdi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call rdi
mov qword [0x1402f6058], rax
lea rdx, str.StackWalk64
mov rcx, rsi
call rdi
mov qword [0x1402f6060], rax
lea rdx, str.SymGetModuleBase64
mov rcx, rsi
call rdi
mov qword [0x1402f6068], rax
lea rdx, str.SymGetSymFromAddr64
mov rcx, rsi
call rdi
mov qword [0x1402f6070], rax
lea rdx, str.SymGetLineFromAddr64
mov rcx, rsi
call rdi
mov qword [0x1402f6078], rax
lea rdx, str.SymGetModuleInfo64
mov rcx, rsi
call rdi
mov qword [0x1402f6080], rax
lea rdx, str.SymFunctionTableAccess64
mov rcx, rsi
call rdi
mov qword [0x1402f6088], rax
lea rdx, str.SymSetOptions
mov rcx, rsi
call rdi
mov qword [0x1402f6090], rax
lea rdx, str.SymInitialize
mov rcx, rsi
call rdi
mov qword [0x1402f6098], rax
lea rdx, str.EnumerateLoadedModules64
mov rcx, rsi
call rdi
mov qword [0x1402f6040], rax
movq xmm0, qword [0x1402f6060]
movq xmm1, qword [0x1402f6098]
punpcklqdq xmm1, xmm0
movq xmm0, qword [0x1402f6058]
movq xmm2, qword [0x1402f6090]
punpcklqdq xmm2, xmm0
pxor xmm0, xmm0
pcmpeqd xmm2, xmm0
pshufd xmm3, xmm2, 0xb1
pand xmm3, xmm2
pcmpeqd xmm1, xmm0
pshufd xmm0, xmm1, 0xb1
pand xmm0, xmm1
packssdw xmm0, xmm3
movmskps eax, xmm0
test eax, eax
je 0x14002fd1c
add rsp, 0x28
pop rdi
pop rsi
ret
cmp byte [0x1402f6048], 1
jne 0x14002fd39
lea rcx, [0x1402f5f38]
add rsp, 0x28
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [0x1402f68a8], 0
jne 0x14002fd56
lea rcx, [0x1402f5f38]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0x1402f68a8], 1
lea rcx, [0x1402f5f38]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [0x1402f6048], 1
lea rcx, [0x1400307c0]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov qword [0x1402f6050], rax
lea rcx, [0x1400315a0]
mov edx, 1
add rsp, 0x28
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
Function at 0x1400317c0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x498
mov rax, qword [0x1402f4538]
xor rax, rsp
mov qword [rsp + 0x490], rax
test rcx, rcx
je 0x140031882
mov rsi, rdx
mov r14, rcx
mov dword [rsp + 0x4c], 0
lea r15, [rsp + 0x4c]
mov qword [rsp + 0x30], r15
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
lea r8, str.DumpFolder
xor ebx, ebx
xor edx, edx
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1400318f0
mov ebx, dword [rsp + 0x4c]
lea rdi, [rsp + 0x288]
mov qword [rsp + 0x270], rdi
mov qword [rsp + 0x278], 0
mov qword [rsp + 0x280], 0x104
cmp rbx, 0x105
jb 0x140031886
lea rcx, [rsp + 0x270]
mov r9d, 2
mov rdx, rdi
mov r8, rbx
call fcn.14001cd30
mov rcx, qword [rsp + 0x270]
jmp 0x140031891
xor ebx, ebx
jmp 0x1400318f0
mov rcx, rdi
mov rax, rdi
test rbx, rbx
je 0x1400318a4
lea r8, [rbx + rbx]
xor edx, edx
call fcn.140242c10
mov rax, qword [rsp + 0x270]
mov qword [rsp + 0x278], rbx
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r8, str.DumpFolder
xor ebx, ebx
mov rcx, r14
xor edx, edx
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140031913
mov rcx, qword [rsp + 0x270]
cmp rcx, rdi
je 0x1400318f0
call qword [0x1402f0bf8]
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140241350
mov eax, ebx
add rsp, 0x498
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x270]
xor ebx, ebx
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x1400318dd
mov r15d, eax
mov r12d, eax
lea r14, [rsp + 0x68]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0x104
mov rcx, r14
cmp eax, 0x105
jb 0x140031973
lea rcx, [rsp + 0x50]
mov r9d, 2
mov rdx, r14
mov r8, r12
call fcn.14001cd30
mov rcx, qword [rsp + 0x50]
lea r8, [r12 + r12]
xor ebx, ebx
xor edx, edx
call fcn.140242c10
mov qword [rsp + 0x58], r12
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x270]
mov r8d, r15d
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp r15d, eax
jne 0x1400319c0
dec r15d
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x38]
mov r8, r15
mov r9, rsi
call fcn.140029590
cmp dword [rsp + 0x38], 0
sete bl
mov rcx, qword [rsp + 0x50]
cmp rcx, r14
je 0x1400318dd
call qword [0x1402f0bf8]
jmp 0x1400318dd
Function at 0x14003eb00
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
test byte [rcx - 0x18], 2
jne 0x14003eb23
mov eax, dword [rsi - 0x10]
shr eax, 4
and eax, 0xf
test eax, eax
jne 0x14003eb2a
jmp 0x14003eb8a
mov eax, dword [rsi - 0x20]
test eax, eax
je 0x14003eb8a
lea rbx, [rsi - 0x18]
mov r14d, eax
shl r14, 3
xor r15d, r15d
jmp 0x14003eb50
mov qword [rdi], 0
add r15, 8
cmp r14, r15
je 0x14003eb8a
test byte [rbx], 2
jne 0x14003eb70
mov rax, qword [rsi - 0x10]
and eax, 0xf
shl rax, 3
mov rdi, rbx
sub rdi, rax
jmp 0x14003eb74
mov rdi, qword [rsi - 0x28]
mov rdx, qword [rdi + r15]
add rdi, r15
test rdx, rdx
je 0x14003eb40
mov rcx, rdi
call fcn.140039d60
jmp 0x14003eb40
mov rax, qword [rsi + 8]
test al, 4
jne 0x14003eb9e
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
and rax, 0xfffffffffffffff8
mov edx, dword [rax + 0x10]
cmp edx, 2
jb 0x14003ec20
lea r9d, [rdx + rdx]
and r9d, 0xfffffffc
mov r8d, 4
and edx, 1
jne 0x14003ebc1
mov r8d, dword [rax + 0x20]
lea rcx, [rax + 0x10]
cmp r9d, r8d
jae 0x14003ebd7
cmp r8d, 0x41
jb 0x14003ebd7
call fcn.140042e60
jmp 0x14003ec20
test edx, edx
jne 0x14003ebe6
mov r9, qword [rax + 0x18]
test r8d, r8d
jne 0x14003ebef
jmp 0x14003ec16
lea r9, [rax + 0x18]
test r8d, r8d
je 0x14003ec16
mov edx, r8d
shl rdx, 3
lea rdx, [rdx + rdx*2]
xor r8d, r8d
nop dword [rax]
mov qword [r9 + r8], 0xfffffffffffff000
add r8, 0x18
cmp rdx, r8
jne 0x14003ec00
mov edx, dword [rcx]
and edx, 1
mov dword [rax + 0x10], edx
mov dword [rax + 0x14], 0
mov rax, qword [rsi + 8]
mov rdi, rax
shl rdi, 0x3d
sar rdi, 0x3f
and rdi, rax
and rdi, 0xfffffffffffffff8
mov rax, qword [rdi]
and rax, 0xfffffffffffffffb
mov qword [rsi + 8], rax
test byte [rdi + 0x10], 1
jne 0x14003ec61
mov eax, dword [rdi + 0x20]
shl rax, 3
lea rdx, [rax + rax*2]
mov rcx, qword [rdi + 0x18]
mov r8d, 8
call fcn.14001b9a0
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.140241090
Function at 0x140044f00
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
mov rax, qword [0x1402f4538]
xor rax, rsp
mov qword [rsp + 0xd0], rax
test byte [rcx - 0x18], 2
jne 0x140044f51
mov rax, qword [rcx - 0x10]
mov edx, eax
and edx, 0xf
shl rdx, 3
mov r8, rcx
sub r8, rdx
mov rbx, qword [r8 - 0x18]
and eax, 0xf0
cmp eax, 0x20
jne 0x140044f64
lea rax, [rcx - 0x18]
sub rax, rdx
jmp 0x140044f5e
mov rax, qword [rcx - 0x28]
mov rbx, qword [rax]
cmp dword [rcx - 0x20], 2
jne 0x140044f64
mov r14, qword [rax + 8]
jmp 0x140044f67
xor r14d, r14d
mov r15d, dword [rcx + 4]
movzx edi, word [rcx + 2]
movzx ebp, byte [rcx + 1]
xorps xmm0, xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0xc0], 0
mov eax, dword [0x1402f5dc0]
mov ecx, dword [0x1402f6910]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400450c3
mov rax, qword [0x1402f5db8]
mov qword [rsp + 0xc8], rax
lea rsi, [rsp + 0x90]
lea r8, [rsp + 0x54]
mov dword [rsp + 0x50], r15d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], edi
lea rdi, [rsp + 0x50]
lea rdx, [rsp + 0x30]
mov rcx, rdi
mov r9, rsi
call fcn.140044550
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x38]
mov rcx, rdi
mov r8, rax
mov r9, rsi
call fcn.140044890
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0x40]
mov rcx, rdi
mov r8, rax
mov r9, rsi
call fcn.140044890
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x48], rcx
shr bpl, 7
mov byte [rsp + 0x20], bpl
lea rdx, [rsp + 0x48]
mov rcx, rdi
mov r8, rax
mov r9, rsi
call fcn.140044ab0
mov r8, qword [rsp + 0x48]
mov qword [rsp + 0x20], rsi
lea rdx, [rsp + 0x28]
mov rcx, rdi
mov r9, rax
call fcn.140044cd0
mov esi, dword [rsp + 0x28]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140241350
mov eax, esi
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, [0x1402f5dc0]
call fcn.14024119c
cmp dword [0x1402f5dc0], 0xffffffff
jne 0x140044fd6
mov rax, qword [0x1402f7098]
test rax, rax
movabs rcx, 0xff51afd7ed558ccd
cmovne rcx, rax
mov qword [0x1402f5db8], rcx
lea rcx, [0x1402f5dc0]
call fcn.140241204
jmp 0x140044fd6
Function at 0x140047ae0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
mov rdi, rcx
mov rax, qword [0x1402f4538]
xor rax, rsp
mov qword [rsp + 0xd0], rax
call fcn.14013bf70
mov esi, eax
test byte [rdi - 0x18], 2
jne 0x140047b25
lea rax, [rdi - 0x18]
mov rcx, qword [rdi - 0x10]
and ecx, 0xf
shl rcx, 3
sub rax, rcx
jmp 0x140047b29
mov rax, qword [rdi - 0x28]
mov r15, qword [rax + 0x10]
mov r14, qword [rdi + 0x18]
mov ebp, dword [rdi + 0x28]
mov ebx, dword [rdi + 0x30]
xorps xmm0, xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0xc0], 0
mov eax, dword [0x1402f5dc0]
mov ecx, dword [0x1402f6910]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140047c84
movzx eax, si
mov rcx, qword [0x1402f5db8]
mov qword [rsp + 0xc8], rcx
lea rsi, [rsp + 0x90]
lea r8, [rsp + 0x54]
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], r15
lea rdi, [rsp + 0x50]
lea rdx, [rsp + 0x30]
mov rcx, rdi
mov r9, rsi
call fcn.140044890
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0x38]
mov rcx, rdi
mov r8, rax
mov r9, rsi
call fcn.140044890
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x20], ebp
lea rdx, [rsp + 0x40]
mov rcx, rdi
mov r8, rax
mov r9, rsi
call fcn.140044550
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x20], ebx
lea rdx, [rsp + 0x48]
mov rcx, rdi
mov r8, rax
mov r9, rsi
call fcn.140044550
mov r8, qword [rsp + 0x48]
mov qword [rsp + 0x20], rsi
lea rdx, [rsp + 0x28]
mov rcx, rdi
mov r9, rax
call fcn.140044cd0
mov esi, dword [rsp + 0x28]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140241350
mov eax, esi
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, [0x1402f5dc0]
call fcn.14024119c
cmp dword [0x1402f5dc0], 0xffffffff
jne 0x140047b9a
mov rax, qword [0x1402f7098]
test rax, rax
movabs rcx, 0xff51afd7ed558ccd
cmovne rcx, rax
mov qword [0x1402f5db8], rcx
lea rcx, [0x1402f5dc0]
call fcn.140241204
jmp 0x140047b9a
Function at 0x14004b170
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xf0
mov rsi, rcx
mov rax, qword [0x1402f4538]
xor rax, rsp
mov qword [rsp + 0xe8], rax
test byte [rcx + 0x4c], 8
jne 0x14004b1f2
cmp qword [rsi + 0x10], 0
je 0x14004b1f2
mov rax, qword [rsi]
test rax, rax
je 0x14004b1f2
cmp byte [rax], 0xd
jne 0x14004b1f2
test byte [rax - 0x18], 2
jne 0x14004b1e7
mov rcx, qword [rax - 0x10]
add rax, 0xffffffffffffffe8
and ecx, 0xf
shl rcx, 3
sub rax, rcx
cmp qword [rax + 0x38], 0
je 0x14004b1f2
lea rdx, [rsi + 0x10]
lea rcx, [rsp + 0x60]
mov r8, rsi
call fcn.1400456f0
mov rsi, qword [rsp + 0x60]
jmp 0x14004b2b3
mov rax, qword [rax - 0x28]
cmp qword [rax + 0x38], 0
jne 0x14004b1cc
lea rbx, [rsi + 0x20]
lea r14, [rsi + 0x28]
lea r15, [rsi + 0x18]
lea rdi, [rsi + 8]
xorps xmm0, xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0xd0], 0
mov eax, dword [0x1402f5dc0]
mov ecx, dword [0x1402f6910]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004b2d4
mov rax, qword [0x1402f5db8]
mov qword [rsp + 0xd8], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x60]
xor r8d, r8d
mov r9, rcx
call fcn.14004b320
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.140241350
mov eax, esi
add rsp, 0xf0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, [0x1402f5dc0]
call fcn.14024119c
cmp dword [0x1402f5dc0], 0xffffffff
jne 0x14004b264
mov rax, qword [0x1402f7098]
test rax, rax
movabs rcx, 0xff51afd7ed558ccd
cmovne rcx, rax
mov qword [0x1402f5db8], rcx
lea rcx, [0x1402f5dc0]
call fcn.140241204
jmp 0x14004b264
Function at 0x1400684d0
Capabilities:
Access peb ldr_data

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x100
mov rsi, rcx
mov rax, qword [0x1402f4538]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov rdx, qword [rcx + 0x18]
mov rax, qword [rcx + 0x20]
lea r8, [rdx + rax*4]
lea rdi, [rsp + 0x60]
mov rcx, rdi
call fcn.14001ff00
mov rdx, qword [rsi + 8]
mov rax, qword [rsi + 0x10]
lea r8, [rdx + rax*8]
lea rbx, [rsp + 0x58]
mov rcx, rbx
call fcn.14001ff00
xorps xmm0, xmm0
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0xe0], 0
mov eax, dword [0x1402f5dc0]
mov ecx, dword [0x1402f6910]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14006860c
lea rax, [rsi + 1]
lea rcx, [rsi + 2]
mov rdx, qword [0x1402f5db8]
mov qword [rsp + 0xe8], rdx
lea rdx, [rsp + 0xb0]
movzx r8d, byte [rsi]
add rsi, 0x28
lea r9, [rsp + 0x71]
mov byte [rsp + 0x70], r8b
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0x68]
xor r8d, r8d
call fcn.140068660
mov esi, dword [rsp + 0x68]
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.140241350
mov eax, esi
add rsp, 0x100
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1402f5dc0]
call fcn.14024119c
cmp dword [0x1402f5dc0], 0xffffffff
jne 0x14006858a
mov rax, qword [0x1402f7098]
test rax, rax
movabs rcx, 0xff51afd7ed558ccd
cmovne rcx, rax
mov qword [0x1402f5db8], rcx
lea rcx, [0x1402f5dc0]
call fcn.140241204
jmp 0x14006858a
Function at 0x14006d640
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x1402f4538]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [0x1402f69f0]
mov ecx, dword [0x1402f6910]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14006d69a
and byte [rsi + 8], 0xfe
mov eax, dword [0x1402f69ec]
mov dword [rsi], eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140241350
mov rax, rsi
add rsp, 0x60
pop rsi
ret
lea rcx, [0x1402f69f0]
call fcn.14024119c
cmp dword [0x1402f69f0], 0xffffffff
jne 0x14006d678
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [rsp + 0x2c]
mov dword [0x1402f69ec], eax
lea rcx, [0x1402f69f0]
call fcn.140241204
jmp 0x14006d678

Function at 0x14006daf0
Capabilities:
Generate random numbers via winapi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rax, qword [0x1402f4538]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0xf0000000
lea rcx, [rsp + 0x28]
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x14006db5a
mov rdi, qword [rsp + 0x28]
lea r8, [rsp + 0x40]
mov rcx, rdi
mov edx, 4
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov ebx, eax
mov esi, dword [rsp + 0x40]
test rdi, rdi
je 0x14006db56
mov rcx, rdi
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test ebx, ebx
jne 0x14006db83
mov eax, dword [0x1402f69f8]
mov ecx, dword [0x1402f6910]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14006db9a
call qword [0x1402f0c90]
mov esi, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140241350
mov eax, esi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1402f69f8]
call fcn.14024119c
cmp dword [0x1402f69f8], 0xffffffff
jne 0x14006db7b
lea rsi, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x3c], eax
lea rdx, [rsp + 0x44]
lea rcx, [rsp + 0x30]
lea r9, [rsp + 0x3c]
mov r8, rsi
call fcn.14006dd90
mov ecx, dword [rsp + 0x30]
call qword [0x1402f0c98]
lea rcx, [0x1402f69f8]
call fcn.140241204
jmp 0x14006db7b
Function at 0x140077a90
Capabilities:
Encode data using xor

Disassembly:
mov r9d, dword [rcx + 8]
test r9, r9
je 0x140077b99
mov rax, qword [rcx]
mov rcx, qword [rdx]
mov r8d, r9d
add r9, 0x3f
mov rdx, r9
shr rdx, 6
cmp r8d, 0x1c1
jb 0x140077acc
lea r8, [rcx + rdx*8]
cmp rax, r8
jae 0x140077b41
lea r8, [rax + rdx*8]
cmp rcx, r8
jae 0x140077b41
xor r8d, r8d
mov r9, r8
not r9
add r9, rdx
mov r10, rdx
and r10, 3
je 0x140077b00
nop word cs:[rax + rax]
mov r11, qword [rcx + r8*8]
xor qword [rax + r8*8], r11
inc r8
dec r10
jne 0x140077af0
cmp r9, 3
jb 0x140077b99
nop word [rax + rax]
mov r9, qword [rcx + r8*8]
xor qword [rax + r8*8], r9
mov r9, qword [rcx + r8*8 + 8]
xor qword [rax + r8*8 + 8], r9
mov r9, qword [rcx + r8*8 + 0x10]
xor qword [rax + r8*8 + 0x10], r9
mov r9, qword [rcx + r8*8 + 0x18]
xor qword [rax + r8*8 + 0x18], r9
add r8, 4
cmp rdx, r8
jne 0x140077b10
jmp 0x140077b99
mov r8d, edx
and r8d, 0xfffffffc
shr r9, 3
and r9d, 0xffffffe0
xor r10d, r10d
nop word cs:[rax + rax]
movups xmm0, xmmword [rcx + r10]
movups xmm1, xmmword [rcx + r10 + 0x10]
movups xmm2, xmmword [rax + r10]
xorps xmm2, xmm0
movups xmm0, xmmword [rax + r10 + 0x10]
xorps xmm0, xmm1
movups xmmword [rax + r10], xmm2
movups xmmword [rax + r10 + 0x10], xmm0
add r10, 0x20
cmp r9, r10
jne 0x140077b60
cmp rdx, r8
jne 0x140077acf
ret

Function at 0x1400780a0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rcx
mov r9d, dword [rcx + 8]
test r9, r9
je 0x140078160
mov r8d, r9d
add r9, 0x3f
mov rcx, r9
shr rcx, 6
mov rdx, qword [rax]
cmp r8d, 0xc1
jae 0x1400780cf
xor r8d, r8d
jmp 0x14007811d
mov r8d, ecx
and r8d, 0xfffffffc
shr r9, 3
and r9d, 0xffffffe0
xor r10d, r10d
pcmpeqd xmm0, xmm0
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rdx + r10]
movdqu xmm2, xmmword [rdx + r10 + 0x10]
pxor xmm1, xmm0
pxor xmm2, xmm0
movdqu xmmword [rdx + r10], xmm1
movdqu xmmword [rdx + r10 + 0x10], xmm2
add r10, 0x20
cmp r9, r10
jne 0x1400780f0
jmp 0x140078124
not qword [rdx + r8*8]
inc r8
cmp rcx, r8
jne 0x14007811d
mov r8d, dword [rax + 8]
mov ecx, r8d
neg cl
mov rdx, 0xffffffffffffffff
shr rdx, cl
test r8, r8
je 0x140078160
cmp r8d, 0x41
jb 0x14007815c
add r8, 0x3f
shr r8, 6
dec r8d
shl r8, 3
add r8, qword [rax]
mov rax, r8
and qword [rax], rdx
ret
xor edx, edx
and qword [rax], rdx
ret