joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140018ed0
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x140041028]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov eax, dword [0x140042f34]
mov ecx, dword [0x1400411a8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140018f73
mov r14, qword [rsi + 0x10]
test r14, r14
je 0x140018f4f
mov r15, qword [rsi + 8]
shl r14, 4
add r14, r15
mov edi, dword [0x140042f30]
lea rbx, [rsp + 0x20]
mov r12, qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, dword [r15]
mov rcx, qword [r15 + 8]
mov rdx, rdi
mov r9, rbx
call r12
add r15, 0x10
cmp r15, r14
jne 0x140018f36
mov qword [rsi + 0x10], 0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140018b90
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [0x140042f34]
call fcn.140017fa0
cmp dword [0x140042f34], 0xffffffff
jne 0x140018f10
lea rdi, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rdi + 4]
mov dword [0x140042f30], eax
lea rcx, [0x140042f34]
call fcn.140018008
jmp 0x140018f10

Function at 0x140019140
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
mov r14, qword [rcx + 8]
lea rbx, [r14 + 2]
call fcn.140001770
mov r8d, eax
mov rax, r14
xor edx, edx
div r8
mov rcx, rax
mov rax, rbx
xor edx, edx
div r8
cmp rcx, rax
je 0x140019183
mov rcx, rbx
call fcn.140018dd0
test al, al
je 0x1400191d6
mov rdx, qword [rdi]
mov r8, qword [rdi + 8]
add r8, 2
mov qword [rsi], rdx
mov qword [rsi + 8], r8
mov qword [rsi + 0x10], 8
xor eax, eax
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x28], rax
mov qword [rsi + 0x30], 0x20
lea rax, [rsi + 0x38]
mov qword [rsi + 0x20], rax
mov byte [rsi + 0x58], 1
add rsi, 0x60
mov r9d, 8
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.140005360
mov rax, qword [rdi]
mov qword [rsi], rax
xor ecx, ecx
mov qword [rsi + 0x28], rcx
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
mov qword [rsi + 0x18], rcx
mov qword [rsi + 0x30], 0x20
lea rdx, [rsi + 0x38]
mov qword [rsi + 0x20], rdx
mov byte [rsi + 0x58], 0
mov qword [rsi + 0x60], rax
mov qword [rsi + 0x70], rcx
mov qword [rsi + 0x78], 2
lea rax, [rsi + 0x80]
mov qword [rsi + 0x68], rax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140019560
Capabilities:
Query environment variable

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [0x140041028]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rcx, str.MOZ_ENABLE_HANDLE_VERIFIER
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
jne 0x1400195b2
call fcn.1400194a0
mov rcx, qword [rax]
mov rdx, qword [rcx + 0x18]
mov rcx, rax
mov rax, rdx
call qword [0x140046010]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140018b90
nop
add rsp, 0x60
pop rsi
ret
movaps xmm0, xmmword [str.kernel32_]
movaps xmmword [rsp + 0x30], xmm0
movabs rax, 0x6c006c0064002e
mov qword [rsp + 0x40], rax
mov word [rsp + 0x48], 0
cmp qword [0x140042ec0], 0
jne 0x1400195f0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x140042ec0], rax
lea r9, [rsp + 0x28]
mov qword [r9], 0
lea rax, [0x140042f10]
lea r8, [rsp + 0x30]
mov qword [r8], rax
lea rsi, [0x140042ea0]
mov qword [r8 + 8], rsi
lea rax, [0x140039b4e]
mov qword [r8 + 0x10], rax
lea rax, [0x1400378c0]
mov qword [r8 + 0x18], rax
mov byte [r8 + 0x20], 0
lea rcx, [0x140042f18]
lea rdx, [0x140037050]
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140019586
cmp qword [rsp + 0x28], 0
je 0x140019586
lea r9, [rsp + 0x28]
mov qword [r9], 0
lea rax, [0x140042f20]
lea r8, [rsp + 0x30]
mov qword [r8], rax
mov qword [r8 + 8], rsi
lea rax, [0x140039b3e]
mov qword [r8 + 0x10], rax
lea rax, [0x140037900]
mov qword [r8 + 0x18], rax
mov byte [r8 + 0x20], 0
lea rcx, [0x140042f28]
lea rdx, [0x140037050]
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140019586
cmp qword [rsp + 0x28], 0
jne 0x14001959e
jmp 0x140019586

