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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, rdx
mov dword [rsp + 0x60], 4
mov rdi, rcx
lea rax, [rsp + 0x68]
lea rdx, str.SoftwareAMDEEU
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
mov r9d, 0x20019
xor r8d, r8d
mov ebx, 1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1400070e1
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x1400070cf
lea r9, str.SoftwareAMDEEU
lea r8, str.ReadRegKey_RegOpenKeyEx_failed_for_pcPath___s.
lea edx, [rbx + 7]
call fcn.140006640
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov r9d, 0x10
mov qword [rsp + 0x28], rsi
mov r8, rdi
xor edx, edx
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
je 0x140007135
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x140007133
mov r9, rdi
lea r8, str.ReadRegKey_RegGetValue_failed_for_value___s.
mov edx, 8
call fcn.140006640
xor ebx, ebx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140007160
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rbp, r8
mov rsi, rdx
mov edi, 1
test r9d, r9d
je 0x1400071a0
sub r9d, edi
je 0x140007199
cmp r9d, edi
je 0x140007192
mov ebx, edi
jmp 0x1400071a5
mov ebx, 2
jmp 0x1400071a5
mov ebx, 8
jmp 0x1400071a5
mov ebx, 0x10
lea rax, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1400071e6
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x1400071e2
mov r9, rsi
lea r8, str.ReadRegKey_RegOpenKeyEx_failed_for_pcPath___s.
mov edx, 8
call fcn.140006640
xor eax, eax
jmp 0x14000724f
mov rax, qword [rsp + 0x88]
mov r9d, ebx
mov rcx, qword [rsp + 0x40]
mov r8, rbp
mov qword [rsp + 0x30], rax
xor edx, edx
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
je 0x140007242
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x140007240
mov r9, rbp
lea r8, str.ReadRegKey_RegGetValue_failed_for_value___s.
mov edx, 8
call fcn.140006640
xor edi, edi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140007590
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rbp, r8
mov rsi, rdx
mov edi, 1
test r9d, r9d
je 0x1400075cd
sub r9d, edi
je 0x1400075c6
cmp r9d, edi
je 0x1400075c2
xor ebx, ebx
jmp 0x1400075d2
mov ebx, edi
jmp 0x1400075d2
mov ebx, 3
jmp 0x1400075d2
mov ebx, 4
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], 0
xor r8d, r8d
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x140007632
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x14000762e
mov r9, rsi
lea r8, str.WriteRegKey_RegCreateKeyEx_failed_for_pcPath___s.
mov edx, 8
call fcn.140006640
xor eax, eax
jmp 0x140007691
mov eax, dword [rsp + 0x98]
mov r9d, ebx
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, rbp
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x140007684
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x140007682
mov r9, rbp
lea r8, str.WriteRegKey_RegSetValueEx_failed_for_value___s.
mov edx, 8
call fcn.140006640
xor edi, edi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret

Function at 0x1400076b0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x60
mov qword [r11 - 0x28], 0
lea rax, [r11 - 0x18]
mov qword [r11 - 0x30], rax
mov rbp, r9
mov qword [r11 - 0x38], 0
mov rdi, r8
mov dword [rsp + 0x28], 0x20006
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0
mov rsi, rdx
mov ebx, 1
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x14000772c
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x140007728
mov r9, rsi
lea r8, str.WriteRegKey_RegCreateKeyEx_failed_for_pcPath___s.
lea edx, [rbx + 7]
call fcn.140006640
xor eax, eax
jmp 0x140007783
mov eax, dword [rsp + 0x90]
mov r9d, ebx
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, rdi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140007776
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x140007774
mov r9, rdi
lea r8, str.WriteRegKey_RegSetValueEx_failed_for_value___s.
mov edx, 8
call fcn.140006640
xor ebx, ebx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret

Function at 0x140008f60
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov edx, edx
mov rbx, rcx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx], rax
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x140008fc0
Capabilities:
Connect pipe

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
test rcx, rcx
jne 0x140008ff2
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x140009025
lea r8, str.ConnectPipe_hPipe_.
mov edx, 1
call fcn.1400067e0
xor eax, eax
add rsp, 0x28
ret
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x14000902c
lea rcx, [rsp + 0x30]
call fcn.1400077a0
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x140009025
lea r8, str.Client_failed_to_connect.
mov edx, 1
call fcn.1400067e0
xor eax, eax
add rsp, 0x28
ret
mov eax, 1
add rsp, 0x28
ret

