joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003e050
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x28
lea rcx, [0x14003bf70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__tzset]
add rsp, 0x28
jmp 0x14003e050
push rbp
lea rbp, [rsp - 0x980]
sub rsp, 0xa80
mov rax, qword [0x1403f79f0]
xor rax, rsp
mov qword [rbp + 0x970], rax
lea rax, [rsp + 0x50]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMySQL
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14003e1ce
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x44]
lea rax, [rbp + 0x60]
mov qword [rsp + 0xa90], rbx
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rsp + 0x48]
mov qword [rsp + 0xa98], rdi
xor edi, edi
mov qword [rsp + 0x28], rax
xor edx, edx
mov qword [rsp + 0x20], rdi
mov ebx, edi
mov dword [rsp + 0x44], 0xff
mov dword [rsp + 0x40], 0x3ff
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
je 0x14003e1b3
nop dword [rax]
inc ebx
cmp eax, 0xea
je 0x14003e15f
test eax, eax
jne 0x14003e1b3
cmp dword [rsp + 0x48], 1
jne 0x14003e15f
lea r9, [rbp + 0x60]
mov qword [rsp + 0x20], rdi
lea r8, [0x1400e11e8]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x460]
call fcn.1400530b0
lea rcx, [rbp + 0x460]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__putenv]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x44]
lea rax, [rbp + 0x60]
mov dword [rsp + 0x44], 0xff
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rsp + 0x48]
mov dword [rsp + 0x40], 0x3ff
mov qword [rsp + 0x28], rax
mov edx, ebx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
jne 0x14003e110
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0xa98]
mov rbx, qword [rsp + 0xa90]
mov rcx, qword [rbp + 0x970]
xor rcx, rsp
call fcn.1400da560
add rsp, 0xa80
pop rbp
ret
Function at 0x14003f850
Capabilities:
Get common file path
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x230
mov rax, qword [0x1403f79f0]
xor rax, rsp
mov qword [rsp + 0x220], rax
xor ebp, ebp
mov rsi, rcx
mov edi, ebp
lea edx, [rbp + 0x40]
call fcn.140048ee0
mov rbx, rax
test rax, rax
je 0x14003f994
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rax], xmm0
mov edx, 0x200
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
test eax, eax
je 0x14003f8cc
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14003f4b0
mov edi, eax
mov edx, 0x200
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x14003f8f2
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14003f4b0
add edi, eax
mov r8, rbx
lea rdx, [0x1400e18a8]
mov rcx, rsi
call fcn.14003f4b0
mov edx, 0x200
lea rcx, [rsp + 0x20]
add edi, eax
call fcn.14003f9e0
test rax, rax
je 0x14003f955
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14003f4b0
lea r8, str._data
mov edx, 0x200
lea rcx, [rsp + 0x20]
add edi, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14003f4b0
add edi, eax
lea rcx, str.MYSQL_HOME
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x14003f977
mov r8, rbx
mov rdx, rax
mov rcx, rsi
call fcn.14003f4b0
add edi, eax
mov r8, rbx
lea rdx, [0x1400dd81b]
mov rcx, rsi
call fcn.14003f4b0
add eax, edi
test eax, eax
cmovg rbx, rbp
mov rax, rbx
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1400da560
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140043910
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movsx ebx, cl
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ecx, ebx
mov edi, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
lea ecx, [rax - 0x41]
cmp cl, 0x19
ja 0x140043950
movsx ecx, al
sub ecx, 0x41
movzx edx, cl
bt edi, edx
jae 0x140043950
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor al, al
add rsp, 0x20
pop rdi
ret

Function at 0x1400439f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140043a14
test al, 1
je 0x140043a0c
test bl, 2
jne 0x140043a14
xor eax, eax
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0xd
call fcn.14003bf20
mov dword [rax], 0xd
mov eax, 0xffffffff
add rsp, 0x20
pop rbx
ret

