joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004df0
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 [0x1401245a8]
movzx r12d, r9b
movzx edi, r8b
movzx esi, dl
mov ebp, ecx
test r8b, r8b
je 0x140004e37
inc dword [0x140129bb0]
add rbx, 0x150
mov qword [0x1401245a8], rbx
lea rdx, [0x1401284a0]
mov rcx, rbx
mov r8d, 0x150
call fcn.1400d6960
mov dword [rbx + 0x3c], ebp
test dil, dil
je 0x140004e62
lea rcx, [0x14012b510]
xor edx, edx
call fcn.140029660
xor edi, edi
cmp dword [0x140129bf8], edi
mov qword [0x14012c0e0], rdi
je 0x140004e96
mov rax, qword [0x140126128]
lea rcx, [0x1400f0524]
test rax, rax
je 0x140004e90
mov rax, qword [rax]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test sil, sil
jne 0x140004f22
cmp byte [rbx + 0x12e], dil
jne 0x140004eca
cmp r12b, 0x65
sete dil
mov byte [rbx + 0x12e], dil
test dil, dil
je 0x140004eca
mov qword [rbx], 0xffffffffffffffff
mov dword [rbx + 0x34], 0xffffffff
cmp dword [0x14012c0ec], 0
je 0x140004edc
cmp dword [0x14012c0e8], 0
jne 0x140004ee5
cmp byte [rbx + 0x12e], 0
je 0x140004f22
cmp byte [rbx + 0x12e], 0
mov byte [rbx + 0x12c], 0
jne 0x140004f22
cmp dword [0x14012c0ec], 0
jge 0x140004f0a
mov dword [rbx + 0x120], 0xffffffff
jmp 0x140004f22
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x11c], eax
mov eax, dword [0x14012c0ec]
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 0x140006f00
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
cmp qword [0x14012c190], 0
mov rbx, rdx
mov rsi, rcx
je 0x140006f27
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x30], rdi
test rcx, rcx
je 0x140006f97
mov eax, 0xffffffff
cmp rdx, rax
jne 0x140006f50
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 0x140006f97
lea rdx, [rbx + 1]
lea rcx, [0x14012c178]
call fcn.140006fc0
test rax, rax
jne 0x140006f7a
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov rdi, qword [0x14012c190]
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.1400d94e4
xor r11d, r11d
mov word [rdi + rbx*2], r11w
lea rcx, [0x14012c178]
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
jmp fcn.140007080
Function at 0x140007080
Capabilities:
Write clipboard data

Disassembly:
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rdi, rcx
jne 0x1400070ac
call fcn.140007420
test eax, eax
jne 0x1400070ac
lea rdx, str.Cant_open_clipboard_for_writing.
mov rcx, rdi
add rsp, 0x20
pop rdi
jmp 0x1400071d0
mov qword [rsp + 0x38], rsi
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x1400070fa
cmp dword [rdi + 0x2c], eax
je 0x1400070e1
xor esi, esi
cmp qword [rdi + 0x10], rsi
je 0x1400070d5
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, [0x1400f0b18]
mov rcx, rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x1400071d0
mov rcx, qword [rdi + 8]
xor esi, esi
test rcx, rcx
je 0x14000713d
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x140007171
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 0x140007171
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rdi + 8], rax
cmp dword [rdi + 0x2c], esi
je 0x140007161
cmp qword [rdi + 0x10], rsi
je 0x140007155
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 0x14000718b
mov qword [rdi + 8], rsi
jmp 0x14000713d
cmp dword [rdi + 0x2c], esi
je 0x1400071af
cmp qword [rdi + 0x10], rsi
je 0x1400071a3
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, [0x1400f0b38]
mov rcx, rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x1400071d0
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 0x14000720b
cmp qword [rcx + 0x10], rsi
je 0x1400071ff
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 0x140007222
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 0x140007235
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rbx + 8], rax
cmp word [rdi], si
je 0x14000725f
lea r8, [0x1400f0524]
lea rcx, [0x14012b510]
mov rdx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14004e080
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140007300
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 0x14000731b
mov dword [rdx], ecx
lea eax, [rdi - 0xc000]
cmp eax, 0x3fff
ja 0x1400073fa
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.1400d5e60
test eax, eax
je 0x1400073e7
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x20]
call fcn.1400d568c
test eax, eax
je 0x1400073e7
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x20]
call fcn.1400d568c
test eax, eax
je 0x1400073e7
lea rdx, str.Native
lea rcx, [rsp + 0x20]
call fcn.1400d568c
test eax, eax
je 0x1400073e7
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x20]
call fcn.1400d568c
test eax, eax
je 0x1400073e7
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x20]
call fcn.1400d568c
test eax, eax
je 0x1400073dc
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x20]
call fcn.1400d568c
test eax, eax
jne 0x1400073ff
test rbx, rbx
je 0x1400073e7
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 0x140007420
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rbx, rcx
je 0x14000743a
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 [0x140129a10]
mov edi, eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1400074b4
xor esi, esi
nop
mov ecx, dword [0x140124570]
cmp ecx, 0xffffffff
je 0x140007484
test ecx, ecx
je 0x1400074d0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x140124570]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x1400074d0
mov edx, 1
mov ecx, 0x8000012f
mov dword [0x140124574], esi
call fcn.140001b60
mov rcx, qword [0x140129a10]
mov dword [0x140124574], 1
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140007460
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 0x140007890
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 0x140007968
cmp word [rax + 0x10], 2
mov qword [rsp + 0x40], rbx
jne 0x14000792b
cmp word [rax + 0x12], 4
jne 0x14000792b
mov rbx, qword [rax + 0x18]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000792b
nop dword [rax]
mov r9d, dword [rcx]
movzx r8d, bp
mov edx, r12d
mov ecx, r13d
call fcn.1400077f0
mov qword [rdi], rax
test rax, rax
je 0x140007961
mov rcx, qword [rbx + 8]
add rbx, 8
lea rdi, [rax + 0x28]
test rcx, rcx
jne 0x140007900
mov r8, qword [rsi]
mov r9d, 0x400
mov rcx, r14
lea edx, [r9 + 1]
call fcn.1400d6d5c
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 0x140007942
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
sub eax, 0x2af9
je 0x14000797f
dec eax
je 0x14000798d
dec eax
je 0x140007986
dec eax
mov eax, 0x2af9
jmp 0x140007947
mov eax, 0x2afb
jmp 0x140007947
mov eax, 0x2afa
jmp 0x140007947
Function at 0x140008200
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x270
cmp dword [0x140128320], 0
lea rax, [0x140007c60]
lea rbx, str.getaddrinfo
mov qword [rsp + 0x28], rax
lea rax, str.getnameinfo
movzx ebp, cx
mov qword [rsp + 0x30], rax
lea rax, [0x140007f80]
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x38], rax
lea rax, str.freeaddrinfo
mov qword [rsp + 0x40], rax
lea rax, [fcn.140007c00]
mov qword [rsp + 0x48], rax
jne 0x1400083ba
lea rcx, [rsp + 0x160]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1400083b0
lea r8, [rsp + 0x160]
lea rcx, [rsp + 0x50]
mov edx, 0x10c
mov qword [rsp + 0x280], rsi
call fcn.1400d6cf8
lea r8, str.ws2_32
lea rcx, [rsp + 0x50]
mov edx, 0x10c
call fcn.1400d71cc
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400082e2
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140008342
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea r8, [rsp + 0x160]
lea rcx, [rsp + 0x50]
mov edx, 0x10c
call fcn.1400d6cf8
lea r8, str.wship6
lea rcx, [rsp + 0x50]
mov edx, 0x10c
call fcn.1400d71cc
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400083a8
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140008342
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400083a8
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 0x140008397
inc edi
add rbx, 0x10
cmp edi, 3
jl 0x140008351
mov rax, qword [rsp + 0x28]
mov qword [0x140123930], rax
mov rax, qword [rsp + 0x38]
mov qword [0x140123940], rax
mov rax, qword [rsp + 0x48]
mov qword [fcn.140007c00], rax
jmp 0x1400083a0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdi, qword [rsp + 0x288]
mov rsi, qword [rsp + 0x280]
mov dword [0x140128320], 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 0x1400086d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x60
movzx edi, byte [rcx + 0xa4]
mov rbp, rcx
test dil, dil
je 0x1400087e2
xor al, al
cmp qword [0x140129b60], 0
mov qword [rsp + 0x80], r12
movzx eax, al
mov r12d, 1
cmovne eax, r12d
cmp qword [0x140129b68], 0
je 0x140008718
or al, 2
cmp dil, al
je 0x1400087d3
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rsi
movzx esi, dil
xor ebx, ebx
mov ecx, dword [0x1401286cc]
xor r9d, r9d
mov r8, rsi
mov edx, 0x417
call qword [sym.imp.USER32.dll_PostThreadMessageW]
test eax, eax
jne 0x14000875c
lea ecx, [rax + 0xa]
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x32
jl 0x140008731
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rsi, qword [rsp + 0x78]
mov ebx, eax
nop dword [rax]
test dil, dil
je 0x1400087f0
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 0x1400087f9
cmp qword [rsp + 0x40], 0
je 0x1400087ce
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 [0x140124574], 0
mov qword [rsp + 0x20], 0
call fcn.1400bed30
mov dword [0x140124574], r12d
mov rbx, qword [rsp + 0x70]
mov r12, qword [rsp + 0x80]
mov byte [rbp + 0xa4], 0
mov rbp, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
ret
call fcn.140014750
test al, al
je 0x1400087ce
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x1f4
ja 0x1400087ce
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140008770
Function at 0x14000a510
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 0x14000a536
mov rax, qword [rcx + 0x10]
movzx ecx, byte [rax + 0x21]
jmp 0x14000a53a
movzx ecx, byte [rcx + 0x21]
and cl, 1
mov byte [rdx + 0x5b], cl
movzx ecx, byte [rbx + 0x23]
test cl, cl
jne 0x14000a550
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 0x14000a69b
movzx ecx, byte [rbx + 0x23]
test ecx, ecx
je 0x14000a5f0
dec ecx
je 0x14000a5a1
dec ecx
je 0x14000a58c
dec ecx
je 0x14000a5e0
mov rdx, qword [rbx + 0x28]
xor ecx, ecx
call qword [rbx + reloc.OLEAUT32.dll_SafeArrayGetElement]
jmp 0x14000a5fb
xor ecx, ecx
call fcn.140006ca0
mov ecx, 0xffffffff
cmp rax, rcx
cmove rax, r12
jmp 0x14000a5fb
mov rcx, rbx
call fcn.140001130
cmp dword [0x140129ba8], r12d
jne 0x14000a5e5
cmp qword [rbx + 0x10], r12
jne 0x14000a5e5
mov rcx, qword [rbx + 0x28]
lea rdx, [rsp + 0x40]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x14000a5d9
mov qword [0x14012d0f8], r12
dec eax
jmp 0x14000a5fb
mov qword [0x14012d0f8], rbx
mov rax, r12
jmp 0x14000a5fb
mov rax, qword [rbx + 0x10]
shr rax, 1
jmp 0x14000a5fb
mov rcx, qword [rbx + 0x10]
xor edx, edx
call fcn.1400bc740
mov rcx, qword [rbp]
lea rsi, [rax + 1]
test rcx, rcx
je 0x14000a616
call fcn.1400d765c
lea rcx, [rsi + rsi]
cmp rax, rcx
jae 0x14000a647
mov rcx, qword [rbp]
call fcn.1400d5bd8
mov eax, 0x104
cmp rsi, rax
cmovb rsi, rax
lea rcx, [rsi + rsi]
call fcn.1400d5b18
mov qword [rbp], rax
test rax, rax
jne 0x14000a647
mov eax, 0x3e6
jmp 0x14000a6d2
mov rdx, qword [rbp]
mov rcx, rbx
call fcn.1400bc740
mov r11, qword [rbp]
mov dword [rdi + 0x30], r12d
mov qword [rdi + 0x20], r11
cmp dword [0x14012c1a4], r12d
je 0x14000a6d0
cmp qword [0x14012c188], r12
je 0x14000a685
mov rcx, qword [0x14012c178]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x14012c188], r12
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x14012c1a4], r12d
mov qword [0x14012c178], r12
jmp 0x14000a6d0
cmp byte [rbx + 0x23], r12b
jne 0x14000a6a7
mov rax, qword [rbx + 0x10]
jmp 0x14000a6aa
mov rax, rbx
test byte [rax + 0x21], 4
je 0x14000a6c4
lea rax, [0x1400f0524]
mov dword [rdx + 0x30], 3
mov qword [rdx + 0x20], rax
jmp 0x14000a6d0
add rdx, 0x20
mov rcx, rbx
call fcn.140007550
xor eax, eax
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r12
pop rdi
pop rbp
ret
Function at 0x14000cf00
Capabilities:
Receive data
Receive data on socket

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
xor esi, esi
mov r12, rdx
mov rbx, rcx
mov edi, esi
mov rcx, qword [rbx + 0x40]
cmp rdi, rcx
jae 0x14000cf44
mov rax, qword [rbx + 0x30]
cmp byte [rax + rdi], 0
je 0x14000cfc6
inc esi
mov edi, esi
cmp rdi, rcx
jb 0x14000cf31
cmp rcx, qword [rbx + 0x38]
jne 0x14000cf99
mov rcx, qword [rbx + 0x38]
lea rax, [rcx + rcx]
test rcx, rcx
jne 0x14000cf5c
mov eax, 0x800
cmp dword [rbx + 0x48], 0
jne 0x14000cfda
test rcx, rcx
mov ebp, 0x800
cmovne rbp, rcx
cmp rbp, rax
jae 0x14000cf7b
add rbp, rbp
cmp rbp, rax
jb 0x14000cf73
cmp rbp, rcx
jbe 0x14000cf99
mov rcx, qword [rbx + 0x30]
mov rdx, rbp
call fcn.1400d5c18
test rax, rax
je 0x14000cfd3
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x38], rbp
mov r8d, dword [rbx + 0x38]
mov rdx, qword [rbx + 0x30]
mov rcx, qword [rbx + 0x20]
sub r8d, dword [rbx + 0x40]
add rdx, qword [rbx + 0x40]
xor r9d, r9d
call qword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
je 0x14000cfda
cdqe
add qword [rbx + 0x40], rax
jmp 0x14000cf24
test r12, r12
je 0x14000cfcf
mov dword [r12], esi
xor eax, eax
jmp 0x14000cfe6
mov dword [rbx + 0x48], 1
lea rcx, str.An_internal_error_has_occurred_in_the_debugger_engine._nContinue_running_the_script_without_the_debugger_
call fcn.14000d640
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 0x14000d010
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rdi, rcx
mov rcx, qword [rcx + 0x60]
lea rdx, [rsp + 0x20]
add rcx, 0x26
mov r8d, 0xa
call fcn.1400d75c8
lea rcx, [rsp + 0x20]
xor edx, edx
call fcn.1400d71b0
lea r8, str.__xml_version_1.0__encoding_UTF_8___
lea rdx, [0x1400f1a40]
lea rbx, [rax + 1]
mov rcx, rbx
call fcn.1400d70ec
mov rcx, qword [rdi + 0x20]
lea rdx, [rsp + 0x20]
movsxd r8, eax
lea rax, [rsp + 0x20]
xor r9d, r9d
add r8, rbx
sub r8d, eax
call qword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
je 0x14000d0dd
cmp dword [rdi + 0x68], 0
jne 0x14000d0dd
mov rdx, qword [rdi + 0x60]
lea rcx, [rdi + 0x50]
inc rdx
call fcn.14000e020
test eax, eax
jne 0x14000d0dd
mov rcx, qword [rdi + 0x60]
movzx eax, byte [0x1400f0524]
xor r9d, r9d
add rcx, qword [rdi + 0x50]
mov byte [rcx], al
inc qword [rdi + 0x60]
mov r8d, dword [rdi + 0x60]
mov rdx, qword [rdi + 0x50]
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
je 0x14000d0dd
xor eax, eax
mov qword [rdi + 0x60], rax
mov dword [rdi + 0x68], eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
lea rcx, str.An_internal_error_has_occurred_in_the_debugger_engine._nContinue_running_the_script_without_the_debugger_
call fcn.14000d640
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x14000d710
Capabilities:
Encode data using base64

Disassembly:
push rbx
xor r9d, r9d
mov qword [rsp + 0x10], rdi
mov r11, rdx
mov r10, rcx
cmp r8, 0xffffffffffffffff
jne 0x14000d737
or rcx, r8
xor eax, eax
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rbx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
cmp r8, 2
jbe 0x14000d7de
lea rcx, [r8 - 3]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
mov rdi, rdx
shr rdi, 1
inc rdi
mov rax, rdi
imul rax, rax, 0xfffffffffffffffd
add r8, rax
nop dword [rax]
movzx eax, byte [r11 + 1]
movzx ecx, byte [r11]
add r9, 4
shl ecx, 8
add r11, 3
or ecx, eax
movzx eax, byte [r11 - 1]
shl ecx, 8
movsxd rdx, ecx
or rdx, rax
mov rax, rdx
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r10 + r9 - 4], al
mov rax, rdx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r10 + r9 - 3], al
mov rax, rdx
and edx, 0x3f
shr rax, 6
and eax, 0x3f
dec rdi
movzx eax, byte [rax + rbx]
mov byte [r10 + r9 - 2], al
movzx eax, byte [rdx + rbx]
mov byte [r10 + r9 - 1], al
jne 0x14000d770
mov rdi, qword [rsp + 0x10]
test r8, r8
je 0x14000d852
movzx eax, byte [r11]
shl eax, 0x10
movsxd rcx, eax
cmp r8, 1
jbe 0x14000d805
movzx eax, byte [r11 + 1]
shl eax, 8
cdqe
or rcx, rax
mov rax, rcx
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r9 + r10], al
mov rax, rcx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r9 + r10 + 1], al
cmp r8, 1
jbe 0x14000d83d
shr rcx, 6
and ecx, 0x3f
movzx eax, byte [rcx + rbx]
jmp 0x14000d83f
mov al, 0x3d
mov byte [r9 + r10 + 2], al
mov word [r9 + r10 + 3], 0x3d
lea rax, [r9 + 4]
pop rbx
ret
mov byte [r9 + r10], 0
mov rax, r9
pop rbx
ret

Function at 0x14000e830
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
xor r8d, r8d
mov rcx, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
test eax, eax
jne 0x14000e8a1
mov rdi, qword [rbx + 8]
test rdi, rdi
je 0x14000e8d4
mov eax, dword [rdi + 0x20]
dec eax
mov dword [rdi + 0x20], eax
jne 0x14000e882
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000e87a
call fcn.1400d5bd8
mov rcx, rdi
call fcn.1400d5bd0
mov qword [rbx + 8], 0
mov byte [rbx + 0x10], 0
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov rcx, rbx
call fcn.14000ede0
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.14000ebe0
mov r11, qword [rbx + 8]
mov r8d, edi
mov rdx, qword [r11]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, eax
mov rax, qword [rbx + 8]
mov qword [rax + 0x10], rcx
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400160f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov eax, 0x1030
call fcn.1400e0020
sub rsp, rax
cmp byte [0x14012c340], 0
mov rbx, rdx
mov rbp, rcx
jne 0x140016276
cmp dword [0x14012a5ac], 0
jne 0x14001612b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14012a5ac], eax
inc dword [0x14012c344]
mov qword [rsp + 0x1040], rsi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9d, dword [0x14012c344]
mov edx, dword [0x14012458c]
mov ecx, eax
sub ecx, dword [0x14012a5ac]
cmp r9d, dword [0x140124588]
mov dword [0x14012a5f8], eax
jbe 0x1400161e9
cmp ecx, edx
jae 0x1400161e9
mov dword [rsp + 0x20], ecx
lea r8, str._u_hotkeys_have_been_received_in_the_last__ums._n_nDo_you_want_to_continue__n_see_MaxHotkeysPerInterval_in_the_help_file_
lea rcx, [rsp + 0x30]
mov edx, 0x800
mov esi, 1
call fcn.1400b80b0
call fcn.140014d70
lea edx, [rsi + 3]
xorpd xmm3, xmm3
lea rcx, [rsp + 0x30]
xor r8d, r8d
mov byte [0x14012c340], sil
mov dword [0x140124574], 0
mov qword [rsp + 0x20], 0
call fcn.1400bed30
cmp eax, 7
jne 0x1400161d4
lea edx, [rsi + 3]
lea rcx, [0x14012b510]
xor r8d, r8d
call fcn.14002a0a0
mov eax, dword [0x14012a5f8]
mov dword [0x140124574], esi
mov byte [0x14012c340], 0
jmp 0x1400161ef
xor esi, esi
cmp ecx, edx
jbe 0x140016203
mov dword [0x14012c344], 0
mov dword [0x14012a5ac], eax
test esi, esi
jne 0x14001626e
movzx eax, byte [rbp + 0xf]
xor r9d, r9d
xor r8d, r8d
mov byte [0x14012c08e], al
inc byte [rbx + 0x22]
mov rdx, qword [0x14012bfe0]
mov rcx, rbx
mov qword [rsp + 0x20], 0
call fcn.1400b2560
dec byte [rbx + 0x22]
test eax, eax
jne 0x14001623a
mov byte [rbx + 0x27], al
jmp 0x14001626e
cmp byte [rbx + 0x27], 0
je 0x14001626e
mov byte [rbx + 0x27], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 0x18]
cmp eax, 0x3e8
ja 0x14001626e
movzx r8d, word [rbp + 4]
mov rcx, qword [0x140129a10]
xor r9d, r9d
mov edx, 0x312
call qword [sym.imp.USER32.dll_PostMessageW]
mov rsi, qword [rsp + 0x1040]
mov rbx, qword [rsp + 0x1048]
add rsp, 0x1030
pop rbp
ret