joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000f14c
Capabilities:
Compare security identifiers

Disassembly:
push rbx
sub rsp, 0x20
mov r10d, dword [rcx + 0x24]
test edx, r10d
jne 0x14000f15f
xor eax, eax
jmp 0x14000f19c
lea eax, [r10 - 4]
test eax, 0xfffffffb
je 0x14000f197
xor ebx, ebx
test r8d, r8d
jne 0x14000f197
cmp r10d, 2
jne 0x14000f17e
mov rcx, qword [rcx + 0x248]
mov rdx, qword [rcx + 0x198]
mov rcx, r9
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne bl
mov eax, ebx
jmp 0x14000f19c
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x140022184
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov rcx, qword [str.___t_]
lea r14, str.___t_
cmp rcx, r14
je 0x1400221cd
test byte [rcx + 0x1c], 4
je 0x1400221cd
cmp byte [rcx + 0x19], 5
jb 0x1400221cd
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400828c0]
mov edx, 0x2b
call fcn.140001010
mov r9d, 0x2001f
lea rdx, str.SoftwareMicrosoftFaxReceipts
xor r8d, r8d
mov rcx, 0xffffffff80000002
call fcn.140065ce8
xor esi, esi
mov rdi, rax
test rax, rax
jne 0x14002223f
mov rax, qword [str.___t_]
cmp rax, r14
je 0x140022334
test byte [rax + 0x1c], 4
je 0x140022334
cmp byte [rax + 0x19], 2
jb 0x140022334
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea edx, [rdi + 0x2c]
mov r9d, eax
lea r8, [0x1400828c0]
mov rcx, qword [rcx + 0x10]
call fcn.140001030
jmp 0x140022334
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.1400722e0
mov rbx, rax
mov eax, dword [rsp + 0x40]
cmp eax, 1
je 0x140022307
test eax, eax
je 0x1400222c3
test rbx, rbx
lea r8, [0x140081e18]
mov rcx, rdi
cmovne r8, rbx
call fcn.140071f1c
test eax, eax
jne 0x140022307
mov rax, qword [str.___t_]
cmp rax, r14
je 0x1400222c3
test byte [rax + 0x1c], 4
je 0x1400222c3
cmp byte [rax + 0x19], 2
jb 0x1400222c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x1400828c0]
mov r9d, eax
mov edx, 0x2d
mov rcx, qword [rcx + 0x10]
call fcn.140001030
lea rdx, str.Password
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x140022307
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140022307
test byte [rcx + 0x1c], 4
je 0x140022307
cmp byte [rcx + 0x19], 2
jb 0x140022307
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400828c0]
mov edx, 0x2e
mov r9d, eax
call fcn.140001030
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x140022334
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rbx + rcx*2], si
jne 0x140022319
add rcx, rcx
xor eax, eax
mov rdi, rbx
rep stosb byte [rdi], al
mov rcx, rbx
call fcn.14006264c
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14006a188
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r14
lea rbp, [rax - 0x598]
sub rsp, 0x680
mov rax, qword [0x140096940]
xor rax, rsp
mov qword [rbp + 0x570], rax
mov rbx, rcx
mov edi, 0x20a
mov r8d, edi
lea rcx, [rbp + 0x360]
xor edx, edx
call sub.msvcrt.dll_memset
mov r8d, edi
lea rcx, [rsp + 0x40]
xor edx, edx
call sub.msvcrt.dll_memset
xor edx, edx
lea r8d, [rdi - 2]
lea rcx, [rbp + 0x150]
call sub.msvcrt.dll_memset
xor r14d, r14d
mov dword [rsp + 0x30], edi
test rbx, rbx
je 0x14006a3d5
lea r9d, [r14 + 1]
mov word [rbx], r14w
mov r8d, r9d
lea rdx, str.SoftwareMicrosoftFaxSetup
mov rcx, 0xffffffff80000001
call fcn.140065ce8
mov rdi, rax
test rax, rax
je 0x14006a3d5
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x40]
mov rcx, rdi
lea rdx, str.CoverPageDir
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rdi
mov esi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r12d, 0x105
test esi, esi
je 0x14006a282
cmp esi, 2
jne 0x14006a3d5
lea rdi, str.FaxPersonal_Coverpages_
jmp 0x14006a2f4
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x14006a3d5
mov rcx, r12
lea rax, [rsp + 0x40]
cmp word [rax], r14w
je 0x14006a2a9
add rax, 2
sub rcx, 1
jne 0x14006a299
test rcx, rcx
je 0x14006a2b6
mov rdx, r12
sub rdx, rcx
jmp 0x14006a2b9
mov rdx, r14
mov rax, rcx
lea rdi, [rsp + 0x40]
neg rax
sbb r8, r8
and r8, rdx
test rcx, rcx
je 0x14006a2f4
cmp word [rsp + r8*2 + 0x3e], 0x5c
je 0x14006a2f4
lea r8, [0x140084bb8]
mov rdx, r12
lea rcx, [rsp + 0x40]
call fcn.14000a05c
test eax, eax
js 0x14006a3cc
mov r8d, r12d
lea rdx, [rbp + 0x360]
mov ecx, 5
call fcn.14006a050
test eax, eax
jne 0x14006a325
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.GetSpecialPath_failed_err_ld
call fcn.140068278
jmp 0x14006a3d5
mov esi, 0x104
lea r8, [rbp + 0x360]
mov edx, esi
mov rcx, rbx
call fcn.1400029a4
test eax, eax
js 0x14006a3cc
cmp word [rdi], 0x5c
je 0x14006a35e
lea r8, [0x140084bb8]
mov edx, esi
mov rcx, rbx
call fcn.14000a05c
test eax, eax
js 0x14006a3cc
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.14000a05c
test eax, eax
js 0x14006a3cc
lea rax, [rbp + 0x150]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, str.FaxPersonal_CoverPages
mov edx, 0x8005
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirW]
test eax, eax
js 0x14006a3cc
mov r8d, 0x93d
lea rdx, str._SystemRoot__system32_fxsresm.dll
lea rcx, [rbp + 0x150]
call qword [sym.imp.SHELL32.dll_SHSetLocalizedName]
test eax, eax
js 0x14006a3cc
mov rcx, rbx
call fcn.14006343c
mov eax, 1
jmp 0x14006a3d7
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.1400786e0
lea r11, [rsp + 0x680]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret
Function at 0x1400786b0
Capabilities:
Access peb ldr_data

