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

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
lea rax, [0x7ffb968ca128]
xor ebx, ebx
mov rbp, r8
mov qword [rsp + 0x38], rax
mov edi, edx
mov rsi, rcx
mov rax, qword [rsp + 0x38]
cmp edx, 1
jne 0x7ffb9689644a
and qword [r11 - 0x28], rbx
lea rax, [r11 - 0x28]
mov qword [0x7ffb968d2270], rcx
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionMedia_CenterServiceITV
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [r11 - 0x38], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x7ffb968a10e8
mov r8, rbp
mov edx, edi
mov rcx, rsi
call fcn.7ffb96896478
mov edi, eax
test rbx, rbx
jne 0x7ffb968a113c
mov eax, edi
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [rsp + 0x30]
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [0x7ffb968d2008]
lea rdx, str.Trace
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x68], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test rbx, rbx
je 0x7ffb9689644a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
jmp 0x7ffb9689644a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x7ffb96896462

Function at 0x7ffb96897d14
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x40
mov rsi, qword [rsp + 0x70]
lea rax, str.iTV_Data_In
xor edx, edx
mov qword [r11 - 0x20], rax
mov rbx, r8
mov rdi, rcx
mov qword [r11 - 0x28], rsi
call fcn.7ffb96897770
lea rax, [0x7ffb968c88e0]
mov qword [rdi + 0x18], rax
lea rax, [0x7ffb968ca888]
lea r11, [0x7ffb968c83e0]
mov qword [rdi + 0x20], rax
lea rax, [0x7ffb968c85f0]
lea rcx, [rdi + 0x138]
mov qword [rdi], r11
mov qword [rdi + 0x130], rbx
mov qword [rdi + 0xd8], rax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
and dword [rdi + 0x160], 0
cmp qword [rdi + 0x40], 0
je 0x7ffb968a11c6
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionMedia_CenterServiceITV
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x7ffb968a11d1
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
mov rax, rdi
add rsp, 0x40
pop rdi
ret
mov dword [rsi], 0x8007000e
jmp 0x7ffb96897d99
and dword [rsp + 0x50], eax
mov rbx, qword [rsp + 0x38]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x30]
lea rdx, str.DataTestMode
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x60], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x7ffb968a1227
cmp dword [rsp + 0x30], 4
jne 0x7ffb968a1227
test eax, eax
jne 0x7ffb968a1227
mov eax, dword [rsp + 0x50]
mov dword [rdi + 0x160], eax
test rbx, rbx
je 0x7ffb96897dce
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x7ffb96897dce
Function at 0x7ffb96898944
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
jmp 0x7ffb96899cc4
jne 0x7ffb9689a25d
mov rdx, qword [r10 + 0x30]
btr ecx, 4
movzx r11d, bx
movsxd rax, dword [rdx + 0x3c]
shl r10w, cl
shrd r10d, edi, 0x44
adc sil, 0x4a
mov ecx, dword [rax + rdx + 0x88]
neg dil
jmp 0x7ffb9689a37a
xor eax, r9d
imul r9d, eax, 0x5bd1e995
movsx ax, r11b
mov eax, r9d
cmp r8b, r12b
stc
shr eax, 0xf
cmp r14d, esp
clc
xor r9d, eax
mov al, byte [rcx]
test ch, 0x3a
test al, al
jmp 0x7ffb96899aaa
call rsi
lea rax, [rdi + 0x6d44]
not ecx
mov rcx, 0x11dc05da
lea rcx, [rbp + 0x48]
jmp 0x7ffb96899eab
jmp 0x7ffb96898aff
jne 0x7ffb96898aec
xor ebx, ebx
jmp 0x7ffb9689a2d2
lock dec dword [rbp + 0x40]
test r10b, 0xc5
sub rax, r12
jmp 0x7ffb96898adf
add rdi, r12
cmp dword [rdi], eax
jmp 0x7ffb96899e30
ret
jne 0x7ffb96899ca1
cmp r9d, 0x64098594
je 0x7ffb9689a36a
add r11w, r12w
add r10, 4
sbb ah, 0xca
movzx rax, r10w
movzx eax, r11w
stc
test ah, 0x5c
cmc
add r8, 2
stc
cmp eax, esi
jmp 0x7ffb9689a348
and eax, 3
stc
mov al, byte [rbp + rax + 0x48]
clc
cmp ax, r14w
test r12, r10
xor byte [rdx], al
add rdx, r12
test r11b, 0x4f
test edx, esi
sub r14, r12
jne 0x7ffb96899e99
lea rax, [rbp + 0x50]
bt r9d, 0x57
sal rdx, 0xb2
test r14w, dx
mov qword [rbp - 8], r15
test r10d, r13d
adc r9w, 0x153d
lea r9d, [r14 + 0x20]
not r8b
mov qword [rsp + 0x20], rax
bsr r8w, r13w
bswap dx
lea r8, [rbp + 0x58]
movzx dx, sil
not dh
or rcx, 0xffffffffffffffff
cqo
lea rdx, [rbp - 8]
jmp 0x7ffb96898abf
je 0x7ffb96899abd
movsx eax, al
cmp si, 0x6d6
cmc
add rcx, r12
jmp 0x7ffb96898a93
xor r8d, eax
movsx rax, r10w
cdqe
movzx eax, word [r9]
jmp 0x7ffb96899fea
push rbp
push rbx
push rsi
btc ebp, 0x61
movsx eax, sp
push rdi
mov ax, 0x3689
rcl ah, 0x88
push r12
movzx bp, r12b
push r14
lahf
push r15
cmp r11b, 0xf0
or ax, ax
mov rbp, rsp
cmp spl, 0x3c
sub rsp, 0x40
cmovge r12, rsp
nop
mov eax, 0x7fffffff
not r12d
mov r12b, 0x30
movsxd r12, ebp
mov r12d, 1
jmp 0x7ffb9689a106
jne 0x7ffb9689a290
cmp r8d, 0x66b65ce9
jmp 0x7ffb96899e1e
je 0x7ffb96898a63
mov rcx, qword [rcx]
cmc
cmp rcx, rdx
jmp 0x7ffb96898a5d
jne 0x7ffb96898afc
lea rax, [rbp + 0x50]
shrd r15w, si, 0xc9
shr dh, 2
mov r14d, 0x2660f
bsf edx, r14d
xor r8b, 0x40
lea r15, [rdi + 4]
mov qword [rbp + 0x58], r14
mov r9d, 4
clc
bsf r8d, r15d
movzx r8, r13w
mov qword [rbp - 0x10], r15
shl dh, 0xa5
movzx r8w, r14b
lea r8, [rbp + 0x58]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x10]
cmc
or rcx, 0xffffffffffffffff
call rsi
mov rdx, r15
bt rax, r15
sub ah, 2
mov dword [rbp + 0x48], 0xebff366c
mov rax, rbx
cmp dl, r13b
lea rbx, [rbx + r12]
test rbx, r13
jmp 0x7ffb96899b4f
call rax
xor eax, eax
stc
add rsp, 0x40
xchg r14b, dil
movzx r14, dx
movzx edi, bp
pop r15
pop r14
mov rbx, r14
bswap bx
pop r12
movzx ebp, sp
cmovae edi, ecx
pop rdi
pop rsi
pop rbx
movsxd rbp, r8d
movzx bp, spl
pop rbp
invalid
invalid
in al, dx
invalid
Function at 0x7ffb968a7fb4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
rdtsc
shl rdx, 0x20
or rax, rdx
cdqe
mov qword [0x7ffb968d5490], rax
call qword [sym.imp.KERNEL32.dll_GetVersion]
xor ebx, ebx
and eax, 0x80000000
lea rbp, [0x7ffb96890000]
mov dword [0x7ffb968d2c70], eax
cmp dword [0x7ffb968d5540], ebx
jne 0x7ffb968a8012
lea rcx, [0x7ffb968d5498]
call fcn.7ffb968a7d70
cmp eax, ebx
jl 0x7ffb968a8204
mov dword [0x7ffb968d5540], 1
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movsxd rdx, dword [0x7ffb9689003c]
mov rdi, qword [rsp + 0x28]
mov edx, dword [rdx + rbp + 0x50]
mov r8d, 0x80000000
lea rcx, [0x7ffb96890000]
lea rax, [rdi + r8]
add rdx, rcx
cmp rdx, rax
jb 0x7ffb968a804d
lea rdi, [rdx - 0x80000000]
lea rdx, [rdi + 0xffff]
mov rdi, qword [rsp + 0x30]
and rdx, 0xffffffffffff0000
lea rax, [rdi - 0x80000000]
mov qword [0x7ffb968d5488], rdx
cmp rcx, rax
jbe 0x7ffb968a807c
mov qword [0x7ffb968d5480], rdi
jmp 0x7ffb968a8086
add rcx, r8
mov qword [0x7ffb968d5480], rcx
mov word [0x7ffb968d5480], bx
mov rax, qword [0x7ffb968d5480]
sub rax, rdx
shr rax, 0x10
mov qword [0x7ffb968d54c0], rax
mov eax, ebx
cmp eax, ebx
jl 0x7ffb968a8204
mov rax, qword [0x7ffb968d5a10]
mov edi, 0x100
cmp rax, rdi
jae 0x7ffb968a80f5
lea rax, [rax + rax*4]
lea rcx, [rbp + rax*8 + 0x42c80]
call fcn.7ffb968a7d70
cmp eax, ebx
mov edx, eax
jl 0x7ffb968a80ee
mov rax, qword [0x7ffb968d5a10]
inc rax
mov qword [0x7ffb968d5a10], rax
cmp rax, rdi
jb 0x7ffb968a80bd
cmp edx, ebx
jge 0x7ffb968a80f5
mov eax, edx
jmp 0x7ffb968a8204
mov eax, dword [0x7ffb968cd854]
cmp eax, ebx
je 0x7ffb968a818f
mov edx, dword [0x7ffb968cd850]
mov eax, dword [0x7ffb968cd854]
lea rsi, [0x7ffb968d5a08]
imul edx, eax
lea r9, [rsp + 0x78]
mov r8d, 0x40
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp eax, ebx
jne 0x7ffb968a8151
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x54f
cmp eax, ebx
cmove eax, ecx
movzx ecx, ax
or ecx, 0x80070000
cmp eax, ebx
cmovle ecx, eax
jmp 0x7ffb968a8191
mov eax, dword [0x7ffb968cd854]
mov r8, rbx
cmp eax, ebx
jbe 0x7ffb968a818f
mov edi, dword [0x7ffb968cd850]
mov ecx, dword [0x7ffb968cd850]
xor eax, eax
mov dword [rbp + r8*4 + 0x45570], 0xc32d
imul rdi, r8
add rdi, rsi
inc r8
rep stosb byte [rdi], al
mov eax, dword [0x7ffb968cd854]
cmp r8, rax
jb 0x7ffb968a815e
mov ecx, ebx
cmp ecx, ebx
jge 0x7ffb968a8199
mov eax, ecx
jmp 0x7ffb968a8204
mov ecx, dword [0x7ffb968d5510]
cmp ecx, ebx
je 0x7ffb968a81eb
mov edx, dword [0x7ffb968d5508]
lea rdi, [0x7ffb968d5538]
lea rax, [rdx + rbp + 0x45538]
mov qword [0x7ffb968d5518], rdi
mov qword [0x7ffb968d5520], rax
mov eax, dword [0x7ffb968d550c]
add rdx, rax
add rcx, rdx
lea rax, [rdx + rbp + 0x45538]
add rcx, rdi
mov qword [0x7ffb968d5528], rax
mov qword [0x7ffb968d5530], rcx
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], ebx
call fcn.7ffb968a7dec
cmp dword [rsp + 0x70], ebx
cmovl ebx, dword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x7ffb968c3e74
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x280
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, rcx
mov rcx, rdx
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x7ffb968c3eb0
mov eax, 0x80004005
jmp 0x7ffb968c3f54
lea rax, [rsp + 0x48]
mov r9d, 0x2000000
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r11d, eax
test eax, eax
jne 0x7ffb968c3f44
jmp 0x7ffb968c3eeb
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x60]
call fcn.7ffb968c3e74
test eax, eax
jne 0x7ffb968c3f2a
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x60]
xor edx, edx
mov dword [rsp + 0x40], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x7ffb968c3ed8
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov r11d, eax
movzx eax, r11w
or eax, 0x80070000
test r11d, r11d
cmovle eax, r11d
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call int.7ffb96891000
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x280
pop rdi
ret
Function at 0x7ffb968c4024
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
sub rsp, 0x2b0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rdi, qword [rsp + 0x300]
mov rbx, rdx
mov rsi, r8
lea rdx, [rsp + 0x40]
mov r8d, 0x27
mov rbp, r9
call qword [sym.imp.ole32.dll_StringFromGUID2]
mov r13d, 0x104
lea r9, [rsp + 0x40]
lea r8, str.CLSID_ls
lea rcx, [rsp + 0x90]
mov rdx, r13
call fcn.7ffb96894c34
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x90]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x7ffb968c40b0
or eax, 0x80070000
jmp 0x7ffb968c4222
lea r8, [0x7ffb968cab48]
lea rcx, [rsp + 0x90]
mov r9, rbx
mov rdx, r13
call fcn.7ffb96894c34
mov rcx, qword [rsp + 0x30]
xor edx, edx
lea r8d, [rdx + 1]
lea r9, [rsp + 0x90]
mov dword [rsp + 0x20], 0x208
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ebx, eax
test eax, eax
je 0x7ffb968c4109
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
or ebx, 0x80070000
mov eax, ebx
jmp 0x7ffb968c4222
lea r8, [0x7ffb968cab48]
lea rcx, [rsp + 0x90]
mov r9, rdi
mov rdx, r13
call fcn.7ffb96894c34
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov ebx, eax
test eax, eax
jne 0x7ffb968c40f1
lea r8, [0x7ffb968cab48]
lea rcx, [rsp + 0x90]
mov r9, rsi
mov rdx, r13
call fcn.7ffb96894c34
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x90]
lea eax, [rax + rax + 2]
lea r8d, [rbx + 1]
xor edx, edx
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ebx, eax
test eax, eax
je 0x7ffb968c41a5
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
jmp 0x7ffb968c40f6
lea r8, [0x7ffb968cab48]
lea rcx, [rsp + 0x90]
mov r9, rbp
mov rdx, r13
call fcn.7ffb96894c34
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x38]
lea rdx, str.ThreadingModel
lea eax, [rax + rax + 2]
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bx
or eax, 0x80070000
test ebx, ebx
cmovle eax, ebx
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call int.7ffb96891000
add rsp, 0x2b0
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x7ffb968c554c
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x530
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x7ffb968c55b7
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
jmp 0x7ffb968c55d7
mov rax, qword [rsp + 0x538]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x538]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add rsp, 0x530
pop rbx
ret
Function at 0x140ba0058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140ba01df
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 0x140ba0089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ba006f
add dl, dl
jne 0x140ba0096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ba00f6
xor eax, eax
add dl, dl
jne 0x140ba00a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ba01ad
add dl, dl
jne 0x140ba00b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ba00c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ba00d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ba00dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140ba00ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140ba007e
mov eax, 1
add dl, dl
jne 0x140ba0106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ba0113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ba00fb
sub eax, ebx
mov ebx, 1
jne 0x140ba014c
mov ecx, 1
add dl, dl
jne 0x140ba012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ba013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ba0123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ba007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140ba0168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ba0175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ba015d
cmp eax, 0x7d00
jae 0x140ba019b
cmp eax, 0x500
jb 0x140ba0196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ba007e
cmp eax, 0x7f
ja 0x140ba019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ba007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140ba01d2
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 0x140ba007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140005690
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r14
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor r14d, r14d
xor eax, eax
lock cmpxchg qword [0x1400085e0], rbx
je 0x1400056e2
cmp rax, rbx
jne 0x1400056d5
mov ebx, 1
mov r14d, ebx
jmp 0x1400056e7
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x1400056b9
mov ebx, 1
mov eax, dword [0x1400085e8]
cmp eax, ebx
jne 0x1400056fd
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x140005766
mov eax, dword [0x1400085e8]
test eax, eax
jne 0x140005760
mov dword [0x1400085e8], ebx
lea r12, [0x1400062e0]
lea rdi, [0x1400062c8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r12
jae 0x140005752
test eax, eax
jne 0x140005756
mov rsi, qword [rdi]
test rsi, rsi
je 0x140005747
mov rcx, rsi
mov rax, qword [0x1400062a0]
call rax
call rsi
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x140005724
test eax, eax
je 0x140005766
mov eax, 0xff
jmp 0x140005847
mov dword [0x140008024], ebx
mov eax, dword [0x1400085e8]
cmp eax, ebx
jne 0x14000578d
lea rdx, [0x1400062c0]
lea rcx, [0x1400062b0]
call sub.msvcrt.dll__initterm
mov dword [0x1400085e8], 2
test r14d, r14d
jne 0x14000579b
xor eax, eax
xchg qword [0x1400085e0], rax
cmp qword [0x140008600], 0
je 0x1400057d3
lea rcx, [0x140008600]
call fcn.140005ab0
test eax, eax
je 0x1400057d3
mov rbx, qword [0x140008600]
mov rcx, rbx
mov rax, qword [0x1400062a0]
call rax
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call rbx
mov r8, qword [0x140008038]
mov rdx, qword [0x140008030]
mov ecx, dword [0x140008028]
call fcn.140001008
mov dword [0x140008020], eax
cmp dword [0x140008040], 0
jne 0x140005803
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140008024], 0
jne 0x140005818
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140008020]
jmp 0x140005847
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
sub rsp, 0x28
call fcn.140097000
add rsp, 0x28
jmp 0x140005690

Function at 0x1400059ac
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400059f8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400059f0
cmp dword [rcx + 0x3c], edx
jl 0x1400059f0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400059f0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1400059f8
mov rax, rdx
add rsp, 0x18
ret
Function at 0x1400012fc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ecx, 0x18
call fcn.14000a07c
xor edi, edi
mov rbx, rax
mov qword [rax], rdi
lea ecx, [rdi + 5]
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
call fcn.14000a07c
mov qword [rbx], rax
mov r9d, edi
mov r8d, edi
lea rcx, [rax + 5]
mov qword [rbx + 0x10], rcx
xor ecx, ecx
mov dword [rax], ecx
mov byte [rax + 4], cl
add rax, 5
mov qword [rbx + 8], rax
mov cl, byte [r9 + rsi]
movabs rax, 0x49a2cdf358049a2d
mul r8
inc edi
shr rdx, 7
imul rax, rdx, 0x1bd
sub r8, rax
lea rax, [0x140042440]
xor cl, byte [r8 + rax]
mov rax, qword [rbx]
movsxd r8, edi
mov byte [r9 + rax], cl
inc r9
cmp r8, 5
jb 0x140001350
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400013a4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov ecx, 0x18
call fcn.14000a07c
xor esi, esi
mov rdi, rax
mov qword [rax], rsi
lea ecx, [rsi + 0x7a]
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
call fcn.14000a07c
mov qword [rdi], rax
lea r8d, [rsi + 0x7a]
xor edx, edx
mov rbx, rax
lea rcx, [rax + 0x7a]
mov qword [rdi + 0x10], rcx
mov rcx, rax
call fcn.14000cb30
lea rax, [rbx + 0x7a]
mov r9d, esi
mov qword [rdi + 8], rax
mov r8d, esi
mov cl, byte [r9 + rbp]
movabs rax, 0x49a2cdf358049a2d
mul r8
inc esi
shr rdx, 7
imul rax, rdx, 0x1bd
sub r8, rax
lea rax, [0x140042440]
xor cl, byte [r8 + rax]
mov rax, qword [rdi]
movsxd r8, esi
mov byte [r9 + rax], cl
inc r9
cmp r8, 0x7a
jb 0x140001407
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140001460
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ecx, 0x18
call fcn.14000a07c
xor edi, edi
mov rbx, rax
mov qword [rax], rdi
lea ecx, [rdi + 8]
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
call fcn.14000a07c
mov qword [rbx], rax
mov r9d, edi
mov r8d, edi
lea rcx, [rax + 8]
mov qword [rbx + 0x10], rcx
xor ecx, ecx
mov qword [rax], rcx
add rax, 8
mov qword [rbx + 8], rax
mov cl, byte [r9 + rsi]
movabs rax, 0x49a2cdf358049a2d
mul r8
inc edi
shr rdx, 7
imul rax, rdx, 0x1bd
sub r8, rax
lea rax, [0x140042440]
xor cl, byte [r8 + rax]
mov rax, qword [rbx]
movsxd r8, edi
mov byte [r9 + rax], cl
inc r9
cmp r8, 8
jb 0x1400014b2
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140001d2c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ecx, 0x18
call fcn.14000a07c
xor edi, edi
mov rbx, rax
mov qword [rax], rdi
lea ecx, [rdi + 2]
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
call fcn.14000a07c
mov qword [rbx], rax
mov r9d, edi
mov r8d, edi
lea rcx, [rax + 2]
mov qword [rbx + 0x10], rcx
xor ecx, ecx
mov word [rax], cx
add rax, 2
mov qword [rbx + 8], rax
mov cl, byte [r9 + rsi]
movabs rax, 0x49a2cdf358049a2d
mul r8
inc edi
shr rdx, 7
imul rax, rdx, 0x1bd
sub r8, rax
lea rax, [0x140042600]
xor cl, byte [r8 + rax]
mov rax, qword [rbx]
movsxd r8, edi
mov byte [r9 + rax], cl
inc r9
cmp r8, 2
jb 0x140001d7e
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140001dd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov ecx, 0x18
call fcn.14000a07c
xor esi, esi
mov rdi, rax
mov qword [rax], rsi
lea ecx, [rsi + 0x41]
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
call fcn.14000a07c
mov qword [rdi], rax
lea r8d, [rsi + 0x41]
xor edx, edx
mov rbx, rax
lea rcx, [rax + 0x41]
mov qword [rdi + 0x10], rcx
mov rcx, rax
call fcn.14000cb30
lea rax, [rbx + 0x41]
mov r9d, esi
mov qword [rdi + 8], rax
mov r8d, esi
mov cl, byte [r9 + rbp]
movabs rax, 0x49a2cdf358049a2d
mul r8
inc esi
shr rdx, 7
imul rax, rdx, 0x1bd
sub r8, rax
lea rax, [0x140042600]
xor cl, byte [r8 + rax]
mov rax, qword [rdi]
movsxd r8, esi
mov byte [r9 + rax], cl
inc r9
cmp r8, 0x41
jb 0x140001e33
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140002cec
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ecx, 0x18
call fcn.14000a07c
xor edi, edi
mov rbx, rax
mov qword [rax], rdi
lea ecx, [rdi + 0xc]
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
call fcn.14000a07c
mov qword [rbx], rax
mov r9d, edi
mov r8d, edi
lea rcx, [rax + 0xc]
mov qword [rbx + 0x10], rcx
xor ecx, ecx
mov qword [rax], rcx
mov dword [rax + 8], ecx
add rax, 0xc
mov qword [rbx + 8], rax
mov cl, byte [r9 + rsi]
movabs rax, 0x49a2cdf358049a2d
mul r8
inc edi
shr rdx, 7
imul rax, rdx, 0x1bd
sub r8, rax
lea rax, [0x1400427c0]
xor cl, byte [r8 + rax]
mov rax, qword [rbx]
movsxd r8, edi
mov byte [r9 + rax], cl
inc r9
cmp r8, 0xc
jb 0x140002d41
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret