joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140014e88
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rax, qword [0x1400349b0]
xor r13d, r13d
mov rsi, r8
mov r15, rdx
mov rdi, rcx
mov r14d, r13d
test rax, rax
jne 0x140014eda
lea r8, [fcn.140014ffc]
lea edx, [rax + 0x10]
mov ecx, 0x260
call fcn.140017354
mov qword [0x1400349b0], rax
mov rdx, rdi
mov rcx, rax
call fcn.1400172b4
mov rbx, rax
test rax, rax
je 0x140014fdb
test r15, r15
lea rbp, [0x14001b3fc]
cmovne rbp, r15
test rsi, rsi
je 0x140014f0a
cmp word [rsi], r13w
jne 0x140014f11
lea rsi, [0x14001b778]
mov rcx, rbp
call sub.msvcrt.dll_wcslen
mov rcx, rsi
mov r12, rax
call sub.msvcrt.dll_wcslen
mov rcx, qword [0x140034660]
add eax, 2
xor edx, edx
add eax, r12d
movsxd r8, eax
add r8, r8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, rax
test rax, rax
je 0x140014fc4
mov rdx, rbp
mov rcx, rax
call sub.msvcrt.dll_wcscpy
test r12d, r12d
je 0x140014f71
movsxd rax, r12d
cmp word [rbp + rax*2 - 2], 0x5c
je 0x140014f71
lea rdx, [0x14001b758]
mov rcx, r15
call sub.msvcrt.dll_wcscat
mov rdx, rsi
mov rcx, r15
call sub.msvcrt.dll_wcscat
lea rdx, [rbx + 0xc]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
je 0x140014f98
mov dword [rbx + 8], r13d
jmp 0x140014faa
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x140014fad
mov dword [rbx + 8], 1
mov r14, rbx
mov rcx, qword [0x140034660]
mov r8, r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r14, r14
jne 0x140014fdb
mov rcx, qword [0x1400349b0]
cmp rdi, 0xffffffffffffffff
cmove rdi, rbx
mov rdx, rdi
call fcn.14001724c
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rax, r14
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x140015258
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x30
lea rax, [r11 + 0x10]
mov rdi, rdx
mov edx, ecx
xor esi, esi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [r11 - 0x18], rax
mov ebx, esi
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x1400152c9
mov rcx, qword [rsp + 0x48]
mov rdx, rdi
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1400152be
mov rcx, rdi
call sub.msvcrt.dll_wcslen
mov rbx, rax
test eax, eax
je 0x1400152be
lea ecx, [rsi + 0x5c]
cdqe
cmp word [rdi + rax*2 - 2], cx
je 0x1400152be
mov word [rdi + rax*2], cx
inc ebx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movsxd rax, ebx
mov word [rdi + rax*2], si
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400153e0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rcx
mov dword [rsp + 0x40], eax
cmp dword [rcx + 0x1c], eax
jne 0x140015424
mov r8d, dword [rcx + 0x10]
mov rdx, qword [rcx + 8]
lea r9, [rsp + 0x40]
sub r8d, dword [rcx + 0x14]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rbx + 0x10]
mov dword [rbx + 0x14], eax
movsxd rax, dword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret
cdqe
add rsp, 0x30
pop rbx
ret

Function at 0x1400159f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rdx, rcx
mov rcx, qword [0x140035040]
call fcn.140017288
mov rbx, rax
test rax, rax
je 0x140015a40
mov r8d, dword [rax + 0x20]
mov rdx, rdi
mov rcx, rax
call fcn.140015ac0
mov r8d, dword [rbx + 0x20]
lea rdx, [0x14001b780]
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140015ac0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140015ac0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov dword [rsp + 0x48], 0
test rdx, rdx
je 0x140015bc3
cmp word [rdx], 0
je 0x140015bc3
test r8d, r8d
jne 0x140015aed
mov r8d, dword [rcx + 0x20]
cmp r8d, 0x19
jne 0x140015b53
or rax, 0xffffffffffffffff
cmp qword [rcx + 8], 0
je 0x140015b21
nop
cmp word [rdx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140015b00
lea r8d, [rax + rax]
call fcn.140015c60
mov dword [rsp + 0x48], eax
cdqe
add rsp, 0x30
pop rbx
ret
cmp word [rdx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140015b21
mov rcx, qword [rcx]
lea r8d, [rax + rax]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
movsxd rax, dword [rsp + 0x48]
add rsp, 0x30
pop rbx
ret
xor ecx, ecx
cmp r8d, 2
mov eax, 0xfde9
lea r8, [rsp + 0x58]
cmove ecx, eax
mov qword [rsp + 0x40], rdi
call fcn.140015db0
mov rdi, rax
test rax, rax
je 0x140015bbe
cmp qword [rbx + 8], 0
mov r8d, dword [rsp + 0x58]
mov rdx, rax
je 0x140015b95
mov rcx, rbx
call fcn.140015c60
mov dword [rsp + 0x48], eax
jmp 0x140015bac
mov rcx, qword [rbx]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x140034660]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, qword [rsp + 0x40]
movsxd rax, dword [rsp + 0x48]
add rsp, 0x30
pop rbx
ret
Function at 0x140015c60
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
xor ebp, ebp
movsxd rdi, r8d
mov rsi, rdx
mov rbx, rcx
mov dword [rsp + 0x50], ebp
cmp dword [rcx + 0x24], ebp
jne 0x140015d9e
cmp dword [rcx + 0x1c], 1
jne 0x140015cb3
mov eax, dword [rcx + 0x14]
mov rcx, qword [rcx]
lea r9d, [rbp + 1]
neg eax
lea r8, [rsp + 0x6c]
cdqe
mov edx, eax
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [rbx + 0x10]
mov dword [rbx + 0x1c], ebp
mov dword [rbx + 0x14], eax
mov ecx, dword [rbx + 0x14]
cmp ecx, edi
jle 0x140015d3f
mov eax, dword [rbx + 0x10]
mov edx, edi
sub eax, ecx
movsxd rcx, eax
add rcx, qword [rbx + 8]
dec edx
je 0x140015d27
dec edx
je 0x140015d0e
cmp edx, 2
je 0x140015cf7
mov r8, rdi
mov rdx, rsi
call sub.msvcrt.dll_memcpy
sub dword [rbx + 0x14], edi
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [rsi]
mov dword [rcx], eax
sub dword [rbx + 0x14], edi
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
movzx eax, word [rsi]
mov word [rcx], ax
sub dword [rbx + 0x14], edi
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
movzx eax, byte [rsi]
mov byte [rcx], al
sub dword [rbx + 0x14], edi
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov rcx, rbx
call fcn.1400153e0
mov eax, dword [rbx + 0x10]
mov rdx, rsi
cmp edi, eax
jl 0x140015d79
mov rcx, qword [rbx]
lea r9, [rsp + 0x50]
mov r8d, edi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
movsxd rax, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
sub eax, dword [rbx + 0x14]
mov r8, rdi
movsxd rcx, eax
add rcx, qword [rbx + 8]
call sub.msvcrt.dll_memcpy
sub dword [rbx + 0x14], edi
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
movsxd rax, ebp
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x140004e10
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
mov rbx, qword [0x1401255c8]
movzx r12d, r9b
movzx edi, r8b
movzx esi, dl
mov ebp, ecx
test r8b, r8b
je 0x140004e57
inc dword [0x14012abd0]
add rbx, 0x150
mov qword [0x1401255c8], rbx
lea rdx, [0x1401294c0]
mov rcx, rbx
mov r8d, 0x150
call fcn.1400d72b0
mov dword [rbx + 0x3c], ebp
test dil, dil
je 0x140004e82
lea rcx, [0x14012c540]
xor edx, edx
call fcn.140029850
xor edi, edi
cmp dword [0x14012ac18], edi
mov qword [0x14012d110], rdi
je 0x140004eb6
mov rax, qword [0x140127148]
lea rcx, [0x1400f1604]
test rax, rax
je 0x140004eb0
mov rax, qword [rax]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test sil, sil
jne 0x140004f42
cmp byte [rbx + 0x12e], dil
jne 0x140004eea
cmp r12b, 0x65
sete dil
mov byte [rbx + 0x12e], dil
test dil, dil
je 0x140004eea
mov qword [rbx], 0xffffffffffffffff
mov dword [rbx + 0x34], 0xffffffff
cmp dword [0x14012d11c], 0
je 0x140004efc
cmp dword [0x14012d118], 0
jne 0x140004f05
cmp byte [rbx + 0x12e], 0
je 0x140004f42
cmp byte [rbx + 0x12e], 0
mov byte [rbx + 0x12c], 0
jne 0x140004f42
cmp dword [0x14012d11c], 0
jge 0x140004f2a
mov dword [rbx + 0x120], 0xffffffff
jmp 0x140004f42
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x11c], eax
mov eax, dword [0x14012d11c]
mov dword [rbx + 0x120], eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret

Function at 0x140006f10
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
cmp qword [0x14012d1c0], 0
mov rbx, rdx
mov rsi, rcx
je 0x140006f37
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x30], rdi
test rcx, rcx
je 0x140006fa7
mov eax, 0xffffffff
cmp rdx, rax
jne 0x140006f60
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea rbx, [rcx - 1]
mov ebx, ebx
test rbx, rbx
je 0x140006fa7
lea rdx, [rbx + 1]
lea rcx, [0x14012d1a8]
call fcn.140006fd0
test rax, rax
jne 0x140006f8a
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov rdi, qword [0x14012d1c0]
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.1400d9e34
xor r11d, r11d
mov word [rdi + rbx*2], r11w
lea rcx, [0x14012d1a8]
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
jmp fcn.140007090
Function at 0x140007090
Capabilities:
Write clipboard data

Disassembly:
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rdi, rcx
jne 0x1400070bc
call fcn.140007430
test eax, eax
jne 0x1400070bc
lea rdx, str.Cant_open_clipboard_for_writing.
mov rcx, rdi
add rsp, 0x20
pop rdi
jmp 0x1400071e0
mov qword [rsp + 0x38], rsi
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x14000710a
cmp dword [rdi + 0x2c], eax
je 0x1400070f1
xor esi, esi
cmp qword [rdi + 0x10], rsi
je 0x1400070e5
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rdi + 0x10], rsi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rdi + 0x2c], esi
mov qword [rdi], rsi
lea rdx, [0x1400f1b18]
mov rcx, rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x1400071e0
mov rcx, qword [rdi + 8]
xor esi, esi
test rcx, rcx
je 0x14000714d
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x140007181
cmp word [rax], si
mov qword [rsp + 0x30], rbx
sete bl
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test bl, bl
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 0x18], rsi
mov dword [rdi + 0x28], esi
je 0x140007181
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rdi + 8], rax
cmp dword [rdi + 0x2c], esi
je 0x140007171
cmp qword [rdi + 0x10], rsi
je 0x140007165
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rdi + 0x10], rsi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rdi + 0x2c], esi
mov qword [rdi], rsi
mov eax, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rdx, qword [rdi + 8]
mov ecx, ntohs
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x14000719b
mov qword [rdi + 8], rsi
jmp 0x14000714d
cmp dword [rdi + 0x2c], esi
je 0x1400071bf
cmp qword [rdi + 0x10], rsi
je 0x1400071b3
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rdi + 0x10], rsi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rdi + 0x2c], esi
mov qword [rdi], rsi
lea rdx, [0x1400f1b38]
mov rcx, rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x1400071e0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov rbx, rcx
cmp dword [rcx + 0x2c], esi
je 0x14000721b
cmp qword [rcx + 0x10], rsi
je 0x14000720f
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rbx + 0x2c], esi
mov qword [rbx], rsi
cmp qword [rbx + 0x18], rsi
je 0x140007232
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rbx + 0x18], rsi
mov dword [rbx + 0x28], esi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140007245
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rbx + 8], rax
cmp word [rdi], si
je 0x14000726f
lea r8, [0x1400f1604]
lea rcx, [0x14012c540]
mov rdx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14004e5d0
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140007310
Capabilities:
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x230
mov edi, ecx
xor ecx, ecx
mov rbx, rdx
test rdx, rdx
je 0x14000732b
mov dword [rdx], ecx
lea eax, [rdi - 0xc000]
cmp eax, 0x3fff
ja 0x14000740a
lea rdx, [rsp + 0x20]
mov r8d, 0x104
mov ecx, edi
call qword [sym.imp.USER32.dll_GetClipboardFormatNameW]
lea rdx, str.Link_Source
lea rcx, [rsp + 0x20]
mov r8d, reloc.WSOCK32.dll_inet_ntoa
call fcn.1400d67b0
test eax, eax
je 0x1400073f7
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x20]
call fcn.1400d5fdc
test eax, eax
je 0x1400073f7
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x20]
call fcn.1400d5fdc
test eax, eax
je 0x1400073f7
lea rdx, str.Native
lea rcx, [rsp + 0x20]
call fcn.1400d5fdc
test eax, eax
je 0x1400073f7
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x20]
call fcn.1400d5fdc
test eax, eax
je 0x1400073f7
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x20]
call fcn.1400d5fdc
test eax, eax
je 0x1400073ec
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x20]
call fcn.1400d5fdc
test eax, eax
jne 0x14000740f
test rbx, rbx
je 0x1400073f7
mov dword [rbx], 1
xor eax, eax
mov rbx, qword [rsp + 0x240]
add rsp, 0x230
pop rdi
ret
mov word [rsp + 0x20], cx
mov ecx, edi
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, qword [rsp + 0x240]
add rsp, 0x230
pop rdi
ret

