joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140039e60
Capabilities:
Check if file exists
Delete directory
Delete file
Set file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x578
mov byte [rsp + 0x37], r8b
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140192040]
xor rax, rsp
mov qword [rsp + 0x570], rax
lea r14, [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.1400e6710
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.14003a3d0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1401667f0]
movaps xmmword [rdi], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.14003a610
movsx rax, byte [rdi + 0x17]
test rax, rax
jns 0x140039efa
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x140039fce
lea r14, [rsp + 0x58]
lea r15, [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
mov r12, qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rbx, qword [sym.imp.KERNEL32.dll_GetLastError]
xor r13d, r13d
mov r8d, 0x250
mov rcx, r14
mov dl, 0xaa
call fcn.1400e6710
mov rcx, r15
mov rdx, r14
call fcn.14003a5c0
mov edx, dword [rsp + 0x58]
test dl, 1
jne 0x14003a00b
mov rcx, r14
call fcn.14003a360
test al, al
jne 0x14003a060
cmp byte [rsp + 0x57], 0
mov rcx, rdi
jns 0x140039f68
mov rcx, qword [rsp + 0x40]
call r12
test eax, eax
jne 0x14003a059
call rbx
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
test r13d, r13d
cmovne ebp, r13d
mov rcx, r14
call fcn.1400248b0
mov rcx, r15
mov rdx, r14
call fcn.14003a610
mov rcx, rdi
mov rdx, r14
call fcn.14003d180
mov rcx, r14
call fcn.1400819e0
movsx rax, byte [rsp + 0x57]
test rax, rax
jns 0x140039fc2
mov rax, qword [rsp + 0x48]
mov r13d, ebp
test rax, rax
jne 0x140039f21
lea rcx, [rsp + 0x40]
call fcn.1400819e0
lea rcx, [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
call fcn.14003a550
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.1400b4010
mov eax, ebp
add rsp, 0x578
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [rsp + 0x37], 0
je 0x14003a033
cmp byte [rsp + 0x57], 0
js 0x14003a020
lea rcx, [rsp + 0x40]
jmp 0x14003a025
mov rcx, qword [rsp + 0x40]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x140039f49
lea rcx, [rsp + 0x58]
call fcn.14003a360
test al, al
jne 0x14003a047
mov edx, dword [rsp + 0x58]
jmp 0x14003a012
lea rcx, [rsp + 0x58]
call fcn.14003a360
test al, al
je 0x140039f59
xor ebp, ebp
jmp 0x140039f85
xor ebp, ebp
cmp byte [rsp + 0x37], 0
je 0x140039f85
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x38], rcx
mov rdx, rsi
mov r8b, 1
call fcn.140039e60
mov ebp, eax
test eax, eax
jne 0x140039f85
cmp byte [rsp + 0x57], 0
jns 0x14003a09d
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, 0
test eax, eax
jne 0x140039f85
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x140039f85
Function at 0x14003c190
Capabilities:
Delete file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x140192040]
xor rax, rsp
mov qword [rsp + 0x50], rax
call fcn.14003c350
mov eax, dword [rsi]
mov dword [0x140194144], eax
mov bl, 1
test al, 1
jne 0x14003c1d7
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400b4010
mov eax, ebx
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [0x1401a3928]
test rcx, rcx
je 0x14003c205
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1401a3928], 0
cmp qword [0x1401a3930], 0
jne 0x14003c205
and byte [0x140194144], 0xfe
mov rax, qword [rsi + 0x28]
test rax, rax
je 0x14003c22e
movsx rcx, byte [rsi + 0x1f]
test rcx, rcx
jns 0x14003c21c
mov rcx, qword [rsi + 0x10]
test rcx, rcx
jne 0x14003c2a7
mov qword [0x1401a3928], rax
jmp 0x14003c1be
movsx rax, byte [rsi + 0x1f]
test rax, rax
jns 0x14003c23c
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x14003c2f6
lea rdi, [rsi + 8]
mov rcx, qword [0x1401a3930]
test rcx, rcx
jne 0x14003c277
mov ecx, 0x18
call fcn.1400b2ce8
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x1401a3930], rax
mov rdx, rdi
call fcn.140078f50
cmp dword [rsi + 0x24], 0
jne 0x14003c29b
mov rcx, qword [0x1401a3930]
cmp byte [rcx + 0x17], 0
jns 0x14003c295
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.140103eb0
mov ebx, eax
jmp 0x14003c1be
lea rdx, str.BaseInitLoggingImpl_built_with_NDEBUG
lea r8, str....._baselogging.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r9d, 0x22b
call fcn.140081680
lea rdx, str.settings.log_file_path.empty__
lea r14, [rsp + 0x48]
mov rcx, r14
mov r8d, 0x7f
mov r9, rdi
call fcn.14010c0a0
mov rcx, r14
call fcn.14010c2b0
mov rax, qword [rsi + 0x28]
jmp 0x14003c225
lea rdx, str.BaseInitLoggingImpl_built_with_NDEBUG
lea r8, str....._baselogging.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r9d, 0x231
call fcn.140081680
lea rdx, str._settings.log_file_path.empty__
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r8d, 0x7f
mov r9, rdi
call fcn.14010c0a0
lea rdx, str.LOG_TO_FILE_set_but_no_log_file_path_
mov rcx, rbx
call fcn.140103e80
mov rcx, rbx
call fcn.14010c2b0
jmp 0x14003c245
Function at 0x14003eee0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x140192040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x1401a3998]
test rdi, rdi
jne 0x14003ef93
mov ecx, 0x50
call fcn.1400b2ce8
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.1400b2ce8
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x14003efb5
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x20], rcx
mov rax, rsi
add rax, 0x38
movups xmmword [rsi + 0x38], xmm6
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x48], 1
mov qword [0x1401a3998], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14003efc8
mov rcx, rax
call fcn.1400cf9d8
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.14003efe0
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400b4010
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1401668da]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.1400e9a20
lea rcx, [0x1401668da]
lea rdx, str....._third_partylibc_srcinclude_string_view:268:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
call fcn.1400e9a20
int3
Function at 0x140042210
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x238
mov rsi, rcx
mov rax, qword [0x140192040]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdi, [rsp + 0x20]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400e6710
mov word [rdi], 0
lea rcx, str.PROGRAMFILES
mov rdx, rdi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x14004229b
mov r14d, eax
cmp word [rsp + r14*2 + 0x1e], 0x5c
je 0x140042400
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140042288
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.1400caf74
test eax, eax
je 0x140042395
lea rdx, [rsp + 0x20]
mov word [rdx], 0
lea rcx, str.PROGRAMFILES_X86_
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x1400422f2
mov r14d, eax
cmp word [rsp + r14*2 + 0x1e], 0x5c
je 0x14004240e
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1400422df
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.1400caf74
test eax, eax
je 0x1400423c7
lea rdx, [rsp + 0x20]
mov word [rdx], 0
lea rcx, str.PROGRAMW6432
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x140042345
mov r14d, eax
cmp word [rsp + r14*2 + 0x1e], 0x5c
je 0x14004241c
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140042336
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.1400caf74
test eax, eax
je 0x140042366
xor ebx, ebx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400b4010
mov eax, ebx
add rsp, 0x238
pop rbx
pop rdi
pop rsi
pop r14
ret
movsx rax, byte [rsi + 0x17]
mov rcx, rax
test rax, rax
jns 0x140042377
mov rcx, qword [rsi + 8]
mov bl, 1
cmp rcx, r14
je 0x140042347
jb 0x14004242a
test al, al
jns 0x14004238b
mov rsi, qword [rsi]
cmp word [rsi + r14*2], 0x5c
jne 0x140042345
jmp 0x140042347
movsx rax, byte [rsi + 0x17]
mov rcx, rax
test rax, rax
jns 0x1400423a6
mov rcx, qword [rsi + 8]
mov bl, 1
cmp rcx, r14
je 0x140042347
jb 0x14004242a
mov rcx, rsi
test al, al
jns 0x1400423b9
mov rcx, qword [rsi]
cmp word [rcx + r14*2], 0x5c
jne 0x14004229b
jmp 0x140042347
movsx rax, byte [rsi + 0x17]
mov rcx, rax
test rax, rax
jns 0x1400423d8
mov rcx, qword [rsi + 8]
mov bl, 1
cmp rcx, r14
je 0x140042347
jb 0x14004242a
mov rcx, rsi
test al, al
jns 0x1400423ef
mov rcx, qword [rsi]
cmp word [rcx + r14*2], 0x5c
jne 0x1400422f2
jmp 0x140042347
dec r14
jne 0x14004226f
jmp 0x14004229b
dec r14
jne 0x1400422c6
jmp 0x1400422f2
dec r14
jne 0x14004231d
jmp 0x140042345
lea rcx, [0x1401668da]
lea rdx, str....._third_partylibc_srcinclude_string:1241:_assertion___pos___size___failed:_string_index_out_of_bounds_n
call fcn.1400e9a20
int3
Function at 0x140043bb0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140192040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1401a3a48]
mov ecx, dword [0x1401a0798]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140043c10
lea rsi, [0x1401a3a40]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400b4010
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1401a3a48]
call fcn.1400b2d6c
cmp dword [0x1401a3a48], 0xffffffff
jne 0x140043bec
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1400e6710
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x88
call fcn.1400b2ce8
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1401a3a90]
mov ecx, dword [0x1401a0798]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140043cd0
lea r8, [0x1401a3a60]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140043dd0
mov qword [0x1401a3a40], rsi
lea rcx, [0x1401a3a48]
call fcn.1400b2e20
jmp 0x140043bec
lea rcx, [0x1401a3a90]
call fcn.1400b2d6c
cmp dword [0x1401a3a90], 0xffffffff
jne 0x140043ca1
xorps xmm0, xmm0
movups xmmword [0x1401a3a80], xmm0
movups xmmword [0x1401a3a70], xmm0
movups xmmword [0x1401a3a60], xmm0
lea rcx, [0x1401a3a60]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1401a3a90]
call fcn.1400b2e20
jmp 0x140043ca1