Function at 0x140046c80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140046c9f
bt eax, 0xa
jae 0x140046c9f
mov eax, 1
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret
Function at 0x14004f180
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
call fcn.14004efd0
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14004f1c5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x14004f1c5
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14004ef70
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rbx, rax
call fcn.14003bf20
mov ecx, dword [rbx]
mov rbx, qword [rsp + 0x30]
mov dword [rax], ecx
mov eax, 0xffffffff
add rsp, 0x20
pop rdi
ret

Function at 0x14004f4a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
xor eax, eax
mov rdi, r9
mov qword [rsp + 0x30], rax
mov rbx, r8
mov qword [rsp + 0x38], rax
mov rsi, rdx
mov qword [rsp + 0x48], rax
test r8, r8
je 0x14004f552
call fcn.14004efd0
mov ecx, 0xffffffff
mov dword [rsp + 0x40], edi
shr rdi, 0x20
lea rdx, [rsp + 0x30]
cmp rbx, rcx
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x70]
mov dword [rsp + 0x44], edi
cmovbe ecx, ebx
mov rdx, rsi
mov r8d, ecx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14004f53e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x26
je 0x14004f552
cmp eax, 0x6d
je 0x14004f552
mov ecx, eax
call fcn.14004ef70
mov rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov eax, dword [rsp + 0x70]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov rbx, qword [rsp + 0x60]
xor eax, eax
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x14004f570
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
xor eax, eax
mov rdi, r9
mov qword [rsp + 0x30], rax
mov rbx, r8
mov qword [rsp + 0x38], rax
mov rsi, rdx
mov qword [rsp + 0x48], rax
test r8, r8
je 0x14004f604
call fcn.14004efd0
mov ecx, 0xffffffff
mov dword [rsp + 0x40], edi
shr rdi, 0x20
lea rdx, [rsp + 0x30]
cmp rbx, rcx
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x70]
mov dword [rsp + 0x44], edi
cmovbe ecx, ebx
mov rdx, rsi
mov r8d, ecx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14004f600
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14004ef70
mov rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov eax, dword [rsp + 0x70]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x14004f620
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, r8
mov rdi, rdx
test r8, r8
je 0x14004f69e
call fcn.14004efd0
mov ecx, 0xffffffff
mov qword [rsp + 0x20], 0
cmp rbx, rcx
lea r9, [rsp + 0x50]
mov rdx, rdi
cmovbe ecx, ebx
mov r8d, ecx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14004f68f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x26
je 0x14004f69e
cmp eax, 0x6d
je 0x14004f69e
mov ecx, eax
call fcn.14004ef70
mov rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov eax, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x14004f9c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x50
xor ebx, ebx
mov rsi, rdx
mov r9d, ecx
test r8, r8
jne 0x14004f9e4
xor eax, eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rsi
ret
mov edx, 0xffffffff
mov qword [rsp + 0x60], rdi
cmp r8, rdx
mov edi, edx
cmovbe rdi, r8
call fcn.14004efb0
test al, 8
je 0x14004fa1d
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x48], rbx
lea rbx, [rsp + 0x30]
mov qword [rsp + 0x40], 0xffffffffffffffff
mov ecx, r9d
call fcn.14004efd0
lea r9, [rsp + 0x70]
mov qword [rsp + 0x20], rbx
mov r8d, edi
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdi, qword [rsp + 0x60]
test eax, eax
jne 0x14004fa66
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14004ef70
mov rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rsi
ret
mov eax, dword [rsp + 0x70]
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rsi
ret

Function at 0x140051210
Capabilities:
Get mac address on windows

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], rdi
mov rax, qword [0x1403f79f0]
xor rax, rbp
mov qword [rbp + 8], rax
mov rsi, rcx
mov dword [rbp], 0
xor ecx, ecx
lea rdx, [rbp]
mov dil, 1
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x1400512ca
mov eax, dword [rbp]
lea rdx, [rax + 0xf]
cmp rdx, rax
ja 0x140051269
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.1400da500
sub rsp, rdx
lea rdx, [rbp]
lea rbx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x1400512ca
test rbx, rbx
je 0x1400512ca
test dil, dil
je 0x1400512ca
cmp dword [rbx + 0x1a4], 6
jne 0x1400512c2
cmp dword [rbx + 0x194], 6
jne 0x1400512c2
lea rdx, [rbx + 0x198]
mov r8d, 6
mov rcx, rsi
call fcn.1400511d0
movzx edi, al
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140051293
movzx eax, dil
mov rcx, qword [rbp + 8]
xor rcx, rbp
call fcn.1400da560
mov rbx, qword [rbp + 0x20]
mov rsi, qword [rbp + 0x28]
mov rdi, qword [rbp + 0x30]
lea rsp, [rbp + 0x10]
pop rbp
ret
Function at 0x1400513b0
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x138
mov rax, qword [0x1403f79f0]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov ebp, r9d
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
test rdx, rdx
jne 0x1400513fd
lea rdx, [rsp + 0x20]
mov ecx, 0xf6
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
lea rcx, [rsp + 0x20]
cmove rcx, rbx
mov rbx, rcx
mov r9, rsi
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x14005141a
mov eax, 0xffffffff
jmp 0x140051460
mov r8d, dword [rsp + 0x180]
mov rcx, rsi
mov edx, r8d
and edx, 0x40
or edx, ebp
or edx, 0x302
call fcn.14003d260
mov edi, eax
test eax, eax
jns 0x140051458
call fcn.14003bf20
xor edx, edx
mov rcx, rsi
mov ebx, dword [rax]
call fcn.14003ceb0
call fcn.14003bf20
mov dword [rax], ebx
jmp 0x14005145e
inc dword [0x140c0128c]
mov eax, edi
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.1400da560
add rsp, 0x138
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140089330
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor r9d, r9d
movsxd rbp, r8d
xor esi, esi
mov rdi, rdx
mov rbx, rcx
mov r14, rcx
test rcx, rcx
je 0x1400894db
mov rax, qword [rcx + 0x58]
lea r15, [rcx + 0x58]
test rax, rax
je 0x140089391
mov r8, rdx
mov dword [rsp + 0x28], 1
lea edx, [rsi + 2]
mov dword [rsp + 0x20], esi
mov r9d, ebp
call rax
mov r9d, eax
test eax, eax
jle 0x1400894de
mov qword [rsp + 0x50], r12
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x1400893aa
cmp byte [rbx + 0x7c], 3
je 0x1400893aa
mov rbx, rax
jmp 0x140089396
lea r12, [0x140000000]
test r9d, r9d
js 0x1400894ae
mov rax, qword [rbx + 8]
test rax, rax
je 0x1400893e3
mov r10, qword [rax + 0x110]
test r10, r10
je 0x1400893e3
mov r8d, ebp
mov rdx, rdi
mov rcx, rbx
call r10
mov r9d, eax
jmp case.default.0x140089400
movzx eax, byte [rbx + 0x7c]
add eax, 0xfffffffe
cmp eax, 6
ja case.default.0x140089400
cdqe
mov ecx, dword [r12 + rax*4 + 0x894f8]
add rcx, r12
jmp rcx
test esi, esi
jle case.default.0x140089400
mov r8d, esi
mov rdx, rdi
mov rcx, rbx
call fcn.140088bb0
mov r9d, eax
jmp case.default.0x140089400
mov r8d, ebp
mov rdx, rdi
mov rcx, rbx
call fcn.140088bf0
mov r9d, eax
jmp case.default.0x140089400
mov r8d, ebp
mov rdx, rdi
mov rcx, rbx
call fcn.140088cb0
mov r9d, eax
jmp case.default.0x140089400
mov r9, qword [rbx + 0x30]
test r9, r9
je case.0x140089400.2
mov r8, rbp
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r9, rax
jmp case.default.0x140089400
mov r9, r14
mov r8d, ebp
mov rdx, rdi
mov rcx, rbx
call fcn.140088da0
mov r9d, eax
jmp case.default.0x140089400
mov r8d, r9d
mov rdx, rdi
mov rcx, rbx
call fcn.140088c30
mov r9d, eax
jmp case.default.0x140089400
mov r9d, 0xffffff52
cmp rbx, r14
je 0x1400894ae
mov rbx, qword [rbx + 0x10]
test r9d, r9d
mov eax, r9d
cmovle eax, esi
mov esi, eax
test rbx, rbx
jne 0x1400893b1
mov rax, qword [r15]
mov r12, qword [rsp + 0x50]
test rax, rax
je 0x1400894db
mov dword [rsp + 0x28], r9d
mov r8, rdi
mov r9d, ebp
mov dword [rsp + 0x20], 0
mov edx, 0x82
mov rcx, r14
call rax
mov r9d, eax
mov eax, r9d
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x14008e060
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movzx r9d, byte [rcx + 0x228]
sub r9d, 4
je 0x14008e094
sub r9d, 2
je 0x14008e08f
sub r9d, 1
je 0x14008e08a
cmp r9d, 1
je fcn.1400bc810
mov eax, 0xffffff53
ret
jmp fcn.1400bc810
jmp fcn.1400b9ae0
jmp fcn.1400b80c0
Function at 0x140092e90
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x20], rbx
mov byte [rsp + 0x18], r8b
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rsi, rcx
movzx eax, r8b
xor ecx, ecx
movzx r15d, dl
mov dword [rsp + 0x68], ecx
mov ebp, ecx
mov r13d, ecx
mov ebx, ecx
mov edi, dword [rsi + 0x7d8]
mov r14d, edi
lea r12d, [rcx + 0x50]
cmp dl, 0xcc
jne 0x140092f06
mov ecx, eax
sub ecx, 0x15
je 0x140092eec
sub ecx, 0x95
je 0x140092eec
sub ecx, 1
je 0x140092eec
cmp ecx, 2
jne 0x140092f0c
mov eax, 1
mov rbx, qword [rsp + 0x78]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp r15b, 0xc0
jne 0x140092eec
mov rcx, qword [rsi + 0x16c0]
mov edx, 0xa
call fcn.14008e690
test rax, rax
je 0x140092eec
mov r8, qword [rax + 8]
xor r11d, r11d
mov r10d, r12d
test r8, r8
je 0x140093065
movzx r9d, byte [rsp + 0x70]
nop dword [rax + rax]
test ebx, ebx
jne 0x140093065
movzx eax, word [r8]
cmp eax, 0x1e
ja 0x140093058
mov edx, eax
mov rax, qword [rsi]
mov ecx, dword [rax + 0x11c]
bt ecx, edx
jb 0x140093058
sub edx, 0x15
je 0x140092fa3
sub edx, 2
je 0x140092f97
sub edx, 1
je 0x140092f8b
cmp edx, 1
jne 0x140093058
mov edx, 0xd3
lea eax, [rbx + 0x42]
jmp 0x140092fad
mov edx, 0xd2
mov eax, 0x30
jmp 0x140092fad
mov edx, 0x20e
mov eax, 0x20
jmp 0x140092fad
mov edx, 0xd1
mov eax, 0x1c
test ebp, ebp
jne 0x140092fc7
cmp word [rsi + 0x800], ax
ja 0x140092fc7
movzx ecx, ax
cmp r12d, ecx
jbe 0x140092fc7
mov ebp, edx
mov r12d, ecx
test r14d, r14d
jne 0x140092fd7
cmp word [rsi + 0x800], ax
cmove r14d, edx
movzx ecx, ax
test r13d, r13d
je 0x140092fe4
cmp r10d, ecx
jbe 0x140092ff3
cmp word [rsi + 0x800], ax
ja 0x140092ff3
mov r13d, edx
mov r10d, ecx
cmp r15b, 0xc0
jne 0x140093021
lea eax, [r9 - 7]
cmp eax, 0xa8
ja case.0x14009301f.11
lea rbx, [0x140000000]
cdqe
movzx eax, byte [rbx + rax + 0x930d4]
mov ecx, dword [rbx + rax*4 + 0x930cc]
add rcx, rbx
jmp rcx
cmp r15b, 0xcc
jne 0x140093058
mov ecx, r9d
sub ecx, 0x13
je case.0x14009301f.7
sub ecx, 1
je case.0x14009301f.7
sub ecx, 0x94
je case.0x14009301f.7
cmp ecx, 1
je case.0x14009301f.7
mov ebx, 1
jmp 0x140093058
cmp edi, edx
mov dword [rsp + 0x68], 1
mov ebx, r11d
sete bl
mov r8, qword [r8 + 8]
test r8, r8
jne 0x140092f40
test edi, edi
jne 0x1400930c2
movzx eax, word [rsi + 0x800]
cmp r12d, eax
jne 0x140093080
lea ebx, [rdi + 1]
mov dword [rsi + 0x7d8], ebp
mov edi, ebp
test edi, edi
jne 0x1400930c2
mov dword [rsi + 0x7d8], r14d
lea ebx, [rdi + 1]
mov edi, r14d
test r14d, r14d
jne 0x1400930c2
mov edi, r11d
cmp r12d, r10d
jne 0x1400930a6
mov dword [rsi + 0x7d8], ebp
mov edi, ebp
test edi, edi
jne 0x1400930c2
mov dword [rsi + 0x7d8], r13d
mov edi, r13d
test r13d, r13d
jne 0x1400930c2
cmp dword [rsp + 0x68], r13d
cmovne ebx, r11d
mov eax, ebx
jmp 0x140092ef1
Function at 0x14009b690
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor eax, eax
mov r10, rcx
mov r9d, eax
test r8d, r8d
jle 0x14009b769
cmp r8d, 8
jb 0x14009b769
mov qword [rsp + 0x10], rbx
lea r11, [rdx + 4]
mov qword [rsp], rdi
sub rcx, rdx
movsxd rbx, r8d
mov rdi, 0xfffffffffffffffc
and rbx, 0xfffffffffffffff8
xorps xmm4, xmm4
sub rdi, rdx
xorps xmm3, xmm3
nop word [rax + rax]
movd xmm2, dword [rcx + r11 - 4]
xorps xmm0, xmm0
movd xmm1, dword [r11 - 4]
lea r11, [r11 + 8]
punpcklbw xmm2, xmm0
lea rax, [rdi + r11]
punpcklwd xmm2, xmm0
add r9d, 8
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
movd xmm1, dword [r11 - 8]
punpcklbw xmm1, xmm0
por xmm4, xmm2
movd xmm2, dword [rcx + r11 - 8]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
por xmm3, xmm2
cmp rax, rbx
jl 0x14009b6e0
mov rdi, qword [rsp]
por xmm3, xmm4
mov rbx, qword [rsp + 0x10]
movdqa xmm0, xmm3
psrldq xmm0, 8
por xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
por xmm3, xmm0
movd eax, xmm3
movsxd r11, r9d
movsxd r9, r8d
cmp r11, r9
jge 0x14009b798
sub r10, rdx
lea rcx, [r11 + rdx]
sub r9, r11
nop
movzx r8d, byte [rcx + r10]
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
xor r8d, edx
or eax, r8d
sub r9, 1
jne 0x14009b780
add rsp, 8
ret

Function at 0x1400a2f20
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
movsxd rax, edx
lea r10, [rcx - 1]
add r10, rax
lea r9d, [rdx - 1]
mov ecx, 0xff
movzx ebx, byte [r10]
mov eax, ebx
sub eax, edx
add eax, r8d
shr eax, 0x1f
dec al
cmp r9d, ecx
cmovg r9d, ecx
xor r8d, r8d
movsxd r11, r9d
test r9d, r9d
jle 0x1400a2f82
nop
mov edx, ebx
lea r10, [r10 - 1]
sub edx, r8d
movzx ecx, bl
xor cl, byte [r10 + 1]
inc r8d
shr edx, 0x1f
dec dl
and dl, cl
or al, dl
sub r11, 1
jne 0x1400a2f60
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
Function at 0x1400b65b0
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
je 0x1400b6677
test rdx, rdx
je 0x1400b6677
mov eax, dword [rcx]
mov qword [rsp + 0x30], rdi
lea rdi, [rcx + 0xc]
mov byte [rax + rdi], 0x80
mov ecx, dword [rcx]
inc ecx
mov dword [rbx], ecx
cmp ecx, 0x38
jbe 0x1400b6614
mov r8d, 0x40
xor edx, edx
sub r8d, ecx
add rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov rdx, rdi
mov dword [rbx], 0x40
mov rcx, rbx
call fcn.1400b5d00
xor ecx, ecx
mov dword [rbx], ecx
mov r8d, 0x38
xor edx, edx
sub r8d, ecx
add rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov r8d, dword [rbx + 4]
mov rdx, rdi
mov ecx, dword [rbx + 8]
mov eax, r8d
shr eax, 0x1d
lea eax, [rax + rcx*8]
mov rcx, rbx
mov dword [rbx + 8], eax
lea eax, [r8*8]
mov dword [rbx + 4], eax
mov dword [rdi + 0x38], eax
mov eax, dword [rbx + 8]
mov dword [rdi + 0x3c], eax
call fcn.1400b5d00
movups xmm0, xmmword [rbx + 0x4c]
mov rcx, rbx
movups xmmword [rsi], xmm0
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
jmp 0x1400b64f0
mov rbx, qword [rsp + 0x38]
mov eax, 0xffffff53
add rsp, 0x20
pop rsi
ret
Function at 0x1400b95d0
Capabilities:
Hash data using sha224