Function at 0x14001ba80
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
sub rsp, 0x140
mov rax, qword [0x140041028]
xor rax, rsp
mov qword [rsp + 0x138], rax
mov edx, 0x10
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x14001bac2
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.140018b90
nop
add rsp, 0x140
pop rsi
ret
lea rsi, [rsp + 0x28]
mov dword [rsi - 8], 3
mov rcx, rsi
call fcn.1400054e0
lea rax, str._builds_worker_checkouts_gecko_security_sandbox_chromium_base_rand_util_win.cc
mov qword [rsi + 0xf0], rax
mov dword [rsi + 0xf8], 0x20
lea rcx, [rsp + 0x130]
call fcn.140021ff0
lea rcx, [rsp + 0x20]
call fcn.14001ff50
jmp 0x14001baa8
Function at 0x14001d250
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x140041028]
xor rax, rsp
mov qword [rsp + 0x160], rax
test dl, dl
je 0x14001d440
lea rax, str.TargetNtMapViewOfSection64
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0
lea rdi, [0x140038550]
lea r8, str.NtMapViewOfSection
mov rcx, rsi
mov rdx, rdi
mov r9d, 1
call fcn.140012af0
lea rax, str.TargetNtUnmapViewOfSection64
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 1
lea r8, str.NtUnmapViewOfSection
mov rcx, rsi
mov rdx, rdi
mov r9d, 1
call fcn.140012af0
mov rax, qword [rsi]
mov rdi, qword [rax]
mov dword [rsp + 0x20], 1
mov r13, qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r8d, 0x10000
mov rcx, rdi
xor edx, edx
mov r9d, 0x2000
call r13
mov r14, rax
mov r12, qword [rsi + 0x10]
shl r12, 6
lea rbx, [r12 + 0x60]
mov rcx, rbx
call fcn.1400130a0
mov r15, rax
mov edx, r15d
and edx, 0xfffff000
add rdx, r14
and r15d, 0xfff
add r12, 0x105f
and r12, 0xfffffffffffff000
mov dword [rsp + 0x20], 0x40
mov rcx, rdi
mov r8, r12
mov r9d, 0x1000
call r13
mov r14, rax
test rax, rax
je 0x14001d44f
add r14, r15
lea r15, [rsp + 0x48]
mov qword [r15], rbx
mov dword [r15 + 0x18], 0
mov qword [r15 + 8], 0x20
lea rcx, [sym.plugin_container.exe_g_originals]
mov r8d, 0x158
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rsi
mov rdx, r14
mov r8, rbx
mov r9, r15
call fcn.140010a70
test eax, eax
jne 0x14001d418
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x48]
mov r9d, 0x20
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ebp, 0x2a
test eax, eax
je 0x14001d41a
cmp qword [rsp + 0x40], 0x20
jne 0x14001d41a
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov rdx, r14
mov r8, rbx
mov r9d, 0x20
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [rsi]
lea rdx, str.g_originals
lea r8, [sym.plugin_container.exe_g_originals]
mov r9d, 0x158
call fcn.1400132e0
mov ebp, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140018b90
mov eax, ebp
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp qword [rsi + 0x10], 0
jne 0x14001d2df
xor ebp, ebp
jmp 0x14001d41a
lea r12, [rsp + 0x50]
mov dword [r12 - 8], 3
mov rcx, r12
call fcn.1400054e0
lea rax, str._builds_worker_checkouts_gecko_security_sandbox_chromium_sandbox_win_src_interception.cc
mov qword [r12 + 0xf0], rax
mov dword [r12 + 0xf8], 0x188
lea rcx, [rsp + 0x158]
call fcn.140021ff0
lea rcx, [rsp + 0x48]
call fcn.14001ff50
jmp 0x14001d367
Function at 0x140023500
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x140041038]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140023530
movsxd rcx, dword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 4]
jne 0x140023530
mov rax, qword [rax + rcx]
jmp 0x140023532
xor eax, eax
add rsp, 0x20
pop rsi
ret

Function at 0x14002ace0
Capabilities:
Create pipe

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r14, qword [rsp + 0xc8]
mov rax, qword [0x140041028]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [r14], 0xffffffffffffffff
mov esi, 5
cmp ecx, 3
jne 0x14002adc4
mov edi, dword [rsp + 0xc0]
mov r11d, dword [rsp + 0xb8]
mov ecx, dword [rsp + 0xb0]
mov eax, dword [rsp + 0xa8]
mov r10d, dword [rsp + 0xa0]
cmp qword [r8 + 0x18], 8
jb 0x14002ad46
mov r8, qword [r8]
mov rsi, qword [rdx]
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ecx
mov qword [rsp + 0x38], 0
mov rcx, r8
mov edx, r9d
mov r8d, r10d
mov r9d, eax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp rax, 0xffffffffffffffff
je 0x14002addf
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r15d, r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
mov dword [rsp + 0x30], 3
lea rbx, [rsp + 0x40]
mov rcx, rax
mov rdx, rdi
mov r8, rsi
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
cmp eax, 1
sbb r15, r15
or r15, qword [rbx]
mov qword [r14], r15
xor eax, eax
cmp r15, 0xffffffffffffffff
sete al
lea esi, [rax + rax*4]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140018b90
mov eax, esi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov r15, 0xffffffffffffffff
jmp 0x14002adb5

Function at 0x14002ca20
Capabilities:
Read file via mapping

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov edi, edx
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov dword [rsp + 0x20], edx
mov qword [rsp + 0x28], 0
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r8d, 0x8000004
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, rsi
mov rdx, rax
call fcn.140006e80
mov rcx, qword [rsi]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x14002ca8a
mov eax, edi
mov qword [rsp + 0x20], rax
mov edx, 6
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 8], rax
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
Function at 0x14002f820
Capabilities:
Create process on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov edi, ecx
mov rax, qword [0x140041028]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea eax, [rdi - 7]
mov ebp, 5
cmp eax, 0xfffffffe
jae 0x14002f87a
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140018b90
mov eax, ebp
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14, r8
mov r15, rdx
mov r12, qword [rsp + 0x130]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
xor r13d, r13d
mov qword [rsp + 0xb0], r13
mov dword [rsp + 0x50], 0x68
cmp qword [r9 + 0x18], 8
jb 0x14002f8cf
mov r9, qword [r9]
mov rcx, r9
call qword [sym.imp.mozglue.dll__wcsdup]
mov rsi, rax
mov rax, qword [r12 + 0x10]
cmp qword [r12 + 0x18], 8
jb 0x14002f8ec
mov r12, qword [r12]
mov rbx, qword [rsp + 0x138]
test rax, rax
cmove r12, rax
cmp qword [r14 + 0x18], 8
jb 0x14002f905
mov r14, qword [r14]
mov r15, qword [r15]
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
mov rcx, r14
mov rdx, rsi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebp, 5
test eax, eax
je 0x14002f9db
cmp edi, 6
mov r12d, 0x1fffff
mov r13d, 0x101c01
cmove r13d, r12d
mov r14, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0
mov rcx, rax
mov rdx, r14
mov r8, r15
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x14002f9f2
cmp edi, 6
mov ebp, 0x100c43
cmove ebp, r12d
mov rdi, qword [rbx + 8]
add rbx, 8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0
mov rcx, rax
mov rdx, rdi
mov r8, r15
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea ebp, [rcx + rcx*4]
test rsi, rsi
je 0x14002f854
mov rcx, rsi
call qword [sym.imp.mozglue.dll_free]
jmp 0x14002f854
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14002f9db
Function at 0x14002fa00
Capabilities:
Create thread

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rax, r8
mov r8, rdx
mov rdi, rcx
mov rsi, qword [rsp + 0x88]
mov edx, dword [rsp + 0x80]
xor r14d, r14d
mov qword [rsi], r14
mov rcx, qword [rcx]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], r9
xor edx, edx
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
je 0x14002fa8c
mov rbx, rax
mov rdi, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
mov dword [rsp + 0x30], 3
mov rcx, rax
mov rdx, rbx
mov r8, rdi
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea eax, [rcx + rcx*4]
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x14082c058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14082c1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14082c089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14082c06f
add dl, dl
jne 0x14082c096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14082c0f6
xor eax, eax
add dl, dl
jne 0x14082c0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14082c1ad
add dl, dl
jne 0x14082c0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14082c0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14082c0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14082c0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14082c0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14082c07e
mov eax, 1
add dl, dl
jne 0x14082c106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14082c113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14082c0fb
sub eax, ebx
mov ebx, 1
jne 0x14082c14c
mov ecx, 1
add dl, dl
jne 0x14082c12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14082c13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14082c123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14082c07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14082c168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14082c175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14082c15d
cmp eax, 0x7d00
jae 0x14082c19b
cmp eax, 0x500
jb 0x14082c196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14082c07e
cmp eax, 0x7f
ja 0x14082c19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14082c07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14082c1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14082c07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140006d70
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140006c03
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006c03
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140006c03
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140006c03
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140006c03
cmp dword [rcx + 0x84], 0xe
jbe 0x140006c03
cmp dword [rcx + 0xf8], 0
je 0x140006c03
mov ecx, ebx
call fcn.140006ca4
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140006a94
cmp dword [rbp + 0x20], 0
je 0x140006c50
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140006c58
int3
xor r8d, r8d
xor edx, edx
jmp 0x140006b9c
Function at 0x1401b2815
Capabilities:
Authenticate hmac
Encode data using base64

Disassembly:
mov esi, eax
lea rdi, [rdi + rsi - 0x562bfff8]
lea rdx, [rax + rsi - 0x1e54a676]
mov r11d, esi
not rcx
mov qword [rsp + rax - 0x562c0000], 0xffffffffa116953e
pop r11
jle 0x1401c946a
mov qword [rsp + r9 + 1], r8
ret
Function at 0x1401ee709
Capabilities:
Authenticate hmac

Disassembly:
mov qword [rsp + rbp*2], 0xffffffffeb0c8918
mov r11d, dword [rsp + rbp*4 + 4]
mov qword [rsp + rcx - 0x44806bc7], r10
bswap ecx
not bp
xor dword [rsp + rbp - 0xffff], edx
pop r10
lea rsi, [r9 + rbp*4 + 0x502c76be]
btr r11, rsi
movsxd rdx, edx
and esi, ecx
dec ecx
xor r9w, 0x7d0c
adc rbx, rdx
call fcn.140212e0f

Function at 0x1401ee74d
Capabilities:
Authenticate hmac

Disassembly:
mov rdi, qword [rsp + rcx*2 - 0x130]
pop rax
movsxd r10, r10d
pop rsi
mov esi, r11d
adc r8, r10
movzx r11d, byte [rbx + rcx - 0x9c]
bswap rsi
lea rax, [rcx*8 + 0x7037020a]
lea rbx, [rbx + rcx*2 - 0x137]
sub dx, 0x4c24
xor r11b, dil
inc rdx
neg r11b
inc rsi
sal ecx, cl
lea rax, [rsi*8 - 0x54ec4b79]
adc r11b, 0x3b
sar edx, 0x25
mul dl
movsx r10d, ax
not r11b
xadd r10b, dl
mul cx
sbb r11b, sil
xor dil, r11b
add r11, rsp
sar rsi, 0xc4
mov esi, dword [r11 + r10*2 - 0x3960]
sar cl, 0xa1
xor rcx, rax
lea rbp, [rbp + r10*8 - 0xe584]
mov dword [r10 + rbp - 0x1cb0], esi
jp fcn.1402235dc

Function at 0x1401ee7df
Capabilities:
Authenticate hmac

Disassembly:
not r10d
xor r10d, 0x7dac0f05
dec word [rsp + rsi - 0x59004b49]
lea rcx, [rsi + rdx*4 + 0x192fe903]
mov qword [rsp + rdx*4 - 0x238], rdi
xor dword [rsp + rdx - 0x88], r10d
shl esi, 0xa6
jne 0x14022dfc9
mov r11d, 0x791f4ebc
movzx edi, r11b
mov rax, qword [r11 + r10 - 0x791f4ebc]
mov bpl, byte [r10 + r11 - 0x791f4eb4]
mov r8d, edi
bswap edi
ror r8, 0x21
lea r10, [r10 + r11 - 0x791f4eb2]
neg r11w
mov byte ss:[rax + r11 - 0x791fb144], bpl
shl edi, 0xa6
setnp dil
mov edx, dword [rsi + rdi]
call fcn.1401e262b
mov r11d, dword [rsi]
add rsi, 4
mov ecx, 0x39b3a0b8
lea rbp, [rcx + rcx*8 - 0x154036df]
xor r11d, ebx
mov edx, 0x4093a694
ror r11d, 3
xchg edx, ecx
inc r11d
sar rcx, cl
ror dx, cl
sub dl, dh
xor r11d, 0x54b2361b
or ebp, 0x3e251e88
btc edx, 0x36
movsx eax, dl
neg r11d
lea r11d, [r11 + rcx*2 + 0x414a1aa]
ror rbp, 0x34
push rbx
not bpl
cmovb eax, edx
xor dword [rsp + rcx*2 - 0x812], r11d
shl ecx, 0x6e
sar edx, 0x4d
bts rax, rcx
pop rbx
cwd
adc ax, cx
movsxd r11, r11d
cwd
lea r8, [rcx + rdx*8 - 0x7ac1be76]
bswap rdx
add r9, r11
lea rdi, [r8 - 0x7c70cd77]
mov eax, dword [r10 + rcx*2 - 0x2048000]
dec rdi
mov r11d, dword [r10 + rcx*4 - 0x408fffc]
btr r8d, r8d
xor edi, r8d
ror bpl, 0x41
lea r10, [r10 + rcx - 0x1023ffc]
dec di
cmovs edi, ecx
not eax
push rbp
and word [rsp + rcx*2 - 0x2047ffc], di
imul cx, word [rsp + rcx - 0x1023ffe]
not r11d
or eax, r11d
add dword [rsp + rcx*2 - 0x2047ffe], edi
setge byte [rsp + rcx*4 - 0x4090000]
or di, di
mov dword [r10 + rcx - 0x1024000], eax
mov r11d, dword [rsp + rcx*2 - 0x2047ffc]
dec r11d
call fcn.1401f6e73
mov qword [rsp + rdx*2 - 0x120], r9
jmp 0x1401c7c3c
Function at 0x1401f5ae8
Capabilities:
Authenticate hmac

Disassembly:
sar bp, 0xa3
mov rax, qword [r10 + rbp*4 - 0x3d750]
mov r11, qword [r10 + rbp*2 - 0x1eb9c]
lea r10, [rbp + r10 - 0xf5ce]
and r8d, ebp
jnp 0x14023acda
div r11
rol r8, cl
and cl, cl
mov qword [rsp + rbp*4 - 0x3d758], rcx
mov qword [r10 + rbp - 0xf5d6], rdx
not word [rsp + rbp - 0xf5d1]
mov qword [rbp + r10 - 0xf5ce], rax
mov r11d, dword [rsp + rbp - 0xf5d6]
btc ecx, 0xf
mov qword [rsp + rcx - 0x260a4497], r9
ret

Function at 0x14021095d
Capabilities:
Authenticate hmac

Disassembly:
mov qword [rsp + r9 - 0x4a380b66], rbp
pop rcx
push r10
push rsi
push r13
movzx esi, r9b
push r12
lea rbp, [rbp*4 + 0x1eaa0532]
push r9
mov qword [rsp + rsi - 0x66], rdi
bswap esi
lea rcx, [r8*8 - 0x207ac9c7]
jmp 0x14022eff7
push r11
mov r10d, 0x42a7adbc
bswap r9d
pushfq
movabs r10, 0
lea rdi, [rcx + r8*2 + 0x2728c401]
lea rbx, [rbp + r9*4 - 0x274fbb41]
mov qword [rsp + rsi - 0x65ffffe0], r10
sub bpl, dil
and bx, si

Function at 0x14021f032
Capabilities:
Authenticate hmac

Disassembly:
lea rbx, [rbx + r10*4 - 0x45a4b742]
mov edx, r10d
movzx ecx, r10b
movsx r11d, cl
xor si, di
inc cx
bswap rdx
dec si
ror si, 1
bts ecx, 0xbf
mov qword [rsp + r10 - 0x11692dd1], rcx
dec si
ror si, 1
push r10
sar dword [rsp + r10 - 0x11692dcb], 0x36
cmovnp rcx, r10
xor si, 0x1c22
shr byte [rsp + r10*4 - 0x45a4b736], 0x86
mov r9d, dword [rsp + r10 - 0x11692dca]
xor di, si
xor r11b, r10b
neg r11
and r10d, dword [rsp + r10 - 0x11692dcc]
lea rsi, [rsp + rsi + 0x10]
movsx eax, byte [rsp + r10*2 - 0x1fc]
sbb edx, 0xee09391c
or eax, dword [rsi + r10 - 0x100]
push rcx
or r11b, 0x9d
lea rbp, [rbp + r10 - 0x104]
movsx esi, word [rsp + r10*2 - 0x1f3]
mov dword [rbp + r10*2 - 0x200], eax
btr r10d, ecx
and r9d, 0x4b1f6928
mov ecx, dword [rbx + r10*8 - 0x800]
lea rbx, [rbx + r10 - 0xfc]
xor ecx, edi
pop rax
lea ecx, [rcx + r11 + 0x45d12a55]
bswap r10
sal r10w, 0x44
mov word [rsp + r9], 0x4fa6
bswap ecx
lea ecx, [rcx + rdx - 0x711845f8]
jbe 0x14023b00f
Function at 0x140223dab
Capabilities:
Authenticate hmac

Disassembly:
not r9d
btr r10, rcx
neg ecx
ror r9d, 2
cwde
xadd ax, si
xor r9d, 0xcb21c9ac
call fcn.1401fa711
not eax
adc r11b, dil
jp 0x140232ec3
inc eax
shr dil, 0xc5
mov qword [rsp + rdx*4 - 0x4430], rdi
ror eax, 1
lea rdx, [r11*8 - 0x4fc1c64c]
dec byte [rsp + rdx + 0x4fc1be5c]
add dword [rsp + r11*2 - 0x1fb], r11d
neg eax
or qword [rsp + r11*8 - 0x7f0], r8
rol edi, 0x88
lea eax, [rax + rdx*2 + 0xe4eb2aa]
sal qword [rsp + rdx + 0x4fc1be5c], 0xb4
rol word [rsp + rdx + 0x4fc1be5e], cl
mov qword [rsp + r11*4 - 0x3f8], rbx
push r11
and edi, dword [rsp + rcx - 0xe]
or byte [rsp + rdx + 0x4fc1be5f], r8b
xor dword [rsp + rdx + 0x4fc1be64], eax
neg word [rsp + rdi - 0xf8]
neg cl
mov rbx, qword [rsp + rdx + 0x4fc1be64]
sar r11b, 0xc7
movsxd rax, eax
call fcn.1401d753d
sub rdi, 4
mov dword [rdi + riz], edx
bt bp, bp
sar bp, 0x63
mov ebp, dword [r8 + riz]
adc r8, 4
xor ebp, r10d
movzx r11d, sil
rol ebp, 3
lea r9, [rsi + rsi*8 - 0x376b98d1]
neg r11w
not ebp
call fcn.140233b1f
mov ecx, 0xc91fe001
movsx r8d, cx
lea rdi, [rcx + rcx + 0x210d36a4]
mov r8, qword [r10 + riz]
mov ebp, 0x6b00d1a
sal rcx, 0x78
mov r11d, dword [r10 + rbp*4 - 0x1ac03460]
jns 0x140237029
mov r9d, 0xbf1775b6
mov edx, dword [r8 + riz]
mov eax, r9d
add r8, 4
movzx ecx, r9b
xor edx, r10d
mov ebp, r9d
inc edx
add ebp, eax
cmovp rcx, rax
ror edx, 1
xor edx, 0x84168eb6
mov r11d, ebp
movzx esi, bpl
lea edx, [rdx + rax - 0x19052208]
dec r9
not edx
push r10
call fcn.1401c2ba9
sbb r10d, esi
inc r9d
xor r10, rcx
sbb dl, r10b
jo 0x1401f83f9

Function at 0x140229cf8
Capabilities:
Authenticate hmac

Disassembly:
sub ecx, r11d
not eax
btr ecx, r11d
inc eax
mov qword [rsp + rcx - 0x581547f9], rdi
shr rsi, 0xe9
mov qword [rsp + r11 + 0x58154871], rcx
xor dword [rsp + rsi + 8], eax
not dword [rsp + rsi*2 + 2]
mov edi, ecx
ror r11d, 0x77
mov rdi, qword [rsp + rsi + 8]
adc esi, dword [rsp + rsi]
movsxd rax, eax
setb r9b
mov qword [rsp + r9 + 0x516c3708], 0xffffffff93924686
dec dx
adc r8, rax
imul dx, dx
jae 0x14022c4e1
imul r10w, word [rsp + rcx - 0x581547f3]
mov qword [rsp + r9 + 0x516c3700], r8
ret 8