joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5d21a0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
mov rbp, rsp
mov rax, qword [rcx]
mov qword [rbp + 0x64], rax
mov qword [rbp + 0xa8], rdx
xor eax, eax
mov qword [rbp + 0x38], rax
cmp qword [0x0076cb38], 0
je 0x5d2360
mov ecx, 0x11
call sub.user32.dll_GetKeyState
mov rcx, qword [0x0075f900]
mov rcx, qword [rcx]
test ax, 0x8000
setne al
movzx rcx, byte [rcx + 0x178]
xor cl, al
test cl, cl
je 0x5d2360
mov rcx, qword [0x0076cb40]
mov rax, qword [0x0076cb40]
mov rbx, qword [rax]
call qword [rbx + 0x10]
xor eax, eax
mov rcx, qword [0x0076cb38]
mov esi, dword [rcx + 0x10]
sub esi, 1
mov ebx, eax
cmp ebx, esi
jg 0x5d2323
sub esi, eax
add esi, 1
mov rcx, qword [0x0076cb38]
mov edx, ebx
call fcn.00500100
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x58]
cmp rax, qword [rbp + 0xa8]
je 0x5d2315
mov rax, qword [rbp + 0x58]
cmp byte [rax + 0x3a1], 0
je 0x5d2315
mov rcx, qword [rbp + 0x58]
mov rax, qword [rbp + 0x58]
mov rax, qword [rax]
call qword [rax + 0xf8]
test al, al
je 0x5d2315
mov rcx, qword [rbp + 0x58]
call fcn.005e4b40
mov rcx, rax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5d2315
mov rcx, rbp
call fcn.005d2140
test al, al
jne 0x5d2315
mov rcx, qword [rbp + 0x58]
mov dx, 0xffb9
call fcn.0040d500
mov rcx, qword [rbp + 0x58]
mov rdx, qword [rbp + 0xa8]
call rax
test al, al
je 0x5d2315
mov byte [rbp + 0x6f], 1
mov rcx, qword [rbp + 0x58]
mov dx, 0xffba
call fcn.0040d500
mov rdi, rax
mov rcx, qword [rbp + 0x58]
mov rdx, qword [rbp + 0xa8]
lea r8, [rbp + 0x48]
lea r9, [rbp + 0x64]
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x20], rax
call rdi
cmp byte [rbp + 0x6f], 0
je 0x5d2315
lea rcx, [rbp + 0x48]
lea rdx, [rbp + 0x64]
call fcn.0041e2c0
test al, al
je 0x5d2315
mov rcx, qword [0x0076cb40]
mov rdx, qword [rbp + 0x58]
call fcn.005d13e0
add ebx, 1
sub esi, 1
test esi, esi
jne 0x5d222c
nop
mov rax, qword [0x0076cb40]
cmp dword [rax + 0x10], 0
jle 0x5d2341
mov rcx, qword [0x0076cb40]
call fcn.005d14e0
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
test rax, rax
je 0x5d2360
mov rcx, rbp
mov rdx, qword [rbp + 0x38]
call fcn.005d1f60
test al, al
jne 0x5d2360
xor eax, eax
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
lea rsp, [rbp + 0x78]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x5df450
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x168
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
mov rdi, r8
call sub.user32.dll_GetMessagePos
mov ecx, eax
call fcn.0041e9b0
mov dword [rbp + 0x3c], eax
movsx rax, word [rbp + 0x3c]
mov dword [rbp + 0x34], eax
movsx rax, word [rbp + 0x3e]
mov dword [rbp + 0x38], eax
mov rcx, rbx
lea rdx, [rbp + 0x34]
call fcn.005d5a80
mov qword [rbp + 0x158], rax
test rdi, rdi
jne 0x5df4bb
mov rcx, rbx
lea rdx, [rbp + 0x158]
xor r8, r8
xor r9, r9
mov byte [rsp + 0x20], 0
call fcn.005df2b0
mov rdi, rax
test rdi, rdi
je 0x5df598
cmp rdi, rbx
je 0x5df4e9
mov eax, dword [rbp + 0x158]
sub eax, dword [rdi + 0x90]
mov dword [rbp + 0x40], eax
mov eax, dword [rbp + 0x15c]
sub eax, dword [rdi + 0x94]
mov dword [rbp + 0x44], eax
jmp 0x5df4f4
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x40], rax
movzx eax, word [rsi + 0x10]
mov dword [rbp + 0x48], eax
mov rax, qword [rsi + 8]
mov qword [rbp + 0x50], rax
movzx eax, word [rsi + 0x12]
cmp eax, 0x201
jge 0x5df52a
sub eax, 0xa1
cmp eax, 2
jb 0x5df546
sub eax, 3
cmp eax, 2
jb 0x5df552
sub eax, 3
cmp eax, 2
jae 0x5df558
jmp 0x5df54c
sub eax, 0x201
cmp eax, 2
jb 0x5df546
sub eax, 3
cmp eax, 2
jb 0x5df552
sub eax, 3
cmp eax, 2
jae 0x5df558
jmp 0x5df54c
mov byte [rbp + 0x4c], 0
jmp 0x5df55c
mov byte [rbp + 0x4c], 2
jmp 0x5df55c
mov byte [rbp + 0x4c], 1
jmp 0x5df55c
mov byte [rbp + 0x4c], 0
lea rcx, [rbp + 0x58]
call sub.user32.dll_GetKeyboardState
lea rcx, [rbp + 0x58]
call fcn.006a5990
mov ebx, eax
call fcn.005d06c0
or bx, ax
mov word [rbp + 0x4d], bx
mov rcx, rdi
mov edx, 0xb04b
xor r8, r8
lea r9, [rbp + 0x40]
call fcn.005d8530
mov qword [rsi + 0x18], rax
mov al, 1
jmp 0x5df59a
xor eax, eax
lea rsp, [rbp + 0x168]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x61cb40
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rdx
mov rcx, qword [rbp + 0x68]
call fcn.00410210
nop
xor ecx, ecx
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x61cc2e
nop
mov dword [rbp + 0x3c], 0
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x20], rax
test rax, rax
je 0x61cb8c
mov rax, qword [rbp + 0x20]
mov eax, dword [rax - 4]
mov dword [rbp + 0x3c], eax
mov ecx, 0x2002
mov edx, dword [rbp + 0x3c]
add edx, edx
add edx, 2
movsxd rdx, edx
call sub.kernel32.dll_GlobalAlloc
mov qword [rbp + 0x48], rax
nop
mov rcx, qword [rbp + 0x48]
call sub.kernel32.dll_GlobalLock
mov qword [rbp + 0x40], rax
nop
mov dword [rbp + 0x38], 0
mov rax, qword [rbp + 0x20]
test rax, rax
je 0x61cbce
mov rax, qword [rbp + 0x20]
mov eax, dword [rax - 4]
mov dword [rbp + 0x38], eax
mov rcx, qword [rbp + 0x68]
call fcn.00411860
mov rcx, rax
mov rdx, qword [rbp + 0x40]
mov r8d, dword [rbp + 0x38]
add r8d, r8d
add r8d, 2
movsxd r8, r8d
call fcn.00409930
call sub.user32.dll_EmptyClipboard
mov ecx, 0xd
mov rdx, qword [rbp + 0x48]
call sub.user32.dll_SetClipboardData
nop
mov rcx, qword [rbp + 0x48]
call sub.kernel32.dll_GlobalUnlock
jmp 0x61cc26
nop
call sub.user32.dll_CloseClipboard
jmp 0x61cc4b
mov rcx, qword [0x0042b698]
mov dl, 1
mov r8, qword [0x0075f0c8]
call fcn.004413e0
mov rcx, rax
call fcn.0040f310
nop
lea rcx, [rbp + 0x68]
call fcn.00410040
lea rsp, [rbp + 0x50]
pop rbp
ret