Function at 0x140007430
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rbx, rcx
je 0x14000744a
mov eax, 1
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14012aa30]
mov edi, eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1400074c4
xor esi, esi
nop
mov ecx, dword [0x140125590]
cmp ecx, 0xffffffff
je 0x140007494
test ecx, ecx
je 0x1400074e0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x140125590]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x1400074e0
mov edx, 1
mov ecx, 0x8000012f
mov dword [0x140125594], esi
call fcn.140001b60
mov rcx, qword [0x14012aa30]
mov dword [0x140125594], 1
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140007470
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov dword [rbx + 0x2c], 1
mov eax, 1
add rsp, 0x20
pop rbx
ret
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400078c0
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x20
mov rdi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x60]
movzx ebp, r9w
mov qword [rdi], 0
mov r12d, r8d
mov r13d, edx
mov byte [r14], 0
call qword [sym.imp.WSOCK32.dll_gethostbyname]
mov rsi, rax
test rax, rax
je 0x140007998
cmp word [rax + 0x10], 2
mov qword [rsp + 0x40], rbx
jne 0x14000795b
cmp word [rax + 0x12], 4
jne 0x14000795b
mov rbx, qword [rax + 0x18]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000795b
nop dword [rax]
mov r9d, dword [rcx]
movzx r8d, bp
mov edx, r12d
mov ecx, r13d
call fcn.140007820
mov qword [rdi], rax
test rax, rax
je 0x140007991
mov rcx, qword [rbx + 8]
add rbx, 8
lea rdi, [rax + 0x28]
test rcx, rcx
jne 0x140007930
mov r8, qword [rsi]
mov r9d, 0x400
mov rcx, r14
lea edx, [r9 + 1]
call fcn.1400d76ac
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret
mov eax, 8
jmp 0x140007972
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
sub eax, 0x2af9
je 0x1400079af
dec eax
je 0x1400079bd
dec eax
je 0x1400079b6
dec eax
mov eax, 0x2af9
jmp 0x140007977
mov eax, 0x2afb
jmp 0x140007977
mov eax, 0x2afa
jmp 0x140007977
Function at 0x140008230
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x270
cmp dword [0x140129340], 0
lea rax, [0x140007c90]
lea rbx, str.getaddrinfo
mov qword [rsp + 0x28], rax
lea rax, str.getnameinfo
movzx ebp, cx
mov qword [rsp + 0x30], rax
lea rax, [0x140007fb0]
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x38], rax
lea rax, str.freeaddrinfo
mov qword [rsp + 0x40], rax
lea rax, [fcn.140007c30]
mov qword [rsp + 0x48], rax
jne 0x1400083ea
lea rcx, [rsp + 0x160]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1400083e0
lea r8, [rsp + 0x160]
lea rcx, [rsp + 0x50]
mov edx, 0x10c
mov qword [rsp + 0x280], rsi
call fcn.1400d7648
lea r8, str.ws2_32
lea rcx, [rsp + 0x50]
mov edx, 0x10c
call fcn.1400d7b1c
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140008312
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140008372
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea r8, [rsp + 0x160]
lea rcx, [rsp + 0x50]
mov edx, 0x10c
call fcn.1400d7648
lea r8, str.wship6
lea rcx, [rsp + 0x50]
mov edx, 0x10c
call fcn.1400d7b1c
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400083d8
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140008372
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400083d8
mov qword [rsp + 0x288], rdi
lea rbx, [rsp + 0x28]
xor edi, edi
mov rdx, qword [rbx - 8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx], rax
test rax, rax
je 0x1400083c7
inc edi
add rbx, 0x10
cmp edi, 3
jl 0x140008381
mov rax, qword [rsp + 0x28]
mov qword [0x140124930], rax
mov rax, qword [rsp + 0x38]
mov qword [0x140124940], rax
mov rax, qword [rsp + 0x48]
mov qword [fcn.140007c30], rax
jmp 0x1400083d0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdi, qword [rsp + 0x288]
mov rsi, qword [rsp + 0x280]
mov dword [0x140129340], 1
mov rbx, qword [rsp + 0x290]
movzx eax, bp
lea rcx, str.getaddrinfo
add rax, rax
mov rax, qword [rcx + rax*8 + 8]
add rsp, 0x270
pop rbp
ret
Function at 0x1400087f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x60
movzx edi, byte [rcx + 0xb4]
mov rbp, rcx
test dil, dil
je 0x140008902
xor al, al
cmp qword [0x14012ab80], 0
mov qword [rsp + 0x80], r12
movzx eax, al
mov r12d, 1
cmovne eax, r12d
cmp qword [0x14012ab88], 0
je 0x140008838
or al, 2
cmp dil, al
je 0x1400088f3
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rsi
movzx esi, dil
xor ebx, ebx
mov ecx, dword [0x1401296ec]
xor r9d, r9d
mov r8, rsi
mov edx, 0x417
call qword [sym.imp.USER32.dll_PostThreadMessageW]
test eax, eax
jne 0x14000887c
lea ecx, [rax + 0xa]
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x32
jl 0x140008851
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rsi, qword [rsp + 0x78]
mov ebx, eax
nop dword [rax]
test dil, dil
je 0x140008910
mov r9d, 0x417
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, r9d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140008919
cmp qword [rsp + 0x40], 0
je 0x1400088ee
xorpd xmm3, xmm3
lea rcx, str.Warning:_The_keyboard_and_or_mouse_hook_could_not_be_activated__some_parts_of_the_script_will_not_function.
xor r8d, r8d
mov edx, 0x10000
mov dword [0x140125594], 0
mov qword [rsp + 0x20], 0
call fcn.1400bf5b0
mov dword [0x140125594], r12d
mov rbx, qword [rsp + 0x70]
mov r12, qword [rsp + 0x80]
mov byte [rbp + 0xb4], 0
mov rbp, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
ret
call fcn.140014960
test al, al
je 0x1400088ee
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x1f4
ja 0x1400088ee
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140008890
Function at 0x14000a760
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r12
sub rsp, 0x20
cmp byte [rcx + 0x23], 0
mov rbp, r8
mov rdi, rdx
mov rbx, rcx
jne 0x14000a786
mov rax, qword [rcx + 0x10]
movzx ecx, byte [rax + 0x21]
jmp 0x14000a78a
movzx ecx, byte [rcx + 0x21]
and cl, 1
mov byte [rdx + 0x5b], cl
movzx ecx, byte [rbx + 0x23]
test cl, cl
jne 0x14000a7a0
mov rax, qword [rbx + 0x10]
movzx ecx, byte [rax + 0x23]
xor r12d, r12d
cmp cl, 1
mov qword [rsp + 0x48], rsi
setne al
mov byte [rdx + 0x59], al
test al, al
je 0x14000a8eb
movzx ecx, byte [rbx + 0x23]
test ecx, ecx
je 0x14000a840
dec ecx
je 0x14000a7f1
dec ecx
je 0x14000a7dc
dec ecx
je 0x14000a830
mov rdx, qword [rbx + 0x28]
xor ecx, ecx
call qword [rbx + reloc.OLEAUT32.dll_SafeArrayGetElement]
jmp 0x14000a84b
xor ecx, ecx
call fcn.140006cb0
mov ecx, 0xffffffff
cmp rax, rcx
cmove rax, r12
jmp 0x14000a84b
mov rcx, rbx
call fcn.140001130
cmp dword [0x14012abc8], r12d
jne 0x14000a835
cmp qword [rbx + 0x10], r12
jne 0x14000a835
mov rcx, qword [rbx + 0x28]
lea rdx, [rsp + 0x40]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x14000a829
mov qword [0x14012e128], r12
dec eax
jmp 0x14000a84b
mov qword [0x14012e128], rbx
mov rax, r12
jmp 0x14000a84b
mov rax, qword [rbx + 0x10]
shr rax, 1
jmp 0x14000a84b
mov rcx, qword [rbx + 0x10]
xor edx, edx
call fcn.1400bcff0
mov rcx, qword [rbp]
lea rsi, [rax + 1]
test rcx, rcx
je 0x14000a866
call fcn.1400d8108
lea rcx, [rsi + rsi]
cmp rax, rcx
jae 0x14000a897
mov rcx, qword [rbp]
call fcn.1400d6528
mov eax, 0x104
cmp rsi, rax
cmovb rsi, rax
lea rcx, [rsi + rsi]
call fcn.1400d6468
mov qword [rbp], rax
test rax, rax
jne 0x14000a897
mov eax, 0x3e6
jmp 0x14000a922
mov rdx, qword [rbp]
mov rcx, rbx
call fcn.1400bcff0
mov r11, qword [rbp]
mov dword [rdi + 0x30], r12d
mov qword [rdi + 0x20], r11
cmp dword [0x14012d1d4], r12d
je 0x14000a920
cmp qword [0x14012d1b8], r12
je 0x14000a8d5
mov rcx, qword [0x14012d1a8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x14012d1b8], r12
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x14012d1d4], r12d
mov qword [0x14012d1a8], r12
jmp 0x14000a920
cmp byte [rbx + 0x23], r12b
jne 0x14000a8f7
mov rax, qword [rbx + 0x10]
jmp 0x14000a8fa
mov rax, rbx
test byte [rax + 0x21], 4
je 0x14000a914
lea rax, [0x1400f1604]
mov dword [rdx + 0x30], 3
mov qword [rdx + 0x20], rax
jmp 0x14000a920
add rdx, 0x20
mov rcx, rbx
call fcn.140007560
xor eax, eax
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r12
pop rdi
pop rbp
ret