joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400991d0
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14008a9cc
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14008a9cc
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140099320
cmp rax, 0xffffffffffffffff
je 0x140099320
xor edi, edi
test rbp, rbp
jle 0x1400992cb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14008a48c
mov rbx, rax
test rax, rax
jne 0x140099258
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400992c1
mov edx, 0x8000
mov ecx, r14d
call fcn.14008826c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14008cc14
cmp eax, 0xffffffff
je 0x1400992a1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140099268
mov edx, r15d
mov ecx, r14d
call fcn.14008826c
jmp 0x1400992c1
cmp byte [rsi + 0x38], dil
je 0x1400992b8
cmp dword [rsi + 0x34], 5
jne 0x1400992b8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400992c1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14008a694
jmp 0x140099334
jns 0x140099334
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14008a9cc
cmp rax, 0xffffffffffffffff
jne 0x1400992ec
cmp byte [rsi + 0x30], dil
je 0x140099334
mov edi, dword [rsi + 0x2c]
jmp 0x140099334
mov ecx, r14d
call fcn.140092afc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140099334
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140099334
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14009932d
mov eax, dword [rsi + 0x2c]
jmp 0x140099332
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14008a9cc
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140099d80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140099da8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140099da8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400287d0
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x280
mov ebx, r9d
mov rsi, r8
mov edi, edx
mov r14, rcx
mov rax, qword [0x1401b1028]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rcx, str.shell32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140189124]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400288f9
mov r15, rax
lea r9, [rsp + 0x68]
mov qword [r9], 0
mov rcx, r14
xor edx, edx
xor r8d, r8d
call qword [0x1401dd008]
test eax, eax
jns 0x140028994
test bl, bl
je 0x140028994
xor edi, edi
lea r9, [rsp + 0x68]
mov rcx, r14
mov edx, 0x8800
xor r8d, r8d
mov rax, r15
call qword [0x1401dd008]
test eax, eax
js 0x14002899e
mov rdx, qword [rsp + 0x68]
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.14010f710
movzx eax, byte [rdi + 0x17]
test al, al
js 0x140028890
and eax, 0x7f
jmp 0x14002889a
mov rax, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rax
test rax, rax
js 0x1400289cf
test rdi, rdi
jne 0x1400288bb
test rax, rax
jne 0x1400289fb
lea rdi, [rsp + 0x70]
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.1400b7fa0
mov rcx, rsi
mov rdx, rdi
call fcn.1400b8160
mov rcx, rdi
call fcn.1400b80e0
cmp byte [rsp + 0x57], 0
jns 0x1400288f1
mov rcx, qword [rsp + 0x40]
call fcn.1400d7534
mov dil, 1
jmp 0x14002899e
lea r14, [rsp + 0x70]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.1400dab60
mov word [r14], 0
mov qword [rsp + 0x20], r14
xor ecx, ecx
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x140028953
cmp eax, 0x80070057
je 0x140028953
test bl, bl
je 0x140028953
or edi, 0xa000
mov qword [rsp + 0x20], r14
xor ecx, ecx
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
setns dil
js 0x1400289ae
lea rbx, [rsp + 0x30]
mov qword [rbx], r14
mov rcx, r14
call fcn.1400f6614
mov qword [rbx + 8], rax
lea r14, [rsp + 0x40]
mov rcx, r14
mov rdx, rbx
call fcn.1400b7fa0
mov rcx, rsi
mov rdx, r14
call fcn.1400b8160
mov rcx, r14
call fcn.1400b80e0
jmp 0x1400289ae
test eax, eax
jns 0x140028871
xor edi, edi
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400289ae
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1400d8a20
mov eax, edi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rax, str.string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len___static_cast_size_type__numeric_limits_difference_type_::max___
mov r8d, 0x13a
call fcn.1401104b0
lea rax, str.string_view::string_view__CharT___size_t_:_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len__0____s___nullptr
mov r8d, 0x13c
call fcn.1401104b0
int3
Function at 0x140028a30
Capabilities:
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
lea rcx, section..rdata
mov edx, 0xd
mov r8, rsi
xor r9d, r9d
call fcn.1400287d0
test al, al
je 0x140028a5b
mov al, 1
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140177010]
mov edx, 5
mov r8, rsi
mov r9b, 1
add rsp, 0x20
pop rsi
jmp fcn.1400287d0

Function at 0x140028a80
Capabilities:
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
lea rcx, [0x140177020]
mov edx, 0x27
mov r8, rsi
xor r9d, r9d
call fcn.1400287d0
test al, al
je 0x140028aab
mov al, 1
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140177010]
mov edx, 5
mov r8, rsi
mov r9b, 1
add rsp, 0x20
pop rsi
jmp fcn.1400287d0

Function at 0x140028ad0
Capabilities:
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
lea rcx, [0x140177040]
mov edx, 0xe
mov r8, rsi
xor r9d, r9d
call fcn.1400287d0
test al, al
je 0x140028afb
mov al, 1
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140177010]
mov edx, 5
mov r8, rsi
mov r9b, 1
add rsp, 0x20
pop rsi
jmp fcn.1400287d0

Function at 0x140029c50
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
mov r8, rcx
xor edi, edi
xor ecx, ecx
xor eax, eax
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x140029d72
mov r10d, eax
xor ecx, ecx
mov eax, 1
xchg rbx, r9
cpuid
xchg rbx, r9
mov r9d, ecx
mov r11d, edx
mov esi, eax
cmp r10d, 7
jb 0x140029da8
mov eax, 7
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r10d, ecx
and edi, 0x20
shr r10b, 4
and r10b, 1
mov dword [r8], esi
mov eax, esi
and eax, 0xf
mov dword [r8 + 8], eax
shr esi, 0xc
and esi, 3
mov dword [r8 + 4], esi
mov eax, r11d
shr eax, 0x17
and al, 1
mov byte [r8 + 0xc], al
mov eax, r11d
shr eax, 0x19
and al, 1
mov byte [r8 + 0xd], al
shr r11d, 0x1a
and r11b, 1
mov byte [r8 + 0xe], r11b
mov eax, r9d
and al, 1
mov byte [r8 + 0xf], al
mov eax, r9d
shr eax, 9
and al, 1
mov byte [r8 + 0x10], al
mov eax, r9d
shr eax, 0x13
and al, 1
mov byte [r8 + 0x11], al
mov eax, r9d
shr eax, 0x14
and al, 1
mov byte [r8 + 0x12], al
mov eax, r9d
shr eax, 0x17
and al, 1
mov byte [r8 + 0x13], al
mov eax, r9d
shr eax, 0x1f
mov byte [r8 + 0x1a], al
mov eax, r9d
not eax
test eax, 0x1c000000
jne 0x140029db0
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [r8 + 0x14], al
mov ecx, r9d
shr ecx, 0x19
and cl, 1
mov byte [r8 + 0x17], cl
shr r9d, 0xc
and r9b, 1
mov byte [r8 + 0x15], r9b
test al, al
setne al
test edi, edi
setne cl
and cl, al
mov byte [r8 + 0x16], cl
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jle 0x140029db4
mov eax, 0x80000007
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
shr edx, 8
and dl, 1
mov byte [r8 + 0x19], dl
test dl, dl
je 0x140029dba
pop rdi
pop rsi
ret
xor r10d, r10d
jmp 0x140029cac
xor eax, eax
jmp 0x140029d41
mov dl, byte [r8 + 0x19]
jmp 0x140029da1
cmp byte [r8 + 0x1a], 0
je 0x140029da5
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x140029da5
cmp ecx, 0x666f736f
jne 0x140029da5
cmp edx, 0x76482074
jne 0x140029da5
mov byte [r8 + 0x19], 1
jmp 0x140029da5
Function at 0x14002af30
Capabilities:
Set thread local storage value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x1401b1028]
xor rax, rsp
mov qword [rsp + 0x50], rax
test rcx, rcx
je 0x14002b179
movabs rax, 0xe69e32f3ad9ea63
cmp qword [0x1401bdf10], rax
jne 0x14002b17c
mov rsi, rcx
mov r14d, dword [rcx + 8]
add r14, 0x518
mov byte [rsp + 0x3f], 0xaa
cmp byte [rcx + 2], 0
sete al
bsr rdx, r14
xor rdx, 0xffffffffffffffc0
lea rcx, [0x14018a750]
mov cl, byte [rdx + rcx + 0x41]
mov r8, r14
shr r8, cl
and r8d, 7
lea rcx, [0x14018a7a0]
mov rcx, qword [rcx + rdx*8 + 0x208]
and rcx, r14
lea rdx, [r8 + rdx*8]
add rdx, 0x208
cmp rcx, 1
sbb rdx, 0xffffffffffffffff
lea rcx, [0x140189f38]
movzx ecx, word [rcx + rdx*2 + 0x400]
cmp cx, 0x6e
setb dl
and dl, al
movzx eax, dl
or eax, ecx
movzx eax, ax
lea r12, [rax + rax*4]
lea r15, [rsi + r12*8]
add r15, 0x48
lea rbx, [rsi + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14002b0ff
mov rax, qword [r15]
mov rdi, qword [rax]
test rdi, rdi
je 0x14002b10c
mov byte [rsp + 0x3f], 0
mov rcx, qword [rdi]
test rcx, rcx
je 0x14002b0f8
lea rdx, [rsi + 0x48]
bswap rcx
mov r14d, dword [rdx + r12*8 + 0x18]
mov rdx, rcx
xor rdx, rdi
cmp rdx, 0x1fffff
ja 0x14002b17f
mov edx, ecx
and edx, 0x1fc000
je 0x14002b17f
prefetcht0 byte [rcx]
mov qword [rax], rcx
mov ecx, dword [rax + 0x18]
lea edx, [rcx + 2]
and edx, 0x3ffe
and ecx, 0xffffc001
or ecx, edx
mov dword [rax + 0x18], ecx
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0x18]
add rax, qword [rsi + 0x1498]
mov qword [rsi + 0x1498], rax
mov rcx, qword [rsi + 0x14a0]
cmp rcx, rax
cmova rax, rcx
mov qword [rsi + 0x14a0], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, rdi
mov rdx, rsi
call fcn.14009cbe0
mov ecx, dword [0x1401c3520]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x1401c1138]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x120], rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400d8a20
mov rax, rdi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor ecx, ecx
jmp 0x14002b059
mov rcx, rbx
call fcn.14009c7c0
jmp 0x14002b009
lea rax, [rsp + 0x3f]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x4000
mov rcx, r15
mov rdx, rsi
mov r8d, 2
mov r9, r14
call fcn.14009a8f0
test rax, rax
je 0x14002b172
mov rdi, rax
and rax, 0xffffffffffe00000
mov ecx, edi
shr ecx, 0xe
movzx ecx, cl
shl rcx, 5
or rcx, rax
mov rax, rcx
or rax, 0x1000
or rcx, 0x101e
movzx ecx, byte [rcx]
and ecx, 0x3f
shl rcx, 5
sub rax, rcx
jmp 0x14002b073
xor edi, edi
jmp 0x14002b09d
int3
int3
movaps xmm0, xmmword [0x1401849f0]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi], xmm0
mov r8, qword [rdi]
lea rdx, str.first
mov rcx, rsi
call fcn.140111ec0
mov rcx, rsi
call fcn.140024cf0
mov rcx, r14
call fcn.140111f30
int3
Function at 0x14002d540
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp qword [0x1401c5008], 0
jne 0x14002d57d
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14002d570
mov dword [rdi], eax
mov dword [0x1401c5010], eax
mov qword [0x1401c5008], rsi
cmp eax, 0xffffffff
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
int3

Function at 0x140030660
Capabilities:
Get session user name

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x268
mov rsi, rcx
mov rax, qword [0x1401b1028]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rdi, [rsp + 0x4c]
mov dword [rdi], 0x101
lea rbx, [rsp + 0x50]
mov r8d, 0x202
mov rcx, rbx
mov dl, 0xaa
call fcn.1400dab60
mov rcx, rbx
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov edi, eax
test eax, eax
je 0x140030704
lea r14, [rsp + 0x50]
mov rcx, r14
call fcn.1400f6614
mov rbx, rax
mov al, byte [rsi + 0x17]
test al, al
js 0x14003075f
cmp rbx, 0xa
ja 0x14003072e
mov r14, rsi
test rbx, rbx
je 0x1400306f2
mov r8, rbx
add r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.1400da4b0
mov al, byte [rsi + 0x17]
test al, al
js 0x140030728
mov eax, ebx
and al, 0x7f
mov byte [rsi + 0x17], al
mov word [r14 + rbx*2], 0
test edi, edi
setne bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400d8a20
mov eax, ebx
add rsp, 0x268
pop rbx
pop rdi
pop rsi
pop r14
ret
mov qword [rsi + 8], rbx
jmp 0x1400306fd
movzx r9d, al
mov edx, 0xa
mov r8, rbx
sub r8, rdx
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], 0
mov rcx, rsi
call fcn.14003cdc0
jmp 0x140030704
mov rax, qword [rsi + 0x10]
mov rdx, rax
btr rdx, 0x3f
dec rdx
cmp rdx, rbx
jb 0x14003077f
shr rax, 0x38
mov r14, qword [rsi]
jmp 0x1400306d7
mov r9, qword [rsi + 8]
jmp 0x140030737
Function at 0x140036a40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, r8
mov rsi, rdx
mov r15b, byte [rbp + 0x68]
test byte [r9 + 8], 1
jne 0x140036aab
mov dl, byte [rbp + 0x60]
movzx r8d, r15b
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
mov dword [rsp + 0x28], r8d
mov byte [rsp + 0x20], dl
mov rdx, rsi
mov r8, rdi
call qword [0x1401dd008]
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov qword [rsi], rdi
test al, al
jns 0x140036a8d
call fcn.1400d7534
jmp 0x140036a8d
lea rbx, [rbp - 0x20]
mov rcx, r9
mov rdx, rbx
call fcn.1400a6700
lea rdx, [0x1401cbe30]
mov rcx, rbx
call fcn.1400a7240
mov r14, rax
mov rcx, qword [rbp - 0x20]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
test eax, eax
jne 0x140036aeb
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x1401dd008]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x1401849f0]
movaps xmmword [rbx], xmm0
mov rax, qword [r14]
xor r15b, 1
movzx ecx, r15b
mov rax, qword [rax + rcx*8 + 0x28]
mov rcx, r14
mov rdx, rbx
call qword [0x1401dd008]
movzx eax, byte [rbx + 0x17]
test al, al
js 0x140036b2e
mov edx, eax
and edx, 0x7f
jmp 0x140036b32
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
test rdx, rdx
je 0x140036a9d
test al, al
cmovns rcx, rbx
mov r14, rcx
jmp 0x140036b8e
movzx edx, al
mov rax, qword [rdi]
mov rax, qword [rax + 0x60]
mov rcx, rdi
call qword [0x1401dd008]
cmp eax, 0xffffffff
jne 0x140036b64
xor edi, edi
inc r14
movzx eax, byte [rbp - 9]
mov edx, eax
and edx, 0x7f
test al, al
mov rcx, qword [rbp - 0x20]
mov r8, rbx
cmovs rdx, qword [rbp - 0x18]
cmovs r8, rcx
add rdx, r8
cmp r14, rdx
je 0x140036a9d
test rdi, rdi
je 0x140036b62
mov al, byte [r14]
mov rcx, qword [rdi + 0x30]
cmp rcx, qword [rdi + 0x38]
je 0x140036b4a
lea rdx, [rcx + 1]
mov qword [rdi + 0x30], rdx
mov byte [rcx], al
jmp 0x140036b64
Function at 0x14003dfd0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov edi, edx
mov rsi, rcx
lea rax, [0x140186640]
mov qword [rcx], rax
add rcx, 8
call fcn.1400aa490
lea rcx, [rsi + 0x10]
call fcn.1400aa490
xor ebx, ebx
mov byte [rsi + 0x18], bl
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], ebx
call fcn.1400aa490
mov byte [rsi + 0x48], bl
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], rbx
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
mov ebp, 0x3f800000
mov dword [rsi + 0xd0], ebp
mov dword [rsi + 0xd8], ebx
movups xmmword [rsi + 0xe0], xmm6
movups xmmword [rsi + 0xf0], xmm6
mov dword [rsi + 0x100], ebp
movups xmmword [rsi + 0x108], xmm6
movups xmmword [rsi + 0x118], xmm6
mov dword [rsi + 0x128], ebp
movups xmmword [rsi + 0x140], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x150], ebp
movups xmmword [rsi + 0x158], xmm6
movups xmmword [rsi + 0x168], xmm6
mov dword [rsi + 0x178], ebp
mov qword [rsi + 0x198], rbx
movups xmmword [rsi + 0x180], xmm6
mov dword [rsi + 0x190], ebx
mov eax, dword [0x1401954c8]
mov dword [rsi + 0x1a0], eax
lea rcx, [rsi + 0x1a8]
call fcn.1400587a0
movups xmmword [rsi + 0x2e0], xmm6
movups xmmword [rsi + 0x2f0], xmm6
mov dword [rsi + 0x300], ebp
movups xmmword [rsi + 0x308], xmm6
movups xmmword [rsi + 0x318], xmm6
movups xmmword [rsi + 0x328], xmm6
mov byte [rsi + 0x338], bl
mov dword [rsi + 0x33c], edi
mov byte [rsi + 0x340], bl
movups xmmword [rsi + 0x348], xmm6
mov qword [rsi + 0x358], rbx
call fcn.140024cf0
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x190], eax
mov eax, eax
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x188], rax
mov edx, dword [rsi + 0x1a0]
mov rax, qword [rsi + 0x1b0]
mov rcx, rax
shr rcx, 6
test dword [0x1401954cc], edx
je 0x14003e1cb
cmp rax, 0x40
mov eax, 0x3e8
cmovb rcx, rax
call fcn.1400be710
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x14003e1ef
call fcn.140040ca0
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.140040d50
mov qword [0x1401ccf00], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
test dword [0x1401954d0], edx
jne 0x14003e20d
test dword [0x1401954d4], edx
jne 0x14003e202
cmp rax, 0x40
mov eax, 0xfa0
cmovb rcx, rax
call fcn.140058540
jmp 0x14003e18c
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x1401dd008]
jmp 0x14003e199
cmp rax, 0x40
mov eax, 0x7a1200
jmp 0x14003e1e4
cmp rax, 0x40
mov eax, 0x100
jmp 0x14003e183
Function at 0x14003fc10
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov edi, 2
cmp rdx, 1
jne 0x14003fc40
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x14003fc77
mov rcx, rsi
mov rdx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1400a9a00
lea rax, [rdx - 1]
test rdx, rax
jne 0x14003fc4e
mov rdi, rdx
jmp 0x14003fc25
mov rcx, rdx
call fcn.1400a5e60
mov rdi, rax
jmp 0x14003fc25
mov rcx, rdx
call fcn.1400a5e60
cmp rdi, rax
cmovbe rdi, rax
cmp rdi, rbx
jb 0x14003fc2e
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
jae 0x14003fc6f
mov rax, qword [rsi + 0x18]
test rax, rax
jns 0x14003fc99
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x14003fc9e
cvtsi2ss xmm0, rax
divss xmm0, dword [rsi + 0x20]
call fcn.1400f2e8c
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x14018a9d0]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rbx, 3
jb 0x14003fc5b
mov rax, rbx
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, rbx
sub rax, rcx
movabs rcx, 0x3333333333333333
mov r8, rax
shr r8, 2
and rax, rcx
and r8, rcx
add r8, rax
mov rax, r8
shr rax, 4
add rax, r8
movabs rcx, 0xf0f0f0f0f0f0f0f
and rcx, rax
movabs rax, 0x101010101010101
imul rax, rcx
shr rax, 0x38
cmp eax, 1
ja 0x14003fc5b
lea rax, [rdx - 1]
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
cmp rdx, 2
cmovb rax, rdx
jmp 0x14003fc63

Function at 0x140041580
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x1401b1028]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 4
lea r9, [rsp + 0x3c]
mov dword [r9], eax
lea r8, [rsp + 0x38]
mov dword [r8], eax
lea rax, [rsp + 0x34]
mov dword [rax], 0
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140041608
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x1400415f2
cmp dword [rsp + 0x38], 4
jne 0x1400415f2
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400d8a20
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret
mov edi, eax
jmp 0x1400415f2
Function at 0x140041610
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1058
call fcn.1400d89c0
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1401b1028]
xor rax, rsp
mov qword [rsp + 0x1050], rax
lea r14, [rsp + 0x850]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.1400dab60
lea r9, [rsp + 0x4c]
mov dword [r9], 1
lea rax, [rsp + 0x48]
mov dword [rax], 0x800
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140041711
mov eax, dword [rsp + 0x4c]
cmp eax, 1
jne 0x140041772
lea rbx, [rsp + 0x850]
mov rcx, rbx
call fcn.1400f6614
mov rdi, rax
mov al, byte [rsi + 0x17]
test al, al
js 0x140041752
cmp rdi, 0xa
ja 0x14004171b
mov rbx, rsi
test rdi, rdi
je 0x1400416df
mov r8, rdi
add r8, rdi
lea rdx, [rsp + 0x850]
mov rcx, rbx
call fcn.1400da4b0
mov al, byte [rsi + 0x17]
test al, al
js 0x140041715
mov eax, edi
and al, 0x7f
mov byte [rsi + 0x17], al
mov word [rbx + rdi*2], 0
xor edi, edi
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.1400d8a20
mov eax, edi
add rsp, 0x1058
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x1400416f2
mov qword [rsi + 8], rdi
jmp 0x1400416ea
movzx r9d, al
mov edx, 0xa
mov r8, rdi
sub r8, rdx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], 0
mov rcx, rsi
call fcn.14003cdc0
jmp 0x1400416f0
mov r9, qword [rsi + 8]
jmp 0x140041724
mov rax, qword [rsi + 0x10]
mov rdx, rax
btr rdx, 0x3f
dec rdx
cmp rdx, rdi
jb 0x14004174c
shr rax, 0x38
mov rbx, qword [rsi]
jmp 0x1400416c1
cmp eax, 2
jne 0x140041815
lea rdi, [rsp + 0x50]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.1400dab60
lea rcx, [rsp + 0x850]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x48], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x14004181f
lea rbx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400f6614
mov rdi, rax
mov al, byte [rsi + 0x17]
test al, al
js 0x1400417f4
cmp rdi, 0xa
ja 0x14004171b
mov rbx, rsi
test rdi, rdi
je 0x1400416df
mov r8, rdi
add r8, rdi
lea rdx, [rsp + 0x50]
jmp 0x1400416d4
mov rax, qword [rsi + 0x10]
mov rdx, rax
btr rdx, 0x3f
dec rdx
cmp rdx, rdi
jb 0x14004174c
shr rax, 0x38
mov rbx, qword [rsi]
jmp 0x1400417db
mov edi, 0x3f4
jmp 0x1400416f2
mov edi, 0xea
jmp 0x1400416f2