Function at 0x624b60
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
movzx rbx, word [0x00624bb0]
mov ecx, 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x624b80
or bx, 1
mov ecx, 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x624b93
or bx, 4
mov ecx, 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x624ba6
or bx, 2
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x650ef0
Capabilities:
Get graphical window text

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rsi, rdx
mov rcx, rsi
mov edx, 0xe
xor r8, r8
xor r9, r9
call sub.user32.dll_SendMessageW
mov rdi, rax
mov rcx, rbx
xor edx, edx
mov r8d, edi
call fcn.00410340
test edi, edi
je 0x650f65
mov rcx, qword [rbx]
call fcn.00411860
mov rcx, rsi
mov edx, 0xd
mov r8d, edi
add r8d, 1
movsxd r8, r8d
mov r9, rax
call sub.user32.dll_SendMessageW
sub edi, eax
test edi, edi
jle 0x650f65
xor eax, eax
mov rcx, qword [rbx]
test rcx, rcx
je 0x650f59
mov eax, dword [rcx - 4]
mov rcx, rbx
mov edx, eax
sub edx, edi
call fcn.00411ab0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x68f3b0
Capabilities:
Get keyboard layout

Disassembly:
push rbp
add rsp, 0xffffffffffffff80
mov rbp, rsp
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x38], rbp
mov qword [rbp + 0x90], rcx
nop
mov byte [0x007573e0], 0
mov word [rbp + 0x54], 0
lea rcx, [rbp + 0x54]
call sub.user32.dll_GetKeyboardLayoutNameW
mov rcx, qword [0x0058d4c0]
mov dl, 1
call fcn.0058ebe0
mov qword [rbp + 0x70], rax
nop
mov rcx, qword [rbp + 0x70]
mov rdx, 0xffffffff80000002
call fcn.0058ee90
lea rcx, [rbp + 0x28]
lea rdx, [rbp + 0x54]
mov r8d, 0xa
call fcn.00411920
lea rcx, [rbp + 0x30]
lea rdx, [0x0068f598]
mov r8, qword [rbp + 0x28]
call fcn.00411c50
mov rcx, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x30]
call fcn.0058f280
test al, al
je 0x68f4ea
mov rcx, qword [rbp + 0x70]
lea rdx, [rbp + 0x68]
lea r8, [0x0068f60c]
call fcn.0058fee0
mov rcx, qword [rbp + 0x68]
mov edx, 0x8000
call fcn.00446420
mov qword [rbp + 0x78], rax
cmp qword [rbp + 0x78], 0
je 0x68f4ea
nop
mov rcx, qword [rbp + 0x78]
lea rdx, [0x0068f624]
call fcn.004219f0
mov qword [rbp + 0x40], rax
cmp qword [rbp + 0x40], 0
je 0x68f4e0
call qword [rbp + 0x40]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x68f4e0
mov rcx, qword [rbp + 0x90]
call fcn.0068f320
test eax, eax
je 0x68f4c4
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x50]
mov dword [rbp + 0x50], eax
jmp 0x68f4ce
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x50]
mov dword [rbp + 0x50], eax
mov eax, dword [rbp + 0x50]
and eax, 1
cmp eax, 1
sete al
mov byte [0x007573e0], al
nop
mov rcx, qword [rbp + 0x78]
call sub.kernel32.dll_FreeLibrary
nop
mov rcx, qword [rbp + 0x70]
call fcn.0040cea0
nop
lea rcx, [rbp + 0x28]
mov edx, 2
call fcn.00410120
lea rcx, [rbp + 0x68]
call fcn.00410040
lea rsp, [rbp + 0x80]
pop rbp
ret

Function at 0x68f6a0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, rsp
mov rsi, rcx
lea rdi, [rbp + 0x20]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movzx bx, byte [rbp + 0x28]
test bx, bx
je 0x68f6fb
mov ecx, 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x68f6d8
add bx, 0x2000
mov ecx, 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x68f6ec
add bx, 0x4000
mov eax, dword [rbp + 0x30]
test eax, 0x20000000
je 0x68f6fb
add bx, 0x8000
mov eax, ebx
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x6a58d0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
movzx rbx, word [0x006a5934]
mov eax, ecx
test ax, 4
je 0x6a58e9
or bx, 1
mov eax, ecx
test ax, 8
je 0x6a58f5
or bx, 4
mov eax, ecx
test ax, 1
je 0x6a5901
or bx, 8
mov eax, ecx
test ax, 2
je 0x6a590d
or bx, 0x10
test cx, 0x10
je 0x6a5918
or bx, 0x20
mov ecx, 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x6a592b
or bx, 2
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x6a5940
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov ebx, ecx
movzx rsi, word [0x006a598c]
mov ecx, 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x6a5963
or si, 1
mov ecx, 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x6a5976
or si, 4
test ebx, 0x20000000
je 0x6a5982
or si, 2
mov eax, esi
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x6b5090
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push rbp
sub rsp, 0x510
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x58], rbp
mov qword [rbp + 0x520], rcx
nop
mov rax, qword [rbp + 0x520]
cmp qword [rax + 0x80], 0
jne 0x6b529d
mov rcx, qword [0x004cab58]
mov dl, 1
call fcn.00508070
mov rcx, qword [rbp + 0x520]
mov qword [rcx + 0x80], rax
mov rax, qword [rbp + 0x520]
lea rcx, [rax + 0x88]
call fcn.00410040
mov ecx, 0x40
lea rdx, [rbp + 0x2f0]
call sub.user32.dll_GetKeyboardLayoutList
mov dword [rbp + 0x4fc], eax
xor eax, eax
mov ecx, dword [rbp + 0x4fc]
sub ecx, 1
mov dword [rbp + 0x3c], ecx
mov dword [rbp + 0x4f8], eax
mov ecx, dword [rbp + 0x3c]
cmp dword [rbp + 0x4f8], ecx
jg 0x6b5280
mov ecx, dword [rbp + 0x3c]
sub ecx, eax
add ecx, 1
mov dword [rbp + 0x3c], ecx
lea rax, [rbp + 0x2f0]
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax]
call fcn.005ee590
test al, al
je 0x6b5267
mov rax, qword [rbp + 0x60]
movzx eax, word [rax]
mov dword [rbp + 0x48], eax
mov byte [rbp + 0x50], 0
lea rcx, [rbp + 0x70]
lea rdx, [0x006b5308]
lea r8, [rbp + 0x48]
xor r9, r9
call fcn.00438250
mov rcx, 0xffffffff80000002
mov rdx, rax
xor r8, r8
mov r9d, 0x20019
lea rax, [rbp + 0x508]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x6b5267
nop
mov dword [rbp + 0x4f4], 0x200
mov rcx, qword [rbp + 0x508]
lea rdx, [0x006b5376]
xor r8, r8
xor r9, r9
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x4f4]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x6b525a
lea rcx, [rbp + 0x40]
lea rdx, [rbp + 0xf0]
mov r8d, pe_nt_image_headers64
call fcn.00411920
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x80]
mov rcx, rax
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp + 0x60]
mov r8, qword [r8]
mov rax, qword [rax]
call qword [rax + 0x80]
mov rax, qword [rbp + 0x60]
mov rcx, qword [rbp + 0x520]
mov rax, qword [rax]
cmp rax, qword [rcx + 0x90]
jne 0x6b525a
mov rax, qword [rbp + 0x520]
lea rcx, [rax + 0x88]
lea rdx, [rbp + 0xf0]
mov r8d, pe_nt_image_headers64
call fcn.00411920
nop
mov rcx, qword [rbp + 0x508]
call sub.advapi32.dll_RegCloseKey
add qword [rbp + 0x60], 8
mov eax, dword [rbp + 0x3c]
sub eax, 1
mov dword [rbp + 0x3c], eax
mov eax, dword [rbp + 0x3c]
test eax, eax
jne 0x6b5143
nop
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x80]
mov byte [rax + 0x49], 0
mov rcx, rax
mov dl, 1
call fcn.00507f00
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x80]
mov qword [rbp + 0x500], rax
nop
lea rcx, [rbp + 0x40]
call fcn.00410040
mov rax, qword [rbp + 0x500]
lea rsp, [rbp + 0x510]
pop rbp
ret
Function at 0x6b63a0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
mov rax, qword [0x0076cd70]
cmp byte [rax + 0x159], 0
jne 0x6b643e
cmp qword [0x0076cdb0], 0
jne 0x6b63e5
call sub.kernel32.dll_GetCurrentThreadId
mov ecx, 3
mov rdx, qword [0x007597d0]
xor r8, r8
mov r9d, eax
call sub.user32.dll_SetWindowsHookExW
mov qword [0x0076cdb0], rax
cmp qword [0x0076cda8], 0
jne 0x6b6405
xor ecx, ecx
xor edx, edx
xor r8, r8
xor r9, r9
call sub.kernel32.dll_CreateEventW
mov qword [0x0076cda8], rax
cmp qword [0x0076cdb8], 0
jne 0x6b643e
xor ecx, ecx
mov edx, 0x3e8
mov r8, qword [0x007597c8]
xor r9, r9
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_CreateThread
mov qword [0x0076cdb8], rax
add rsp, 0x48
ret

