joyce8/EMBER2024-capa huggingface dataset:
Function at 0x501040
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rbx
sub rsp, 0x68
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x30], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov qword [rbp + 0x48], 0
nop
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x50118f
mov rcx, qword [rbp + 0x40]
call fcn.00411320
mov rcx, rax
call sub.kernel32.dll_GetModuleHandleA
mov rcx, rax
mov rdx, qword [rbp + 0x30]
xor r8, r8
call fcn.0042ee00
mov rcx, qword [rbp + 0x28]
mov qword [rcx], rax
mov rax, qword [rbp + 0x20]
test rax, rax
je 0x5010ba
mov rax, qword [rbp + 0x20]
cmp word [rax], 0x25ff
jne 0x5010ba
mov rcx, qword [rbp + 0x20]
movsxd rax, dword [rcx + 2]
mov rbx, qword [rcx + rax + 6]
jmp 0x5010bd
xor rbx, rbx
cmp byte [rbp + 0xa8], 0
jne 0x5010e0
xor rcx, rcx
call sub.kernel32.dll_GetModuleHandleW
cmp qword [0x00b2dcb0], rax
je 0x5010e0
cmp byte [0x00b2dcc8], 0
je 0x501102
lea rcx, [rbp + 0x48]
call fcn.004aaeb0
mov rcx, qword [rbp + 0x48]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
mov r8, qword [rbp + 0xa0]
call fcn.004ab430
jmp 0x50111c
mov rcx, qword [0x00b2dcb0]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
mov r8, qword [rbp + 0xa0]
call fcn.004ab340
test rbx, rbx
je 0x501130
mov rcx, qword [rbp + 0x20]
movsxd rax, dword [rcx + 2]
cmp rbx, qword [rcx + rax + 6]
je 0x501135
xor rax, rax
jmp 0x501137
mov al, 1
mov byte [rbp + 0x3f], al
movzx rax, byte [rbp + 0x3f]
test al, al
je 0x501195
mov rcx, qword [rbp + 0x20]
movsxd rax, dword [rcx + 2]
lea rbx, [rcx + rax + 6]
mov rcx, rbx
mov edx, 8
mov r8d, 0x40
lea r9, [rbp + 0x5c]
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x501195
mov rax, qword [rbp + 0xa0]
mov qword [rbx], rax
mov rcx, rbx
mov edx, 8
mov r8d, dword [rbp + 0x5c]
lea r9, [rbp + 0x5c]
call sub.kernel32.dll_VirtualProtect
jmp 0x501195
xor rax, rax
mov byte [rbp + 0x3f], al
nop
lea rcx, [rbp + 0x48]
mov rdx, qword [0x004aae68]
call fcn.00413ec0
movzx rax, byte [rbp + 0x3f]
lea rsp, [rbp + 0x68]
pop rbx
pop rbp
ret
Function at 0x5011f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rbx
sub rsp, 0x68
mov rbp, rsp
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x38], r8
mov byte [rbp + 0x47], r9b
mov qword [rbp + 0x48], 0
nop
mov rax, qword [rbp + 0x28]
test rax, rax
je 0x5012f3
mov rax, qword [rbp + 0x30]
test rax, rax
je 0x501242
mov rax, qword [rbp + 0x30]
cmp word [rax], 0x25ff
jne 0x501242
mov rcx, qword [rbp + 0x30]
movsxd rax, dword [rcx + 2]
mov rbx, qword [rcx + rax + 6]
jmp 0x501245
xor rbx, rbx
movzx rax, byte [rbp + 0x47]
test al, al
jne 0x501268
xor rcx, rcx
call sub.kernel32.dll_GetModuleHandleW
cmp qword [0x00b2dcb0], rax
je 0x501268
cmp byte [0x00b2dcc8], 0
je 0x501284
lea rcx, [rbp + 0x48]
call fcn.004aaeb0
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x38]
mov r8, qword [rbp + 0x28]
call fcn.004ab430
jmp 0x501298
mov rcx, qword [0x00b2dcb0]
mov rdx, qword [rbp + 0x38]
mov r8, qword [rbp + 0x28]
call fcn.004ab340
test rbx, rbx
je 0x5012f3
mov rcx, qword [rbp + 0x30]
movsxd rax, dword [rcx + 2]
cmp rbx, qword [rcx + rax + 6]
jne 0x5012f3
mov rcx, qword [rbp + 0x30]
movsxd rax, dword [rcx + 2]
lea rbx, [rcx + rax + 6]
mov rcx, rbx
mov edx, 8
mov r8d, 0x40
lea r9, [rbp + 0x5c]
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x5012f3
mov rax, qword [rbp + 0x28]
mov qword [rbx], rax
mov rcx, rbx
mov edx, 8
mov r8d, dword [rbp + 0x5c]
lea r9, [rbp + 0x5c]
call sub.kernel32.dll_VirtualProtect
nop
lea rcx, [rbp + 0x48]
mov rdx, qword [0x004aae68]
call fcn.00413ec0
lea rsp, [rbp + 0x68]
pop rbx
pop rbp
ret
Function at 0x501e50
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rbx
sub rsp, 0xd8
mov rbp, rsp
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x40], rdx
mov qword [rbp + 0x38], r8
mov qword [rbp + 0x28], r9
lea rcx, [rbp + 0x58]
mov rdx, qword [0x00430b10]
call fcn.00412bc0
nop
xor rax, rax
mov byte [rbp + 0x37], al
mov rax, qword [rbp + 0x110]
mov qword [rax], 0
mov rax, qword [rbp + 0x120]
mov qword [rax], 0
mov rax, qword [rbp + 0x118]
mov dword [rax], 0
mov rax, qword [rbp + 0x128]
mov qword [rax], 0
lea rcx, [rbp + 0x58]
mov rdx, qword [rbp + 0x48]
call fcn.00439580
cmp byte [rbp + 0x58], 0
je 0x50206d
mov rcx, qword [rbp + 0x98]
call fcn.00413950
xor rcx, rcx
mov edx, eax
mov eax, ecx
cmp eax, edx
jg 0x50206c
add edx, 1
mov rcx, qword [rbp + 0x98]
movsxd r8, eax
add r8, r8
add r8, r8
add r8, r8
lea rbx, [rcx + r8*8]
mov rcx, qword [rbp + 0x40]
cmp qword [rbx + 0x18], rcx
jne 0x502061
mov rcx, qword [rbp + 0x98]
movsxd rdx, eax
add rdx, rdx
add rdx, rdx
add rdx, rdx
mov rcx, qword [rcx + rdx*8 + 8]
cmp byte [rcx], 0xe8
jne 0x501fbb
mov rcx, qword [rbx + 0x28]
mov edx, 4
mov r8d, 0x40
lea r9, [rbp + 0x54]
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x50206c
mov rax, qword [rbp + 0x110]
mov rcx, qword [rbx + 0x28]
mov qword [rax], rcx
mov rax, qword [rbp + 0x118]
mov rcx, qword [rbp + 0x110]
mov rcx, qword [rcx]
mov ecx, dword [rcx]
mov dword [rax], ecx
mov rax, qword [rbx + 0x28]
mov rcx, qword [rbx + 0x10]
neg rcx
mov rdx, qword [rbp + 0x38]
lea rcx, [rdx + rcx]
mov dword [rax], ecx
mov rcx, qword [rbx + 0x28]
mov edx, 4
mov r8d, dword [rbp + 0x54]
lea r9, [rbp + 0x54]
call sub.kernel32.dll_VirtualProtect
mov rax, qword [rbx + 0x18]
mov rcx, qword [rbp + 0x28]
mov qword [rcx], rax
mov al, 1
mov byte [rbp + 0x37], al
jmp 0x50206c
mov rcx, qword [rbp + 0x98]
movsxd rax, eax
add rax, rax
add rax, rax
add rax, rax
mov rax, qword [rcx + rax*8 + 8]
cmp word [rax], 0x15ff
jne 0x50206c
mov rax, qword [rbx + 0x30]
mov rcx, qword [rax]
mov edx, 8
mov r8d, 0x40
lea r9, [rbp + 0x54]
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x50206c
mov rax, qword [rbp + 0x120]
mov rcx, qword [rbx + 0x30]
mov rcx, qword [rcx]
mov qword [rax], rcx
mov rax, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
mov rcx, qword [rcx]
mov rcx, qword [rcx]
mov qword [rax], rcx
mov rax, qword [rbx + 0x30]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x30]
mov rcx, qword [rax]
mov edx, 8
mov r8d, dword [rbp + 0x54]
lea r9, [rbp + 0x54]
call sub.kernel32.dll_VirtualProtect
mov rax, qword [rbx + 0x18]
mov rcx, qword [rbp + 0x28]
mov qword [rcx], rax
mov al, 1
mov byte [rbp + 0x37], al
jmp 0x50206c
add eax, 1
cmp eax, edx
jne 0x501eef
nop
nop
lea rcx, [rbp + 0x58]
mov rdx, qword [0x00430b10]
call fcn.00412d60
movzx rax, byte [rbp + 0x37]
lea rsp, [rbp + 0xd8]
pop rbx
pop rbp
ret
Function at 0x5023c0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov byte [0x00b33aa0], 0
cmp qword [0x00b33aa8], 0
je 0x502428
mov rcx, qword [0x00b33aa8]
mov edx, 4
mov r8d, 0x40
lea r9, [rsp + 0x2c]
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x5024a0
mov rax, qword [0x00b33aa8]
mov ecx, dword [0x00b33ab0]
mov dword [rax], ecx
mov rcx, qword [0x00b33aa8]
mov edx, 4
mov r8d, dword [rsp + 0x2c]
lea r9, [rsp + 0x2c]
call sub.kernel32.dll_VirtualProtect
jmp 0x5024a0
cmp qword [0x00b33ab8], 0
je 0x502483
mov rcx, qword [0x00b33ab8]
mov edx, 8
mov r8d, 0x40
lea r9, [rsp + 0x2c]
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x5024a0
mov rax, qword [0x00b33ab8]
mov rcx, qword [0x00b33ac0]
mov qword [rax], rcx
mov rcx, qword [0x00b33ab8]
mov edx, 8
mov r8d, dword [rsp + 0x2c]
lea r9, [rsp + 0x2c]
call sub.kernel32.dll_VirtualProtect
jmp 0x5024a0
lea rcx, [sub.kernel32.dll_CreateThread]
mov rdx, qword [0x00b33918]
lea r8, [0x005019b0]
xor r9, r9
call fcn.005011f0
xor rcx, rcx
mov rdx, qword [0x00b33a10]
lea r8, [0x00501e10]
xor r9, r9
call fcn.005011f0
call sub.kernel32.dll_GetCurrentProcess
mov rcx, rax
xor rdx, rdx
xor r8, r8
call sub.kernel32.dll_FlushInstructionCache
add rsp, 0x38
ret

Function at 0x5ec480
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rbp, rsp
mov rsi, rcx
lea rdi, [rbp + 0x20]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
cmp qword [0x00bc3960], 0
jne 0x5ec535
xor rcx, rcx
mov edx, 0x1000
mov r8d, 0x1000
mov r9d, 0x40
call sub.kernel32.dll_VirtualAlloc
mov rbx, rax
mov rax, qword [0x00bc3958]
mov qword [rbx], rax
lea rcx, [0x00b47830]
lea rdx, [rbx + 8]
mov r8d, 8
call fcn.00408cc0
lea rax, [0x005ec440]
mov qword [rbx + 0x10], rax
lea rsi, [rbx + 0x18]
mov byte [rsi], 0xe8
mov rcx, rsi
lea rdx, [rbx + 8]
call fcn.005ec470
mov dword [rsi + 1], eax
mov rax, qword [0x00bc3960]
mov qword [rsi + 5], rax
mov qword [0x00bc3960], rsi
add rsi, 0x15
mov rax, rbx
neg rax
lea rax, [rsi + rax]
cmp rax, 0xfed
jl 0x5ec4f3
mov qword [0x00bc3958], rbx
mov rax, qword [0x00bc3960]
mov rsi, qword [0x00bc3960]
mov rcx, qword [rsi + 5]
mov qword [0x00bc3960], rcx
lea rdi, [rsi + 5]
lea rsi, [rbp + 0x20]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
lea rsp, [rbp + 0x38]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x622fd0
Capabilities:
Get file version info

Disassembly:
push rbp
sub rsp, 0xb0
mov rbp, rsp
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x78], rbp
mov qword [rbp + 0xc0], rcx
mov qword [rbp + 0xc8], rdx
mov rcx, qword [rbp + 0xc8]
call fcn.00410210
nop
mov rcx, qword [rbp + 0xc8]
call fcn.00411e10
mov rcx, rax
lea rdx, [rbp + 0x9c]
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [rbp + 0xa4], eax
cmp dword [rbp + 0xa4], 0
je 0x6231a9
mov ecx, dword [rbp + 0xa4]
call fcn.004088f0
mov qword [rbp + 0xa8], rax
nop
mov rcx, qword [rbp + 0xc8]
call fcn.00411e10
mov rcx, rax
xor rdx, rdx
mov r8d, dword [rbp + 0xa4]
mov r9, qword [rbp + 0xa8]
call sub.version.dll_GetFileVersionInfoW
mov rcx, qword [rbp + 0xa8]
lea rdx, [0x00623264]
lea r8, [rbp + 0x90]
lea r9, [rbp + 0xa0]
call sub.version.dll_VerQueryValueW
mov rax, qword [rbp + 0x90]
mov qword [rbp + 0x80], rax
mov rax, qword [rbp + 0x80]
mov eax, dword [rax + 8]
shr eax, 0x10
mov word [rbp + 0x8e], ax
mov rax, qword [rbp + 0x80]
movzx rax, word [rax + 8]
and ax, 0xffff
mov word [rbp + 0x8c], ax
mov rax, qword [rbp + 0x80]
mov eax, dword [rax + 0xc]
shr eax, 0x10
mov word [rbp + 0x8a], ax
mov rax, qword [rbp + 0x80]
add byte [rax + 0xf], cl
mov bh, 0x40
or al, 0x66
and eax, 0xffffffff

Function at 0x656e80
Capabilities:
Encode data using xor

Disassembly:
mov r8, rcx
xor rax, rax
xor rcx, rcx
sub edx, 1
cmp ecx, edx
jg 0x656ec2
add edx, 1
mov r9d, eax
and r9w, 0xf800
movzx r9d, r9w
shr r9d, 0xb
shl eax, 5
or r9w, ax
mov eax, r9d
movzx r9w, byte [r8]
xor ax, r9w
add r8, 1
add ecx, 1
cmp ecx, edx
jne 0x656e93
nop
ret
Function at 0x66a8f0
Capabilities:
Get session user name

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x38], 0
nop
mov dword [rbp + 0x34], 0xff
lea rcx, [rbp + 0x38]
mov edx, dword [rbp + 0x34]
add edx, 1
call fcn.00411d20
mov rcx, qword [rbp + 0x38]
call fcn.004117b0
mov rcx, rax
lea rdx, [rbp + 0x34]
call sub.advapi32.dll_GetUserNameW
test eax, eax
je 0x66a952
lea rcx, [rbp + 0x38]
mov edx, dword [rbp + 0x34]
sub edx, 1
call fcn.00411d20
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x38]
call fcn.00411f90
jmp 0x66a95b
mov rcx, qword [rbp + 0x28]
call fcn.00410080
nop
lea rcx, [rbp + 0x38]
call fcn.00410120
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x40]
pop rbp
ret
Function at 0x797820
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 + 0x70], 0
jne 0x797a39
mov rcx, qword [0x0059af98]
mov dl, 1
call fcn.005cc750
mov rcx, qword [rbp + 0x520]
mov qword [rcx + 0x70], rax
mov rax, qword [rbp + 0x520]
lea rcx, [rax + 0x78]
call fcn.00410080
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 0x797a17
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.006c11c0
test al, al
je 0x797a01
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, [0x00797ac4]
lea r8, [rbp + 0x48]
xor r9, r9
call fcn.0047ffe0
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 0x797a01
nop
mov dword [rbp + 0x4f4], 0x200
mov rcx, qword [rbp + 0x508]
lea rdx, [0x00797b32]
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 0x7979f4
lea rcx, [rbp + 0x40]
lea rdx, [rbp + 0xf0]
mov r8d, pe_nt_image_headers64
call fcn.00411f10
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x70]
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 + 0x80]
jne 0x7979f4
mov rax, qword [rbp + 0x520]
lea rcx, [rax + 0x78]
lea rdx, [rbp + 0xf0]
mov r8d, pe_nt_image_headers64
call fcn.00411f10
nop
mov rcx, qword [rbp + 0x508]
call sub.advapi32.dll_RegCloseKey
add dword [rbp + 0x4f8], 1
mov eax, dword [rbp + 0x3c]
cmp dword [rbp + 0x4f8], eax
jne 0x7978bf
nop
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x70]
mov byte [rax + 0x61], 0
mov rax, qword [rbp + 0x520]
mov rcx, qword [rax + 0x70]
mov dl, 1
call fcn.005cc600
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x70]
mov qword [rbp + 0x500], rax
nop
lea rcx, [rbp + 0x40]
call fcn.00410080
mov rax, qword [rbp + 0x500]
lea rsp, [rbp + 0x510]
pop rbp
ret
Function at 0x798db0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
mov rax, qword [0x00bc42e8]
cmp byte [rax + 0x131], 0
jne 0x798e53
cmp qword [0x00bc4320], 0
jne 0x798df6
call sub.kernel32.dll_GetCurrentThreadId
mov ecx, 3
mov rdx, qword [0x00b6c7d0]
xor r8, r8
mov r9d, eax
call sub.user32.dll_SetWindowsHookExW
mov qword [0x00bc4320], rax
cmp qword [0x00bc4318], 0
jne 0x798e18
xor rcx, rcx
xor rdx, rdx
xor r8, r8
xor r9, r9
call sub.kernel32.dll_CreateEventW
mov qword [0x00bc4318], rax
cmp qword [0x00bc4328], 0
jne 0x798e53
xor rcx, rcx
mov edx, 0x3e8
mov r8, qword [0x00b6c7c8]
xor r9, r9
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_CreateThread
mov qword [0x00bc4328], rax
add rsp, 0x48
ret

Function at 0x799f20
Capabilities:
Enumerate gui resources

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x50
mov rbp, rsp
mov rbx, rcx
cmp qword [rbx + 0x2a8], 0
je 0x79a00b
cmp dword [rbx + 0x100], 0
jne 0x79a001
mov rax, qword [rbx + 0x2a8]
mov qword [rbp + 0x40], rax
mov byte [rbp + 0x48], dl
lea rcx, [0x00799e00]
lea rdx, [rbp + 0x40]
call sub.user32.dll_EnumWindows
mov rax, qword [rbx + 0xf8]
cmp dword [rax + 0x10], 0
je 0x79a001
mov rcx, qword [rbp + 0x40]
mov edx, 3
call sub.user32.dll_GetWindow
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov ecx, 0xffffffec
mov edx, ecx
mov rcx, rax
call sub.user32.dll_GetWindowLongPtrW
test rax, 8
je 0x799faf
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov rax, qword [rbx + 0xf8]
mov esi, dword [rax + 0x10]
sub esi, 1
test esi, esi
jl 0x79a000
mov rcx, qword [rbx + 0xf8]
mov edx, esi
call fcn.005c54a0
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 0x799fc0
nop
lea rax, [rbx + 0x100]
add dword [rax], 1
lea rsp, [rbp + 0x50]
pop rbx
pop rsi
pop rbp
ret
Function at 0x79a320
Capabilities:
Enumerate gui resources

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov esi, edx
mov rax, qword [0x00bc42e8]
cmp qword [rax + 0x2a8], 0
je 0x79a4e6
test sil, sil
jne 0x79a408
cmp dword [rbx + 0x110], 0
jne 0x79a3f9
mov rcx, rbx
call fcn.0079e930
lea rcx, [0x0079a1f0]
mov rdx, rax
call sub.user32.dll_EnumWindows
cmp qword [rbx + 0x88], 0
je 0x79a3bb
mov rax, qword [0x00bc42e8]
cmp byte [rax + 0x16b], 0
je 0x79a3bb
mov rcx, qword [rbx + 0x178]
call fcn.00413950
mov rdi, rax
test edi, edi
jl 0x79a3ba
mov rax, qword [rbx + 0x178]
movsxd rcx, edi
mov rcx, qword [rax + rcx*8]
xor rdx, rdx
call sub.user32.dll_ShowWindow
sub edi, 1
cmp edi, 0xffffffff
jne 0x79a39c
nop
mov rax, qword [rbx + 0x108]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x79a3f8
mov rcx, qword [rbx + 0x108]
mov edx, edi
call fcn.005c54a0
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 0x79a3cc
nop
lea rax, [rbx + 0x110]
add dword [rax], 1
jmp 0x79a4e6
cmp dword [rbx + 0x110], 0
jle 0x79a4e6
lea rax, [rbx + 0x110]
sub dword [rax], 1
cmp dword [rbx + 0x110], 0
jne 0x79a4e6
cmp qword [rbx + 0x88], 0
je 0x79a47b
mov rax, qword [0x00bc42e8]
cmp byte [rax + 0x16b], 0
je 0x79a47b
mov rcx, qword [rbx + 0x178]
call fcn.00413950
mov rdi, rax
test edi, edi
jl 0x79a47a
mov rax, qword [rbx + 0x178]
movsxd rcx, edi
mov rcx, qword [rax + rcx*8]
mov edx, 5
call sub.user32.dll_ShowWindow
sub edi, 1
cmp edi, 0xffffffff
jne 0x79a459
nop
mov rax, qword [rbx + 0x108]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x79a4b8
mov rcx, qword [rbx + 0x108]
mov edx, edi
call fcn.005c54a0
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 0x79a48c
nop
mov rax, qword [rbx + 0x108]
mov rcx, rax
mov rsi, qword [rax]
call qword [rsi + 0x10]
lea rcx, [rbx + 0x178]
mov rdx, qword [0x00784328]
mov r8d, 1
xor r9, r9
call fcn.00413ce0
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x79ed30
Capabilities:
Hide graphical window from taskbar

Disassembly:
push rbp
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x20], rcx
mov byte [rbp + 0x2f], dl
mov qword [rbp + 0x38], 0
nop
movzx rax, byte [rbp + 0x2f]
mov rcx, qword [rbp + 0x20]
cmp al, byte [rcx + 0x16b]
je 0x79ef7b
movzx rax, byte [rbp + 0x2f]
mov rcx, qword [rbp + 0x20]
mov byte [rcx + 0x16b], al
mov rax, qword [rbp + 0x20]
cmp qword [rax + 0x88], 0
je 0x79eeb4
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x88]
call fcn.006b7ab0
test al, al
je 0x79eeb4
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x88]
movzx rax, word [rax + 0x34]
test ax, 0x10
jne 0x79eeb4
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x88]
movzx rax, word [rax + 0x34]
test ax, 2
jne 0x79eeb4
movzx rax, byte [rbp + 0x2f]
test al, al
je 0x79ee1b
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x2a8]
xor rdx, rdx
xor r8, r8
call fcn.00788a20
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x88]
call fcn.006b74a0
mov rcx, rax
mov dl, 1
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x88]
movzx r8, byte [rax + 0x99]
call fcn.00788a20
jmp 0x79ee98
call sub.user32.dll_GetForegroundWindow
mov rbx, rax
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x88]
call fcn.006b74a0
cmp rbx, rax
sete bl
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x88]
call fcn.006b74a0
mov rcx, rax
xor rdx, rdx
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x88]
movzx r8, byte [rax + 0x99]
call fcn.00788a20
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x2a8]
mov dl, 1
mov r8b, 1
call fcn.00788a20
test bl, bl
je 0x79ee98
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x88]
call fcn.006b74a0
mov rcx, rax
call sub.user32.dll_SetForegroundWindow
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x88]
mov edx, 0xb033
xor r8, r8
xor r9, r9
call fcn.006aaed0
movzx rax, byte [rbp + 0x2f]
test al, al
je 0x79ef0d
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x2a8]
mov ecx, 0xffffffec
mov edx, ecx
mov rcx, rax
call sub.user32.dll_GetWindowLongPtrW
mov rcx, qword [rbp + 0x20]
mov rcx, qword [rcx + 0x2a8]
mov edx, 0xffffffec
or rax, 0x80
mov r8, rax
call sub.user32.dll_SetWindowLongPtrW
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x2a8]
xor rdx, rdx
call sub.user32.dll_SetWindowTextW
jmp 0x79ef7b
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x2a8]
mov ecx, 0xffffffec
mov edx, ecx
mov rcx, rax
call sub.user32.dll_GetWindowLongPtrW
mov rcx, qword [rbp + 0x20]
mov rcx, qword [rcx + 0x2a8]
mov edx, 0xffffffec
and rax, 0xffffffffffffff7f
mov r8, rax
call sub.user32.dll_SetWindowLongPtrW
mov rax, qword [rbp + 0x20]
mov rbx, qword [rax + 0x2a8]
lea rcx, [rbp + 0x38]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax + 0xf0]
call fcn.00410750
mov rcx, qword [rbp + 0x38]
call fcn.00411e10
mov rcx, rbx
mov rdx, rax
call sub.user32.dll_SetWindowTextW
nop
lea rcx, [rbp + 0x38]
call fcn.00410080
lea rsp, [rbp + 0x48]
pop rbx
pop rbp
ret
Function at 0x95faa0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x28], r8
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x60], rcx
mov rcx, qword [rbp + 0x60]
call fcn.00410210
nop
cmp qword [rbp + 0x60], 0
je 0x95fb7e
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x60]
call fcn.00416490
xor rsi, rsi
cmp qword [rbp + 0x38], 0
je 0x95faf1
mov rax, qword [rbp + 0x38]
mov esi, dword [rax - 4]
mov eax, esi
add eax, 4
mov rcx, qword [rbp + 0x28]
mov dword [rcx], eax
movsxd rcx, dword [rcx]
call fcn.004162b0
mov rcx, qword [rbp + 0x20]
mov qword [rcx], rax
mov rbx, qword [rcx]
mov rax, qword [rbp + 0x28]
mov rcx, rax
mov rdx, rbx
mov r8d, 4
call fcn.00408cc0
add rbx, 4
lea rcx, [rbp + 0x38]
call fcn.004109d0
mov rcx, rax
mov rdx, rbx
movsxd r8, esi
call fcn.00408cc0
xor rcx, rcx
mov r8d, esi
sub r8d, 1
cmp ecx, r8d
jg 0x95fb7c
add r8d, 1
lea r9, [0x00b93edf]
mov r10d, 0x16
mov eax, ecx
cdq
idiv r10d
movsxd rdx, edx
movzx rax, byte [r9 + rdx]
xor byte [rbx], al
add rbx, 1
add ecx, 1
cmp ecx, r8d
jne 0x95fb52
nop
nop
lea rcx, [rbp + 0x38]
call fcn.004100d0
lea rcx, [rbp + 0x60]
call fcn.00410080
lea rsp, [rbp + 0x40]
pop rbx
pop rsi
pop rbp
ret
Function at 0x9e9f50
Capabilities:
Find taskbar
Print debug messages

Disassembly:
push rbp
push rdi
push rsi
add rsp, 0xffffffffffffff80
mov rbp, rsp
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x38], 0
nop
mov rax, qword [rbp + 0x30]
mov dword [rax + 0x18], 0
mov dword [rax + 0x1c], 0
lea rcx, [rax + 0x18]
xor rdx, rdx
call fcn.0041add0
mov rax, qword [rbp + 0x30]
lea rcx, [rax + 0x18]
xor rdx, rdx
call fcn.0041adf0
lea rcx, [0x009ea0a8]
xor rdx, rdx
call sub.user32.dll_FindWindowW
test rax, rax
je 0x9ea061
mov dword [rbp + 0x50], 0x30
mov qword [rbp + 0x58], rax
mov ecx, 5
lea rdx, [rbp + 0x50]
call sub.shell32.dll_SHAppBarMessage
test eax, eax
je 0x9ea061
mov rdi, qword [rbp + 0x30]
lea rsi, [rbp + 0x50]
mov ecx, 6
rep movsq qword [rdi], qword [rsi]
mov rax, qword [rbp + 0x30]
lea rcx, [rax + 0x18]
call fcn.0041ade0
lea rcx, [rbp + 0x40]
mov edx, eax
call fcn.0047d9f0
mov rax, qword [rbp + 0x30]
lea rcx, [rax + 0x18]
call fcn.0041ae00
lea rcx, [rbp + 0x38]
mov edx, eax
call fcn.0047d9f0
lea rcx, [rbp + 0x48]
mov edx, 4
lea r8, [0x009ea0d0]
mov r9, qword [rbp + 0x40]
lea rax, [0x009ea0fc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x38]
mov qword [rsp + 0x28], rax
call fcn.00412390
mov rcx, qword [rbp + 0x48]
call fcn.00411e10
mov rcx, rax
call sub.kernel32.dll_OutputDebugStringW
nop
lea rcx, [rbp + 0x38]
mov edx, 3
call fcn.00410160
mov rax, qword [rbp + 0x30]
lea rsp, [rbp + 0x80]
pop rsi
pop rdi
pop rbp
ret