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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x10040
call fcn.1400d8050
sub rsp, rax
mov qword [rsp + 0x20], r9
lea rcx, [rsp + 0x30]
mov r9, r8
mov rbx, rdx
lea r8, str._s_s
mov edx, 0x8001
call fcn.14009abe0
lea rcx, [rsp + 0x30]
movsxd rdi, eax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140052df4
test al, 0x10
je 0x140052df4
lea ecx, [rdi + 0xfd]
movsxd rcx, ecx
lea rcx, [rcx*2 + 0xa]
call fcn.140097680
mov rcx, rax
test rax, rax
je 0x140052e0f
mov qword [rbx], rax
lea rdx, [rsp + 0x30]
lea eax, [rdi + 1]
movsxd r8, eax
add r8, r8
call fcn.1400ba140
mov qword [rbx + 8], rdi
mov rbx, qword [rsp + 0x10050]
add rsp, 0x10040
pop rdi
ret
lea rax, [0x1400f9b70]
mov qword [rbx], rax
mov rbx, qword [rsp + 0x10050]
add rsp, 0x10040
pop rdi
ret
call fcn.140011050
int3
Function at 0x140052e20
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r13
push r14
sub rsp, 0x230
mov rax, qword [rsp + 0x280]
xor ebx, ebx
cmp qword [0x140125e18], rbx
mov r13, r9
mov rsi, r8
mov byte [r9], 0
mov r14, rdx
mov rdi, rcx
mov byte [rax], 0
lea rax, [0x140125e18]
jne 0x140052ee4
mov r8, qword [rcx + 0x758]
lea r9, str.Lib_
mov rdx, rax
call fcn.140052d60
lea r9, [rsp + 0x270]
xor r8d, r8d
mov edx, 0x4000
lea rcx, [0x1400de0f0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
lea r9, str.AutoHotkeyLib_
lea rdx, [0x140125e28]
cmovns rbx, qword [rsp + 0x270]
mov r8, rbx
call fcn.140052d60
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov r8, qword [rdi + 0x778]
lea r9, str.Lib_
lea rdx, [0x140125e38]
call fcn.140052d60
xor ebx, ebx
lea rax, [0x140125e18]
test rsi, rsi
jne 0x140052efb
mov rsi, 0xffffffffffffffff
inc rsi
cmp word [r14 + rsi*2], 0
jne 0x140052ef0
cmp rsi, 0xfd
ja 0x14005305d
mov qword [rsp + 0x268], rbp
mov qword [rsp + 0x228], r12
mov r12d, ebx
mov qword [rsp + 0x220], r15
mov r15, r14
nop word [rax + rax]
mov ebp, ebx
mov rbx, rax
mov rcx, qword [rbx]
cmp word [rcx], 0
je 0x140052f83
mov rax, qword [rbx + 8]
lea rdi, [rsi + rsi]
mov r8, rdi
mov rdx, r15
lea rcx, [rcx + rax*2]
call fcn.1400ba140
movsd xmm0, qword [str..ahk]
movsd qword [rdi + rax], xmm0
lea rcx, [rdi + rax]
movzx eax, word [0x140102608]
mov word [rcx + 8], ax
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140052f83
test al, 0x10
je 0x140052ff1
inc ebp
add rbx, 0x10
cmp ebp, 3
jl 0x140052f35
mov edx, 0x5f
mov rcx, r14
call fcn.1400ba088
mov rsi, rax
test rax, rax
je 0x140053045
sub rsi, r14
sar rsi, 1
cmp rsi, 0xfe
jae 0x140053045
lea rbx, [rsi + rsi]
mov rdx, r14
mov r8, rbx
lea rcx, [rsp + 0x20]
lea r15, [rsp + 0x20]
call fcn.1400ba140
xor ecx, ecx
inc r12d
mov word [rsp + rbx + 0x20], cx
cmp r12d, 2
jge 0x140053045
xor ebx, ebx
lea rax, [0x140125e18]
jmp 0x140052f30
mov rax, qword [rsp + 0x280]
xor ecx, ecx
movsxd rdx, ebp
xor r9d, r9d
add rdx, rdx
xor r8d, r8d
mov byte [rax], 1
mov rax, qword [0x14011c188]
mov rbx, qword [rax + 0x28]
mov qword [rax + 0x28], rcx
lea rax, [0x140125e18]
mov rdx, qword [rax + rdx*8]
mov rcx, qword [rsp + 0x260]
call fcn.140047990
test eax, eax
jne 0x14005303a
mov byte [r13], 1
mov rax, qword [0x14011c188]
mov qword [rax + 0x28], rbx
mov r12, qword [rsp + 0x228]
mov rbp, qword [rsp + 0x268]
mov r15, qword [rsp + 0x220]
add rsp, 0x230
pop r14
pop r13
pop rdi
pop rsi
pop rbx
ret
Function at 0x14005dbe0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
lea r8, str.Script_lines_most_recently_executed__oldest_first_.__Press__F5__to_refresh.__The_seconds_elapsed_between_a_line_and_the_one_after_it_is_in_parentheses_to_the_right__if_not_0_.__The_bottommost_lines_elapsed_time_is_the_number_of_seconds_since_it_executed._r_n_r_n
mov edx, 0xfffe
call fcn.14009abe0
mov r9, qword [rsp + 0x90]
lea r10, [0x140000000]
mov r8d, dword [0x140122f84]
mov ebp, 0x190
movsxd rdx, eax
mov r11d, 2
mov dword [rsp + 0x98], 0xffffffff
mov eax, r8d
lea rcx, [r9 + rdx*2]
mov qword [rsp + 0xa8], rcx
nop dword [rax + rax]
xor r12b, r12b
mov r13, rcx
test ebp, ebp
jle 0x14005de25
mov edx, ebp
mov esi, r11d
mov qword [rsp + 0xa0], rdx
movsxd rcx, eax
nop
cmp eax, 0x190
lea rdi, [rcx - 0x190]
lea r14d, [rax - 0x190]
cmovl rdi, rcx
cmovl r14d, eax
cmp qword [r10 + rdi*8 + 0x1235d0], 0
je 0x14005ddfa
movzx r15d, r12b
lea eax, [rsi - 1]
xor r12b, r12b
cmp eax, ebp
jge 0x14005dd24
test r15b, r15b
jne 0x14005ddfa
mov r8d, dword [r10 + rdi*4 + 0x122f90]
lea eax, [r14 + 1]
xor edx, edx
lea rcx, [rdi + 1]
cmp eax, 0x190
cmovl rdx, rcx
mov ebx, dword [r10 + rdx*4 + 0x122f90]
sub ebx, r8d
cmp ebx, 0x7fffffff
jbe 0x14005dd43
mov r12b, 1
cmp esi, ebp
jne 0x14005dcff
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
lea r10, [0x140000000]
sub ebx, dword [r10 + rdi*4 + 0x122f90]
jmp 0x14005dd3b
lea rax, [rdi + 2]
mov rcx, 0xfffffffffffffe72
cmp rax, 0x190
cmovl rcx, r11
add rcx, rdi
mov ebx, dword [r10 + rcx*4 + 0x122f90]
sub ebx, r8d
jmp 0x14005dd43
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
lea r10, [0x140000000]
sub ebx, dword [r10 + rdi*4 + 0x122f90]
mov r9, qword [rsp + 0x90]
mov rax, qword [r10 + rdi*8 + 0x1235d0]
movzx ecx, word [rax + 2]
cmp dword [rsp + 0x98], ecx
je 0x14005dd98
mov edx, 0xfffe
mov dword [rsp + 0x98], ecx
mov rax, r13
lea r8, str.______s_r_n
sub rax, r9
mov r9, qword [0x140122f78]
sar rax, 1
sub edx, eax
mov r9, qword [r9 + rcx*8]
mov rcx, r13
call fcn.14009abe0
movsxd rcx, eax
lea r10, [0x140000000]
lea r13, [r13 + rcx*2]
mov rcx, qword [r10 + rdi*8 + 0x1235d0]
mov r8d, 0xc8
mov r9d, 0xfffe
mov byte [rsp + 0x30], 1
mov rax, r13
mov byte [rsp + 0x28], r15b
sub rax, qword [rsp + 0x90]
mov rdx, r13
sar rax, 1
sub r9d, eax
mov dword [rsp + 0x20], ebx
cmp r9d, r8d
cmovl r8d, r9d
call fcn.14005de80
mov rdx, qword [rsp + 0xa0]
lea r10, [0x140000000]
mov r9, qword [rsp + 0x90]
mov r13, rax
mov r11d, 2
inc esi
lea eax, [r14 + 1]
sub rdx, 1
lea rcx, [rdi + 1]
mov qword [rsp + 0xa0], rdx
jne 0x14005dc70
mov r8d, dword [0x140122f84]
mov rcx, qword [rsp + 0xa8]
mov rax, r13
mov edx, 0xfffe
sub rax, r9
sar rax, 1
sub edx, eax
cmp edx, 0x18
jg 0x14005de51
cmp ebp, 0x78
jl 0x14005de51
sub ebp, 0x64
mov eax, r8d
sub eax, ebp
add eax, 0x190
jmp 0x14005dc50
lea r8, str._r_nPress__F5__to_refresh.
mov rcx, r13
call fcn.14009abe0
movsxd rcx, eax
lea rax, [rcx*2]
add rax, r13
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140060dd0
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value
Set current directory

Disassembly:
push rbx
push rbp
sub rsp, 0x458
mov rbp, rcx
mov rbx, rdx
mov rcx, qword [0x140124d28]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne r8b
mov byte [rbx], r8b
jne 0x140060f8d
mov qword [rsp + 0x470], rsi
mov qword [rsp + 0x450], rdi
xor edi, edi
mov esi, edi
nop word [rax + rax]
mov r9d, esi
lea rax, [rsp + 0x480]
or r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREAutoHotkey
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140060f6c
mov rcx, qword [rsp + 0x480]
lea rax, [rsp + 0x478]
mov qword [rsp + 0x28], rax
lea rdx, str.InstallDir
lea rax, [rsp + 0x30]
mov dword [rsp + 0x478], 0x208
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x480]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140060f6c
mov edx, dword [rsp + 0x478]
test edx, edx
je 0x140060f6c
shr edx, 1
mov ecx, edx
dec edx
mov dword [rsp + 0x478], edx
cmp word [rsp + rdx*2 + 0x30], di
jne 0x140060f01
test edx, edx
je 0x140060f73
mov ecx, edx
mov r8d, edx
nop dword [rax + rax]
lea eax, [r8 - 1]
mov edx, ecx
mov r8d, eax
cmp word [rsp + rax*2 + 0x30], di
jne 0x140060f17
mov dword [rsp + 0x478], eax
mov ecx, eax
mov edx, eax
test eax, eax
jne 0x140060ee0
jmp 0x140060f17
mov dword [rsp + 0x478], ecx
cmp ecx, 0x104
jae 0x140060f6c
mov word [rsp + rcx*2 + 0x30], di
mov edx, ecx
test edx, edx
je 0x140060f73
mov rsi, qword [rsp + 0x470]
movzx eax, word [rsp + rdi + 0x30]
mov word [rsp + rdi + 0x240], ax
lea rdi, [rdi + 2]
test ax, ax
jne 0x140060f23
mov rdi, qword [rsp + 0x450]
test edx, edx
je 0x140060f81
lea rcx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
add rsp, 0x458
pop rbp
pop rbx
ret
mov word [rsp + 0x30], di
mov edx, edi
test esi, esi
jne 0x140060f1b
mov esi, 0x200
jmp 0x140060e20
xor al, al
add rsp, 0x458
pop rbp
pop rbx
ret
mov al, 1
add rsp, 0x458
pop rbp
pop rbx
ret
Function at 0x140060fa0
Capabilities:
Set current directory

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x150
movzx edi, dl
lea rbp, [0x1400f9b70]
lea rdx, [rax + 8]
mov rbx, rcx
mov rsi, rcx
call fcn.140060dd0
test al, al
je 0x140061098
test dil, dil
je 0x14006100c
cmp byte [rsp + 0x160], 0
je 0x14006100c
mov r9, rbx
lea r8, str._script__s
mov edx, 0x40
lea rcx, [rsp + 0x50]
call fcn.14009abe0
mov rsi, qword [0x140124d20]
lea rbp, [rsp + 0x50]
mov byte [rsp + 0x40], 0
lea rcx, [0x1401245b0]
xor edi, edi
mov byte [rsp + 0x38], 0
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov qword [rsp + 0x28], rdi
mov r8, rbp
mov rdx, rsi
mov byte [rsp + 0x20], dil
call fcn.14005ee40
test eax, eax
jne 0x140061075
mov r9, rbx
lea r8, str.Could_not_launch__s
lea edx, [rdi + 0x40]
lea rcx, [rsp + 0xd0]
call fcn.14009abe0
xorps xmm3, xmm3
mov qword [rsp + 0x20], rdi
xor r8d, r8d
lea edx, [rdi + 0x10]
lea rcx, [rsp + 0xd0]
call fcn.1400a1a40
mov rax, qword [0x14011eb00]
lea rcx, [0x1400f9b70]
test rax, rax
je 0x140061092
mov rax, qword [rax]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1400628a0
Capabilities:
Set current directory

Disassembly:
push rbx
sub rsp, 0x20
movzx eax, word [rcx]
mov rbx, rcx
test ax, ax
je 0x1400628d8
cmp word [rcx + 2], 0x3a
jne 0x1400628d8
cmp word [rcx + 4], 0
jne 0x1400628d8
mov word [rsp + 0x30], ax
lea rbx, [rsp + 0x30]
xor eax, eax
mov dword [rsp + 0x32], 0x5c003a
mov word [rsp + 0x36], ax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x1400628f0
mov eax, 0xa0070000
add rsp, 0x20
pop rbx
ret
cmp byte [0x140124d3c], 0
je 0x140062901
mov rcx, rbx
call fcn.140062910
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x140062910
Capabilities:
Get common file path

Disassembly:
push rbx
mov eax, 0x10020
call fcn.1400d8050
sub rsp, rax
mov rbx, rcx
lea rdx, [rsp + 0x20]
mov ecx, 0x8000
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x14006293d
lea rbx, [rsp + 0x20]
jmp 0x140062942
test rbx, rbx
je 0x140062951
mov rdx, rbx
lea rcx, vtable.CKuStringT_wchar_t__class_CKuStringUtilW_.0
call fcn.14005f930
add rsp, 0x10020
pop rbx
ret

Function at 0x140062960
Capabilities:
Get common file path

Disassembly:
mov eax, 0x10028
call fcn.1400d8050
sub rsp, rax
lea rdx, [rsp + 0x20]
mov ecx, 0x8000
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x140062993
lea rcx, [rsp + 0x20]
call fcn.1400ca890
add rsp, 0x10028
ret
xor eax, eax
add rsp, 0x10028
ret
Function at 0x1400677b0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
movzx ebx, cl
test cl, cl
jne 0x1400677c5
xor al, al
add rsp, 0x20
pop rbx
ret
sub edx, 1
je 0x1400677f0
mov ecx, ebx
cmp edx, 1
je 0x1400677e2
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.USER32.dll_GetKeyState]
and al, 1
add rsp, 0x20
pop rbx
ret
lea eax, [rbx - 1]
cmp al, 5
ja 0x1400677fc
cmp bl, 3
jne 0x140067803
lea eax, [rbx + 0x66]
cmp al, 5
ja 0x140067820
cmp qword [0x140122dc8], 0
jne 0x140067842
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
add rsp, 0x20
pop rbx
ret
cmp qword [0x140122dd0], 0
je 0x14006780d
xor edx, edx
xor r8d, r8d
movzx ecx, bl
call fcn.140022940
test al, al
je 0x140067842
mov cl, 1
call fcn.1400226c0
lea rcx, [0x140122de0]
movzx eax, byte [rbx + rcx]
shr al, 7
add rsp, 0x20
pop rbx
ret
Function at 0x14006b450
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x270
cmp word [rcx], 0
je 0x14006b554
test dl, dl
jne 0x14006b48c
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x14006b554
mov al, 1
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
lea r9, [rsp + 0x280]
mov edx, 0x104
lea r8, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov rbx, 0xffffffffffffffff
lea rcx, [rsp + 0x60]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x14006b4b3
xor edi, edi
test rax, rax
je 0x14006b4d1
cmp word [rsp + rax*2 + 0x5e], 0x5c
jne 0x14006b4d1
mov word [rsp + rax*2 + 0x5e], di
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14006b554
test al, 0x10
je 0x14006b554
lea rax, [rsp + 0x60]
nop word [rax + rax]
cmp word [rax + rbx*2 + 2], di
lea rbx, [rbx + 1]
jne 0x14006b4f0
lea rax, [rsp + 0x60]
mov word [rsp + rbx*2 + 0x62], di
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
mov eax, 0x614
mov qword [rsp + 0x38], rdi
xorps xmm0, xmm0
mov word [rsp + 0x40], ax
movdqu xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
mov rbx, qword [rsp + 0x288]
xor al, al
add rsp, 0x270
pop rdi
ret
Function at 0x14006bd70
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x270
xor r9d, r9d
movzx r14d, dl
xor edx, edx
mov rbp, rcx
lea r8d, [r9 + 1]
call fcn.14009a980
test eax, eax
je 0x14006be11
mov rcx, rbp
call fcn.14009b440
mov rbx, rax
test eax, eax
je 0x14006be13
test r14b, r14b
jne 0x14006be13
mov r8d, ebx
xor edx, edx
mov ecx, 0x101000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x14006be13
mov rcx, rax
mov esi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_GetProcessId]
cmp eax, ebx
jne 0x14006bdf1
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x14006bea3
cmp esi, 0x102
jne 0x14006be13
mov eax, ebx
jmp 0x14006bea5
xor ebx, ebx
xor edx, edx
mov dword [rsp + 0x30], 0x238
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x30]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14006be9a
nop dword [rax]
test ebx, ebx
je 0x14006be5a
cmp ebx, dword [rsp + 0x38]
je 0x14006bec3
mov edx, 0x5c
lea rcx, [rsp + 0x5c]
call fcn.1400b9fdc
test rax, rax
je 0x14006be74
add rax, 2
jmp 0x14006be79
lea rax, [rsp + 0x5c]
mov rdx, rbp
mov rcx, rax
call fcn.1400bea20
mov rcx, rdi
test eax, eax
je 0x14006bed8
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14006be50
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14b, r14b
cmovne ebx, dword [rsp + 0x50]
mov eax, ebx
jmp 0x14006bea5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
test r14b, r14b
cmovne eax, dword [rsp + 0x50]
jmp 0x14006bea5
Function at 0x1400712e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [0x14011eac0]
mov r8, rdx
cmp eax, 3
je 0x14007132b
add eax, 0xfffffffc
cmp eax, 1
ja 0x14007133c
mov rcx, qword [0x14011ea48]
movabs rax, 0x2aaaaaaaaaaaaaab
sub rcx, qword [0x14011ea40]
add rcx, 0x18
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp edx, dword [0x14011eacc]
jge 0x14007133c
cmp qword [0x14011ea68], r8
je 0x14007133c
mov rdx, r8
jmp fcn.140008980
ret
Function at 0x140079c00
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r13
push r14
sub rsp, 0x20
mov r13, r8
mov esi, r9d
mov rbx, rdx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [r13 + 0x28]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r14d, eax
lea ecx, [rax*2 + 2]
movsxd rcx, ecx
call fcn.1400beba4
mov rbp, rax
test rax, rax
jne 0x140079c6a
mov rcx, rbx
call fcn.140011030
jmp 0x140079d91
mov rcx, qword [r13 + 0x28]
lea r8d, [r14 + 1]
mov rdx, rbp
call qword [sym.imp.USER32.dll_GetWindowTextW]
movsxd r14, eax
cmp rdi, 0xffffffffffffffff
je 0x140079cae
mov rcx, qword [r13 + 0x28]
test eax, eax
jne 0x140079ce9
xor r9d, r9d
mov r8, rdi
mov edx, 0x149
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x140079d00
mov rdi, 0xffffffffffffffff
cmp rdi, rdi
jne 0x140079d00
mov rcx, qword [r13 + 0x28]
mov r9, rbp
mov edx, 0x158
mov r8, 0xffffffffffffffff
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140079d00
test esi, esi
je 0x140079d00
xor esi, esi
mov qword [rbx + 0x20], rbp
mov dword [rbx + 0x10], esi
mov qword [rbx], rbp
mov qword [rbx + 8], r14
jmp 0x140079d91
lea r8, [rdi - 1]
mov r9, rbp
mov edx, 0x158
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rdi, rax
jne 0x140079cae
mov rcx, rbp
call fcn.1400beb90
test esi, esi
je 0x140079dca
cmp esi, 2
jne 0x140079d1f
test byte [r13 + 0x51], sil
jne 0x140079dca
mov rcx, qword [r13 + 0x28]
xor r9d, r9d
mov r8, rdi
mov qword [rsp + 0x40], r15
mov edx, 0x149
call qword [sym.imp.USER32.dll_SendMessageW]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140079d8c
xor esi, esi
lea r14, [rax + rax]
cmp rax, 0xff
ja 0x140079daa
mov rax, qword [rbx + 0x18]
mov qword [rbx], rax
mov word [r14 + rax], si
mov qword [rbx + 8], r15
mov r9, qword [rbx]
mov r8, rdi
mov rcx, qword [r13 + 0x28]
mov edx, 0x148
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
jne 0x140079d8c
lea rax, [0x1400f9b70]
mov dword [rbx + 0x10], esi
mov qword [rbx], rax
mov qword [rbx + 8], rsi
mov r15, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop rdi
ret
lea rcx, [r14 + 2]
call fcn.1400beba4
mov qword [rbx + 0x20], rax
test rax, rax
jne 0x140079d54
mov rcx, rbx
call fcn.140011030
test eax, eax
je 0x140079d8c
jmp 0x140079d60
lea eax, [rdi + 1]
mov dword [rbx + 0x10], 1
movsxd rcx, eax
mov qword [rbx], rcx
jmp 0x140079d91
Function at 0x14007a4b0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
push r14
push r15
sub rsp, 0x20
mov rcx, qword [r8 + 0x28]
mov rbp, r8
mov rdi, rdx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd r14, eax
xor r15d, r15d
mov rbx, r14
cmp r14, 0xffffffffffffffff
jne 0x14007a4ec
inc rbx
cmp word [r15 + rbx*2], r15w
jne 0x14007a4e2
mov qword [rsp + 0x40], rsi
lea rsi, [rbx + rbx]
cmp rbx, 0xff
ja 0x14007a55b
mov rax, qword [rdi + 0x18]
mov qword [rdi], rax
mov word [rsi + rax], r15w
mov qword [rdi + 8], rbx
mov rdx, qword [rdi]
lea r8d, [r14 + 1]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.USER32.dll_GetWindowTextW]
movsxd rcx, eax
mov qword [rdi + 8], rcx
test eax, eax
je 0x14007a53d
mov rax, qword [rdi]
cmp word [rax + rcx*2 - 2], r15w
jne 0x14007a53d
lea rax, [rcx - 1]
mov qword [rdi + 8], rax
mov eax, 1
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
lea rcx, [rsi + 2]
call fcn.1400beba4
mov qword [rdi + 0x20], rax
test rax, rax
jne 0x14007a502
mov rcx, rdi
call fcn.140011030
cmp eax, 1
je 0x14007a50e
xor eax, eax
jmp 0x14007a542

Function at 0x14007a680
Capabilities:
Hide graphical window

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x30], 0
mov rbx, rcx
je 0x14007a7c0
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x14007a6f6
xor r9d, r9d
xor r8d, r8d
mov edx, 0x406
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x14007a6f6
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
xor edi, edi
mov esi, eax
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
mov r8, rdi
mov edx, 0x414
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x14007a6e3
mov rcx, rax
call qword [sym.imp.USER32.dll_DestroyIcon]
inc rdi
sub rsi, 1
jne 0x14007a6c0
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14007a736
mov rcx, qword [rbx + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_SetMenu]
cmp byte [rbx + 0x110], 0
jne 0x14007a736
mov rcx, qword [rbx + 0x30]
mov byte [rbx + 0x110], 1
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [rbx + 0x28]
test rax, rax
jne 0x14007a74d
cmp rbx, qword [0x140122af8]
jne 0x14007a774
test rax, rax
je 0x14007a753
lea rdx, [rax + 0x20]
jmp 0x14007a75a
lea rdx, [0x140122af8]
mov rcx, qword [rbx + 0x20]
lea r8, [rcx + 0x28]
test rcx, rcx
jne 0x14007a76e
lea r8, [0x140122d90]
mov qword [rdx], rcx
mov qword [r8], rax
mov rcx, rbx
mov qword [rbx + 0x30], 0
call fcn.14007a7d0
cmp byte [rbx + 0x115], 0
je 0x14007a796
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WSOCK32.dll_recv]
cmp dword [0x140122abc], 0
jne 0x14007a7c0
lea rcx, [0x1401245b0]
call fcn.140046520
test al, al
jne 0x14007a7c0
mov edx, 4
lea rcx, [0x1401245b0]
call fcn.140046940
mov eax, 1
add rsp, 0x20
pop rbx
ret