Disassembly:
push r12
push r14
push r15
sub r12, r12
add r12, 0x60
mov r14, qword gs:[r12]
push r11
mov r11, qword [r14 + 0x10]
add r14, 0x18
mov r15, qword [r14]
mov r12, r15
add r12, 0x10
mov r14, qword [r12]
push rax
mov r12, qword [r14 + 0x30]
cmp r12, 0
cmp esp, 0
je 0x14007870a
mov r15, qword [r14 + 0x60]
mov rax, qword [r15]
and eax, 0xdf00df
mov r15, qword [r15 + 0xb]
add r15d, eax
shr r15d, 2
sub r15d, 0xc914cd2
sub edi, 0xc914cd2
cmp r15, 0
je 0x140078712
mov r14, qword [r14]
invalid
leave
invalid

Function at 0x140078dc0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140078e0c
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140078e04
cmp dword [rcx + 0x3c], edx
jl 0x140078e04
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140078e04
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 0x140078e0c
mov rax, rdx
add rsp, 0x18
ret
Function at 0x14001120d
Capabilities:
Execute command

Disassembly:
jmp 0x140013000
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400260a7]
call fcn.1400113d4
lea rcx, [0x14001d0f4]
call qword [sym.imp.ucrtbased.dll_system]
lea rcx, [0x14001d098]
call fcn.1400111c7
mov rax, qword [rbp + 0xe0]
add rax, 8
mov rdx, rax
lea rcx, [0x14001d110]
call fcn.14001123a
mov rax, qword [rbp + 0xe0]
cmp dword [rax + 8], 4
jl 0x140013024
mov rax, qword [rbp + 0xe0]
cmp dword [rax + 8], 0xa
jg 0x140013024
mov rax, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
mov ecx, dword [rcx + 8]
mov dword [rax + 8], ecx
mov rax, qword [rbp + 0xe0]
mov ecx, dword [rax + 8]
call fcn.140011361
mov rcx, qword [rbp + 0xe0]
mov qword [rcx], rax
mov rax, qword [rbp + 0xe8]
mov ecx, dword [rax + 8]
call fcn.140011361
mov rcx, qword [rbp + 0xe8]
mov qword [rcx], rax
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x140011230
Capabilities:
Terminate process

Disassembly:
jmp 0x140015610
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400112cb
Capabilities:
Parse pe header