Function at 0x6b7840
Capabilities:
Enumerate gui resources

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x50
mov rbp, rsp
mov rbx, rcx
mov rax, qword [rbx + 0x2e0]
test rax, rax
je 0x6b791e
cmp dword [rbx + 0x128], 0
jne 0x6b7914
mov qword [rbp + 0x40], rax
mov byte [rbp + 0x48], dl
lea rcx, [0x006b7740]
lea rdx, [rbp + 0x40]
call sub.user32.dll_EnumWindows
mov rax, qword [rbx + 0x120]
cmp dword [rax + 0x10], 0
je 0x6b7914
mov rcx, qword [rbp + 0x40]
mov edx, 3
call sub.user32.dll_GetWindow
mov qword [rbp + 0x40], rax
mov rcx, qword [rbp + 0x40]
mov edx, 0xffffffec
call sub.user32.dll_GetWindowLongPtrW
test rax, 8
je 0x6b78c2
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov rax, qword [rbx + 0x120]
mov esi, dword [rax + 0x10]
sub esi, 1
test esi, esi
jl 0x6b7913
mov rcx, qword [rbx + 0x120]
mov edx, esi
call fcn.00500100
mov rcx, rax
mov rdx, qword [rbp + 0x40]
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x30], 0x213
call sub.user32.dll_SetWindowPos
sub esi, 1
cmp esi, 0xffffffff
jne 0x6b78d3
nop
lea rax, [rbx + 0x128]
add dword [rax], 1
lea rsp, [rbp + 0x50]
pop rbx
pop rsi
pop rbp
ret
Function at 0x6b7d90
Capabilities:
Enumerate gui resources

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov esi, edx
mov rax, qword [0x0076cd70]
cmp qword [rax + 0x2e0], 0
je 0x6b7f54
test sil, sil
jne 0x6b7e7c
cmp dword [rbx + 0x138], 0
jne 0x6b7e6d
mov rcx, rbx
call fcn.006bc5a0
lea rcx, [0x006b7c50]
mov rdx, rax
call sub.user32.dll_EnumWindows
cmp qword [rbx + 0xa8], 0
je 0x6b7e2f
mov rax, qword [0x0076cd70]
cmp byte [rax + 0x193], 0
je 0x6b7e2f
mov rax, qword [rbx + 0x1a0]
test rax, rax
je 0x6b7e09
mov rax, qword [rax - 8]
lea rdi, [rax - 1]
test edi, edi
jl 0x6b7e2e
mov rax, qword [rbx + 0x1a0]
movsxd rcx, edi
mov rcx, qword [rax + rcx*8]
xor edx, edx
call sub.user32.dll_ShowWindow
sub edi, 1
cmp edi, 0xffffffff
jne 0x6b7e11
nop
mov rax, qword [rbx + 0x130]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x6b7e6c
mov rcx, qword [rbx + 0x130]
mov edx, edi
call fcn.00500100
mov rcx, rax
test sil, sil
setne al
movzx rax, al
neg eax
mov edx, eax
call sub.user32.dll_ShowOwnedPopups
sub edi, 1
cmp edi, 0xffffffff
jne 0x6b7e40
nop
lea rax, [rbx + 0x138]
add dword [rax], 1
jmp 0x6b7f54
cmp dword [rbx + 0x138], 0
jle 0x6b7f54
lea rax, [rbx + 0x138]
sub dword [rax], 1
cmp dword [rbx + 0x138], 0
jne 0x6b7f54
cmp qword [rbx + 0xa8], 0
je 0x6b7ef3
mov rax, qword [0x0076cd70]
cmp byte [rax + 0x193], 0
je 0x6b7ef3
mov rax, qword [rbx + 0x1a0]
test rax, rax
je 0x6b7eca
mov rax, qword [rax - 8]
lea rdi, [rax - 1]
test edi, edi
jl 0x6b7ef2
mov rax, qword [rbx + 0x1a0]
movsxd rcx, edi
mov rcx, qword [rax + rcx*8]
mov edx, 5
call sub.user32.dll_ShowWindow
sub edi, 1
cmp edi, 0xffffffff
jne 0x6b7ed2
nop
mov rax, qword [rbx + 0x130]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x6b7f30
mov rcx, qword [rbx + 0x130]
mov edx, edi
call fcn.00500100
mov rcx, rax
test sil, sil
setne al
movzx rax, al
neg eax
mov edx, eax
call sub.user32.dll_ShowOwnedPopups
sub edi, 1
cmp edi, 0xffffffff
jne 0x6b7f04
nop
mov rax, qword [rbx + 0x130]
mov rcx, rax
mov rsi, qword [rax]
call qword [rsi + 0x10]
lea rcx, [rbx + 0x1a0]
mov rdx, qword [0x0069d838]
call fcn.00414d90
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x6b9270
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x220
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
cmp byte [rbx + 0x158], 0
je 0x6b92dc
cmp byte [rbx + 0x193], 0
jne 0x6b92dc
mov rcx, qword [rbx + 0x2e0]
lea rdx, [rbp + 0x20]
mov r8d, pe_nt_image_headers64
call sub.user32.dll_GetWindowTextW
mov rcx, rsi
lea rdx, [rbp + 0x20]
mov r8d, eax
call fcn.00410340
xor eax, eax
mov rcx, qword [rsi]
test rcx, rcx
je 0x6b92c7
mov eax, dword [rcx - 4]
test eax, eax
jne 0x6b92eb
mov rcx, rsi
mov rdx, qword [rbx + 0x118]
call fcn.004106d0
jmp 0x6b92eb
mov rcx, rsi
mov rdx, qword [rbx + 0x118]
call fcn.004106d0
mov rax, rsi
lea rsp, [rbp + 0x220]
pop rbx
pop rsi
pop rbp
ret
Function at 0x6c79f0
Capabilities:
Hide graphical window

Disassembly:
push r13
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
cmp qword [rbx + 0xd0], 0
jne 0x6c7aab
mov rcx, qword [rbx + 0x10]
call fcn.005e4b40
mov rcx, qword [0x005f8768]
mov dl, 1
mov r8, rax
call fcn.005db6e0
mov qword [rbx + 0xd0], rax
mov rsi, qword [rbx + 0xd0]
mov rcx, rsi
xor edx, edx
call fcn.00600780
lea rax, [rsi + 0x4d8]
mov qword [rax + 8], rbx
lea rcx, [0x006c7070]
mov qword [rax], rcx
mov rcx, qword [rbx + 0xd0]
call fcn.005e4b40
mov rdi, rax
mov rcx, rsi
mov edx, 3
mov rax, qword [rsi]
call qword [rax + 0x1c0]
mov rcx, rdi
xor edx, edx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x30], 8
call sub.user32.dll_SetWindowPos
mov rcx, qword [rbx + 0xd0]
call fcn.005e4b40
mov rcx, rax
xor edx, edx
call sub.user32.dll_ShowWindow
cmp qword [rbx + 0xf0], 0
jne 0x6c7b5a
mov rcx, qword [rbx + 0x10]
call fcn.005e4b40
mov rcx, qword [0x005f8768]
mov dl, 1
mov r8, rax
call fcn.005db6e0
mov qword [rbx + 0xf0], rax
mov rsi, qword [rbx + 0xf0]
mov rcx, rsi
mov dl, 1
call fcn.00600780
lea rax, [rsi + 0x4d8]
mov qword [rax + 8], rbx
lea rcx, [0x006c70d0]
mov qword [rax], rcx
mov rcx, qword [rbx + 0xf0]
call fcn.005e4b40
mov rdi, rax
mov rcx, rsi
mov edx, 2
mov rax, qword [rsi]
call qword [rax + 0x1c0]
mov rcx, rdi
xor edx, edx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x30], 8
call sub.user32.dll_SetWindowPos
mov rcx, qword [rbx + 0xf0]
call fcn.005e4b40
mov rcx, rax
xor edx, edx
call sub.user32.dll_ShowWindow
cmp qword [rbx + 0xe0], 0
jne 0x6c7c02
mov rcx, qword [rbx + 0x10]
call fcn.005e4b40
mov rcx, qword [0x005f9810]
mov dl, 1
mov r8, rax
call fcn.005db6e0
mov qword [rbx + 0xe0], rax
mov rsi, qword [rbx + 0xe0]
mov byte [rsi + 0x4a8], 1
mov rcx, qword [rbx + 0xe0]
call fcn.005e4b40
mov rdi, rax
mov rcx, rsi
mov edx, 2
mov rax, qword [rsi]
call qword [rax + 0x1c0]
mov r13d, eax
mov rcx, rsi
mov edx, 3
mov rax, qword [rsi]
call qword [rax + 0x1c0]
mov rcx, rdi
xor edx, edx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x30], 8
call sub.user32.dll_SetWindowPos
mov rcx, qword [rbx + 0xe0]
call fcn.005e4b40
mov rcx, rax
xor edx, edx
call sub.user32.dll_ShowWindow
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop r13
ret
Function at 0x6e72f0
Capabilities:
Create process on windows

Disassembly:
push rbp
sub rsp, 0xf0
mov rbp, rsp
mov qword [rbp + 0x58], rcx
mov qword [rbp + 0x68], 0
nop
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x58]
call fcn.004361c0
lea rcx, [rbp + 0x88]
mov edx, 0x68
xor r8, r8
call fcn.0040bf40
mov dword [rbp + 0x88], 0x68
mov word [rbp + 0xc8], 0xa
mov rcx, qword [rbp + 0x68]
call fcn.00411860
xor ecx, ecx
mov rdx, rax
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0xffffffff
mov dword [rsp + 0x28], 0x8000000
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
lea rax, [rbp + 0x88]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x48], rax
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x6e7395
call fcn.004450d0
nop
lea rcx, [rbp + 0x68]
call fcn.00410040
lea rsp, [rbp + 0xf0]
pop rbp
ret

Function at 0x6f7ab0
Capabilities:
Create process on windows

Disassembly:
push rbp
sub rsp, 0xf0
mov rbp, rsp
mov qword [rbp + 0x58], rcx
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
nop
lea rcx, [rbp + 0x88]
mov edx, 0x68
xor r8, r8
call fcn.0040bf40
mov dword [rbp + 0x88], 0x68
lea rcx, [rbp + 0x70]
mov edx, 0x18
xor r8, r8
call fcn.0040bf40
lea rcx, [rbp + 0x68]
lea rdx, [0x006f7bf8]
call fcn.00410760
lea rcx, [rbp + 0x60]
mov edx, 5
lea r8, [0x006f7c70]
mov r9, qword [rbp + 0x68]
lea rax, [0x006f7c80]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [0x006f7c70]
mov qword [rsp + 0x30], rax
call fcn.00411d80
mov rcx, qword [rbp + 0x60]
call fcn.00411860
xor ecx, ecx
mov rdx, rax
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
lea rax, [rbp + 0x88]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x48], rax
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x6f7ba2
call fcn.004450d0
mov rcx, qword [rbp + 0x70]
call sub.kernel32.dll_CloseHandle
mov rcx, qword [rbp + 0x78]
call sub.kernel32.dll_CloseHandle
nop
lea rcx, [rbp + 0x60]
mov edx, 2
call fcn.00410120
lea rsp, [rbp + 0xf0]
pop rbp
ret
Function at 0x1407cf058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1407cf1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1407cf089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407cf06f
add dl, dl
jne 0x1407cf096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407cf0f6
xor eax, eax
add dl, dl
jne 0x1407cf0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407cf1ad
add dl, dl
jne 0x1407cf0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407cf0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407cf0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407cf0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407cf0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1407cf07e
mov eax, 1
add dl, dl
jne 0x1407cf106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407cf113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407cf0fb
sub eax, ebx
mov ebx, 1
jne 0x1407cf14c
mov ecx, 1
add dl, dl
jne 0x1407cf12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407cf13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407cf123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407cf07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1407cf168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407cf175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407cf15d
cmp eax, 0x7d00
jae 0x1407cf19b
cmp eax, 0x500
jb 0x1407cf196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407cf07e
cmp eax, 0x7f
ja 0x1407cf19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407cf07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407cf1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1407cf07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20