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

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.1400157e0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.1400157e0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x14000b370
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400e50a4]
mov rbx, rcx
test esi, esi
jle 0x14000b4a0
mov rax, qword [0x1400e50a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000b3bb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14000b445
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14000b3a0
mov rcx, rbx
call fcn.14000bdc0
mov rdi, rax
test rax, rax
je 0x14000b4c2
mov rax, qword [0x1400e50a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14000bf00
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400e50a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000b4a7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000b43e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14000b450
add dword [0x1400e50a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400e50a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000b43e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000b300
nop dword [rax]
xor esi, esi
jmp 0x14000b3c8
mov rax, qword [0x1400e50a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.14000b300
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.14000b300
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14000ba30
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400e5100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400e50e0]
test rbx, rbx
je 0x14000ba8c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x14000ba83
test rsi, rsi
je 0x14000ba83
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000ba68
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x14000bdc0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400bf260]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000bde0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000bde8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000bde0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000be3d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14000be34
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000bde0
add rax, 0x28
cmp rax, r9
jne 0x14000be20
xor eax, eax
ret

Function at 0x14000be40
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400bf260]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000be5f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14000be68
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000be5f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x14000bf00
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400bf260]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000bf1f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14000bf28
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x1400160f0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
mov dword [rsp + 0x78], edx
mov rdi, rcx
mov rbx, r8
mov rsi, r9
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x38]
mov r9d, 0x18
mov dword [rsp + 0x20], 0xf0000000
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1400161e8
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1400161e8
xor r9d, r9d
mov rcx, qword [rsp + 0x40]
mov r8d, esi
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1400161e8
lea rax, [rsp + 0x48]
xor r9d, r9d
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov edx, 0x6610
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x1400161e8
lea rax, [rsp + 0x78]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x1400161e8
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
xor eax, eax
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
mov eax, 0xffffffff
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
Function at 0x140078d60
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sub.msvcrt.dll__fileno_1
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sub.msvcrt.dll__read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x140078da8
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x140078d7a
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x1400b3690
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400b8080]
jmp 0x14000cc20

Function at 0x1400b36a0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400b8080]
jmp 0x14000cc20

Function at 0x1400b3e50
Capabilities:
Create thread
Inject thread

Disassembly:
push rdi
push rsi
push rbx
add rsp, 0xffffffffffffff80
lea rsi, [0x1400b80a0]
call fcn.14000b0f0
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov rbx, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0x300
call rbx
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea r9, [rsp + 0x70]
mov dword [rsp + 0x28], 4
mov rcx, rax
mov dword [rsp + 0x20], 0x3000
call sub.ntdll.dll_NtAllocateVirtualMemory
call fcn.140016220
mov edx, dword [0x1400b83a0]
mov r9d, 0x10
mov rcx, rsi
lea r8, [0x1400b51d0]
call fcn.1400160f0
mov rdi, qword [rsp + 0x68]
call rbx
mov r9d, 0x300
mov r8, rsi
mov qword [rsp + 0x20], 0
mov rcx, rax
mov rdx, rdi
call sub.ntdll.dll_NtWriteVirtualMemory
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x64]
mov r8d, 0x20
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400b3f98
call fcn.140016220
mov rsi, qword [rsp + 0x68]
call rbx
lea rcx, [rsp + 0x78]
xor r8d, r8d
mov edx, 0x1fffff
mov qword [rsp + 0x50], 0
mov r9, rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rsi
call sub.ntdll.dll_NtCreateThreadEx
call fcn.140016220
mov rcx, qword [rsp + 0x78]
xor r8d, r8d
xor edx, edx
call sub.ntdll.dll_NtWaitForSingleObject
call fcn.140016220
mov rcx, qword [rsp + 0x78]
call sub.ntdll.dll_NtClose
xor eax, eax
sub rsp, 0xffffffffffffff80
pop rbx
pop rsi
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.VirtualProtect_failed_with_error_code:__lx_n
mov edx, eax
call fcn.1400166e0
or eax, 0xffffffff
jmp 0x1400b3f90
Function at 0x140003c10
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140003c6d
lea rbx, [0x14009f8a0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003c54
cmp r10, 2
jb 0x140003c54
cmp byte [r9], r8b
jne 0x140003c54
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140003c30
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140003caf
lea rbx, [0x14009f8a0]
cmp r8b, 0x23
jne 0x140003c93
cmp byte [r9], r8b
jne 0x140003c93
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140003c80
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003e00
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140003e1a
mov qword [r8], 0
lea rdx, [0x1400a3bf8]
call fcn.140003cc0
mov rbx, rax
test rax, rax
jne 0x140003e3a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.140073e50
mov esi, eax
cmp eax, 0xffffffff
je 0x140003f08
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.14007498c
test eax, eax
jne 0x140003f08
mov rcx, rbx
call fcn.140073e50
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003f08
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.14007498c
test eax, eax
jne 0x140003f08
cmp rdi, 0xffffffffffffffff
je 0x140003f08
mov rax, qword [0x1400b5d20]
test rax, rax
je 0x140003eaa
inc dword [rax + 0xf4]
mov rcx, rdi
call fcn.140073820
mov rsi, rax
test rax, rax
je 0x140003f08
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1400757c4
mov rcx, rbx
cmp rax, rdi
je 0x140003ef6
call fcn.1400745ec
mov rax, qword [0x1400b5d20]
test rax, rax
je 0x140003eec
dec dword [rax + 0xf4]
mov rcx, rsi
call fcn.140071010
jmp 0x140003f10
call fcn.1400745ec
test r14, r14
je 0x140003f03
mov qword [r14], rdi
mov rax, rsi
jmp 0x140003f12
mov rcx, rbx
call fcn.1400745ec
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140006e10
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x108]
mov rax, qword [rcx + 0x110]
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x14009f8a0]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x1400b5d20]
not ebx
cmp dword [rcx + 0x401c], ebx
jne 0x140006e9b
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.140025ab0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140014230
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1400b5d20]
mov edi, ecx
cmp byte [rbx + 0x43fd], 0
jne 0x140014282
cmp byte [rbx + 0x43fe], 0
jne 0x140014282
movsx r9d, word [rbx + 0x54de]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140003b90
test dil, 1
je 0x1400143aa
jmp 0x140014312
movss xmm1, dword [rbx + 0x39c0]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x54de]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400a4f84]
mulss xmm1, dword [0x1400a4f78]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xd9c]
addss xmm1, dword [rbx + 0xda0]
mov qword [rbx + 0x410c], rax
mov dword [rbx + 0x40f4], 1
movss dword [rbx + 0x4104], xmm0
mov byte [rbx + 0x412c], 1
movss dword [rbx + 0x4108], xmm1
movss xmm0, dword [rbx + 0x3a1c]
mulss xmm0, dword [0x1400a4ee8]
or dword [rbx + 0x40f0], 0x41
movss dword [rbx + 0x4150], xmm0
call fcn.140003b90
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140014362
lea r11, [0x14009f8a0]
cmp r9b, 0x23
jne 0x140014345
cmp byte [r8], r9b
jne 0x140014345
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140014332
not ecx
call fcn.14000c670
test rax, rax
je 0x1400143aa
cmp byte [rax + 0xcb], 0
je 0x1400143aa
mov byte [rax + 0xd2], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xec], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x54de]
mov edx, 0x10
movsx r9d, word [rbx + 0x54de]
call fcn.140003b90
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14000f3b0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400199c0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x140019a12
lea r11, [0x14009f8a0]
cmp r9b, 0x23
jne 0x1400199f5
cmp byte [r8], r9b
jne 0x1400199f5
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400199e2
mov r11, qword [0x1400b5d20]
xor r9d, r9d
mov r10, qword [r11 + 0x5598]
test r10, r10
lea rcx, [r10 + 4]
cmovne r9, rcx
test r9, r9
je 0x140019a5e
not eax
cmp dword [r9], eax
je 0x140019a67
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x5590]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x140019a35
mov rcx, rbx
pop rbx
jmp fcn.1400198d0
mov rax, r9
pop rbx
ret
Function at 0x140019a70
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400b5d20]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140019ad3
mov qword [rsp], rbx
lea rbx, [0x14009f8a0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140019ab3
cmp byte [r8], r9b
jne 0x140019ab3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140019aa0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5580]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140019b07
mov r10, qword [r10 + 0x5588]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140019b0e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140019af4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x14001d570
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x14001d79e
push rbp
push rsi
sub rsp, 0x48
mov qword [rsp + 0x68], rdi
mov rbp, rcx
mov qword [rsp + 0x70], r14
lea rdi, [rdx + 0x1a]
mov qword [rsp + 0x40], r15
mov r14d, 0xffffffff
lea r15, [0x14009f8a0]
mov qword [rsp + 0x60], rbx
movsxd rsi, r8d
nop word [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x14001d776
mov rcx, rbp
call fcn.14001cb70
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x14001d631
movsxd rdx, dword [rbp + 0x5530]
mov r8, qword [rbp + 0x5538]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x14001d621
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x14001d619
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x14001d61c
mov rdx, rcx
test rdx, rdx
jne 0x14001d5f0
cmp r8, r10
je 0x14001d631
cmp dword [r8], r9d
jne 0x14001d631
mov rcx, qword [r8 + 8]
jmp 0x14001d633
xor ecx, ecx
mov qword [rbx + 0x18], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xc4]
and eax, 0xfffffe49
movss dword [rbx + 0x58], xmm1
or eax, 0x49
mov dword [rbx + 0xc4], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x5c], xmm0
test rcx, rcx
je 0x14001d6c7
cmp qword [rcx + 0x20], 0
jne 0x14001d6bc
mov qword [rcx + 0x20], rbx
jmp 0x14001d6c7
cmp qword [rcx + 0x28], 0
jne 0x14001d6c7
mov qword [rcx + 0x28], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xbc], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x60], eax
mov ecx, dword [rdi - 6]
mov eax, dword [rbx + 0xc]
and ecx, 0xc1fc20
or eax, dword [rbx + 4]
or eax, ecx
mov dword [rbx + 8], ecx
mov dword [rbx + 0x10], eax
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x14001d70c
nop word [rax + rax]
mov r9, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x14001d700
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, 0x14
lea rcx, [rsp + 0x20]
call fcn.140003b90
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x14001d768
cmp r9b, 0x23
jne 0x14001d74b
cmp byte [r8], r9b
jne 0x14001d74b
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x14001d738
not ecx
call fcn.14000c670
mov qword [rbx + 0x88], rax
add rdi, 0x24
sub rsi, 1
jne 0x14001d5b0
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
add rsp, 0x48
pop rsi
pop rbp
ret
Function at 0x1400252d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
xor r14d, r14d
nop word [rax + rax]
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
mov rax, qword [rbx + 0x18]
mov word [rsp + 0x32], r14w
test rax, rax
je 0x14002531d
mov eax, dword [rax]
mov dword [rsp + 0x24], eax
jmp 0x140025322
mov dword [rsp + 0x24], r14d
mov eax, dword [rbx + 0x10]
shr eax, 0xa
test al, 1
je 0x14002534d
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x14002534d
mov rax, qword [rax + 0x390]
test rax, rax
je 0x14002534d
mov eax, dword [rax + 8]
mov dword [rsp + 0x28], eax
jmp 0x140025352
mov dword [rsp + 0x28], r14d
mov eax, dword [rbx + 0xbc]
mov dword [rsp + 0x2c], eax
cmp qword [rbx + 0x20], r14
je 0x14002536c
movzx eax, byte [rbx + 0x60]
mov byte [rsp + 0x30], al
jmp 0x140025371
mov byte [rsp + 0x30], 0xff
cvttss2si ecx, dword [rbx + 0x48]
mov eax, dword [rbx + 8]
mov r8d, dword [rbp + 0x24]
and eax, 0xc1fc20
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x31], sil
cvttss2si eax, dword [rbx + 0x4c]
mov word [rsp + 0x38], cx
cvttss2si ecx, dword [rbx + 0x50]
mov word [rsp + 0x3a], ax
cvttss2si eax, dword [rbx + 0x54]
mov word [rsp + 0x3c], cx
cvttss2si ecx, dword [rbx + 0x58]
mov word [rsp + 0x3e], ax
cvttss2si eax, dword [rbx + 0x5c]
mov word [rsp + 0x40], cx
mov ecx, dword [rbp + 0x20]
mov word [rsp + 0x42], ax
cmp ecx, r8d
jne 0x1400253f3
inc ecx
test r8d, r8d
je 0x1400253de
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1400253e3
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbp + 0x20]
call fcn.1400267b0
movsxd rax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rdx, [rax + rax*8]
mov eax, dword [rsp + 0x40]
movups xmmword [rcx + rdx*4], xmm0
movups xmmword [rcx + rdx*4 + 0x10], xmm1
mov dword [rcx + rdx*4 + 0x20], eax
inc dword [rbp + 0x20]
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x140025432
lea r8d, [rsi + 1]
mov rcx, rbp
call fcn.1400252d0
mov rbx, qword [rbx + 0x28]
test rbx, rbx
je 0x140025442
inc esi
jmp 0x140025300
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x14004ddc0
Capabilities:
Encode data using xor
Get common file path
Get session user name

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x580]
sub rsp, 0x680
xor esi, esi
mov dword [rsp + 0x58], esi
lea rdi, [0x1400b61a0]
mov qword [rbp + 0x5b0], rdi
mov dword [rsp + 0x30], 0xc7c6cbcf
mov dword [rsp + 0x34], 0xdad9c9cb
mov dword [rsp + 0x38], 0xcfd9cdcf
mov byte [rsp + 0x3c], 0x8f
mov ecx, esi
lea rdx, [rsp + 0x30]
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x7d]
xor byte [rdx], al
inc ecx
lea rdx, [rdx + 1]
cmp ecx, 0xc
jb 0x14004de20
mov byte [rsp + 0x3c], sil
lea rcx, [rsp + 0x30]
call fcn.140078bc8
xorps xmm0, xmm0
movups xmmword [0x1400b61a0], xmm0
mov qword [0x1400b61b0], rsi
mov qword [0x1400b61b8], rsi
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], sil
jne 0x14004de61
mov rdx, rax
mov rcx, rdi
call fcn.1400608e0
mov dword [rsp + 0x58], 1
mov rcx, rdi
cmp qword [0x1400b61b8], 0xf
cmova rcx, qword [0x1400b61a0]
mov r8, qword [0x1400b61b0]
test r8, r8
jne 0x14004e009
lea rdx, [0x1400a3abe]
call fcn.1400917e0
test eax, eax
jne 0x14004e009
mov dword [rbp + 0x5a0], 0x400
lea rdx, [rbp + 0x5a0]
lea rcx, [rbp + 0x180]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
movdqa xmm0, xmmword [0x1400a5590]
movdqu xmmword [rsp + 0x3d], xmm0
mov dword [rsp + 0x4d], 0xcaf4e0f2
mov dword [rsp + 0x51], 0xfbfaf7db
mov word [rsp + 0x55], 0x9cf7
mov ecx, esi
lea rdx, [rsp + 0x3d]
nop
lea eax, [rcx - 0x7d]
xor byte [rdx], al
inc ecx
lea rdx, [rdx + 1]
cmp ecx, 0x19
jb 0x14004df00
mov byte [rsp + 0x56], 0
lea r8, [rbp + 0x180]
lea rdx, [rsp + 0x3d]
lea rcx, [rbp + 0x70]
call fcn.14005fdf0
xor edx, edx
lea rcx, [rbp + 0x70]
call fcn.14007608c
test eax, eax
jne 0x14004df52
lea rax, [rbp + 0x70]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14004df40
lea rdx, [rbp + 0x70]
jmp 0x14004dffe
mov qword [rbp + 0x5a8], rsi
lea r9, [rbp + 0x5a8]
xor r8d, r8d
mov edx, 0x8000
lea rcx, [0x140094840]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
lea rdx, [rsp + 0x60]
xor ecx, ecx
test eax, eax
jne 0x14004dfc8
mov qword [rsp + 0x20], 0x104
mov r9, qword [rbp + 0x5a8]
mov r8d, 0x104
call fcn.140078448
lea rax, [rsp + 0x60]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14004dfa0
mov r8, rbx
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.14005f310
mov rcx, qword [rbp + 0x5a8]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x14004e009
xor r9d, r9d
lea r8d, [r9 + 0x1c]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x14004dfeb
xor r8d, r8d
lea rdx, [0x1400a3abe]
mov rcx, rdi
call fcn.14005f310
lea rax, [rsp + 0x60]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14004dff0
lea rdx, [rsp + 0x60]
mov r8, rbx
mov rcx, rdi
call fcn.14005f310
mov rax, rdi
mov rbx, qword [rsp + 0x6b8]
add rsp, 0x680
pop rdi
pop rsi
pop rbp
ret

Function at 0x14004e020
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rax, rcx
nop word [rax + rax]
lea edx, [r8 - 0x7d]
inc r8d
xor byte [rax], dl
lea rax, [rax + 1]
cmp r8d, 0x19
jb 0x14004e030
mov byte [rcx + 0x19], 0
mov rax, rcx
ret