joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007630
Capabilities:
Create directory
Get disk information
Query environment variable

Disassembly:
push rdi
mov eax, 0x4040
call fcn.14000bdb0
sub rsp, rax
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rsp + 0x4030], rax
xor r8d, r8d
xor edx, edx
call fcn.1400088f0
mov rdi, rax
test rax, rax
jne 0x140007676
lea rcx, str.LOADER:_failed_to_convert_runtime_tmpdir_to_a_wide_string._n
call fcn.140001f30
xor eax, eax
jmp 0x1400077ff
mov r8d, 0x1000
mov qword [rsp + 0x4058], rbx
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov rcx, rdi
mov ebx, eax
call fcn.140015e10
test ebx, ebx
jne 0x1400076b3
lea rcx, str.LOADER:_failed_to_expand_environment_variables_in_the_runtime_tmpdir._n
call fcn.140001f30
xor eax, eax
jmp 0x1400077f7
lea rcx, [rsp + 0x30]
call fcn.140008760
test eax, eax
je 0x14000771f
cmp word [rsp + 0x34], 0x5c
je 0x1400076e5
lea rcx, [rsp + 0x30]
sub rcx, 2
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x1400076d2
mov eax, dword [0x14002f5a0]
mov dword [rcx], eax
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jg 0x140007710
mov r8d, eax
lea rdx, [rsp + 0x30]
lea rcx, str.LOADER:_runtime_tmpdir_points_to_non_existent_drive__ls__type:__d___n
call fcn.140001f30
xor eax, eax
jmp 0x1400077f7
lea rcx, [rsp + 0x30]
call fcn.140018848
jmp 0x1400077f7
mov r8d, 0x1000
lea rdx, [rsp + 0x30]
xor ecx, ecx
call fcn.140018ce4
mov rbx, rax
test rax, rax
jne 0x14000774c
lea rcx, str.LOADER:_failed_to_obtain_the_absolute_path_of_the_runtime_tmpdir._n
call fcn.140001f30
xor eax, eax
jmp 0x1400077f7
mov edx, 0x5c
mov rcx, rbx
call fcn.14000cb00
mov rdi, rax
test rax, rax
je 0x1400077ae
mov r9, rdi
mov qword [rsp + 0x20], rbx
sub r9, rbx
lea r8, str._.s
sar r9, 1
lea rcx, [rsp + 0x2030]
mov edx, 0x1000
call fcn.140001d50
xor edx, edx
lea rcx, [rsp + 0x2030]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, 0x5c
lea rcx, [rdi + 2]
call fcn.14000cb00
mov rdi, rax
test rax, rax
jne 0x140007761
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400077f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400077f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, rbx
lea r8, str.LOADER:_failed_to_create_runtime_tmpdir_path__ls__n
mov edx, eax
lea rcx, str.CreateDirectory
call fcn.140002310
mov rcx, rbx
call fcn.140015e10
xor eax, eax
jmp 0x1400077f7
mov rax, rbx
mov rbx, qword [rsp + 0x4058]
mov rcx, qword [rsp + 0x4030]
xor rcx, rsp
call fcn.14000bab0
add rsp, 0x4040
pop rdi
ret
Function at 0x140007820
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x2280
call fcn.14000bdb0
sub rsp, rax
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rsp + 0x2270], rax
mov rbp, rcx
lea r8, [0x14002f890]
mov r9, rcx
mov ebx, 0x1000
mov edx, ebx
lea rcx, [rsp + 0x270]
call fcn.140001d50
mov edi, eax
cmp eax, ebx
jge 0x140007963
dec edi
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x270]
sub ebx, edi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140007963
nop
movzx edx, word [rsp + 0x4c]
movzx ecx, word [rsp + 0x4e]
cmp dx, 0x2e
jne 0x1400078c7
test cx, cx
je 0x140007933
cmp dx, dx
jne 0x1400078c7
cmp cx, dx
jne 0x1400078c7
cmp word [rsp + 0x50], 0
je 0x140007933
movsxd rax, edi
lea rcx, [rsp + 0x270]
movsxd rdx, ebx
lea r9, [rsp + 0x4c]
lea r8, [0x14002f89c]
lea rcx, [rcx + rax*2]
call fcn.140001d50
cmp eax, ebx
jge 0x140007933
mov eax, dword [rsp + 0x20]
test al, 0x10
je 0x140007925
bt eax, 0xa
jae 0x140007916
cmp dword [rsp + 0x44], 0xa000000c
jne 0x140007916
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x140007933
lea rcx, [rsp + 0x270]
call fcn.140007820
jmp 0x140007933
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400078a0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
dec eax
neg eax
sbb eax, eax
jmp 0x140007968
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x2270]
xor rcx, rsp
call fcn.14000bab0
lea r11, [rsp + 0x2280]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140007ac0
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
mov eax, 0x2050
call fcn.14000bdb0
sub rsp, rax
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rsp + 0x2040], rax
xor r14d, r14d
mov rbp, rcx
cmp qword [rcx + 0x3068], r14
je 0x140007b5a
lea rcx, [0x14002f768]
call fcn.140007c90
mov rcx, qword [rbp + 0x3068]
mov r14, rax
call fcn.140007630
mov rdi, rax
test rax, rax
je 0x140007b48
mov rdx, rax
lea rcx, [0x14002f770]
call fcn.140019114
mov rcx, rdi
mov ebx, eax
call fcn.140015e10
test ebx, ebx
je 0x140007b5a
lea rcx, str.LOADER:_failed_to_set_the_TMP_environment_variable._n
call fcn.140001f30
mov rcx, r14
call fcn.140015e10
mov eax, 0xffffffff
jmp 0x140007c65
lea rdx, [rsp + 0x40]
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
call sub.KERNEL32.dll_GetCurrentProcessId
mov r9d, eax
lea r8, str._MEI_d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140008700
xor ebx, ebx
mov esi, 0xffffffff
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140019a44
mov rdx, qword [rbp + 0x3038]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, rdi
test eax, eax
jne 0x140007bc7
call fcn.140015e10
inc ebx
cmp ebx, 5
jl 0x140007b90
jmp 0x140007bf6
lea rdx, [rbp + 0x2022]
mov r8d, 0x1000
call fcn.1400089a0
test rax, rax
jne 0x140007bec
lea rcx, str.LOADER:_length_of_teporary_directory_path_exceeds_maximum_path_length__n
call fcn.140001f30
jmp 0x140007bee
xor esi, esi
mov rcx, rdi
call fcn.140015e10
cmp qword [rbp + 0x3068], 0
je 0x140007c63
xor r8d, r8d
lea rcx, [0x14002f768]
xor edx, edx
call fcn.1400088f0
test r14, r14
je 0x140007c49
xor r8d, r8d
xor edx, edx
mov rcx, r14
mov rdi, rax
call fcn.1400088f0
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.140019114
mov rcx, rdi
call fcn.140015e10
mov rcx, rbx
call fcn.140015e10
mov rcx, r14
jmp 0x140007c5e
lea rdx, [0x14002f484]
mov rcx, rax
mov rbx, rax
call fcn.140019114
mov rcx, rbx
call fcn.140015e10
mov eax, esi
mov rcx, qword [rsp + 0x2040]
xor rcx, rsp
call fcn.14000bab0
lea r11, [rsp + 0x2050]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140007c90
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x4038
call fcn.14000bdb0
sub rsp, rax
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rsp + 0x4020], rax
xor r8d, r8d
xor edx, edx
call fcn.1400088f0
mov r8d, 0x1000
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffe
ja 0x140007d22
mov r8d, 0x1000
lea rdx, [rsp + 0x2020]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0xffe
ja 0x140007d22
xor r8d, r8d
lea rcx, [rsp + 0x2020]
xor edx, edx
call fcn.1400089a0
mov rcx, qword [rsp + 0x4020]
xor rcx, rsp
call fcn.14000bab0
add rsp, 0x4038
ret
xor eax, eax
mov rcx, qword [rsp + 0x4020]
xor rcx, rsp
call fcn.14000bab0
add rsp, 0x4038
ret
Function at 0x1400083b0
Capabilities:
Enumerate process modules

Disassembly:
push rbx
push rbp
push r12
mov eax, 0x4050
call fcn.14000bdb0
sub rsp, rax
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rsp + 0x4030], rax
xor ebp, ebp
mov rbx, rcx
mov dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rsp + 0x20]
xor r8d, r8d
mov rcx, rax
xor edx, edx
mov r12, rax
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x14000857e
mov ecx, dword [rsp + 0x20]
test ecx, ecx
je 0x14000857e
mov edx, 1
mov qword [rsp + 0x4040], r15
call fcn.140015e08
mov r15, rax
test rax, rax
je 0x140008576
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov rcx, r12
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x14000856e
lea rcx, [rbx + 0x2022]
mov r8d, 0x1000
lea rdx, [rsp + 0x30]
call fcn.1400088f0
test rax, rax
je 0x14000856e
mov qword [rsp + 0x4078], rsi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x4080], rdi
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x4048], r14
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], bp
jne 0x140008490
mov r14d, dword [rsp + 0x20]
shr r14, 3
test r14, r14
je 0x1400084fc
mov rbx, rbp
mov rsi, r15
nop dword [rax]
mov rdx, qword [r15 + rbx*8]
lea r8, [rsp + 0x2030]
mov r9d, 0x1000
mov rcx, r12
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
je 0x1400084f4
mov r8, rdi
lea rdx, [rsp + 0x2030]
lea rcx, [rsp + 0x30]
call fcn.140018918
test eax, eax
jne 0x1400084f4
mov rax, qword [r15 + rbx*8]
inc ebp
mov qword [rsi], rax
add rsi, 8
inc rbx
cmp rbx, r14
jl 0x1400084b0
mov r14, qword [rsp + 0x4048]
movsxd rsi, ebp
test ebp, ebp
jle 0x14000855e
mov rdi, r15
nop
mov rdx, qword [rdi]
lea r8, [rsp + 0x2030]
mov r9d, 0x1000
mov rcx, r12
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
je 0x140008554
mov rcx, qword [rdi]
mov ebx, 1
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x140008554
nop
cmp ebx, 0x20
jge 0x140008554
mov rcx, qword [rdi]
inc ebx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
jne 0x140008540
add rdi, 8
sub rsi, 1
jne 0x140008510
mov rdi, qword [rsp + 0x4080]
mov rsi, qword [rsp + 0x4078]
mov rcx, r15
call fcn.140015e10
mov r15, qword [rsp + 0x4040]
mov rcx, qword [rsp + 0x4030]
xor rcx, rsp
call fcn.14000bab0
add rsp, 0x4050
pop r12
pop rbp
pop rbx
ret
Function at 0x140001160
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x2d0
mov rax, qword [0x140020010]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
xorps xmm0, xmm0
mov dword [rsp + 0x40], 0x68
mov rbx, rcx
xor eax, eax
lea rcx, [rsp + 0x40]
mov dword [rsp + 0xa4], eax
movups xmmword [rsp + 0x44], xmm0
movups xmmword [rsp + 0x54], xmm0
movups xmmword [rsp + 0x64], xmm0
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm0
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor ebp, ebp
cmp word [rsp + 0x82], 8
mov edi, ebp
mov qword [rsp + 0x30], rbp
jb 0x140001356
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x140001356
add rax, 4
je 0x140001206
mov eax, dword [rax]
mov dword [rsp + 0x30], eax
mov rdi, qword [rsp + 0x30]
jmp 0x140001216
call fcn.1400081a0
mov dword [rax], 0x16
call fcn.14000594c
xor edx, edx
lea rcx, [rsp + 0xb0]
mov r8d, 0x208
call fcn.140003190
mov r8d, 0x104
lea rdx, [rsp + 0xb0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140001356
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x140001356
mov edx, 0x5c
mov qword [rsp + 0x2e8], rsi
lea rcx, [rsp + 0xb0]
call fcn.1400029fc
test rax, rax
je 0x14000127b
mov word [rax], bp
lea rax, [rsp + 0xb0]
mov edx, 0x104
lea r9, str.open___sLisa.mp3__type_mpegvideo_alias_mp3
mov qword [rsp + 0x20], rax
mov r8, 0xffffffffffffffff
lea rcx, [0x140021f00]
call fcn.140001030
mov ebx, eax
lea r9, str.open___sTV.mp3__type_mpegvideo_alias_mp3
lea rax, [rsp + 0xb0]
mov edx, 0x104
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
lea rcx, [0x140021cf0]
call fcn.140001030
mov esi, eax
lea r9, str._sPlaybackDone.bin
lea rax, [rsp + 0xb0]
mov edx, 0x104
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
lea rcx, [0x140022110]
call fcn.140001030
cmp ebx, 0xffffffff
je 0x14000134e
cmp esi, 0xffffffff
je 0x14000134e
cmp eax, 0xffffffff
je 0x14000134e
mov qword [rsp + 0x28], rbp
lea r8, [0x1400010b0]
mov r9, rdi
mov dword [rsp + 0x20], ebp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x14000134e
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x2e8]
xor eax, eax
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140001480
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140001ec4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001f0e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001f0e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001f0e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001f0e
cmp dword [rcx + 0x84], 0xe
jbe 0x140001f0e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001f10
xor al, al
add rsp, 0x28
ret

Function at 0x1400086f8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400084f4
Function at 0x14000d204
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000d234
xor eax, eax
jmp 0x14000d2f7
mov rbp, rbx
cmp word [rax], si
je 0x14000d259
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000d240
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000d23c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000d124
movsxd r14, eax
test eax, eax
jne 0x14000d297
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000d22d
mov rcx, r14
call fcn.140009e80
mov rdi, rax
test rax, rax
jne 0x14000d2b0
xor ecx, ecx
call fcn.140009e44
jmp 0x14000d28c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000d124
test eax, eax
jne 0x14000d2e1
mov rcx, rdi
call fcn.140009e44
jmp 0x14000d2eb
xor ecx, ecx
call fcn.140009e44
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140004310
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x60
xor r12d, r12d
lea r15, [0x140122f28]
mov esi, r12d
lea r14, [0x140122a20]
cmp byte [r15], r12b
je 0x1400043e4
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], reloc.WSOCK32.dll_gethostbyname
mov ecx, esi
mov dword [rsp + 0x24], 0x80
call qword [sym.imp.WINMM.dll_joyGetPosEx]
test eax, eax
jne 0x1400043e4
mov eax, dword [rsp + 0x40]
mov ebp, eax
xor ebp, dword [r14]
mov dword [r14], eax
and ebp, eax
je 0x1400043e4
movzx edx, word [0x140122f5c]
mov ebx, r12d
cmp r12w, dx
jae 0x1400043e4
mov rdi, r12
nop
mov rax, qword [0x140122f48]
mov rax, qword [rdi + rax]
cmp byte [rax + 0x12], 4
jne 0x1400043d7
movzx ecx, byte [rax + 0x10]
cmp ecx, esi
jne 0x1400043d7
movzx ecx, word [rax + 8]
sub ecx, 0xc
movzx eax, cl
bt ebp, eax
jae 0x1400043d7
mov rcx, qword [0x140122af0]
xor r9d, r9d
movsxd r8, ebx
mov edx, 0x312
call qword [sym.imp.USER32.dll_PostMessageW]
movzx edx, word [0x140122f5c]
inc ebx
movzx eax, dx
add rdi, 8
cmp ebx, eax
jl 0x140004390
inc esi
inc r15
add r14, 4
cmp esi, 0x10
jl 0x140004342
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x140007720
Capabilities:
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x230
xor ecx, ecx
mov rbx, r8
mov edi, edx
test r8, r8
je 0x14000773c
mov dword [r8], ecx
lea eax, [rdx - 0xc000]
cmp eax, 0x3fff
ja 0x14000781b
mov r8d, 0x104
lea rdx, [rsp + 0x20]
mov ecx, edi
call qword [sym.imp.USER32.dll_GetClipboardFormatNameW]
mov r8d, reloc.WSOCK32.dll_inet_ntoa
lea rdx, str.Link_Source
lea rcx, [rsp + 0x20]
call fcn.1400bec00
test eax, eax
je 0x140007808
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x20]
call fcn.1400bea20
test eax, eax
je 0x140007808
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x20]
call fcn.1400bea20
test eax, eax
je 0x140007808
lea rdx, str.Native
lea rcx, [rsp + 0x20]
call fcn.1400bea20
test eax, eax
je 0x140007808
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x20]
call fcn.1400bea20
test eax, eax
je 0x140007808
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x20]
call fcn.1400bea20
test eax, eax
je 0x1400077fd
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x20]
call fcn.1400bea20
test eax, eax
jne 0x140007820
test rbx, rbx
je 0x140007808
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 0x140007840
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
sub rsp, 0x28
cmp dword [0x140124e0c], 0
je 0x140007857
mov eax, 1
add rsp, 0x28
ret
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140122af0]
mov ebx, eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1400078d4
xor edi, edi
nop dword [rax]
mov ecx, dword [0x14011c19c]
cmp ecx, 0xffffffff
je 0x1400078a4
test ecx, ecx
je 0x1400078f2
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x14011c19c]
add edx, ebx
sub edx, eax
cmp edx, 5
jle 0x1400078f2
mov edx, 1
mov dword [0x14011c180], edi
mov ecx, 0x8000012f
call fcn.140001710
mov rcx, qword [0x140122af0]
mov dword [0x14011c180], 1
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140007880
mov rbx, qword [rsp + 0x30]
mov eax, 1
mov rdi, qword [rsp + 0x20]
mov dword [0x140124e0c], 1
add rsp, 0x28
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x140007e48
Capabilities:
Resolve dns

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov word [rax + 0x20], r9w
mov dword [rax + 0x18], r8d
mov dword [rax + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x840
mov r13, rcx
mov edi, 0x401
mov r8d, edi
lea rcx, [rsp + 0x20]
xor edx, edx
xor ebp, ebp
call fcn.1400bae40
mov r8d, edi
lea rcx, [rsp + 0x430]
xor edx, edx
call fcn.1400bae40
lea r9d, [rdi - 1]
mov r8, r13
mov edx, edi
lea rcx, [rsp + 0x20]
lea r12, [rsp + 0x20]
lea rbx, [rsp + 0x430]
call fcn.1400c4210
mov r14, qword [rsp + 0x8a8]
and qword [r14], 0
mov rcx, r13
mov r15, r14
mov byte [rbx], 0
call qword [sym.imp.WSOCK32.dll_gethostbyname]
mov rdi, rax
test rax, rax
je 0x140007fd6
cmp word [rax + 0x10], 2
jne 0x140007f2e
cmp word [rax + 0x12], 4
jne 0x140007f2e
mov rsi, qword [rax + 0x18]
jmp 0x140007f26
mov r9d, dword [rax]
movzx r8d, word [rsp + 0x898]
mov edx, dword [rsp + 0x890]
mov ecx, dword [rsp + 0x888]
call fcn.140007da8
mov qword [r15], rax
test rax, rax
je 0x140007fcf
lea r15, [rax + 0x28]
add rsi, 8
mov rax, qword [rsi]
test rax, rax
jne 0x140007ef3
mov r8, qword [rdi]
mov r9d, 0x400
mov rcx, rbx
lea edx, [r9 + 1]
call fcn.1400c4210
cmp qword [r14], 0
jne 0x140007f82
mov rcx, rbx
call fcn.1400c4100
test rax, rax
je 0x140007fef
mov rdx, rbx
mov rcx, r12
call fcn.1400c4310
test eax, eax
je 0x140007fef
inc ebp
cmp ebp, 0x10
je 0x140007fef
mov rax, r12
mov r12, rbx
mov rbx, rax
jmp 0x140007ec0
xor ecx, ecx
cmp dword [rsp + 0x8a0], ecx
je 0x140007ffb
mov rcx, rbx
call fcn.1400c4100
mov ecx, 1
mov rsi, rax
lea rdx, [rax + 1]
call fcn.1400c41a8
mov rdi, rax
test rax, rax
je 0x140007fbd
mov r8, rbx
lea rdx, [rsi + 1]
mov rcx, rax
call fcn.1400c41b0
mov rax, qword [r14]
xor ecx, ecx
mov qword [rax + 0x18], rdi
mov rax, qword [r14]
cmp qword [rax + 0x18], rcx
jne 0x140007ffb
mov ecx, 8
jmp 0x140007ffb
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov ecx, 0x2af9
sub eax, ecx
je 0x140007ffb
sub eax, 1
je 0x140007ff6
sub eax, 1
jne 0x140007ffb
mov ecx, 0x2afb
jmp 0x140007ffb
mov ecx, 0x2afa
mov rbx, qword [rsp + 0x880]
mov eax, ecx
add rsp, 0x840
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000864c
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x188]
sub rsp, 0x270
lea rax, [0x140008068]
movzx r12d, cx
mov qword [rsp + 0x28], rax
lea r14, str.getaddrinfo
lea rax, str.getnameinfo
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x30], rax
xor ebx, ebx
cmp dword [0x140122a98], ebx
lea rax, [0x14000842c]
mov qword [rsp + 0x38], rax
lea rax, str.freeaddrinfo
mov qword [rsp + 0x40], rax
lea rax, [0x140008018]
mov qword [rsp + 0x48], rax
je 0x1400086d4
lea rsi, str.getaddrinfo
jmp 0x1400087eb
mov edx, 0x104
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rsi, str.getaddrinfo
test eax, eax
je 0x1400087e1
mov r15d, 0x10c
lea r8, [rbp + 0x60]
mov edx, r15d
lea rcx, [rsp + 0x50]
call fcn.1400c41b0
lea r8, str.ws2_32
mov edx, r15d
lea rcx, [rsp + 0x50]
call fcn.1400c5434
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x14000874a
mov rdx, r14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140008793
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea r8, [rbp + 0x60]
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.1400c41b0
lea r8, str.wship6
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.1400c5434
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x1400087e1
mov rdx, r14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400087d8
mov r15d, ebx
lea r14, [rsp + 0x28]
mov rdx, qword [r14 - 8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [r14], rax
test rax, rax
je 0x1400087d8
inc r15d
add r14, 0x10
cmp r15d, 3
jl 0x14000879b
test rdi, rdi
je 0x1400087e1
mov rax, qword [rsp + rbx + 0x28]
mov qword [rbx + rsi + 8], rax
add rbx, 0x10
cmp rbx, 0x30
jl 0x1400087c2
jmp 0x1400087e1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x140122a98], 1
lea r11, [rsp + 0x270]
mov rax, r12
mov rbx, qword [r11 + 0x20]
add rax, rax
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rax, qword [rsi + rax*8 + 8]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r15
pop r14
pop rbp
ret