Function at 0x140009040
Capabilities:
Create pipe

Disassembly:
push rbx
sub rsp, 0x80
mov rbx, rcx
test rcx, rcx
jne 0x140009066
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x1400090d0
lea r8, str.CreatePipe_Empty_Pipe_Name.
jmp 0x1400090c6
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.1400077d0
mov edx, 3
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov rcx, rbx
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x28], 0x2c
lea r9d, [rdx + 0x1b]
mov dword [rsp + 0x20], 0x620
lea r8d, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
cmp rax, 0xffffffffffffffff
jne 0x1400090d2
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x1400090d0
lea r8, str.Invalid_handle_to_pipe.
mov edx, 1
call fcn.1400067e0
xor eax, eax
add rsp, 0x80
pop rbx
ret

Function at 0x140009120
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x38
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], 0
mov r8d, 0x620
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140009156
cmp dword [rsp + 0x50], 0x620
jne 0x140009156
mov eax, 1
add rsp, 0x38
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x140009179
lea r8, str.ReadPipe_ReadFile_failed.
mov edx, 1
call fcn.140006640
xor eax, eax
add rsp, 0x38
ret

Function at 0x1400091d0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], 0
mov r8d, 0x2c
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140009203
cmp dword [rsp + 0x50], 0x2c
jne 0x140009203
mov eax, 1
add rsp, 0x38
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x140009229
mov r9d, eax
lea r8, str.WritePipe_Failed._Error_Mesg:___d
mov edx, 1
call fcn.1400067e0
xor eax, eax
add rsp, 0x38
ret
Function at 0x14000cef0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
mov eax, 0x1020
call fcn.140024450
sub rsp, rax
xor r15d, r15d
mov rdi, r8
mov rbp, rdx
mov rbx, rcx
cmp word [rcx], r15w
je 0x14000d0a5
call fcn.14000d0cc
mov rcx, rbx
call fcn.140028228
mov rcx, rbx
mov r14, rax
call fcn.14000d100
test al, al
je 0x14000cfd6
mov rcx, rbx
call fcn.14000d0cc
test al, al
je 0x14000cf87
lea rax, [r14 + 4]
cmp rdi, rax
jbe 0x14000d0a5
mov r8, rdi
lea rdx, [0x140039030]
mov rcx, rbp
call fcn.140012198
mov rdx, rbx
mov r8, rdi
mov rcx, rbp
call fcn.140012154
mov al, 1
jmp 0x14000d0a7
mov esi, 0x5c
cmp word [rbx], si
jne 0x14000d0a5
cmp word [rbx + 2], si
jne 0x14000d0a5
lea rax, [r14 + 6]
cmp rdi, rax
jbe 0x14000d0a5
mov r8, rdi
lea rdx, [0x140039030]
mov rcx, rbp
call fcn.140012198
mov r8, rdi
lea rdx, [0x140039040]
mov rcx, rbp
call fcn.140012154
lea rdx, [rbx + 2]
jmp 0x14000cf75
lea rdx, [rsp + 0x20]
mov ecx, 0x7ff
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x7fe
ja 0x14000d0a5
movzx eax, word [rbx]
mov esi, 0x5c
cmp eax, esi
je 0x14000d06f
cmp eax, 0x2f
je 0x14000d06f
mov edx, 0x800
lea rcx, [rsp + 0x20]
call fcn.14000c95c
lea rcx, [rsp + 0x20]
call fcn.140028228
lea rcx, [rax + 4]
add rcx, r14
cmp rdi, rcx
jbe 0x14000d0a5
mov r8, rdi
lea rdx, [0x140039030]
mov rcx, rbp
call fcn.140012198
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.140012154
cmp word [rbx], 0x2e
jne 0x14000cf72
movzx eax, word [rbx + 2]
cmp eax, esi
je 0x14000d066
cmp eax, 0x2f
jne 0x14000cf72
add rbx, 4
jmp 0x14000cf72
lea rax, [r14 + 6]
cmp rdi, rax
jbe 0x14000d0a5
mov r8, rdi
lea rdx, [0x140039030]
mov rcx, rbp
call fcn.140012198
mov r8, rdi
mov word [rsp + 0x24], r15w
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.140012154
jmp 0x14000cf72
xor al, al
lea r11, [rsp + 0x1020]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret

Function at 0x14000dea0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov edi, r8d
mov rsi, r9
mov r10b, bl
cmp r8d, 1
jbe 0x14000ded4
lea rcx, [rdx + 1]
lea r8d, [rdi - 1]
xor r10b, byte [rcx]
inc rcx
sub r8, 1
jne 0x14000dec8
cmp r10b, byte [rdx]
jne 0x14000df10
mov r8, rdi
or ecx, 0xffffffff
call fcn.1400063e8
lea rdx, [0x140049030]
not eax
mov rcx, rdx
cmp dword [rcx + 4], eax
jne 0x14000def9
cmp dword [rcx], edi
je 0x14000df06
inc ebx
add rcx, 0xc
cmp ebx, 6
jae 0x14000df10
jmp 0x14000def0
lea rcx, [rbx + rbx*2]
mov eax, dword [rdx + rcx*4 + 8]
mov dword [rsi], eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140001093
Capabilities:
Execute anti-debugging instructions

Disassembly:
xor eax, eax
cpuid
mov eax, 1
cpuid
movabs r9, 0xb2d05e00
cpuid
rdtsc
shl rdx, 0x20
or rax, rdx
mov rcx, rax
fldpi
frndint
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, rcx
cmp rax, r9
jb 0x1400010b6
push rbp
mov rbp, rsp
sub rsp, 8
mov r10, 0xa
mov rcx, 0xffffffff9f345678
dec rcx
xor r9, r9
mov rax, rcx
jne 0x1400010e1
xor rax, rax
mov rax, rbx
add rax, rdx
nop
nop
nop
dec r10
xor r11, r11
jne 0x1400010da
xor rax, rax
mov rax, 0xa
dec rax
nop
nop
add rsp, 8
pop rbp
ret

Function at 0x140003060
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x6a0
mov rax, qword [0x14002b200]
xor rax, rsp
mov qword [rsp + 0x690], rax
mov rsi, rcx
lea rcx, [rsp + 0x82]
xor ebp, ebp
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x80], bp
call fcn.140012bd0
lea rcx, [rsp + 0x292]
xor edx, edx
mov r8d, 0x3fe
mov word [rsp + 0x290], bp
call fcn.140012bd0
sti
add byte [rax], al

Function at 0x140003250
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
call qword [0x1400236d0]
test eax, eax
jne 0x14000326b
xor eax, eax
add rsp, 0x20
pop rdi
ret
call qword [0x1400236d8]
test eax, eax
je 0x140003263
mov edx, 0x2000
mov qword [rsp + 0x30], rbx
lea ecx, [rdx + 2]
call qword [0x140023120]
mov rbx, rax
test rax, rax
jne 0x14000329b
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
call qword [0x140023118]
mov r9d, 0x1000
mov edx, 0x3ed
mov r8, rax
mov rcx, rdi
call qword [0x1400236e0]
mov rcx, rbx
call qword [0x140023110]
mov rdx, rbx
mov ecx, 0xd
call qword [0x1400236e8]
call qword [0x1400236f0]
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret

Function at 0x140003ad0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
lea rax, [rsp + 0x48]
mov r9, rcx
lea r8, [0x140003a40]
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call fcn.140012ec4
test rax, rax
je 0x140003b11
mov rcx, rax
call qword [0x140023130]
mov eax, 1
add rsp, 0x38
ret
xor eax, eax
add rsp, 0x38
ret
Function at 0x140005610
Capabilities:
Create thread
Resume thread

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rsi, rcx
mov ecx, 0xa8
call fcn.140013640
mov qword [rsp + 0x78], rax
xor r12d, r12d
test rax, rax
je 0x140005650
mov rcx, rax
call fcn.14000dfe0
jmp 0x140005653
mov rax, r12
mov qword [rsi + 0x5818], rax
test rax, rax
je 0x14000575f
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
mov r9, rsi
lea r8, [0x140004990]
xor edx, edx
xor ecx, ecx
call fcn.140012ec4
mov rbp, rax
test rax, rax
je 0x1400056d9
call qword [0x140023178]
mov rbx, rax
call qword [0x140023178]
mov rcx, rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
lea r9, [rsi + 0x5830]
mov r8, rbx
mov rdx, rbp
call qword [0x140023170]
mov rcx, rbp
call qword [0x140023168]
mov rcx, rbp
call qword [0x140023130]
call fcn.1400122f0
test eax, eax
jne 0x14000575a
xor r9d, r9d
xor r8d, r8d
lea edx, [rax + 1]
xor ecx, ecx
call qword [0x140023160]
mov qword [rsi + 0x5838], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
mov r9, rsi
lea r8, [0x1400045b0]
xor edx, edx
xor ecx, ecx
call fcn.140012ec4
test rax, rax
je 0x14000572a
mov rcx, rax
call qword [0x140023130]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
mov r9, rsi
lea r8, [0x140004700]
xor edx, edx
xor ecx, ecx
call fcn.140012ec4
test rax, rax
je 0x14000575a
mov rcx, rax
call qword [0x140023130]
mov eax, 1
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x140007790
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
mov eax, 0x5050
call fcn.140022000
sub rsp, rax
mov rax, qword [0x14002b200]
xor rax, rsp
mov qword [rsp + 0x5040], rax
mov rbx, rcx
lea rcx, [rsp + 0x42]
xor esi, esi
xor edx, edx
mov r8d, 0x4ffe
mov word [rsp + 0x40], si
call fcn.140012bd0
lea r8, [rsp + 0x40]
mov r9d, 0x2800
mov edx, 0x3f0
mov rcx, rbx
call qword [0x1400236e0]
mov rcx, rbx
call qword [0x1400236d0]
test eax, eax
jne 0x1400077fe
xor eax, eax
jmp 0x14000789a
call qword [0x1400236d8]
test eax, eax
je 0x1400077f7
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x5068], rdi
call qword [0x1400233c0]
lea rcx, [rsp + 0x40]
mov edi, eax
call qword [0x1400233c0]
mov ecx, 0x2002
add eax, 2
movsxd rdx, eax
call qword [0x140023120]
mov rbx, rax
test rax, rax
je 0x140007892
mov rcx, rax
call qword [0x140023118]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
lea r8, [rsp + 0x40]
or r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
call qword [0x140023188]
mov rcx, rbx
call qword [0x140023110]
mov rdx, rbx
mov ecx, 1
call qword [0x1400236e8]
call qword [0x1400236f0]
mov eax, 1
mov rdi, qword [rsp + 0x5068]
mov rcx, qword [rsp + 0x5040]
xor rcx, rsp
call fcn.140012ba0
mov rbx, qword [rsp + 0x5070]
add rsp, 0x5050
pop rsi
ret
Function at 0x140008950
Capabilities:
Get common file path
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x5480
call fcn.140022000
sub rsp, rax
mov rax, qword [0x14002b200]
xor rax, rsp
mov qword [rsp + 0x5470], rax
mov rdi, rcx
lea rcx, [rsp + 0x472]
xor esi, esi
xor edx, edx
mov r8d, 0x4ffe
mov word [rsp + 0x470], si
call fcn.140012bd0
lea rcx, [rsp + 0x52]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x50], si
call fcn.140012bd0
lea rcx, [rsp + 0x262]
xor edx, edx
mov r8d, 0x206
mov dword [rsp + 0x40], esi
mov word [rsp + 0x260], si
call fcn.140012bd0
lea r8, [rsp + 0x260]
mov r9d, 0x104
mov edx, 0x3f4
mov rcx, rdi
call qword [0x1400236e0]
lea rcx, [rsp + 0x260]
call qword [0x1400233c0]
test eax, eax
jne 0x140008a12
lea rdx, str.Invitation
lea rcx, [rsp + 0x260]
call qword [0x140023100]
lea rdx, str..inv
lea rcx, [rsp + 0x50]
call qword [0x140023108]
lea rcx, [rsp + 0x50]
call fcn.140007aa0
test eax, eax
jne 0x140008a4d
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [0x1400231b8]
test eax, eax
jne 0x140008a4d
xor eax, eax
jmp 0x140008b0c
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x260]
mov rcx, rdi
call fcn.1400078c0
test eax, eax
je 0x140008a46
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x5498], rbx
mov dword [rsp + 0x20], 1
call qword [0x1400231b0]
mov rbx, rax
test rax, rax
je 0x140008b02
cmp rax, 0xffffffffffffffff
je 0x140008b02
lea r8, [rsp + 0x470]
mov r9d, 0x2800
mov edx, 0x3f0
mov rcx, rdi
call qword [0x1400236e0]
lea rcx, [rsp + 0x470]
call qword [0x1400233c0]
lea r9, [rsp + 0x44]
lea rdx, [rsp + 0x470]
lea r8d, [rax + rax]
mov rcx, rbx
mov dword [rsp + 0x44], esi
mov qword [rsp + 0x20], rsi
call qword [0x1400231a8]
test eax, eax
jne 0x140008b2d
mov rcx, rbx
call qword [0x140023130]
xor eax, eax
mov rbx, qword [rsp + 0x5498]
mov rcx, qword [rsp + 0x5470]
xor rcx, rsp
call fcn.140012ba0
mov rsi, qword [rsp + 0x54a0]
add rsp, 0x5480
pop rdi
ret
mov rcx, rbx
call qword [0x140023130]
mov eax, 1
jmp 0x140008b04
Function at 0x14000a640
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rbx
push rsi
push r12
push r14
push r15
sub rsp, 0x460
mov rax, qword [0x14002b200]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov qword [rsp + 0x20], rcx
mov r14, rdx
xor ebx, ebx
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x40e
mov esi, ebx
mov word [rsp + 0x30], bx
call fcn.140012bd0
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
mov rcx, r14
call qword [0x140023490]
mov r12d, eax
test ax, ax
je 0x14000a8f8
mov eax, 0xffff
cmp r12w, ax
je 0x14000a8f8
movzx ecx, r12w
mov eax, 8
mov qword [rsp + 0x450], r13
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400128f8
mov r13, rax
test rax, rax
je 0x14000a8cc
mov qword [rsp + 0x4a0], rbp
mov qword [rsp + 0x458], rdi
movzx edi, bx
cmp bx, r12w
jae 0x14000a8f4
mov rbp, rax
or r15, 0xffffffffffffffff
nop dword [rax]
lea r8, [rsp + 0x30]
movzx edx, di
mov r9d, 0x208
mov rcx, r14
call qword [0x140023490]
test eax, eax
je 0x14000a76c
lea rcx, [rsp + 0x30]
call qword [0x1400233c0]
add eax, 4
movsxd rcx, eax
mov eax, 2
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.1400128f8
mov qword [rbp], rax
test rax, rax
je 0x14000a76c
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [0x140023100]
mov esi, 1
inc di
add rbp, 8
cmp di, r12w
jb 0x14000a710
mov r15, qword [rsp + 0x20]
test esi, esi
je 0x14000a8f4
lea rcx, str.DWRCS_Files
call qword [0x140023708]
mov r14d, eax
test eax, eax
je 0x14000a8ba
movzx ebp, r12w
mov ecx, 0x2040
mov edx, ebp
imul edx, edx, 0x208
add edx, 0x16
call qword [0x140023120]
mov r12, rax
test rax, rax
je 0x14000a8ba
mov rcx, rax
call qword [0x140023118]
test rax, rax
je 0x14000a8ba
mov dword [rax], 0x14
mov dword [rax + 0xc], ebx
mov dword [rax + 0x10], ebx
mov dword [rax + 4], ebx
mov dword [rax + 8], ebx
lea rdi, [rax + 0x14]
test ebp, ebp
je 0x14000a815
mov rdx, qword [r13]
mov rcx, rdi
call qword [0x140023100]
xor edx, edx
mov rcx, rdi
call fcn.140013c4c
add r13, 8
sub rbp, 1
lea rdi, [rax + 2]
jne 0x14000a7f0
mov rcx, r12
call qword [0x140023110]
xor ecx, ecx
call qword [0x1400236d0]
test eax, eax
jne 0x14000a85e
nop word [rax + rax]
mov ecx, ebx
inc ebx
cmp ecx, 0x64
jge 0x14000a85a
xor ecx, ecx
call qword [0x140023148]
mov ecx, 5
call qword [0x140023148]
xor ecx, ecx
call qword [0x1400236d0]
test eax, eax
je 0x14000a830
jmp 0x14000a85e
test eax, eax
je 0x14000a8ba
call qword [0x1400236d8]
mov rdx, r12
mov ecx, r14d
call qword [0x1400236e8]
call qword [0x1400236f0]
xor edx, edx
lea ecx, [rdx + 2]
lea r8, [r15 + 0x24a]
call qword [0x140023158]
mov rbx, rax
test rax, rax
je 0x14000a8ba
mov rcx, rax
call qword [0x140023150]
mov rcx, rbx
call qword [0x140023130]
mov rcx, qword [r15 + 0x10]
mov esi, 1
lea edx, [rsi + 0xf]
xor r9d, r9d
xor r8d, r8d
call qword [0x140023688]
mov eax, esi
mov rdi, qword [rsp + 0x458]
mov rbp, qword [rsp + 0x4a0]
mov r13, qword [rsp + 0x450]
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140012ba0
add rsp, 0x460
pop r15
pop r14
pop r12
pop rsi
pop rbx
ret
xor eax, eax
jmp 0x14000a8bc
xor eax, eax
jmp 0x14000a8d4
Function at 0x14000ecf0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x280
mov rax, qword [0x14002b200]
xor rax, rsp
mov qword [rsp + 0x270], rax
cmp dword [0x14002f04c], 0
lea rax, [0x14000e730]
lea rbx, str.getaddrinfo
mov qword [rsp + 0x28], rax
lea rax, str.getnameinfo
movzx ebp, cx
mov qword [rsp + 0x30], rax
lea rax, [0x14000ea50]
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x38], rax
lea rax, str.freeaddrinfo
mov qword [rsp + 0x40], rax
lea rax, [fcn.14000e6d0]
mov qword [rsp + 0x48], rax
jne 0x14000eebe
lea rcx, [rsp + 0x160]
mov edx, 0x104
call qword [0x140023210]
test eax, eax
je 0x14000eeb4
lea r8, [rsp + 0x160]
lea rcx, [rsp + 0x50]
mov edx, 0x10c
mov qword [rsp + 0x290], rsi
call fcn.1400142b8
lea r8, str.ws2_32
lea rcx, [rsp + 0x50]
mov edx, 0x10c
call fcn.140014800
lea rcx, [rsp + 0x50]
call qword [0x140023208]
mov rsi, rax
test rax, rax
je 0x14000ede4
mov rdx, rbx
mov rcx, rax
call qword [0x140023198]
test rax, rax
jne 0x14000ee44
mov rcx, rsi
call qword [0x140023190]
lea r8, [rsp + 0x160]
lea rcx, [rsp + 0x50]
mov edx, 0x10c
call fcn.1400142b8
lea r8, str.wship6
lea rcx, [rsp + 0x50]
mov edx, 0x10c
call fcn.140014800
lea rcx, [rsp + 0x50]
call qword [0x140023208]
mov rsi, rax
test rax, rax
je 0x14000eeac
mov rdx, rbx
mov rcx, rax
call qword [0x140023198]
test rax, rax
jne 0x14000ee44
mov rcx, rsi
call qword [0x140023190]
jmp 0x14000eeac
mov qword [rsp + 0x298], rdi
lea rbx, [rsp + 0x28]
xor edi, edi
mov rdx, qword [rbx - 8]
mov rcx, rsi
call qword [0x140023198]
mov qword [rbx], rax
test rax, rax
je 0x14000ee9b
inc rdi
add rbx, 0x10
cmp rdi, 3
jl 0x14000ee53
mov rax, qword [rsp + 0x28]
mov qword [0x14002b138], rax
mov rax, qword [rsp + 0x38]
mov qword [0x14002b148], rax
mov rax, qword [rsp + 0x48]
mov qword [0x14002b158], rax
jmp 0x14000eea4
mov rcx, rsi
call qword [0x140023190]
mov rdi, qword [rsp + 0x298]
mov rsi, qword [rsp + 0x290]
mov dword [0x14002f04c], 1
movzx eax, bp
lea rcx, [0x14002b130]
add rax, rax
mov rax, qword [rcx + rax*8 + 8]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140012ba0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x280
pop rbp
ret