Disassembly:
jmp 0x140016950
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140016970
xor al, al
jmp 0x1400169f1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140016983
xor al, al
jmp 0x1400169f1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400169ad
xor al, al
jmp 0x1400169f1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400169c1
xor al, al
jmp 0x1400169f1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400169d3
xor al, al
jmp 0x1400169f1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400169ef
xor al, al
jmp 0x1400169f1
mov al, 1
add rsp, 0x38
ret
Function at 0x140011456
Capabilities:
Manipulate console buffer

Disassembly:
jmp 0x140013590
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x128]
lea rcx, [0x1400260a7]
call fcn.1400113d4
movzx eax, word [rbp + 0x100]
mov word [rbp + 4], ax
movzx eax, word [rbp + 0x108]
mov word [rbp + 6], ax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, dword [rbp + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ce10]
call fcn.14001135c
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x14001146f
Capabilities:
Execute command

Disassembly:
jmp 0x140013800
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1f8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x46
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x218]
lea rcx, [0x1400260a7]
call fcn.1400113d4
lea rcx, [0x14001d0f4]
call qword [sym.imp.ucrtbased.dll_system]
lea rcx, str._n_n_n_n_b_b_b
call fcn.1400111c7
mov rax, qword [rbp + 0x1f0]
mov eax, dword [rax + 8]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 1
imul eax, dword [rbp + 4]
mov ecx, dword [rbp + 4]
imul ecx, dword [rbp + 4]
mov edx, eax
call fcn.140011267
mov dword [rbp + 0x24], eax
mov dword [rbp + 0x48], 0x48
mov dword [rbp + 0x4c], 0x50
mov dword [rbp + 0x50], 0x4b
mov dword [rbp + 0x54], 0x4d
mov dword [rbp + 0x74], 0
mov dword [rbp + 0x94], 0
mov dword [rbp + 0xb4], 0
mov eax, dword [rbp + 0x24]
cmp dword [rbp + 0xb4], eax
jge 0x14001391c
mov edx, 3
xor ecx, ecx
call fcn.140011267
mov dword [rbp + 0x74], eax
mov eax, dword [rbp + 0x74]
cmp dword [rbp + 0x94], eax
jne 0x1400138e0
jmp 0x1400138b9
movsxd rax, dword [rbp + 0x74]
mov r8d, dword [rbp + rax*4 + 0x48]
mov rdx, qword [rbp + 0x200]
mov rcx, qword [rbp + 0x1f0]
call fcn.140011474
movzx eax, al
test eax, eax
je 0x14001391a
mov eax, dword [rbp + 0xb4]
inc eax
mov dword [rbp + 0xb4], eax
mov eax, dword [rbp + 0x74]
mov dword [rbp + 0x94], eax
jmp 0x1400138b9
mov dword [rbp + 0xd4], 0
jmp 0x140013936
mov eax, dword [rbp + 0xd4]
inc eax
mov dword [rbp + 0xd4], eax
mov rax, qword [rbp + 0x1f0]
mov eax, dword [rax + 8]
cmp dword [rbp + 0xd4], eax
jge 0x1400139ba
mov dword [rbp + 0xf4], 0
jmp 0x140013962
mov eax, dword [rbp + 0xf4]
inc eax
mov dword [rbp + 0xf4], eax
mov rax, qword [rbp + 0x1f0]
mov eax, dword [rax + 8]
cmp dword [rbp + 0xf4], eax
jge 0x1400139b5
movsxd rax, dword [rbp + 0xd4]
mov rcx, qword [rbp + 0x1f0]
mov rcx, qword [rcx]
movsxd rdx, dword [rbp + 0xf4]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0xd4]
mov r8, qword [rbp + 0x1f8]
mov r8, qword [r8]
movsxd r9, dword [rbp + 0xf4]
mov rcx, qword [r8 + rcx*8]
mov eax, dword [rax + rdx*4]
mov dword [rcx + r9*4], eax
jmp 0x140013954
jmp 0x140013928
lea rcx, [0x14001d0f4]
call qword [sym.imp.ucrtbased.dll_system]
xor ecx, ecx
call fcn.140012f90
mov qword [0x140020190], rax
mov rcx, qword [rbp + 0x1f8]
call fcn.1400110a0
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ce90]
call fcn.14001135c
lea rsp, [rbp + 0x1d8]
pop rdi
pop rbp
ret
Function at 0x1400021dc
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140004650], rbx
je 0x140002228
cmp rax, rbx
jne 0x14000221b
mov ebx, 1
mov esi, ebx
jmp 0x14000222d
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140002200
mov ebx, 1
mov eax, dword [0x140004658]
cmp eax, ebx
jne 0x140002243
mov ecx, 0x1f
call fcn.14018c000
jmp 0x1400022a8
mov eax, dword [0x140004658]
test eax, eax
jne 0x1400022a2
mov dword [0x140004658], ebx
lea r15, [0x1400033b0]
lea rdi, [0x140003398]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140002294
test eax, eax
jne 0x140002298
cmp qword [rdi], 0
je 0x140002289
mov rax, qword [rdi]
mov rcx, qword [0x140003378]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14000226a
test eax, eax
je 0x1400022a8
mov eax, 0xff
jmp 0x140002384
mov dword [0x140004064], ebx
mov eax, dword [0x140004658]
cmp eax, ebx
jne 0x1400022cf
lea rdx, [0x140003390]
lea rcx, [0x140003380]
call sub.msvcrt.dll__initterm
mov dword [0x140004658], 2
test esi, esi
jne 0x1400022dc
xor eax, eax
xchg qword [0x140004650], rax
cmp qword [0x140004660], 0
je 0x140002310
lea rcx, [0x140004660]
call fcn.140002540
test eax, eax
je 0x140002310
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140004660]
mov r9, qword [0x140003378]
call r9
mov r8, qword [0x140004078]
mov rdx, qword [0x140004070]
mov ecx, dword [0x140004068]
call fcn.140001800
mov dword [0x140004060], eax
cmp dword [0x140004080], 0
jne 0x140002340
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140004064], 0
jne 0x140002355
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140004060]
jmp 0x140002384
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.1400025c0
add rsp, 0x28
jmp 0x1400021dc