Disassembly:
xor edx, edx
lea r8d, [rdx - 2]
jmp fcn.1400b95e0

Function at 0x1400b95e0
Capabilities:
Hash data using sha224

Disassembly:
test rcx, rcx
jne 0x1400b85cb
mov eax, 0xffffff53
ret
xor eax, eax
mov dword [rcx], 0xc1059ed8
mov qword [rcx + 0x60], rax
mov dword [rcx + 0x68], eax
mov dword [rcx + 4], 0x367cd507
mov dword [rcx + 8], 0x3070dd17
mov dword [rcx + 0xc], 0xf70e5939
mov dword [rcx + 0x10], 0xffc00b31
mov dword [rcx + 0x14], 0x68581511
mov dword [rcx + 0x18], 0x64f98fa7
mov dword [rcx + 0x1c], 0xbefa4fa4
ret
test rcx, rcx
jne 0x1400b95eb
mov eax, 0xffffff53
ret
mov qword [rcx + 0x70], rdx
jmp 0x1400b85c0

Function at 0x1400b9600
Capabilities:
Hash data using sha256

Disassembly:
xor edx, edx
lea r8d, [rdx - 2]
jmp fcn.1400b9610

Function at 0x1400b9610
Capabilities:
Hash data using sha256

Disassembly:
test rcx, rcx
jne 0x1400b861b
mov eax, 0xffffff53
ret
xor eax, eax
mov dword [rcx], 0x6a09e667
mov qword [rcx + 0x60], rax
mov dword [rcx + 0x68], eax
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
ret
test rcx, rcx
jne 0x1400b961b
mov eax, 0xffffff53
ret
mov qword [rcx + 0x70], rdx
jmp 0x1400b8610

Function at 0x1400b9630
Capabilities:
Hash data using sha224

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x1400b9742
test rdx, rdx
je 0x1400b9742
call fcn.1400b8660
test eax, eax
jne 0x1400b9747
mov eax, dword [rbx]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov eax, dword [rbx + 4]
mov dword [rbx], ecx
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov eax, dword [rbx + 8]
mov dword [rbx + 4], ecx
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov eax, dword [rbx + 0xc]
mov dword [rbx + 8], ecx
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov eax, dword [rbx + 0x10]
mov dword [rbx + 0xc], ecx
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov eax, dword [rbx + 0x14]
mov dword [rbx + 0x10], ecx
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov eax, dword [rbx + 0x18]
mov dword [rbx + 0x14], ecx
mov ecx, eax
ror ecx, 8
rol eax, 8
and ecx, 0xff00ff00
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x18], ecx
mov rcx, rbx
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
movsd xmm1, qword [rbx + 0x10]
movsd qword [rdi + 0x10], xmm1
mov eax, dword [rbx + 0x18]
mov dword [rdi + 0x18], eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x1400b85c0
mov eax, 0xffffff53
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret