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

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov rbp, rsp
mov qword [rbp + 0x90], rcx
mov qword [rbp + 0x98], rdx
xor rax, rax
mov qword [rbp + 0x38], rax
cmp qword [0x0079a280], 0
je 0x5bc394
mov ecx, 0x11
call sub.user32.dll_GetKeyState
mov rcx, qword [0x0078ef18]
mov rcx, qword [rcx]
test ax, 0x8000
setne al
movzx rcx, byte [rcx + 0x178]
xor cl, al
test cl, cl
je 0x5bc394
mov rcx, qword [0x0079a288]
mov rax, qword [0x0079a288]
mov rbx, qword [rax]
call qword [rbx + 0x10]
xor rbx, rbx
mov rax, qword [0x0079a280]
mov esi, dword [rax + 0x10]
sub esi, 1
cmp ebx, esi
jg 0x5bc356
add esi, 1
mov rcx, qword [0x0079a280]
mov edx, ebx
call fcn.00503020
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x50]
cmp rax, qword [rbp + 0x98]
je 0x5bc34b
mov rax, qword [rbp + 0x50]
cmp byte [rax + 0x381], 0
je 0x5bc34b
mov rcx, qword [rbp + 0x50]
mov rax, qword [rbp + 0x50]
mov rax, qword [rax]
call qword [rax + 0xd8]
test al, al
je 0x5bc34b
mov rcx, qword [rbp + 0x50]
call fcn.005cea80
mov rcx, rax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5bc34b
mov rcx, rbp
call fcn.005bc150
test al, al
jne 0x5bc34b
mov rcx, qword [rbp + 0x50]
mov dx, 0xffb9
call fcn.0040b9a0
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x98]
call rax
test al, al
je 0x5bc34b
mov byte [rbp + 0x5f], 1
mov rcx, qword [rbp + 0x50]
mov dx, 0xffba
call fcn.0040b9a0
mov rdi, rax
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x98]
lea r8, [rbp + 0x40]
mov r9, qword [rbp + 0x90]
lea rax, [rbp + 0x5f]
mov qword [rsp + 0x20], rax
call rdi
cmp byte [rbp + 0x5f], 0
je 0x5bc34b
lea rcx, [rbp + 0x40]
mov rdx, qword [rbp + 0x90]
call fcn.004195b0
test al, al
je 0x5bc34b
mov rcx, qword [0x0079a288]
mov rdx, qword [rbp + 0x50]
call fcn.005bb370
add ebx, 1
cmp ebx, esi
jne 0x5bc25c
nop
mov rax, qword [0x0079a288]
cmp dword [rax + 0x10], 0
jle 0x5bc374
mov rcx, qword [0x0079a288]
call fcn.005bb470
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
test rax, rax
je 0x5bc394
mov rcx, rbp
mov rdx, qword [rbp + 0x38]
call fcn.005bbef0
test al, al
jne 0x5bc394
xor rax, rax
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
lea rsp, [rbp + 0x68]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x5c9740
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.00419d30
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
mov rdx, qword [rbp + 0x34]
call fcn.005bfba0
mov qword [rbp + 0x158], rax
test rdi, rdi
jne 0x5c97ab
mov rcx, rbx
mov rdx, qword [rbp + 0x158]
xor r8, r8
xor r9, r9
mov byte [rsp + 0x20], 0
call fcn.005c9550
mov rdi, rax
test rdi, rdi
je 0x5c989a
cmp rdi, rbx
je 0x5c97d9
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 0x5c97e4
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 rax, word [rsi + 0x12]
cmp rax, 0x201
jge 0x5c9824
sub rax, 0xa1
cmp rax, 2
jb 0x5c9847
sub rax, 3
cmp rax, 2
jb 0x5c9853
sub rax, 3
cmp rax, 2
jae 0x5c9859
jmp 0x5c984d
sub rax, 0x201
cmp rax, 2
jb 0x5c9847
sub rax, 3
cmp rax, 2
jb 0x5c9853
sub rax, 3
cmp rax, 2
jae 0x5c9859
jmp 0x5c984d
mov byte [rbp + 0x4c], 0
jmp 0x5c985d
mov byte [rbp + 0x4c], 2
jmp 0x5c985d
mov byte [rbp + 0x4c], 1
jmp 0x5c985d
mov byte [rbp + 0x4c], 0
lea rcx, [rbp + 0x58]
call sub.user32.dll_GetKeyboardState
lea rcx, [rbp + 0x58]
call fcn.006acc20
mov ebx, eax
call fcn.005baa50
or bx, ax
mov word [rbp + 0x4d], bx
mov rcx, rdi
mov edx, 0xb04b
xor r8, r8
lea r9, [rbp + 0x40]
call fcn.005c2490
mov qword [rsi + 0x18], rax
mov al, 1
jmp 0x5c989d
xor rax, rax
lea rsp, [rbp + 0x168]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x6044a0
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.0040e8c0
nop
xor rcx, rcx
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x604589
nop
mov dword [rbp + 0x3c], 0
cmp qword [rbp + 0x68], 0
je 0x6044e7
mov rax, qword [rbp + 0x68]
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
cmp qword [rbp + 0x68], 0
je 0x604528
mov rax, qword [rbp + 0x68]
mov eax, dword [rax - 4]
mov dword [rbp + 0x38], eax
mov rcx, qword [rbp + 0x68]
call fcn.0040fc60
mov rcx, rax
mov rdx, qword [rbp + 0x40]
mov r8d, dword [rbp + 0x38]
add r8d, r8d
add r8d, 2
movsxd r8, r8d
call fcn.004090e0
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 0x604581
nop
call sub.user32.dll_CloseClipboard
jmp 0x6045a6
mov rcx, qword [0x00427b38]
mov dl, 1
mov r8, qword [0x0078e350]
call fcn.0043d830
mov rcx, rax
call fcn.0040d9a0
nop
lea rcx, [rbp + 0x68]
call fcn.0040e730
lea rsp, [rbp + 0x50]
pop rbp
ret

Function at 0x60bb00
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
movzx rbx, word [0x0060bb54]
mov ecx, 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x60bb21
or bx, 1
mov ecx, 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x60bb35
or bx, 4
mov ecx, 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x60bb49
or bx, 2
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x69ad60
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 [0x00782770], 0
mov word [rbp + 0x54], 0
lea rcx, [rbp + 0x54]
call sub.user32.dll_GetKeyboardLayoutNameW
mov rcx, qword [0x0057aad0]
mov dl, 1
call fcn.0057c200
mov qword [rbp + 0x70], rax
nop
mov rcx, qword [rbp + 0x70]
mov rdx, 0xffffffff80000002
call fcn.0057c4d0
lea rcx, [rbp + 0x28]
lea rdx, [rbp + 0x54]
mov r8d, 0xa
call fcn.0040fd30
lea rcx, [rbp + 0x30]
lea rdx, [0x0069af80]
mov r8, qword [rbp + 0x28]
call fcn.00410090
mov rcx, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x30]
call fcn.0057c8e0
test al, al
je 0x69ae9c
mov rcx, qword [rbp + 0x70]
lea rdx, [rbp + 0x68]
lea r8, [0x0069aff4]
call fcn.0057d5e0
mov rcx, qword [rbp + 0x68]
mov edx, 0x8000
call fcn.004419a0
mov qword [rbp + 0x78], rax
cmp qword [rbp + 0x78], 0
je 0x69ae9c
nop
mov rcx, qword [rbp + 0x78]
lea rdx, [0x0069b00c]
call fcn.0041ce50
mov qword [rbp + 0x40], rax
cmp qword [rbp + 0x40], 0
je 0x69ae92
call qword [rbp + 0x40]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x69ae92
mov rcx, qword [rbp + 0x90]
call fcn.0069acd0
test eax, eax
je 0x69ae76
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x50]
mov dword [rbp + 0x50], eax
jmp 0x69ae80
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 [0x00782770], al
nop
mov rcx, qword [rbp + 0x78]
call sub.kernel32.dll_FreeLibrary_2
nop
mov rcx, qword [rbp + 0x70]
call fcn.0040b360
nop
lea rcx, [rbp + 0x28]
mov edx, 2
call fcn.0040e810
lea rcx, [rbp + 0x68]
call fcn.0040e730
lea rsp, [rbp + 0x80]
pop rbp
ret

Function at 0x69b090
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 0x69b0ee
mov ecx, 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x69b0c9
add bx, 0x2000
mov ecx, 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x69b0de
add bx, 0x4000
mov eax, dword [rbp + 0x30]
test eax, 0x20000000
je 0x69b0ee
add bx, 0x8000
mov eax, ebx
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x6acb50
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
movzx rbx, word [0x006acbb8]
mov eax, ecx
test ax, 4
je 0x6acb6a
or bx, 1
mov eax, ecx
test ax, 8
je 0x6acb77
or bx, 4
mov eax, ecx
test ax, 1
je 0x6acb84
or bx, 8
mov eax, ecx
test ax, 2
je 0x6acb91
or bx, 0x10
test cx, 0x10
je 0x6acb9c
or bx, 0x20
mov ecx, 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x6acbb0
or bx, 2
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x6acbc0
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov ebx, ecx
movzx rsi, word [0x006acc10]
mov ecx, 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x6acbe4
or si, 1
mov ecx, 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x6acbf8
or si, 4
test ebx, 0x20000000
je 0x6acc04
or si, 2
mov eax, esi
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x6bb150
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 0x6bb382
mov rcx, qword [0x004d8868]
mov dl, 1
call fcn.0050aa60
mov rcx, qword [rbp + 0x520]
mov qword [rcx + 0x80], rax
mov rax, qword [rbp + 0x520]
lea rcx, [rax + 0x88]
call fcn.0040e730
mov ecx, 0x40
lea rdx, [rbp + 0x2f0]
call sub.user32.dll_GetKeyboardLayoutList
mov dword [rbp + 0x4fc], eax
xor rax, rax
mov ecx, dword [rbp + 0x4fc]
sub ecx, 1
mov dword [rbp + 0x3c], ecx
mov dword [rbp + 0x4f8], eax
mov eax, dword [rbp + 0x3c]
cmp dword [rbp + 0x4f8], eax
jg 0x6bb35a
mov eax, dword [rbp + 0x3c]
add eax, 1
mov dword [rbp + 0x3c], eax
movsxd rax, dword [rbp + 0x4f8]
mov rcx, qword [rbp + rax*8 + 0x2f0]
call fcn.005d8d40
test al, al
je 0x6bb344
movsxd rax, dword [rbp + 0x4f8]
lea rax, [rbp + rax*8 + 0x2f0]
mov qword [rbp + 0x48], rax
mov byte [rbp + 0x50], 0x10
lea rcx, [rbp + 0x70]
lea rdx, [0x006bb414]
lea r8, [rbp + 0x48]
xor r9, r9
call fcn.00433a90
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_1
test eax, eax
jne 0x6bb344
nop
mov dword [rbp + 0x4f4], 0x200
mov rcx, qword [rbp + 0x508]
lea rdx, [0x006bb482]
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_1
test eax, eax
jne 0x6bb337
lea rcx, [rbp + 0x40]
lea rdx, [rbp + 0xf0]
mov r8d, pe_nt_image_headers64
call fcn.0040fd30
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x80]
mov rcx, rax
mov rdx, qword [rbp + 0x40]
movsxd r8, dword [rbp + 0x4f8]
mov r8, qword [rbp + r8*8 + 0x2f0]
mov rax, qword [rax]
call qword [rax + 0x80]
movsxd rax, dword [rbp + 0x4f8]
mov rcx, qword [rbp + 0x520]
mov rax, qword [rbp + rax*8 + 0x2f0]
cmp rax, qword [rcx + 0x90]
jne 0x6bb337
mov rax, qword [rbp + 0x520]
lea rcx, [rax + 0x88]
lea rdx, [rbp + 0xf0]
mov r8d, pe_nt_image_headers64
call fcn.0040fd30
nop
mov rcx, qword [rbp + 0x508]
call sub.advapi32.dll_RegCloseKey_1
add dword [rbp + 0x4f8], 1
mov eax, dword [rbp + 0x3c]
cmp dword [rbp + 0x4f8], eax
jne 0x6bb1f8
nop
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x80]
mov byte [rax + 0x61], 0
mov rax, qword [rbp + 0x520]
mov rcx, qword [rax + 0x80]
mov dl, 1
call fcn.0050a910
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x80]
mov qword [rbp + 0x500], rax
nop
lea rcx, [rbp + 0x40]
call fcn.0040e730
mov rax, qword [rbp + 0x500]
lea rsp, [rbp + 0x510]
pop rbp
ret
Function at 0x6bc710
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
mov rax, qword [0x0079a4d0]
cmp byte [rax + 0x159], 0
jne 0x6bc7b3
cmp qword [0x0079a508], 0
jne 0x6bc756
call sub.kernel32.dll_GetCurrentThreadId_1
mov ecx, 3
mov rdx, qword [0x00784920]
xor r8, r8
mov r9d, eax
call sub.user32.dll_SetWindowsHookExW
mov qword [0x0079a508], rax
cmp qword [0x0079a500], 0
jne 0x6bc778
xor rcx, rcx
xor rdx, rdx
xor r8, r8
xor r9, r9
call sub.kernel32.dll_CreateEventW
mov qword [0x0079a500], rax
cmp qword [0x0079a510], 0
jne 0x6bc7b3
xor rcx, rcx
mov edx, 0x3e8
mov r8, qword [0x00784918]
xor r9, r9
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_CreateThread_1
mov qword [0x0079a510], rax
add rsp, 0x48
ret

Function at 0x6bda00
Capabilities:
Enumerate gui resources

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x50
mov rbp, rsp
mov rbx, rcx
cmp qword [rbx + 0x2d0], 0
je 0x6bdae6
cmp dword [rbx + 0x128], 0
jne 0x6bdadc
mov rax, qword [rbx + 0x2d0]
mov qword [rbp + 0x40], rax
mov byte [rbp + 0x48], dl
lea rcx, [0x006bd8e0]
lea rdx, [rbp + 0x40]
call sub.user32.dll_EnumWindows
mov rax, qword [rbx + 0x120]
cmp dword [rax + 0x10], 0
je 0x6bdadc
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 0x6bda8a
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov rax, qword [rbx + 0x120]
mov esi, dword [rax + 0x10]
sub esi, 1
test esi, esi
jl 0x6bdadb
mov rcx, qword [rbx + 0x120]
mov edx, esi
call fcn.00503020
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 0x6bda9b
nop
lea rax, [rbx + 0x128]
add dword [rax], 1
lea rsp, [rbp + 0x50]
pop rbx
pop rsi
pop rbp
ret
Function at 0x6bde30
Capabilities:
Enumerate gui resources

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rbp, rsp
mov rbx, rcx
mov esi, edx
mov rax, qword [0x0079a4d0]
cmp qword [rax + 0x2d0], 0
je 0x6be00a
test sil, sil
jne 0x6bdf29
cmp dword [rbx + 0x138], 0
jne 0x6bdf1a
mov rcx, rbx
call fcn.006c2570
lea rcx, [0x006bdcd0]
mov rdx, rax
call sub.user32.dll_EnumWindows
cmp qword [rbx + 0xa8], 0
je 0x6bdedc
mov rax, qword [0x0079a4d0]
cmp byte [rax + 0x193], 0
je 0x6bdedc
mov rax, qword [rbx + 0x1a0]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
test rax, rax
je 0x6bdeb5
mov rax, qword [rax - 8]
lea rdi, [rax - 1]
test edi, edi
jl 0x6bdedb
mov rax, qword [rbx + 0x1a0]
movsxd rcx, edi
mov rcx, qword [rax + rcx*8]
xor rdx, rdx
call sub.user32.dll_ShowWindow
sub edi, 1
cmp edi, 0xffffffff
jne 0x6bdebd
nop
mov rax, qword [rbx + 0x130]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x6bdf19
mov rcx, qword [rbx + 0x130]
mov edx, edi
call fcn.00503020
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 0x6bdeed
nop
lea rax, [rbx + 0x138]
add dword [rax], 1
jmp 0x6be00a
cmp dword [rbx + 0x138], 0
jle 0x6be00a
lea rax, [rbx + 0x138]
sub dword [rax], 1
cmp dword [rbx + 0x138], 0
jne 0x6be00a
cmp qword [rbx + 0xa8], 0
je 0x6bdfa9
mov rax, qword [0x0079a4d0]
cmp byte [rax + 0x193], 0
je 0x6bdfa9
mov rax, qword [rbx + 0x1a0]
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x20]
test rax, rax
je 0x6bdf7f
mov rax, qword [rax - 8]
lea rdi, [rax - 1]
test edi, edi
jl 0x6bdfa8
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 0x6bdf87
nop
mov rax, qword [rbx + 0x130]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x6bdfe6
mov rcx, qword [rbx + 0x130]
mov edx, edi
call fcn.00503020
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 0x6bdfba
nop
mov rax, qword [rbx + 0x130]
mov rcx, rax
mov rsi, qword [rax]
call qword [rsi + 0x10]
lea rcx, [rbx + 0x1a0]
mov rdx, qword [0x006a7d68]
call fcn.00411b00
lea rsp, [rbp + 0x38]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x6bf210
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 0x6bf27f
cmp byte [rbx + 0x193], 0
jne 0x6bf27f
mov rcx, qword [rbx + 0x2d0]
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.0040e9f0
xor rax, rax
cmp qword [rsi], 0
je 0x6bf26a
mov rax, qword [rsi]
mov eax, dword [rax - 4]
test eax, eax
jne 0x6bf28e
mov rcx, rsi
mov rdx, qword [rbx + 0x118]
call fcn.0040ed80
jmp 0x6bf28e
mov rcx, rsi
mov rdx, qword [rbx + 0x118]
call fcn.0040ed80
mov rax, rsi
lea rsp, [rbp + 0x220]
pop rbx
pop rsi
pop rbp
ret
Function at 0x6c2970
Capabilities:
Hide graphical window from taskbar

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov esi, edx
cmp sil, byte [rbx + 0x193]
je 0x6c2b41
mov byte [rbx + 0x193], sil
cmp qword [rbx + 0xa8], 0
je 0x6c2aa2
mov rcx, qword [rbx + 0xa8]
call fcn.005cf080
test al, al
je 0x6c2aa2
mov rax, qword [rbx + 0xa8]
movzx rax, word [rax + 0x34]
test ax, 0x10
jne 0x6c2aa2
mov rax, qword [rbx + 0xa8]
movzx rax, word [rax + 0x34]
test ax, 2
jne 0x6c2aa2
test sil, sil
je 0x6c2a1f
mov rcx, qword [rbx + 0x2d0]
xor rdx, rdx
xor r8, r8
call fcn.006ac520
mov rcx, qword [rbx + 0xa8]
call fcn.005cea80
mov rcx, rax
mov dl, 1
mov rax, qword [rbx + 0xa8]
movzx r8, byte [rax + 0xa9]
call fcn.006ac520
jmp 0x6c2a8a
call sub.user32.dll_GetForegroundWindow
mov rdi, rax
mov rcx, qword [rbx + 0xa8]
call fcn.005cea80
cmp rdi, rax
sete dil
mov rcx, qword [rbx + 0xa8]
call fcn.005cea80
mov rcx, rax
xor rdx, rdx
mov rax, qword [rbx + 0xa8]
movzx r8, byte [rax + 0xa9]
call fcn.006ac520
mov rcx, qword [rbx + 0x2d0]
mov dl, 1
mov r8b, 1
call fcn.006ac520
test dil, dil
je 0x6c2a8a
mov rcx, qword [rbx + 0xa8]
call fcn.005cea80
mov rcx, rax
call sub.user32.dll_SetForegroundWindow
mov rcx, qword [rbx + 0xa8]
mov edx, 0xb033
xor r8, r8
xor r9, r9
call fcn.005c2490
test sil, sil
je 0x6c2aec
mov rax, qword [rbx + 0x2d0]
mov rsi, qword [rbx + 0x2d0]
mov rcx, rax
mov edx, 0xffffffec
call sub.user32.dll_GetWindowLongPtrW
or rax, 0x80
mov rcx, rsi
mov edx, 0xffffffec
mov r8, rax
call sub.user32.dll_SetWindowLongPtrW
mov rcx, qword [rbx + 0x2d0]
xor rdx, rdx
call sub.user32.dll_SetWindowTextW
jmp 0x6c2b41
mov rax, qword [rbx + 0x2d0]
mov rsi, qword [rbx + 0x2d0]
mov rcx, rax
mov edx, 0xffffffec
call sub.user32.dll_GetWindowLongPtrW
and rax, 0xffffffffffffff7f
mov rcx, rsi
mov edx, 0xffffffec
mov r8, rax
call sub.user32.dll_SetWindowLongPtrW
mov rsi, qword [rbx + 0x2d0]
mov rax, qword [rbx + 0x118]
mov rcx, rax
call fcn.0040fc60
mov rcx, rsi
mov rdx, rax
call sub.user32.dll_SetWindowTextW
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x6cba20
Capabilities:
Hide graphical window

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rbx, rcx
cmp qword [rbx + 0xc0], 0
jne 0x6cbad6
mov rcx, qword [rbx + 0x10]
call fcn.005cea80
mov rcx, qword [0x005e2098]
mov dl, 1
mov r8, rax
call fcn.005c5750
mov qword [rbx + 0xc0], rax
mov rsi, qword [rbx + 0xc0]
mov rcx, rsi
xor rdx, rdx
call fcn.005e8df0
lea rax, [rsi + 0x4b0]
mov qword [rax + 8], rbx
lea rcx, [0x006cb090]
mov qword [rax], rcx
mov rcx, qword [rbx + 0xc0]
call fcn.005cea80
mov rsi, rax
mov ecx, 3
call sub.user32.dll_GetSystemMetrics
mov rcx, rsi
xor rdx, rdx
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 + 0xc0]
call fcn.005cea80
mov rcx, rax
xor rdx, rdx
call sub.user32.dll_ShowWindow
cmp qword [rbx + 0xe0], 0
jne 0x6cbb81
mov rcx, qword [rbx + 0x10]
call fcn.005cea80
mov rcx, qword [0x005e2098]
mov dl, 1
mov r8, rax
call fcn.005c5750
mov qword [rbx + 0xe0], rax
mov rsi, qword [rbx + 0xe0]
mov rcx, rsi
mov dl, 1
call fcn.005e8df0
lea rax, [rsi + 0x4b0]
mov qword [rax + 8], rbx
lea rcx, [0x006cb0f0]
mov qword [rax], rcx
mov rcx, qword [rbx + 0xe0]
call fcn.005cea80
mov rsi, rax
mov ecx, 2
call sub.user32.dll_GetSystemMetrics
mov rcx, rsi
xor rdx, rdx
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 + 0xe0]
call fcn.005cea80
mov rcx, rax
xor rdx, rdx
call sub.user32.dll_ShowWindow
cmp qword [rbx + 0xd0], 0
jne 0x6cbc1d
mov rcx, qword [rbx + 0x10]
call fcn.005cea80
mov rcx, qword [0x005e3070]
mov dl, 1
mov r8, rax
call fcn.005c5750
mov qword [rbx + 0xd0], rax
mov rax, qword [rbx + 0xd0]
mov byte [rax + 0x480], 1
mov rcx, qword [rbx + 0xd0]
call fcn.005cea80
mov rsi, rax
mov ecx, 2
call sub.user32.dll_GetSystemMetrics
mov edi, eax
mov ecx, 3
call sub.user32.dll_GetSystemMetrics
mov rcx, rsi
xor rdx, rdx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x30], 8
call sub.user32.dll_SetWindowPos
mov rcx, qword [rbx + 0xd0]
call fcn.005cea80
mov rcx, rax
xor rdx, rdx
call sub.user32.dll_ShowWindow
add rsp, 0x40
pop rbx
pop rsi
pop rdi
ret
Function at 0x413940
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x413acb
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00432f40
xorps xmm15, xmm15
mov r14, qword [0x006dff38]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x4139a5
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x4139b4
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x4139d3
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x4139e3
cmp rbx, 0x1000
jae 0x4139ab
jmp 0x413a4d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x4139f5
xor edx, edx
jmp 0x413a44
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00432f40
xorps xmm15, xmm15
mov r14, qword [0x006dff38]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x4139d9
jmp 0x4139c8
call fcn.00472140
xorps xmm15, xmm15
mov r14, qword [0x006dff38]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00437b40
lea rax, [0x0057b1ec]
mov ebx, 0x18
nop dword [rax]
call fcn.004383c0
mov rax, qword [rsp + 0x38]
call fcn.00438100
lea rax, [0x0057b7c8]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.004383c0
mov rax, qword [rsp + 0x30]
call fcn.00438100
call fcn.00437d80
call fcn.00437ba0
lea rax, [0x0057df6b]
mov ebx, 0x21
call fcn.00468f20
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0046e9e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00413940