Function at 0x140002450
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000249c
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140002494
cmp dword [rcx + 0x3c], edx
jl 0x140002494
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140002494
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 0x14000249c
mov rax, rdx
add rsp, 0x18
ret
Function at 0x14006ba90
Capabilities:
Inspect section memory permissions

Disassembly:
mov r8d, ecx
mov r9d, ecx
xor ecx, ecx
and r8d, 0xe0000000
cmp r8d, 0xe0000000
mov eax, 0x40
cmovne eax, ecx
mov edx, eax
bts edx, 7
cmp r8d, 0xa0000000
cmovne edx, eax
mov eax, edx
or eax, 0x20
cmp r8d, 0x60000000
cmovne eax, edx
mov ecx, eax
or ecx, 0x10
cmp r8d, 0x20000000
cmovne ecx, eax
mov eax, ecx
or eax, 4
cmp r8d, 0xc0000000
cmovne eax, ecx
mov ecx, eax
or ecx, 8
cmp r8d, 0x80000000
cmovne ecx, eax
mov eax, ecx
or eax, 2
cmp r8d, 0x40000000
cmovne eax, ecx
mov ecx, eax
or ecx, 1
test r8d, r8d
cmovne ecx, eax
mov eax, ecx
bts eax, 9
bt r9d, 0x1a
cmovae eax, ecx
ret

Function at 0x140004000
Capabilities:
Encode data using xor

