joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5b9500
Capabilities:
Read clipboard data

Disassembly:
push rbp
push rbx
sub rsp, 0x58
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0x78], rdx
mov rcx, qword [rbp + 0x70]
mov rax, qword [rbp + 0x70]
mov rbx, qword [rax]
call qword [rbx + 0x30]
nop
xor ecx, ecx
call sub.user32.dll_EnumClipboardFormats
mov word [rbp + 0x46], ax
cmp word [rbp + 0x46], 0
je 0x5b9592
mov rcx, qword [0x0054a950]
movzx rdx, word [rbp + 0x46]
call fcn.005571b0
test al, al
je 0x5b957e
movzx ecx, word [rbp + 0x46]
call sub.user32.dll_GetClipboardData
mov qword [rbp + 0x48], rax
mov ecx, 9
call sub.user32.dll_GetClipboardData
mov qword [rbp + 0x38], rax
mov rcx, qword [rbp + 0x78]
movzx rdx, word [rbp + 0x46]
mov r8, qword [rbp + 0x48]
mov r9, qword [rbp + 0x38]
call fcn.00557050
jmp 0x5b95c1
movzx ecx, word [rbp + 0x46]
call sub.user32.dll_EnumClipboardFormats
mov word [rbp + 0x46], ax
cmp word [rbp + 0x46], 0
jne 0x5b9536
nop
mov rcx, qword [0x005b8f70]
mov dl, 1
mov r8, qword [0x008abc58]
call fcn.0043e4f0
mov rcx, rax
call fcn.0040f010
nop
mov rcx, qword [rbp + 0x70]
mov rax, qword [rbp + 0x70]
mov rbx, qword [rax]
call qword [rbx + 0x28]
jmp 0x5b95cc
xor ecx, ecx
mov rdx, qword [rbp + 0x28]
call fcn.005b95e0
lea rsp, [rbp + 0x58]
pop rbx
pop rbp
ret

Function at 0x5b9600
Capabilities:
Read clipboard data

Disassembly:
push rbp
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rdx
mov rcx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x60]
mov rbx, qword [rax]
call qword [rbx + 0x30]
nop
mov ecx, 2
call sub.user32.dll_GetClipboardData
mov qword [rbp + 0x38], rax
mov ecx, 9
call sub.user32.dll_GetClipboardData
mov qword [rbp + 0x30], rax
mov rcx, qword [rbp + 0x68]
mov dx, 2
mov r8, qword [rbp + 0x38]
mov r9, qword [rbp + 0x30]
mov rax, qword [rbp + 0x68]
mov rbx, qword [rax]
call qword [rbx + 0xd0]
nop
mov rcx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x60]
mov rbx, qword [rax]
call qword [rbx + 0x28]
lea rsp, [rbp + 0x48]
pop rbx
pop rbp
ret

Function at 0x5b96a0
Capabilities:
Read clipboard data

Disassembly:
push rbp
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rdx
mov rcx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x60]
mov rbx, qword [rax]
call qword [rbx + 0x30]
nop
mov ecx, 3
call sub.user32.dll_GetClipboardData
mov qword [rbp + 0x38], rax
mov ecx, 9
call sub.user32.dll_GetClipboardData
mov qword [rbp + 0x30], rax
mov rcx, qword [rbp + 0x68]
mov dx, 3
mov r8, qword [rbp + 0x38]
mov r9, qword [rbp + 0x30]
mov rax, qword [rbp + 0x68]
mov rbx, qword [rax]
call qword [rbx + 0xd0]
nop
mov rcx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x60]
mov rbx, qword [rax]
call qword [rbx + 0x28]
lea rsp, [rbp + 0x48]
pop rbx
pop rbp
ret
Function at 0x5b97c0
Capabilities:
Write clipboard data

Disassembly:
push rbp
push rbx
sub rsp, 0x58
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0x78], rdx
mov rcx, qword [rbp + 0x70]
mov rax, qword [rbp + 0x70]
mov rbx, qword [rax]
call qword [rbx + 0x30]
nop
mov rcx, qword [rbp + 0x70]
call fcn.005b9110
mov qword [rbp + 0x38], 0
mov rcx, qword [rbp + 0x78]
lea rdx, [rbp + 0x46]
lea r8, [rbp + 0x48]
lea r9, [rbp + 0x38]
call fcn.00557190
movzx ecx, word [rbp + 0x46]
mov rdx, qword [rbp + 0x48]
call sub.user32.dll_SetClipboardData
cmp qword [rbp + 0x38], 0
je 0x5b982c
mov ecx, 9
mov rdx, qword [rbp + 0x38]
call sub.user32.dll_SetClipboardData
nop
mov rcx, qword [rbp + 0x70]
mov rax, qword [rbp + 0x70]
mov rbx, qword [rax]
call qword [rbx + 0x28]
lea rsp, [rbp + 0x58]
pop rbx
pop rbp
ret

