joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46b110
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x68
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x80], rcx
mov byte [rbp + 0x88], dl
cmp byte [rbp + 0x88], 0
je 0x46b14e
mov rcx, qword [rbp + 0x80]
movzx rdx, byte [rbp + 0x88]
call fcn.0040db90
mov qword [rbp + 0x80], rax
nop
mov rcx, qword [0x00463050]
mov dl, 1
call fcn.00492d20
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 8], rax
mov rcx, qword [0x00469bf8]
mov dl, 1
call fcn.004951b0
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 0x10], rax
mov rcx, qword [0x00469bf8]
mov dl, 1
call fcn.004951b0
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 0x18], rax
lea rcx, [rbp + 0x30]
call sub.kernel32.dll_GetSystemInfo
mov rax, qword [rbp + 0x80]
mov ecx, dword [rbp + 0x34]
mov dword [rax + 0x20], ecx
cmp byte [rbp + 0x88], 0
je 0x46b20b
mov rcx, qword [rbp + 0x80]
call fcn.0040dbd0
mov qword [rbp + 0x80], rax
jmp 0x46b20b
mov rax, qword [rbp + 0x80]
lea rsp, [rbp + 0x68]
pop rbx
pop rbp
ret

Function at 0x4dfab0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
mov qword [rbp + 0x60], r8
movzx rax, byte [rbp + 0x70]
mov byte [rbp + 0x70], al
mov rcx, rsi
mov rdx, qword [rbp + 0x60]
mov r8, r9
call sub.kernel32.dll_FindResourceW
mov qword [rbx + 0x20], rax
cmp qword [rbx + 0x20], 0
jne 0x4dfaef
mov rcx, rbp
call fcn.004df9d0
mov rcx, rsi
mov rdx, qword [rbx + 0x20]
call sub.kernel32.dll_LoadResource
mov qword [rbx + 0x28], rax
cmp qword [rbx + 0x28], 0
jne 0x4dfb0e
mov rcx, rbp
call fcn.004df9d0
mov rcx, qword [rbx + 0x28]
call sub.kernel32.dll_LockResource
mov rdi, rax
mov rcx, rsi
mov rdx, qword [rbx + 0x20]
call sub.kernel32.dll_SizeofResource
mov rcx, rbx
mov rdx, rdi
mov r8d, eax
call fcn.004df420
lea rsp, [rbp + 0x28]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x4f0070
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x28
movzx rax, byte [rcx + 0x19]
or al, dl
test al, al
je 0x4f00c0
cmp byte [rcx + 0x1d], 0
jne 0x4f00c0
cmp byte [rcx + 0x40], 0
jne 0x4f00c0
mov byte [rcx + 0x1b], 0
mov byte [rcx + 0x19], 0
mov rcx, qword [rcx + 0x10]
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4f00dd
mov rcx, qword [0x004ae0e0]
mov dl, 1
mov r8, qword [0x006f0710]
call fcn.0043b920
mov rcx, rax
call fcn.0040f620
jmp 0x4f00dd
mov rcx, qword [0x004ae0e0]
mov dl, 1
mov r8, qword [0x006f0710]
call fcn.0043b920
mov rcx, rax
call fcn.0040f620
add rsp, 0x28
ret

Function at 0x4f08c0
Capabilities:
Suspend thread

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x50], rcx
mov rax, qword [rbp + 0x50]
movzx rax, byte [rax + 0x1b]
mov byte [rbp + 0x3f], al
nop
mov rax, qword [rbp + 0x50]
mov byte [rax + 0x1b], 1
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x10]
call sub.kernel32.dll_SuspendThread
mov rcx, qword [rbp + 0x50]
test eax, eax
setge dl
call fcn.004eff70
jmp 0x4f091b
lea rsp, [rbp + 0x40]
pop rbp
ret
Function at 0x4f0940
Capabilities:
Resume thread

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rcx, qword [rbx + 0x10]
call sub.kernel32.dll_ResumeThread
mov esi, eax
mov rcx, rbx
test esi, esi
setge dl
call fcn.004eff70
cmp esi, 1
jne 0x4f096a
mov byte [rbx + 0x1b], 0
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x4f46b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov qword [rsp + 0x40], rcx
cmp qword [0x006fd6a0], 0
jne 0x4f4751
xor ecx, ecx
mov edx, 0x1000
mov r8d, 0x1000
mov r9d, 0x40
call sub.kernel32.dll_VirtualAlloc
mov rbx, rax
mov rax, qword [0x006fd698]
mov qword [rbx], rax
lea rcx, [0x006cedc8]
lea rdx, [rbx + 8]
mov r8d, 8
call fcn.00409b10
lea rax, [0x004f4670]
mov qword [rbx + 0x10], rax
lea rsi, [rbx + 0x18]
mov byte [rsi], 0xe8
mov rcx, rsi
lea rdx, [rbx + 8]
call fcn.004f46a0
mov dword [rsi + 1], eax
mov rax, qword [0x006fd6a0]
mov qword [rsi + 5], rax
mov qword [0x006fd6a0], rsi
add rsi, 0x15
mov rax, rsi
sub rax, rbx
cmp rax, 0xfed
jl 0x4f4714
mov qword [0x006fd698], rbx
mov rax, qword [0x006fd6a0]
mov rsi, qword [0x006fd6a0]
mov rcx, qword [rsi + 5]
mov qword [0x006fd6a0], rcx
mov rcx, qword [rsp + 0x40]
lea rdi, [rsi + 5]
mov rsi, rcx
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x504e50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov eax, r8d
mov edx, edx
lea rdx, [rcx + rdx]
cmp rcx, rdx
jae 0x504e74
movzx r8, byte [rcx]
xor eax, r8d
imul eax, eax, 0x1000193
add rcx, 1
cmp rcx, rdx
jb 0x504e5e
nop
ret

Function at 0x53b5f0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov r8, rcx
xor eax, eax
xor r9, r9
sub edx, 1
mov ecx, r9d
cmp ecx, edx
jg 0x53b630
sub edx, r9d
add edx, 1
mov ecx, eax
and cx, 0xf800
movzx ecx, cx
shr ecx, 0xb
shl eax, 5
or cx, ax
mov eax, ecx
movzx cx, byte [r8]
xor ax, cx
add r8, 1
sub edx, 1
test edx, edx
jne 0x53b608
nop
ret
Function at 0x56d990
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 [0x006fdb10], 0
je 0x56db50
mov ecx, 0x11
call sub.user32.dll_GetKeyState
mov rcx, qword [0x006f0680]
mov rcx, qword [rcx]
test ax, 0x8000
setne al
movzx rcx, byte [rcx + 0x178]
xor cl, al
test cl, cl
je 0x56db50
mov rcx, qword [0x006fdb18]
mov rax, qword [0x006fdb18]
mov rbx, qword [rax]
call qword [rbx + 0x10]
xor eax, eax
mov rcx, qword [0x006fdb10]
mov esi, dword [rcx + 0x10]
sub esi, 1
mov ebx, eax
cmp ebx, esi
jg 0x56db13
sub esi, eax
add esi, 1
mov rcx, qword [0x006fdb10]
mov edx, ebx
call fcn.004d7700
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x58]
cmp rax, qword [rbp + 0xa8]
je 0x56db05
mov rax, qword [rbp + 0x58]
cmp byte [rax + 0x3a1], 0
je 0x56db05
mov rcx, qword [rbp + 0x58]
mov rax, qword [rbp + 0x58]
mov rax, qword [rax]
call qword [rax + 0xf8]
test al, al
je 0x56db05
mov rcx, qword [rbp + 0x58]
call fcn.0057fd40
mov rcx, rax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x56db05
mov rcx, rbp
call fcn.0056d930
test al, al
jne 0x56db05
mov rcx, qword [rbp + 0x58]
mov dx, 0xffb9
call fcn.0040d850
mov rcx, qword [rbp + 0x58]
mov rdx, qword [rbp + 0xa8]
call rax
test al, al
je 0x56db05
mov byte [rbp + 0x6f], 1
mov rcx, qword [rbp + 0x58]
mov dx, 0xffba
call fcn.0040d850
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 0x56db05
lea rcx, [rbp + 0x48]
lea rdx, [rbp + 0x64]
call fcn.0041c620
test al, al
je 0x56db05
mov rcx, qword [0x006fdb18]
mov rdx, qword [rbp + 0x58]
call fcn.0056cbd0
add ebx, 1
sub esi, 1
test esi, esi
jne 0x56da1c
nop
mov rax, qword [0x006fdb18]
cmp dword [rax + 0x10], 0
jle 0x56db31
mov rcx, qword [0x006fdb18]
call fcn.0056ccd0
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
test rax, rax
je 0x56db50
mov rcx, rbp
mov rdx, qword [rbp + 0x38]
call fcn.0056d750
test al, al
jne 0x56db50
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 0x57a860
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.0041c8c0
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.00571270
mov qword [rbp + 0x158], rax
test rdi, rdi
jne 0x57a8cb
mov rcx, rbx
lea rdx, [rbp + 0x158]
xor r8, r8
xor r9, r9
mov byte [rsp + 0x20], 0
call fcn.0057a6c0
mov rdi, rax
test rdi, rdi
je 0x57a9a8
cmp rdi, rbx
je 0x57a8f9
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 0x57a904
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 0x57a93a
sub eax, 0xa1
cmp eax, 2
jb 0x57a956
sub eax, 3
cmp eax, 2
jb 0x57a962
sub eax, 3
cmp eax, 2
jae 0x57a968
jmp 0x57a95c
sub eax, 0x201
cmp eax, 2
jb 0x57a956
sub eax, 3
cmp eax, 2
jb 0x57a962
sub eax, 3
cmp eax, 2
jae 0x57a968
jmp 0x57a95c
mov byte [rbp + 0x4c], 0
jmp 0x57a96c
mov byte [rbp + 0x4c], 2
jmp 0x57a96c
mov byte [rbp + 0x4c], 1
jmp 0x57a96c
mov byte [rbp + 0x4c], 0
lea rcx, [rbp + 0x58]
call sub.user32.dll_GetKeyboardState
lea rcx, [rbp + 0x58]
call fcn.0063bf80
mov ebx, eax
call fcn.0056beb0
or bx, ax
mov word [rbp + 0x4d], bx
mov rcx, rdi
mov edx, 0xb04b
xor r8, r8
lea r9, [rbp + 0x40]
call fcn.00573a90
mov qword [rsi + 0x18], rax
mov al, 1
jmp 0x57a9aa
xor eax, eax
lea rsp, [rbp + 0x168]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x5c3600
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.00410520
nop
xor ecx, ecx
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x5c36ee
nop
mov dword [rbp + 0x3c], 0
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x20], rax
test rax, rax
je 0x5c364c
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 0x5c368e
mov rax, qword [rbp + 0x20]
mov eax, dword [rax - 4]
mov dword [rbp + 0x38], eax
mov rcx, qword [rbp + 0x68]
call fcn.004116f0
mov rcx, rax
mov rdx, qword [rbp + 0x40]
mov r8d, dword [rbp + 0x38]
add r8d, r8d
add r8d, 2
movsxd r8, r8d
call fcn.00409b10
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 0x5c36e6
nop
call sub.user32.dll_CloseClipboard
jmp 0x5c370b
mov rcx, qword [0x004276d0]
mov dl, 1
mov r8, qword [0x006efc98]
call fcn.0043b920
mov rcx, rax
call fcn.0040f620
nop
lea rcx, [rbp + 0x68]
call fcn.00410350
lea rsp, [rbp + 0x50]
pop rbp
ret

Function at 0x5ce480
Capabilities:
Log keystrokes via polling

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

Function at 0x5fa660
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.00410650
test edi, edi
je 0x5fa6d5
mov rcx, qword [rbx]
call fcn.004116f0
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 0x5fa6d5
xor eax, eax
mov rcx, qword [rbx]
test rcx, rcx
je 0x5fa6c9
mov eax, dword [rcx - 4]
mov rcx, rbx
mov edx, eax
sub edx, edi
call fcn.00411970
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x6265b0
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 [0x006e6880], 0
mov word [rbp + 0x54], 0
lea rcx, [rbp + 0x54]
call sub.user32.dll_GetKeyboardLayoutNameW
mov rcx, qword [0x0052d730]
mov dl, 1
call fcn.0052ecd0
mov qword [rbp + 0x70], rax
nop
mov rcx, qword [rbp + 0x70]
mov rdx, 0xffffffff80000002
call fcn.0052ef80
lea rcx, [rbp + 0x28]
lea rdx, [rbp + 0x54]
mov r8d, 0xa
call fcn.004117e0
lea rcx, [rbp + 0x30]
lea rdx, [0x00626798]
mov r8, qword [rbp + 0x28]
call fcn.00411b10
mov rcx, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x30]
call fcn.0052f010
test al, al
je 0x6266ea
mov rcx, qword [rbp + 0x70]
lea rdx, [rbp + 0x68]
lea r8, [0x0062680c]
call fcn.0052f520
mov rcx, qword [rbp + 0x68]
mov edx, 0x8000
call fcn.0043f650
mov qword [rbp + 0x78], rax
cmp qword [rbp + 0x78], 0
je 0x6266ea
nop
mov rcx, qword [rbp + 0x78]
lea rdx, [0x00626824]
call fcn.0041e3c0
mov qword [rbp + 0x40], rax
cmp qword [rbp + 0x40], 0
je 0x6266e0
call qword [rbp + 0x40]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x6266e0
mov rcx, qword [rbp + 0x90]
call fcn.00626520
test eax, eax
je 0x6266c4
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x50]
mov dword [rbp + 0x50], eax
jmp 0x6266ce
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 [0x006e6880], al
nop
mov rcx, qword [rbp + 0x78]
call sub.kernel32.dll_FreeLibrary
nop
mov rcx, qword [rbp + 0x70]
call fcn.0040d360
nop
lea rcx, [rbp + 0x28]
mov edx, 2
call fcn.00410430
lea rcx, [rbp + 0x68]
call fcn.00410350
lea rsp, [rbp + 0x80]
pop rbp
ret

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

Function at 0x63bec0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
movzx rbx, word [0x0063bf24]
mov eax, ecx
test ax, 4
je 0x63bed9
or bx, 1
mov eax, ecx
test ax, 8
je 0x63bee5
or bx, 4
mov eax, ecx
test ax, 1
je 0x63bef1
or bx, 8
mov eax, ecx
test ax, 2
je 0x63befd
or bx, 0x10
test cx, 0x10
je 0x63bf08
or bx, 0x20
mov ecx, 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x63bf1b
or bx, 2
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x63bf30
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov ebx, ecx
movzx rsi, word [0x0063bf7c]
mov ecx, 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x63bf53
or si, 1
mov ecx, 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x63bf66
or si, 4
test ebx, 0x20000000
je 0x63bf72
or si, 2
mov eax, esi
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x64ad90
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 0x64af9d
mov rcx, qword [0x004a3c88]
mov dl, 1
call fcn.004de170
mov rcx, qword [rbp + 0x520]
mov qword [rcx + 0x80], rax
mov rax, qword [rbp + 0x520]
lea rcx, [rax + 0x88]
call fcn.00410350
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 0x64af80
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.00589700
test al, al
je 0x64af67
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, [0x0064b008]
lea r8, [rbp + 0x48]
xor r9, r9
call fcn.00432dd0
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 0x64af67
nop
mov dword [rbp + 0x4f4], 0x200
mov rcx, qword [rbp + 0x508]
lea rdx, [0x0064b076]
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 0x64af5a
lea rcx, [rbp + 0x40]
lea rdx, [rbp + 0xf0]
mov r8d, pe_nt_image_headers64
call fcn.004117e0
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 0x64af5a
mov rax, qword [rbp + 0x520]
lea rcx, [rax + 0x88]
lea rdx, [rbp + 0xf0]
mov r8d, pe_nt_image_headers64
call fcn.004117e0
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 0x64ae43
nop
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x80]
mov byte [rax + 0x49], 0
mov rcx, rax
mov dl, 1
call fcn.004de000
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x80]
mov qword [rbp + 0x500], rax
nop
lea rcx, [rbp + 0x40]
call fcn.00410350
mov rax, qword [rbp + 0x500]
lea rsp, [rbp + 0x510]
pop rbp
ret
Function at 0x64c040
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
mov rax, qword [0x006fdd60]
cmp byte [rax + 0x159], 0
jne 0x64c0de
cmp qword [0x006fdda0], 0
jne 0x64c085
call sub.kernel32.dll_GetCurrentThreadId
mov ecx, 3
mov rdx, qword [0x006e8a30]
xor r8, r8
mov r9d, eax
call sub.user32.dll_SetWindowsHookExW
mov qword [0x006fdda0], rax
cmp qword [0x006fdd98], 0
jne 0x64c0a5
xor ecx, ecx
xor edx, edx
xor r8, r8
xor r9, r9
call sub.kernel32.dll_CreateEventW
mov qword [0x006fdd98], rax
cmp qword [0x006fdda8], 0
jne 0x64c0de
xor ecx, ecx
mov edx, 0x3e8
mov r8, qword [0x006e8a28]
xor r9, r9
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_CreateThread
mov qword [0x006fdda8], rax
add rsp, 0x48
ret

Function at 0x64d460
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 0x64d53e
cmp dword [rbx + 0x128], 0
jne 0x64d534
mov qword [rbp + 0x40], rax
mov byte [rbp + 0x48], dl
lea rcx, [0x0064d360]
lea rdx, [rbp + 0x40]
call sub.user32.dll_EnumWindows
mov rax, qword [rbx + 0x120]
cmp dword [rax + 0x10], 0
je 0x64d534
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 0x64d4e2
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov rax, qword [rbx + 0x120]
mov esi, dword [rax + 0x10]
sub esi, 1
test esi, esi
jl 0x64d533
mov rcx, qword [rbx + 0x120]
mov edx, esi
call fcn.004d7700
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 0x64d4f3
nop
lea rax, [rbx + 0x128]
add dword [rax], 1
lea rsp, [rbp + 0x50]
pop rbx
pop rsi
pop rbp
ret
Function at 0x64d9b0
Capabilities:
Enumerate gui resources

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov esi, edx
mov rax, qword [0x006fdd60]
cmp qword [rax + 0x2e0], 0
je 0x64db74
test sil, sil
jne 0x64da9c
cmp dword [rbx + 0x138], 0
jne 0x64da8d
mov rcx, rbx
call fcn.00651fb0
lea rcx, [0x0064d870]
mov rdx, rax
call sub.user32.dll_EnumWindows
cmp qword [rbx + 0xa8], 0
je 0x64da4f
mov rax, qword [0x006fdd60]
cmp byte [rax + 0x193], 0
je 0x64da4f
mov rax, qword [rbx + 0x1a0]
test rax, rax
je 0x64da29
mov rax, qword [rax - 8]
lea rdi, [rax - 1]
test edi, edi
jl 0x64da4e
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 0x64da31
nop
mov rax, qword [rbx + 0x130]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x64da8c
mov rcx, qword [rbx + 0x130]
mov edx, edi
call fcn.004d7700
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 0x64da60
nop
lea rax, [rbx + 0x138]
add dword [rax], 1
jmp 0x64db74
cmp dword [rbx + 0x138], 0
jle 0x64db74
lea rax, [rbx + 0x138]
sub dword [rax], 1
cmp dword [rbx + 0x138], 0
jne 0x64db74
cmp qword [rbx + 0xa8], 0
je 0x64db13
mov rax, qword [0x006fdd60]
cmp byte [rax + 0x193], 0
je 0x64db13
mov rax, qword [rbx + 0x1a0]
test rax, rax
je 0x64daea
mov rax, qword [rax - 8]
lea rdi, [rax - 1]
test edi, edi
jl 0x64db12
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 0x64daf2
nop
mov rax, qword [rbx + 0x130]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x64db50
mov rcx, qword [rbx + 0x130]
mov edx, edi
call fcn.004d7700
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 0x64db24
nop
mov rax, qword [rbx + 0x130]
mov rcx, rax
mov rsi, qword [rax]
call qword [rsi + 0x10]
lea rcx, [rbx + 0x1a0]
mov rdx, qword [0x00633e28]
call fcn.00414ad0
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x64ee20
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 0x64ee8c
cmp byte [rbx + 0x193], 0
jne 0x64ee8c
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.00410650
xor eax, eax
mov rcx, qword [rsi]
test rcx, rcx
je 0x64ee77
mov eax, dword [rcx - 4]
test eax, eax
jne 0x64ee9b
mov rcx, rsi
mov rdx, qword [rbx + 0x118]
call fcn.004109c0
jmp 0x64ee9b
mov rcx, rsi
mov rdx, qword [rbx + 0x118]
call fcn.004109c0
mov rax, rsi
lea rsp, [rbp + 0x220]
pop rbx
pop rsi
pop rbp
ret