Disassembly:
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax + 0x31], cl
xor rcx, rcx
xor rcx, rcx
sub rcx, 0xffffffffffffffc0
lea rax, [entry0]
movabs rbx, 0xc50857d27b1f808c
xor qword [rax + 0x27], rbx
sub rax, 0xfffffffffffffff8
loop 0x14000401b
jo 0x140003ff1
pushfq
lahf
and bh, byte [rdi - 0x7f733a3c]
pop rsi
sub dl, byte [rbx - 0x4272a5f9]
push rdx
jp 0x14000406e
pop rcx
add eax, 0xbc49468
movsxd r8, dword [r15 + rbx - 0x3753687d]
adc ah, cl
cwde
sbb eax, 0xd0fe4e40
push rdx
sbb rbx, qword [rdi]
cmp dword [0x1477efc7b], eax
sar byte [rbx + 0x28], 1
test byte [rbp + 0x49], cl
adc bh, byte [rdx]
rcl dword [rsi - 0x3e21d716], cl
xor r11, qword [rcx + 5]
sub byte [rsi - 0x32], cl
mov esp, 0x31027a57
mov dword [rbp + 0x741d8b94], edi
push rdi
and eax, 0xb8cc508
lahf
rcl byte [rdi + 8], cl
lea ecx, [rcx]
imul ebx, dword [rdx + rbx*4], 0x56
fadd dword [rcx - 0xfc03ff9]
invalid
invalid
Function at 0x140003220
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140084080]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rcx, [0x1400792c0]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
movdqa xmm1, xmmword [0x140079580]
mov r10b, Ordinal_41
movd edx, xmm1
movzx edi, r10b
movdqa xmm2, xmmword [0x140079430]
movdqa xmm0, xmm1
movdqa xmm3, xmmword [0x1400795c0]
mov r8b, 0x68
movdqu xmmword [rbp - 0x40], xmm2
xor byte [rbp - 0x3f], dl
xor r8b, dl
xor byte [rbp - 0x3e], dl
xor r10b, dl
xor byte [rbp - 0x3d], dl
mov r9b, 0x69
xor byte [rbp - 0x3c], dl
xor r9b, dl
xor byte [rbp - 0x3b], dl
mov r11b, 0x2a
xor byte [rbp - 0x3a], dl
xor r11b, dl
xor byte [rbp - 0x39], dl
mov bl, reloc.WS2_32.dll_gethostname
xor byte [rbp - 0x38], dl
xor bl, dl
xor byte [rbp - 0x37], dl
xor byte [rbp - 0x36], dl
xor byte [rbp - 0x35], dl
xor byte [rbp - 0x34], dl
xor byte [rbp - 0x33], dl
xor byte [rbp - 0x32], dl
xor byte [rbp - 0x31], dl
movdqu xmmword [rbp - 0x30], xmm3
xor byte [rbp - 0x2f], dl
xor byte [rbp - 0x2e], dl
xor byte [rbp - 0x2d], dl
xor byte [rbp - 0x2c], dl
xor byte [rbp - 0x2b], dl
xor byte [rbp - 0x2a], dl
xor byte [rbp - 0x29], dl
xor byte [rbp - 0x28], dl
xor byte [rbp - 0x27], dl
xor byte [rbp - 0x26], dl
xor byte [rbp - 0x25], dl
xor byte [rbp - 0x24], dl
xor byte [rbp - 0x23], dl
xor byte [rbp - 0x22], dl
xor byte [rbp - 0x21], dl
movdqu xmmword [rbp - 0x50], xmm1
xor byte [rbp - 0x4e], dl
xor byte [rbp - 0x4d], dl
xor byte [rbp - 0x4c], dl
xor byte [rbp - 0x4b], dl
xor byte [rbp - 0x4a], dl
xor byte [rbp - 0x49], dl
xor byte [rbp - 0x48], dl
xor byte [rbp - 0x47], dl
xor byte [rbp - 0x46], dl
xor byte [rbp - 0x45], dl
xor byte [rbp - 0x44], dl
xor byte [rbp - 0x43], dl
xor byte [rbp - 0x42], dl
xor byte [rbp - 0x41], dl
psrldq xmm0, 1
movd eax, xmm0
mov byte [rbp - 0x20], r8b
mov byte [rbp - 0x1f], r9b
xor al, dl
mov byte [rbp - 0x1e], r10b
mov byte [rbp - 0x4f], al
movd eax, xmm2
mov byte [rbp - 0x1d], r11b
mov byte [rbp - 0x1c], bl
xor al, dl
mov byte [rbp - 0x40], al
movd eax, xmm3
xor al, dl
mov byte [rbp - 0x30], al
xor dil, dl
mov rcx, qword [0x14006a458]
lea rdx, [rbp - 0x4f]
mov byte [rbp - 0x1b], dil
mov byte [rbp - 0x1a], 0
call fcn.140004fb0
mov rcx, qword [0x14006a468]
lea rdx, [rbp - 0x18]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
cmp dword [rbp - 0x18], 1
jne 0x14000338f
call fcn.140002740
call fcn.140003220
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140066d80
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140006320
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 7], dil
je 0x140006354
mov eax, edi
nop dword [rax]
lea ecx, [rax - 0xe]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x140006340
mov byte [r8 + 7], dil
lea rax, [r8 + 6]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x140006384
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x14000639e
mov qword [rsp + 0x30], 6
mov eax, dword [r8]
mov dword [rsp + 0x20], eax
movzx eax, word [r8 + 4]
mov word [rsp + 0x24], ax
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400063ac
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140004cd0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140006426
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006421
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006421
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140067034
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140006440
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 9], dil
je 0x140006474
mov eax, edi
nop dword [rax]
lea ecx, [rax - 0xe]
xor byte [r8 + rax], cl
inc rax
cmp rax, 8
jb 0x140006460
mov byte [r8 + 9], dil
lea rax, [r8 + 8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x1400064a4
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x1400064b5
mov qword [rsp + 0x30], 8
mov rax, qword [r8]
mov qword [rsp + 0x20], rax
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400064c3
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140004cd0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14000653d
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006538
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006538
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140067034
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret