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

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, 0x30
mov r15, r8
mov rdi, rdx
mov rsi, rcx
xor ecx, ecx
movabs r14, 0xcbf29ce484222325
movzx eax, byte [rcx + r8]
xor r14, rax
movabs rdx, 0x100000001b3
imul r14, rdx
inc rcx
cmp rcx, 4
jb 0x140041f66
mov rcx, qword [rsi + 0x30]
and rcx, r14
add rcx, rcx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
lea r12, [rsi + 8]
mov rbp, qword [r12]
cmp rax, rbp
je 0x140041fd7
mov r8, qword [rdx + rcx*8]
mov ecx, dword [r15]
jmp 0x140041fb7
cmp rax, r8
je 0x140041fd0
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x140041fae
mov rbp, qword [rax]
test rax, rax
je 0x140041fd7
mov qword [rdi], rax
mov byte [rdi + 8], 0
jmp 0x14004213b
mov rbp, rax
xor eax, eax
jmp 0x140041fbf
movabs rax, 0x7ffffffffffffff
cmp qword [rsi + 0x10], rax
je 0x14004215d
mov qword [rsp + 0x20], r12
and qword [rsp + 0x28], 0
mov ecx, 0x20
call fcn.14011a288
mov rbx, rax
mov qword [rsp + 0x28], rax
mov ecx, dword [r15]
mov dword [rax + 0x10], ecx
and qword [rax + 0x18], 0
mov r8, qword [rsi + 0x10]
lea rcx, [r8 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x14004202a
cvtsi2ss xmm0, rcx
jmp 0x14004203f
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x140042052
cvtsi2ss xmm1, rcx
jmp 0x140042067
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
seta al
test al, al
je 0x1400420de
mov rcx, rsi
call fcn.1400425f0
mov rax, qword [rsi + 0x30]
and rax, r14
add rax, rax
mov r8, qword [rsi + 0x18]
mov rcx, qword [r8 + rax*8 + 8]
mov rdx, qword [r12]
cmp rcx, rdx
jne 0x1400420a6
mov qword [rsp + 0x20], rdx
and qword [rsp + 0x28], 0
jmp 0x1400420ca
mov rdx, qword [r8 + rax*8]
mov eax, dword [rbx + 0x10]
jmp 0x1400420b8
cmp rcx, rdx
je 0x140042116
mov rcx, qword [rcx + 8]
cmp eax, dword [rcx + 0x10]
jne 0x1400420af
mov rax, qword [rcx]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rcx
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov r8, qword [rsi + 0x10]
mov rbp, qword [rsp + 0x20]
mov rdx, qword [rbp + 8]
lea rax, [r8 + 1]
mov qword [rsi + 0x10], rax
mov qword [rbx], rbp
mov qword [rbx + 8], rdx
mov qword [rdx], rbx
mov qword [rbp + 8], rbx
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r14
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [r12]
jne 0x14004211d
mov qword [rcx + rax*8], rbx
jmp 0x14004212f
mov qword [rsp + 0x20], rcx
jmp 0x14004209e
cmp r8, rbp
jne 0x140042128
mov qword [rcx + rax*8], rbx
jmp 0x140042134
cmp qword [rcx + rax*8 + 8], rdx
jne 0x140042134
mov qword [rcx + rax*8 + 8], rbx
mov qword [rdi], rbx
mov byte [rdi + 8], 1
mov rax, rdi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
lea rcx, str.unordered_map_set_too_long
call fcn.1400f5230
int3
Function at 0x1400425f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rsi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x140042620
cvtsi2ss xmm0, rdx
jmp 0x140042635
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call fcn.1402e31b4
movss xmm1, dword [0x14037f960]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x140042663
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x140042663
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x140042691
cmp rbx, 0x200
jae 0x14004268e
shl rbx, 3
cmp rbx, rcx
jae 0x140042691
mov rbx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rbx, rax
ja 0x140042807
lea rax, [rbx - 1]
mov edi, 1
mov rbx, qword [rsi + 8]
or rax, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14003803c
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1400427cb
mov rcx, qword [rcx]
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx edx, byte [r9 + rax + 0x10]
movabs r10, 0x100000001b3
xor r8, rdx
inc r9
imul r8, r10
cmp r9, 4
jb 0x140042709
mov r10, qword [rsi + 0x30]
mov r11, qword [rsi + 0x18]
and r10, r8
add r10, r10
cmp qword [r11 + r10*8], rbx
jne 0x140042748
mov qword [r11 + r10*8], rax
mov qword [r11 + r10*8 + 8], rax
jmp 0x1400427bf
mov rdx, qword [r11 + r10*8 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x140042782
mov rdi, qword [rdx]
cmp rdi, rax
je 0x140042741
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], rdi
mov rdx, qword [rdi + 8]
mov qword [rdx], rax
mov qword [rdi + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140042741
mov rdi, rdx
jmp 0x140042794
mov rdx, qword [rdx + 8]
mov rdi, rdx
cmp r8d, dword [rdx + 0x10]
je 0x1400427e1
cmp qword [r11 + r10*8], rdx
jne 0x140042787
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], rdi
mov rdx, qword [rdi + 8]
mov qword [rdx], rax
mov qword [rdi + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + r10*8], rax
mov rax, rcx
cmp rcx, rbx
jne 0x1400426f9
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400427bf
lea rcx, str.invalid_hash_bucket_count
call fcn.1400f5230
int3
Function at 0x140042ddc
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rdx, str._remediation
mov rcx, qword [rcx + 8]
add rcx, 0x1c8
call fcn.140031d84
mov rcx, qword [rbx + 8]
call fcn.14003eda0
mov rcx, qword [rbx + 8]
xor edx, edx
add rsp, 0x20
pop rbx
jmp 0x14003d104
Function at 0x140048fe4
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
mov rdi, rdx
mov rbx, rcx
mov edx, dword [rdx]
bt edx, 0xa
jae 0x1400491c9
cmp dword [rdi + 0x24], 0xa0000003
je 0x14004901b
cmp dword [rdi + 0x24], 0xa000000c
jne 0x1400491c9
mov esi, 5
test dl, 1
je 0x14004909a
and edx, 0xfffffffe
cmp qword [rcx + 0x18], 8
jb 0x140049032
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x14004909a
mov ecx, esi
call fcn.1400e2070
test eax, eax
je 0x14004909a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [rbx + 0x18], 8
mov dword [rbp + 0x28], eax
mov rax, rbx
jb 0x14004905d
mov rax, qword [rbx]
mov qword [rbp + 0x30], rax
lea r8, str._anonymous_namespace::remove_reparse_point
lea rax, [rbp + 0x28]
mov r9d, 0xe4
mov qword [rsp + 0x30], rax
lea rdx, str.E:BT98e4b0b8_6261_4b66_a156_8e0ef62b3d71UBF_1CSIS_Shared_srcIncludeWinFsInfo.cpp
lea rax, [rbp + 0x30]
mov ecx, esi
mov qword [rsp + 0x28], rax
lea rax, str.Failed_to_remove_readonly_attribute_for__s__Error_d
mov qword [rsp + 0x20], rax
call fcn.14003519c
test byte [rdi], 0x10
mov rcx, rbx
je 0x140049104
cmp qword [rbx + 0x18], 8
jb 0x1400490ac
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x140049176
mov ecx, esi
call fcn.1400e2070
test eax, eax
je 0x140049176
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [rbx + 0x18], 8
mov dword [rbp + 0x28], eax
mov rax, rbx
jb 0x1400490df
mov rax, qword [rbx]
mov qword [rbp + 0x30], rax
mov r9d, 0xec
lea rax, [rbp + 0x28]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, str.Failed_to_remove_symlink_directory__s__Error_d
jmp 0x14004915c
cmp qword [rbx + 0x18], 8
jb 0x14004910e
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140049176
mov ecx, esi
call fcn.1400e2070
test eax, eax
je 0x140049176
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [rbx + 0x18], 8
mov dword [rbp + 0x28], eax
mov rax, rbx
jb 0x140049139
mov rax, qword [rbx]
mov qword [rbp + 0x30], rax
mov r9d, 0xf3
lea rax, [rbp + 0x28]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, str.Failed_to_remove_symlink_file__s__Error_d
lea r8, str._anonymous_namespace::remove_reparse_point
mov qword [rsp + 0x20], rax
lea rdx, str.E:BT98e4b0b8_6261_4b66_a156_8e0ef62b3d71UBF_1CSIS_Shared_srcIncludeWinFsInfo.cpp
mov ecx, esi
call fcn.14003519c
mov ecx, 1
call fcn.1400e2070
test eax, eax
je 0x1400491c5
cmp qword [rbx + 0x18], 8
jb 0x14004918e
mov rbx, qword [rbx]
lea rcx, [rbp + 0x28]
mov qword [rbp + 0x28], rbx
mov qword [rsp + 0x28], rcx
lea r8, str._anonymous_namespace::remove_reparse_point
lea rcx, str.Reparse_point_detected_for__s__remove_attempted
mov r9d, 0xf7
mov qword [rsp + 0x20], rcx
lea rdx, str.E:BT98e4b0b8_6261_4b66_a156_8e0ef62b3d71UBF_1CSIS_Shared_srcIncludeWinFsInfo.cpp
mov ecx, 1
call fcn.1400323dc
mov al, 1
jmp 0x1400491cb
xor al, al
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x140049894
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x450]
sub rsp, 0x550
mov rax, qword [0x1403cd210]
xor rax, rsp
mov qword [rbp + 0x440], rax
mov rbx, rcx
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp + 0x1f0]
call fcn.140138ee0
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400498e3
mov rcx, qword [rbx]
lea rdx, [rbp + 0x1f0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor edi, edi
cmp rax, 0xffffffffffffffff
je 0x140049918
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rbp + 0x1f0]
mov rcx, rbx
call fcn.140048fe4
test al, al
jne 0x140049ae8
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rdi
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140034c5c
nop
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
cmp word [rcx + rax*2 - 2], 0x5c
je 0x140049965
mov r8d, 1
lea rdx, [0x140353ca4]
lea rcx, [rsp + 0x38]
call fcn.140031c78
lea r8, [0x140359c08]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.1400350cc
nop
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp - 0x60]
call fcn.140138ee0
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
lea rdx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140049a9b
movzx ecx, word [rbp - 0x32]
cmp word [rbp - 0x34], 0x2e
jne 0x1400499d8
test cx, cx
je 0x140049a2b
cmp word [rbp - 0x34], 0x2e
jne 0x1400499d8
cmp cx, 0x2e
jne 0x1400499d8
cmp word [rbp - 0x30], di
je 0x140049a2b
lea r8, [rbp - 0x34]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x78]
call fcn.1400350cc
nop
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x78]
call fcn.140048fe4
test al, al
jne 0x140049a0f
test byte [rbp - 0x60], 0x10
je 0x140049a0f
lea rcx, [rsp + 0x78]
call fcn.140049894
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x140049a2b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
call fcn.1400331fc
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400499b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
cmp eax, 0x12
je 0x140049a91
mov ecx, 5
call fcn.1400e2070
test eax, eax
je 0x140049a91
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, str.FindNextFile_failed__Error_d
mov qword [rsp + 0x20], rax
mov r9d, 0x183
lea r8, str.WinFsInfo::RemoveSymbolicLinkFromDirectory
lea rdx, str.E:BT98e4b0b8_6261_4b66_a156_8e0ef62b3d71UBF_1CSIS_Shared_srcIncludeWinFsInfo.cpp
mov ecx, 5
call fcn.140032100
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140049ab8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
call fcn.1400331fc
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], di
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140049ae8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
call fcn.1400331fc
mov rcx, qword [rbp + 0x440]
xor rcx, rsp
call fcn.140119fe0
lea r11, [rsp + 0x550]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14004bedc
Capabilities:
Check if file exists
Get file attributes
Move file
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1403cd210]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
xor ebx, ebx
test rcx, rcx
je 0x14004c037
cmp bx, word [rcx]
je 0x14004c037
cmp word [rcx], 0x2e
jne 0x14004bf3f
cmp word [rcx + 2], bx
je 0x14004c037
cmp word [rcx], 0x2e
jne 0x14004bf3f
cmp word [rcx + 2], 0x2e
jne 0x14004bf3f
cmp word [rcx + 4], bx
je 0x14004c037
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], bx
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.140031d84
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004bf7b
test al, 0x10
mov sil, bl
jne 0x14004bf7e
mov sil, 1
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x14004bf99
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
call fcn.1400331fc
test sil, sil
jne 0x14004c037
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], bx
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.140031d84
nop
mov esi, 4
mov r8d, esi
lea rdx, str..
lea rcx, [rbp - 0x50]
call fcn.140031c78
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
call fcn.14004c05c
test al, al
je 0x14004c018
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
mov edx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov r8d, esi
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne bl
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x14004c033
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
call fcn.1400331fc
mov al, bl
jmp 0x14004c039
xor al, al
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140119fe0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14004e5c4
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x14004e750
cmp ecx, 0x7c
je 0x14004e750
cmp ecx, 0x29
jne 0x14004e607
cmp dword [rbx + 0x1c], 0
jne 0x14004e750
test dword [rbx + 0x80], 0x10000000
je 0x14004e777
cmp ecx, 0x2e
jne 0x14004e627
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.14004e954
mov rcx, rbx
call fcn.14004e574
jmp 0x14004e73e
cmp ecx, 0x5c
jne 0x14004e68b
mov rcx, rbx
call fcn.14004e574
test byte [rbx + 0x80], 0x80
je 0x14004e67e
cmp word [rbx + 0x78], 0x62
jne 0x14004e65f
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.14004e954
mov rcx, rbx
call fcn.14004e574
jmp 0x14004e746
cmp word [rbx + 0x78], 0x42
jne 0x14004e67e
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.14004e954
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x14004e652
mov rcx, rbx
call fcn.14004f54c
jmp 0x14004e73e
cmp ecx, 0x5b
jne 0x14004e6af
mov rcx, rbx
call fcn.14004e574
mov rcx, rbx
call fcn.14004f4e4
cmp dword [rbx + 0x7c], 0x5d
jne 0x14004e769
jmp 0x14004e61a
cmp ecx, 0x28
jne 0x14004e6d3
mov rcx, rbx
call fcn.14004e574
mov rcx, rbx
call fcn.14004f628
cmp dword [rbx + 0x7c], 0x29
mov dil, al
jne 0x14004e777
jmp 0x14004e731
cmp ecx, 0x5e
jne 0x14004e6e0
lea edx, [rcx - 0x5c]
jmp 0x14004e649
cmp ecx, 0x24
jne 0x14004e6ed
lea edx, [rcx - 0x21]
jmp 0x14004e649
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14004e75b
cmp ecx, 0x3f
je 0x14004e75b
cmp ecx, 0x7b
je 0x14004e75b
cmp ecx, 0x7d
jne 0x14004e710
test dword [rbx + 0x80], 0x10000000
je 0x14004e785
cmp ecx, 0x5d
jne 0x14004e721
test dword [rbx + 0x80], 0x10000000
je 0x14004e769
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.14004f7c4
mov dil, 1
mov rcx, rbx
call fcn.14004e574
test dil, dil
je 0x14004e746
mov rcx, rbx
call fcn.14004f6c8
mov ecx, dword [rbx + 0x7c]
mov al, 1
jmp 0x14004e5d6
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0xa
mov rcx, rbx
call fcn.14004d7d8
int3
mov edx, 4
mov rcx, rbx
call fcn.14004d7d8
int3
mov edx, 5
mov rcx, rbx
call fcn.14004d7d8
int3
mov edx, 6
mov rcx, rbx
call fcn.14004d7d8
int3
Function at 0x140052158
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x7b0]
sub rsp, 0x8b0
mov rax, qword [0x1403cd210]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov rsi, rcx
xor r14d, r14d
mov qword [rbp - 0x78], r14
lea edi, [r14 + 7]
mov qword [rbp - 0x70], rdi
mov word [rsp + 0x78], r14w
lea rcx, [rsp + 0x38]
call fcn.140034d5c
nop
lea rcx, [rsp + 0x38]
call fcn.140034f50
lea rdx, str._CommonProgramW6432_
lea rcx, str._COMMONPROGRAMFILES_
test al, al
cmove rdx, rcx
lea rcx, [rsp + 0x78]
call fcn.140031d84
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x60]
call fcn.140138ee0
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
mov r8d, 0x400
lea rdx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [rax - 1]
cmp ecx, 0x3ff
ja 0x1400522b9
dec eax
mov edx, eax
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], rdi
mov word [rsp + 0x58], r14w
lea rcx, [rsp + 0x58]
cmp rdx, rdi
ja 0x14005224c
mov qword [rsp + 0x68], rdx
lea rbx, [rax + rax]
mov r8, rbx
lea rdx, [rbp - 0x60]
call fcn.1401389a0
mov word [rsp + rbx + 0x58], r14w
jmp 0x140052255
lea r9, [rbp - 0x60]
call fcn.140033078
lea rax, [rsp + 0x58]
cmp rsi, rax
je 0x140052297
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x140052279
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsi]
call fcn.1400331fc
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rsi + 0x10], xmm1
mov qword [rsp + 0x70], rdi
mov word [rsp + 0x58], r14w
jmp 0x14005229c
mov rdi, qword [rsp + 0x70]
cmp rdi, 8
jb 0x1400522b4
lea rdx, [rdi*2 + 2]
mov rcx, qword [rsp + 0x58]
call fcn.1400331fc
mov dil, 1
jmp 0x140052307
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
mov ebx, 5
mov ecx, ebx
call fcn.1400e2070
test eax, eax
je 0x140052304
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, str.Failed_to_expand_environment_variable_for_program_filescommon_files__error:__d
mov qword [rsp + 0x20], rax
mov r9d, 0xed
lea r8, str.CSIS::_GetCommonProgramFilesPath
lea rdx, str.E:BT98e4b0b8_6261_4b66_a156_8e0ef62b3d71UBF_1CSIS_srcCSISCommonUtils.cpp
mov ecx, ebx
call fcn.140032100
mov dil, r14b
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x14005233c
or esi, 0xffffffff
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x14005233c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14005233c
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 8]
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x140052358
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
call fcn.1400331fc
mov al, dil
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.140119fe0
lea r11, [rsp + 0x8b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140052f34
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov rbx, rcx
mov esi, 0x7fffffff
mov ebp, 0x9908b0df
mov r9, qword [rbx]
mov r8d, dword [r9]
cmp r8d, 0x270
jne 0x140052fa4
lea r8, [r9 + 8]
mov r10d, 0x270
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
and edx, esi
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, ebp
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140052f69
mov r8d, dword [r9]
jmp 0x140053072
cmp r8d, 0x4e0
jb 0x140053072
lea r10, [r9 + 0x9c4]
mov r11d, 0xe3
mov eax, dword [r10]
lea r8, [r10 + 4]
mov edx, dword [r8]
xor edx, eax
and edx, esi
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, ebp
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 - 0x9c0], ecx
lea r10, [r8]
sub r11, 1
jne 0x140052fc1
lea r10, [r9 + 0xd50]
mov r11d, 0x18c
mov eax, dword [r10]
mov edx, eax
lea r8, [r10 + 4]
xor edx, dword [r8]
and edx, esi
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, ebp
xor ecx, dword [r10 - 0xd4c]
xor ecx, edx
mov dword [r10 - 0x9c0], ecx
lea r10, [r8]
sub r11, 1
jne 0x140053006
mov edx, dword [r9 + 0x1380]
xor edx, dword [r9 + 4]
and edx, esi
xor edx, dword [r9 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, ebp
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
and dword [r9], 0
xor r8d, r8d
mov eax, r8d
mov edx, dword [r9 + rax*4 + 4]
mov ecx, edx
lea eax, [r8 + 1]
shr ecx, 0xb
mov dword [r9], eax
mov eax, dword [r9 + 0x1384]
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
cmp eax, dword [rbx + 0x10]
ja 0x140052f50
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
ret