Function at 0x5b9870
Capabilities:
Write clipboard data

Disassembly:
push rbp
push rbx
sub rsp, 0x58
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0x78], rdx
mov rcx, qword [rbp + 0x70]
mov rax, qword [rbp + 0x70]
mov rbx, qword [rax]
call qword [rbx + 0x30]
nop
mov rcx, qword [rbp + 0x70]
call fcn.005b9110
mov qword [rbp + 0x38], 0
mov rcx, qword [rbp + 0x78]
lea rdx, [rbp + 0x46]
lea r8, [rbp + 0x48]
lea r9, [rbp + 0x38]
mov rax, qword [rbp + 0x78]
mov rbx, qword [rax]
call qword [rbx + 0xd8]
movzx ecx, word [rbp + 0x46]
mov rdx, qword [rbp + 0x48]
call sub.user32.dll_SetClipboardData
cmp qword [rbp + 0x38], 0
je 0x5b98e4
mov ecx, 9
mov rdx, qword [rbp + 0x38]
call sub.user32.dll_SetClipboardData
nop
mov rcx, qword [rbp + 0x70]
mov rax, qword [rbp + 0x70]
mov rbx, qword [rax]
call qword [rbx + 0x28]
lea rsp, [rbp + 0x58]
pop rbx
pop rbp
ret
Function at 0x5c8fa0
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.0040ff40
nop
xor ecx, ecx
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x5c908e
nop
mov dword [rbp + 0x3c], 0
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x20], rax
test rax, rax
je 0x5c8fec
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 0x5c902e
mov rax, qword [rbp + 0x20]
mov eax, dword [rax - 4]
mov dword [rbp + 0x38], eax
mov rcx, qword [rbp + 0x68]
call fcn.00411170
mov rcx, rax
mov rdx, qword [rbp + 0x40]
mov r8d, dword [rbp + 0x38]
add r8d, r8d
add r8d, 2
movsxd r8, r8d
call fcn.00409600
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 0x5c9086
nop
call sub.user32.dll_CloseClipboard
jmp 0x5c90ab
mov rcx, qword [0x00427e18]
mov dl, 1
mov r8, qword [0x008abac8]
call fcn.0043e4f0
mov rcx, rax
call fcn.0040f010
nop
lea rcx, [rbp + 0x68]
call fcn.0040fd70
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x5fc650
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 [0x0086b430], 0
mov word [rbp + 0x54], 0
lea rcx, [rbp + 0x54]
call sub.user32.dll_GetKeyboardLayoutNameW
mov rcx, qword [0x00540ac0]
mov dl, 1
call fcn.00542060
mov qword [rbp + 0x70], rax
nop
mov rcx, qword [rbp + 0x70]
mov rdx, 0xffffffff80000002
call fcn.00542310
lea rcx, [rbp + 0x28]
lea rdx, [rbp + 0x54]
mov r8d, 0xa
call fcn.00411260
lea rcx, [rbp + 0x30]
lea rdx, [0x005fc838]
mov r8, qword [rbp + 0x28]
call fcn.004115a0
mov rcx, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x30]
call fcn.005423a0
test al, al
je 0x5fc78a
mov rcx, qword [rbp + 0x70]
lea rdx, [rbp + 0x68]
lea r8, [0x005fc8ac]
call fcn.005428c0
mov rcx, qword [rbp + 0x68]
mov edx, 0x8000
call fcn.004425f0
mov qword [rbp + 0x78], rax
cmp qword [rbp + 0x78], 0
je 0x5fc78a
nop
mov rcx, qword [rbp + 0x78]
lea rdx, [0x005fc8c4]
call fcn.0041e2b0
mov qword [rbp + 0x40], rax
cmp qword [rbp + 0x40], 0
je 0x5fc780
call qword [rbp + 0x40]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x5fc780
mov rcx, qword [rbp + 0x90]
call fcn.005fc5c0
test eax, eax
je 0x5fc764
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x50]
mov dword [rbp + 0x50], eax
jmp 0x5fc76e
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 [0x0086b430], al
nop
mov rcx, qword [rbp + 0x78]
call sub.kernel32.dll_FreeLibrary
nop
mov rcx, qword [rbp + 0x70]
call fcn.0040ccc0
nop
lea rcx, [rbp + 0x28]
mov edx, 2
call fcn.0040fe50
lea rcx, [rbp + 0x68]
call fcn.0040fd70
lea rsp, [rbp + 0x80]
pop rbp
ret

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

Function at 0x60bb00
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
movzx rbx, word [0x0060bb68]
mov eax, ecx
test ax, 4
je 0x60bb1a
or bx, 1
mov eax, ecx
test ax, 8
je 0x60bb27
or bx, 4
mov eax, ecx
test ax, 1
je 0x60bb34
or bx, 8
mov eax, ecx
test ax, 2
je 0x60bb41
or bx, 0x10
test cx, 0x10
je 0x60bb4c
or bx, 0x20
mov ecx, 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x60bb5f
or bx, 2
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x60bb70
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov ebx, ecx
movzx rsi, word [0x0060bbbc]
mov ecx, 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x60bb93
or si, 1
mov ecx, 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x60bba6
or si, 4
test ebx, 0x20000000
je 0x60bbb2
or si, 2
mov eax, esi
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x60bc30
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x128
lea rcx, [rsp + 0x20]
call sub.user32.dll_GetKeyboardState
lea rcx, [rsp + 0x20]
call fcn.0060bbc0
add rsp, 0x128
ret

Function at 0x616090
Capabilities:
Hide graphical window

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rsi, rdx
mov eax, dword [rsi + 0x10]
sub eax, 1
test eax, eax
je 0x6160b3
sub eax, 2
test eax, eax
jne 0x61615f
jmp 0x616102
mov rcx, rbx
call fcn.0059c5c0
mov rcx, rax
call fcn.0060b400
test eax, eax
je 0x6160d0
mov byte [rbx + 0x4eb], 2
jmp 0x6160f4
mov rcx, rbx
call fcn.0059c5c0
mov rcx, rax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x6160ed
mov byte [rbx + 0x4eb], 3
jmp 0x6160f4
mov byte [rbx + 0x4eb], 1
mov rcx, rbx
mov rdx, rsi
mov rbx, qword [rbx]
call qword [rbx - 0x38]
jmp 0x61616b
cmp byte [rbx + 0x4eb], 0
je 0x61616b
mov rcx, rbx
call fcn.0059c5c0
mov rcx, rax
lea rax, [0x0086c894]
movzx rdx, byte [rbx + 0x4eb]
mov edx, dword [rax + rdx*4]
call sub.user32.dll_ShowWindow
mov byte [rbx + 0x4eb], 0
mov rax, qword [0x008b9da0]
cmp rbx, qword [rax + 0xa8]
jne 0x61614f
mov rax, qword [0x008b9da0]
mov byte [rax + 0x78], 0
mov rcx, qword [0x008b9da0]
mov dl, 1
call fcn.0061d6e0
jmp 0x61616b
mov rcx, rbx
mov rdx, rsi
mov rbx, qword [rbx]
call qword [rbx - 0x38]
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x616db0
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rsi, rdx
mov ecx, 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x616e6b
movzx rax, word [rsi + 8]
sub ax, 9
test ax, ax
je 0x616ded
sub ax, 0x1c
cmp ax, 4
jae 0x616e6b
jmp 0x616e29
mov ecx, 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x616e6b
mov ecx, 0x10
call sub.user32.dll_GetKeyState
mov rcx, rbx
mov rdx, qword [rbx + 0x4d8]
test ax, ax
setge r8b
mov r9b, 1
call fcn.0059d000
mov qword [rsi + 0x18], 1
jmp 0x616e76
mov rax, qword [rbx + 0x4d8]
test rax, rax
je 0x616e76
movzx rcx, word [rsi + 8]
cmp cx, 0x27
je 0x616e4a
cmp cx, 0x28
je 0x616e4a
xor ecx, ecx
jmp 0x616e4c
mov cl, 1
mov rdx, qword [rax + 0x78]
mov r8d, ecx
xor r9, r9
mov rcx, rdx
mov rdx, rax
call fcn.0059d000
mov qword [rsi + 0x18], 1
jmp 0x616e76
mov rcx, rbx
mov rdx, rsi
call fcn.0059ae90
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x61aa50
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 0x61ac5d
mov rcx, qword [0x004ab100]
mov dl, 1
call fcn.004e5f40
mov rcx, qword [rbp + 0x520]
mov qword [rcx + 0x80], rax
mov rax, qword [rbp + 0x520]
lea rcx, [rax + 0x88]
call fcn.0040fd70
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 0x61ac40
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.005a5f80
test al, al
je 0x61ac27
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, [0x0061acc8]
lea r8, [rbp + 0x48]
xor r9, r9
call fcn.004355e0
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 0x61ac27
nop
mov dword [rbp + 0x4f4], 0x200
mov rcx, qword [rbp + 0x508]
lea rdx, [0x0061ad36]
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 0x61ac1a
lea rcx, [rbp + 0x40]
lea rdx, [rbp + 0xf0]
mov r8d, pe_nt_image_headers64
call fcn.00411260
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 0x61ac1a
mov rax, qword [rbp + 0x520]
lea rcx, [rax + 0x88]
lea rdx, [rbp + 0xf0]
mov r8d, pe_nt_image_headers64
call fcn.00411260
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 0x61ab03
nop
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x80]
mov byte [rax + 0x49], 0
mov rcx, rax
mov dl, 1
call fcn.004e5dc0
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x80]
mov qword [rbp + 0x500], rax
nop
lea rcx, [rbp + 0x40]
call fcn.0040fd70
mov rax, qword [rbp + 0x500]
lea rsp, [rbp + 0x510]
pop rbp
ret
Function at 0x61bd70
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
mov rax, qword [0x008b9da0]
cmp byte [rax + 0x159], 0
jne 0x61be0e
cmp qword [0x008b9dd0], 0
jne 0x61bdb5
call sub.kernel32.dll_GetCurrentThreadId
mov ecx, 3
mov rdx, qword [0x0086d5e0]
xor r8, r8
mov r9d, eax
call sub.user32.dll_SetWindowsHookExW
mov qword [0x008b9dd0], rax
cmp qword [0x008b9dc8], 0
jne 0x61bdd5
xor ecx, ecx
xor edx, edx
xor r8, r8
xor r9, r9
call sub.kernel32.dll_CreateEventW
mov qword [0x008b9dc8], rax
cmp qword [0x008b9dd8], 0
jne 0x61be0e
xor ecx, ecx
mov edx, 0x3e8
mov r8, qword [0x0086d5d8]
xor r9, r9
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_CreateThread
mov qword [0x008b9dd8], rax
add rsp, 0x48
ret

Function at 0x61d190
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 0x61d26f
cmp dword [rbx + 0x128], 0
jne 0x61d265
mov qword [rbp + 0x40], rax
mov byte [rbp + 0x48], dl
lea rcx, [0x0061d090]
lea rdx, [rbp + 0x40]
call sub.user32.dll_EnumWindows
mov rax, qword [rbx + 0x120]
cmp dword [rax + 0x10], 0
je 0x61d265
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 0x61d213
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov rax, qword [rbx + 0x120]
mov esi, dword [rax + 0x10]
sub esi, 1
test esi, esi
jl 0x61d264
mov rcx, qword [rbx + 0x120]
mov edx, esi
call fcn.004df040
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 0x61d224
nop
lea rax, [rbx + 0x128]
add dword [rax], 1
lea rsp, [rbp + 0x50]
pop rbx
pop rsi
pop rbp
ret
Function at 0x61d6e0
Capabilities:
Enumerate gui resources

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov esi, edx
mov rax, qword [0x008b9da0]
cmp qword [rax + 0x2e0], 0
je 0x61d8a4
test sil, sil
jne 0x61d7cc
cmp dword [rbx + 0x138], 0
jne 0x61d7bd
mov rcx, rbx
call fcn.00621cb0
lea rcx, [0x0061d5a0]
mov rdx, rax
call sub.user32.dll_EnumWindows
cmp qword [rbx + 0xa8], 0
je 0x61d77f
mov rax, qword [0x008b9da0]
cmp byte [rax + 0x193], 0
je 0x61d77f
mov rax, qword [rbx + 0x1a0]
test rax, rax
je 0x61d759
mov rax, qword [rax - 8]
lea rdi, [rax - 1]
test edi, edi
jl 0x61d77e
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 0x61d761
nop
mov rax, qword [rbx + 0x130]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x61d7bc
mov rcx, qword [rbx + 0x130]
mov edx, edi
call fcn.004df040
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 0x61d790
nop
lea rax, [rbx + 0x138]
add dword [rax], 1
jmp 0x61d8a4
cmp dword [rbx + 0x138], 0
jle 0x61d8a4
lea rax, [rbx + 0x138]
sub dword [rax], 1
cmp dword [rbx + 0x138], 0
jne 0x61d8a4
cmp qword [rbx + 0xa8], 0
je 0x61d843
mov rax, qword [0x008b9da0]
cmp byte [rax + 0x193], 0
je 0x61d843
mov rax, qword [rbx + 0x1a0]
test rax, rax
je 0x61d81a
mov rax, qword [rax - 8]
lea rdi, [rax - 1]
test edi, edi
jl 0x61d842
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 0x61d822
nop
mov rax, qword [rbx + 0x130]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x61d880
mov rcx, qword [rbx + 0x130]
mov edx, edi
call fcn.004df040
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 0x61d854
nop
mov rax, qword [rbx + 0x130]
mov rcx, rax
mov rsi, qword [rax]
call qword [rsi + 0x10]
lea rcx, [rbx + 0x1a0]
mov rdx, qword [0x00607408]
call fcn.00414430
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x61eb50
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 0x61ebbc
cmp byte [rbx + 0x193], 0
jne 0x61ebbc
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.00410070
xor eax, eax
mov rcx, qword [rsi]
test rcx, rcx
je 0x61eba7
mov eax, dword [rcx - 4]
test eax, eax
jne 0x61ebcb
mov rcx, rsi
mov rdx, qword [rbx + 0x118]
call fcn.004103e0
jmp 0x61ebcb
mov rcx, rsi
mov rdx, qword [rbx + 0x118]
call fcn.004103e0
mov rax, rsi
lea rsp, [rbp + 0x220]
pop rbx
pop rsi
pop rbp
ret
Function at 0x6220a0
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 0x622265
mov byte [rbx + 0x193], sil
mov rax, qword [rbx + 0xa8]
test rax, rax
je 0x6221cd
mov rcx, rax
call fcn.0059cc30
test al, al
je 0x6221cd
mov rax, qword [rbx + 0xa8]
movzx rax, word [rax + 0x34]
test ax, 0x10
jne 0x6221cd
mov rax, qword [rbx + 0xa8]
movzx rax, word [rax + 0x34]
test ax, 2
jne 0x6221cd
test sil, sil
je 0x62214c
mov rcx, qword [rbx + 0x2e0]
xor edx, edx
xor r8, r8
call fcn.0060b4f0
mov rcx, qword [rbx + 0xa8]
call fcn.0059c5c0
mov rcx, rax
mov dl, 1
mov rax, qword [rbx + 0xa8]
movzx r8, byte [rax + 0xa9]
call fcn.0060b4f0
jmp 0x6221b6
call sub.user32.dll_GetForegroundWindow
mov rdi, rax
mov rcx, qword [rbx + 0xa8]
call fcn.0059c5c0
cmp rdi, rax
sete dil
mov rcx, qword [rbx + 0xa8]
call fcn.0059c5c0
mov rcx, rax
xor edx, edx
mov rax, qword [rbx + 0xa8]
movzx r8, byte [rax + 0xa9]
call fcn.0060b4f0
mov rcx, qword [rbx + 0x2e0]
mov dl, 1
mov r8b, 1
call fcn.0060b4f0
test dil, dil
je 0x6221b6
mov rcx, qword [rbx + 0xa8]
call fcn.0059c5c0
mov rcx, rax
call sub.user32.dll_SetForegroundWindow
mov rcx, qword [rbx + 0xa8]
mov edx, 0xb033
xor r8, r8
xor r9, r9
call fcn.005903c0
test sil, sil
je 0x622213
mov rcx, qword [rbx + 0x2e0]
mov rax, rcx
mov rsi, rcx
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 + 0x2e0]
xor edx, edx
call sub.user32.dll_SetWindowTextW
jmp 0x622265
mov rcx, qword [rbx + 0x2e0]
mov rax, rcx
mov rsi, rcx
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 + 0x2e0]
mov rax, qword [rbx + 0x118]
mov rcx, rax
call fcn.00411170
mov rcx, rsi
mov rdx, rax
call sub.user32.dll_SetWindowTextW
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x630bc0
Capabilities:
Get common file path

Disassembly:
push rbp
mov eax, 0xfd0
sub rax, 0x1000
mov byte [rsp + rax], al
cmp rax, 0xfffffffffffdffd0
ja 0x630bc6
sub rsp, 0x20030
mov rbp, rsp
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], 0
nop
mov ecx, 0xffff
lea rdx, [rbp + 0x32]
call sub.kernel32.dll_GetCurrentDirectoryW
mov rcx, qword [rbp + 0x20]
lea rdx, [rbp + 0x32]
mov r8d, eax
call fcn.00410070
lea rcx, [rbp + 0x28]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
call fcn.00630c70
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x28]
call fcn.004103e0
nop
lea rcx, [rbp + 0x28]
call fcn.0040fd70
mov rax, qword [rbp + 0x20]
lea rsp, [rbp + 0x20030]
pop rbp
ret

Function at 0x630f50
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
call fcn.00411170
mov rcx, rax
call sub.kernel32.dll_SetCurrentDirectoryW
test eax, eax
setne al
add rsp, 0x28
ret