Function at 0x140043d20
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1401a3a90]
mov ecx, dword [0x1401a0798]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140043d5b
movzx eax, word [0x1401a3a60]
cmp eax, 9
jne 0x140043da3
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x1401a3a90]
call fcn.1400b2d6c
cmp dword [0x1401a3a90], 0xffffffff
jne 0x140043d45
xorps xmm0, xmm0
movups xmmword [0x1401a3a80], xmm0
movups xmmword [0x1401a3a70], xmm0
movups xmmword [0x1401a3a60], xmm0
lea rcx, [0x1401a3a60]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1401a3a90]
call fcn.1400b2e20
jmp 0x140043d45
test eax, eax
je 0x140043d56
cmp eax, 6
jne 0x140043db3
mov eax, 2
jmp 0x140043d56
cmp eax, 0xc
jne 0x140043dbf
mov eax, 3
jmp 0x140043d56
mov eax, 4
jmp 0x140043d56
Function at 0x140045380
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
cmp dword [rcx + 0x10], 0
jne 0x140045475
cmp qword [rsi], 0
jne 0x140045475
cmp dword [rsi + 0x14], 0
jne 0x140045475
cmp qword [rsi + 8], 0
jne 0x140045475
xor eax, eax
mov r14, qword [rdi]
cmp rax, r14
je 0x1400453f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14004545c
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400453ec
mov qword [rsi], r14
call fcn.1400816a0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
cmp qword [rsi + 8], r14
je 0x14004542e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x140045444
lea rax, [r14 + 1]
cmp rax, 2
jb 0x140045426
mov qword [rsi + 8], r14
call fcn.1400816a0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x10], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0x14], eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400816a0
mov rcx, qword [rsi + 8]
call fcn.14007c190
mov qword [rsi + 8], 0
jmp 0x140045413
call fcn.1400816a0
mov rcx, qword [rsi]
call fcn.14007c190
mov qword [rsi], 0
jmp 0x1400453da
mov rcx, rsi
call fcn.14007c3e0
lea rcx, [rsi + 8]
call fcn.14007c3e0
mov qword [rsi + 0x10], 0
mov rax, qword [rsi]
jmp 0x1400453ba
Function at 0x140048d30
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x248
mov rax, qword [0x140192040]
xor rax, rsp
mov qword [rsp + 0x240], rax
movaps xmm0, xmmword [0x1401667f0]
lea rcx, [rsp + 0x20]
movaps xmmword [rcx], xmm0
call sub.ntdll.dll_RtlFormatCurrentUserKeyPath
mov esi, eax
test eax, eax
js 0x140048eac
lea rdi, [rsp + 0x20]
mov rdx, qword [rdi + 8]
lea rbx, [0x1401a40c0]
mov r14d, 0xff
mov r8d, 0xff
mov rcx, rbx
call fcn.1400cfe2c
mov rcx, rbx
call fcn.1400cf9d8
sub r14, rax
lea rdx, [0x14016a12e]
mov rcx, rbx
mov r8, r14
call fcn.1400cfe2c
mov rcx, rdi
call sub.ntdll.dll_RtlFreeUnicodeString
lea rbx, [rsp + 0x30]
mov r8d, 0x208
mov rcx, rbx
xor edx, edx
call fcn.1400e6710
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdi, rax
lea rcx, str.PROGRAMFILES
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x140048e0c
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400cfe74
test eax, eax
je 0x140048ed0
lea rcx, str.PROGRAMFILES_X86_
lea rdx, [rsp + 0x30]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x140048e47
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400cfe74
test eax, eax
je 0x140048ed0
xor eax, eax
mov byte [0x1401a3cb1], al
mov dword [rsp + 0x30], 0
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1401773f0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140048ed7
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x30]
mov rcx, rax
mov rax, rdi
call qword [0x140185010]
test eax, eax
je 0x140048ed7
cmp dword [rsp + 0x30], 0
setne al
mov byte [0x1401a42c0], al
mov byte [0x1401a3cb0], 1
test esi, esi
setns bl
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400b4010
mov eax, ebx
add rsp, 0x248
pop rbx
pop rdi
pop rsi
pop r14
ret
mov al, 1
jmp 0x140048e49
xor eax, eax
jmp 0x140048e9f
Function at 0x1400491d0
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rsi, r8
mov ebx, edx
mov edi, ecx
mov rax, qword [0x140192040]
xor rax, rsp
mov qword [rsp + 0x70], rax
movsx rax, byte [r8 + 0x17]
test rax, rax
jns 0x140049204
mov rax, qword [rsi + 8]
test rax, rax
je 0x1400492fb
bt ebx, 8
jae 0x140049220
mov eax, ebx
and eax, 0x200
jne 0x1400492fb
cmp edi, 2
lea rax, [0x1401a3cc0]
lea rcx, [0x1401a3ec0]
cmove rcx, rax
cmp word [rcx], 0
jne 0x1400492fb
xorps xmm0, xmm0
lea r14, [rsp + 0x40]
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [r14], 0
je 0x1400492fb
bt ebx, 8
jb 0x1400492fb
shr ebx, 9
and ebx, 1
or bl, byte [0x1401a42c0]
je 0x1400492fb
cmp edi, 2
lea rax, str.SOFTWAREClasses
lea r12, str.SOFTWARE
cmove r12, rax
movsx r13, byte [rsi + 0x17]
test r13, r13
jns 0x14004931a
mov r14, qword [rsi]
mov r13, qword [rsi + 8]
mov edi, 1
xor ebx, ebx
xor eax, eax
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x2c], 0
mov r15, qword [r12 + 8]
mov rbp, r13
sub rbp, r15
jb 0x1400492e4
mov rdx, qword [r12]
mov rcx, r14
mov r8, r15
call fcn.1400caf74
test eax, eax
je 0x14004931f
add r12, 0x28
inc rbx
cmp rbx, rdi
jb 0x1400492c4
cmp dword [rsp + 0x2c], 0
jne 0x14004939a
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400b4010
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14, rsi
jmp 0x1400492a7
movzx ecx, word [r14 + r15*2]
cmp ecx, 0x5c
je 0x14004932d
test ecx, ecx
jne 0x1400492e4
lea rax, [r14 + r15*2]
mov edx, dword [r12 + 0x10]
mov dword [rsp + 0x2c], edx
cmp edx, 1
je 0x140049359
cmp dword [rsp + 0x2c], 2
jne 0x14004936a
lea rdx, str.WOW6432Node
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rax
jmp 0x14004936a
lea rdx, str.WOW6432Node_
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r14
cmp cx, 0x5c
jne 0x140049383
lea r14, [rax + 2]
dec rbp
cmp word [rax + 2], 0x5c
mov rax, r14
je 0x140049370
jmp 0x140049386
mov r14, rax
mov rdi, qword [r12 + 0x20]
mov r12, qword [r12 + 0x18]
xor ebx, ebx
mov r13, rbp
jmp 0x1400492eb
cmp byte [rsi + 0x17], 0
mov rax, rsi
jns 0x1400493a6
mov rax, qword [rsi]
mov rdx, qword [rsp + 0x30]
sub rdx, rax
sar rdx, 1
mov rcx, rsi
mov r8, qword [rsp + 0x38]
call fcn.1401019c0
jmp 0x1400492fb
Function at 0x14004c620
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
cmp rdx, r9
mov r10, r9
cmovb r10, rdx
xor eax, eax
test r10, r10
je 0x14004c67f
xor r11d, r11d
mov rsi, qword [r8 + r11*8]
mov rdi, qword [rcx + r11*8]
mov rbx, rdi
xor rbx, rsi
lea r14, [rbx - 1]
mov r15, rdi
sub r15, rsi
xor r15, rdi
or r15, rbx
not rbx
and r14, rbx
sar r14, 0x3f
xor r15, rdi
sar r15, 0x3f
or r15, 1
xor rax, r15
and rax, r14
xor rax, r15
inc r11
cmp r10, r11
jne 0x14004c63b
cmp rdx, r9
jb 0x14004c68e
ja 0x14004c6b2
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor ecx, ecx
or rcx, qword [r8 + rdx*8]
inc rdx
cmp r9, rdx
jne 0x14004c690
mov rdx, rcx
not rdx
dec rcx
and rcx, rdx
sar rcx, 0x3f
not ecx
or eax, ecx
jmp 0x14004c686
xor r8d, r8d
or r8, qword [rcx + r9*8]
inc r9
cmp rdx, r9
jne 0x14004c6b5
mov rcx, r8
not rcx
dec r8
and r8, rcx
sar r8, 0x3f
xor eax, 1
and eax, r8d
xor eax, 1
jmp 0x14004c686
Function at 0x14004eaf0
Capabilities:
Hash data using sha256

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r15, rcx
mov r13, qword [rsp + 0xb0]
mov rax, qword [0x140192040]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
xor r14d, r14d
test r13, r13
je 0x14004eb60
mov ecx, dword [r13 + 0x2c]
call fcn.140097f90
test rax, rax
je 0x14004ec31
mov r12, rax
xor ecx, ecx
call fcn.140097ff0
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r13
mov r14, r12
mov rax, qword [r13 + 0x10]
lea rcx, [0x140128cf0]
cmp rax, rcx
jne 0x14004ec35
xorps xmm0, xmm0
movups xmmword [r14 + 0x5c], xmm0
movups xmmword [r14 + 0x50], xmm0
movups xmmword [r14 + 0x40], xmm0
movups xmmword [r14 + 0x30], xmm0
movups xmmword [r14 + 0x20], xmm0
movaps xmm0, xmmword [0x140179d60]
movups xmmword [r14], xmm0
movaps xmm0, xmmword [0x140179d70]
movups xmmword [r14 + 0x10], xmm0
mov dword [r14 + 0x6c], 0x20
lea r14, [rsp + 0x20]
mov rax, qword [r14]
mov rax, qword [rax + 0x18]
mov rcx, r14
mov rdx, r15
mov r8, rbx
call qword [0x140185010]
mov rax, qword [r14]
mov rax, qword [rax + 0x20]
mov rcx, r14
mov rdx, rdi
call qword [0x140185010]
mov rax, qword [r14]
test rsi, rsi
je 0x14004ebea
mov ecx, dword [rax + 4]
mov dword [rsi], ecx
mov edx, dword [rax + 0x2c]
mov rcx, qword [rsp + 0x28]
call fcn.140098030
mov r14d, 1
mov rcx, qword [rsp + 0x28]
call fcn.140097ff0
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x14004ec45
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400b4010
mov eax, r14d
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ecx, ecx
jmp 0x14004ec02
lea rcx, [rsp + 0x20]
call qword [0x140185010]
jmp 0x14004ebaf
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
call qword [0x140185010]
jmp 0x14004ec11

Function at 0x14004ecb0
Capabilities:
Hash data using sha256

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
cmp qword [rcx], rdx
je 0x14004ece2
mov ecx, dword [rdi + 0x2c]
call fcn.140097f90
test rax, rax
je 0x14004ed36
mov rbx, rax
mov rcx, qword [rsi + 8]
call fcn.140097ff0
mov qword [rsi + 8], rbx
mov qword [rsi], rdi
mov rax, qword [rdi + 0x10]
lea rcx, [0x140128cf0]
cmp rax, rcx
jne 0x14004ed3a
mov rax, qword [rsi + 8]
xorps xmm0, xmm0
movups xmmword [rax + 0x5c], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x20], xmm0
movaps xmm0, xmmword [0x140179d60]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x140179d70]
movups xmmword [rax + 0x10], xmm0
mov dword [rax + 0x6c], 0x20
mov eax, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
xor eax, eax
jmp 0x14004ed2e
mov rcx, rsi
call qword [0x140185010]
jmp 0x14004ed29
Function at 0x14004ede0
Capabilities:
Hash data using sha256

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
cmp qword [rcx + 0x10], 0
jne 0x14004ee17
mov rcx, qword [rsp + 0x80]
mov rdx, r9
call fcn.140059110
mov qword [rdi + 0x10], rax
test rax, rax
je 0x14004ef1b
mov ebp, dword [rsp + 0x88]
lea rcx, [0x1401a5e50]
lea rdx, [0x140052790]
call fcn.1400999e0
lea rax, [0x1401a5e58]
mov qword [rdi + 0x18], rax
mov rcx, qword [rdi + 0x10]
cmp ebp, 1
jne 0x14004ef1f
call fcn.140059410
test eax, eax
je 0x14004ef1b
test rbx, rbx
je 0x14004ee6f
mov rcx, qword [rdi + 0x10]
mov rdx, rbx
call fcn.140058030
test eax, eax
je 0x14004ef1b
xor eax, eax
test ebp, ebp
setne al
mov rcx, qword [rdi + 0x10]
mov rcx, qword [rcx]
shl eax, 4
cmp qword [rcx + rax + 0x28], 0
je 0x14004eefd
test rbx, rbx
je 0x14004ef34
cmp qword [rdi], rbx
je 0x14004eeb6
mov ecx, dword [rbx + 0x2c]
call fcn.140097f90
test rax, rax
je 0x14004ef1b
mov r14, rax
mov rcx, qword [rdi + 8]
call fcn.140097ff0
mov qword [rdi + 8], r14
mov qword [rdi], rbx
mov rax, qword [rbx + 0x10]
lea rcx, [0x140128cf0]
cmp rax, rcx
jne 0x14004ef29
mov rax, qword [rdi + 8]
xorps xmm0, xmm0
movups xmmword [rax + 0x5c], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x20], xmm0
movaps xmm0, xmmword [0x140179d60]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x140179d70]
movups xmmword [rax + 0x10], xmm0
mov dword [rax + 0x6c], 0x20
mov ebx, 1
test rsi, rsi
je 0x14004ef0e
mov rax, qword [rdi + 0x10]
mov qword [rsi], rax
mov eax, ebx
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
xor ebx, ebx
jmp 0x14004ef0e
call fcn.1401360e0
jmp 0x14004ee4e
mov rcx, rdi
call qword [0x140185010]
jmp 0x14004eefd
mov dword [rsp + 0x20], 0x6d
lea r9, str....._third_party_boringssl_srccrypto_fipsmoduledigestsigndigestsign.c
xor ebx, ebx
mov ecx, 6
xor edx, edx
mov r8d, 0x77
call fcn.140135f70
jmp 0x14004ef0e