joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b0c30
Capabilities:
Read file via mapping

Disassembly:
push rbp
sub rsp, 0xd0
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x58], rbp
nop
mov byte [rbp + 0xc7], 0
call fcn.004b0b20
mov qword [rbp + 0xc8], rax
nop
cmp qword [0x00bb33e8], 0
jne 0x4b0e5a
lea rcx, [rbp + 0xa0]
lea rdx, [rbp + 0x78]
call fcn.004abcc0
call sub.kernel32.dll_GetCurrentProcessId
lea rcx, [rbp + 0x48]
mov edx, eax
mov r8d, 1
mov r9b, 0x30
call fcn.00426360
lea rcx, [rbp + 0x50]
lea rdx, [0x004b0f14]
mov r8, qword [rbp + 0x48]
call fcn.004113a0
mov rcx, qword [rbp + 0x50]
call fcn.00411760
mov ecx, 6
xor rdx, rdx
mov r8, rax
call sub.kernel32.dll_OpenFileMappingA
mov qword [rbp + 0xb8], rax
cmp qword [rbp + 0xb8], 0
sete al
mov byte [rbp + 0x77], al
cmp byte [rbp + 0x77], 0
je 0x4b0d5a
call sub.kernel32.dll_GetCurrentProcessId
lea rcx, [rbp + 0x38]
mov edx, eax
mov r8d, 1
mov r9b, 0x30
call fcn.00426360
lea rcx, [rbp + 0x40]
lea rdx, [0x004b0f14]
mov r8, qword [rbp + 0x38]
call fcn.004113a0
mov rcx, qword [rbp + 0x40]
call fcn.00411760
or rcx, 0xffffffffffffffff
lea rdx, [rbp + 0xa0]
mov r8d, 4
xor r9, r9
mov dword [rsp + 0x20], 8
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_CreateFileMappingA
mov qword [rbp + 0xb8], rax
cmp qword [rbp + 0xb8], 0
jne 0x4b0d8a
mov qword [rbp + 0x68], 0
xor rcx, rcx
lea rdx, [0x004b0f2a]
lea r8, [0x004b0f53]
xor r9, r9
call sub.user32.dll_MessageBoxA
jmp 0x4b0e3f
cmp byte [rbp + 0x77], 0
je 0x4b0e0e
mov rcx, qword [rbp + 0xb8]
mov edx, 0xf001f
xor r8, r8
xor r9, r9
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_MapViewOfFile
mov qword [rbp + 0x68], rax
xor rcx, rcx
mov edx, 0x44
mov r8d, 0x1000
mov r9d, 4
call sub.kernel32.dll_VirtualAlloc
mov rcx, qword [rbp + 0x68]
mov qword [rcx], rax
mov rax, qword [rbp + 0x68]
mov rcx, qword [rax]
mov edx, 0x44
call fcn.00422390
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xb8]
mov qword [rax + 4], rcx
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
lea rcx, [rax + 0xc]
call sub.kernel32.dll_InitializeCriticalSection
jmp 0x4b0e3f
mov rcx, qword [rbp + 0xb8]
mov edx, 0xf001f
xor r8, r8
xor r9, r9
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_MapViewOfFile
mov qword [rbp + 0x68], rax
mov rcx, qword [rbp + 0xb8]
call sub.kernel32.dll_CloseHandle
cmp qword [rbp + 0x68], 0
je 0x4b0e5a
mov rcx, qword [rbp + 0x68]
call fcn.005041a0
mov rax, qword [rbp + 0x68]
mov qword [0x00bb33e8], rax
cmp qword [0x00bb33e8], 0
je 0x4b0e78
mov rax, qword [0x00bb33e8]
mov rax, qword [rax]
add dword [rax], 1
mov byte [rbp + 0xc7], 1
nop
mov rcx, qword [rbp + 0xc8]
call fcn.004b0c10
nop
lea rcx, [rbp + 0x38]
mov edx, 4
call fcn.004105d0
movzx rax, byte [rbp + 0xc7]
lea rsp, [rbp + 0xd0]
pop rbp
ret
Function at 0x4f6470
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rdx
mov dword [rbp + 0x70], r8d
mov qword [rbp + 0x78], r9
nop
mov byte [rbp + 0x4f], 0
lea rcx, [rbp + 0x40]
call fcn.00410510
lea rcx, [0x00c517d0]
call sub.kernel32.dll_EnterCriticalSection
nop
lea rcx, [rbp + 0x40]
mov rdx, qword [rbp + 0x60]
mov r8d, dword [rbp + 0x70]
xor r9, r9
call fcn.00410830
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x68]
mov r8d, dword [rbp + 0x70]
xor r9, r9
call fcn.00410830
mov rcx, qword [rbp + 0x40]
call fcn.00410cf0
cmp eax, dword [rbp + 0x70]
jne 0x4f6611
mov rcx, qword [rbp + 0x38]
call fcn.00410cf0
cmp eax, dword [rbp + 0x70]
jne 0x4f6611
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x38]
call fcn.00411710
test eax, eax
je 0x4f6611
mov rcx, qword [rbp + 0x60]
movsxd rdx, dword [rbp + 0x70]
mov r8d, 0x40
lea r9, [rbp + 0x34]
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4f6611
mov rcx, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
movsxd r8, dword [rbp + 0x70]
call fcn.00408e20
mov rcx, qword [rbp + 0x60]
movsxd rdx, dword [rbp + 0x70]
mov r8d, dword [rbp + 0x34]
lea r9, [rbp + 0x34]
call sub.kernel32.dll_VirtualProtect
mov rcx, qword [0x00c517f8]
call fcn.00413d80
mov dword [rbp + 0x30], eax
lea rcx, [0x00c517f8]
mov rdx, qword [0x004f6430]
mov r8d, 1
mov r9d, dword [rbp + 0x30]
add r9d, 1
movsxd r9, r9d
call fcn.00414120
mov rax, qword [0x00c517f8]
movsxd rcx, dword [rbp + 0x30]
add rcx, rcx
add rcx, rcx
mov rdx, qword [rbp + 0x60]
mov qword [rax + rcx*8], rdx
mov rax, qword [0x00c517f8]
movsxd rcx, dword [rbp + 0x30]
add rcx, rcx
add rcx, rcx
lea rcx, [rax + rcx*8 + 8]
mov rdx, qword [rbp + 0x40]
call fcn.00410c20
mov rax, qword [0x00c517f8]
movsxd rcx, dword [rbp + 0x30]
add rcx, rcx
add rcx, rcx
lea rcx, [rax + rcx*8 + 0x10]
mov rdx, qword [rbp + 0x38]
call fcn.00410c20
mov rax, qword [0x00c517f8]
movsxd rcx, dword [rbp + 0x30]
add rcx, rcx
add rcx, rcx
mov rdx, qword [rbp + 0x78]
mov qword [rax + rcx*8 + 0x18], rdx
mov byte [rbp + 0x4f], 1
jmp 0x4f6611
lea rcx, [0x00c517d0]
call sub.kernel32.dll_LeaveCriticalSection
nop
lea rcx, [rbp + 0x38]
mov edx, 2
call fcn.004105d0
movzx rax, byte [rbp + 0x4f]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x5021d0
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 0x50231f
mov rcx, qword [rbp + 0x40]
call fcn.00411760
mov rcx, rax
call sub.kernel32.dll_GetModuleHandleA
mov rcx, rax
mov rdx, qword [rbp + 0x30]
xor r8, r8
call fcn.0042f690
mov rcx, qword [rbp + 0x28]
mov qword [rcx], rax
mov rax, qword [rbp + 0x20]
test rax, rax
je 0x50224a
mov rax, qword [rbp + 0x20]
cmp word [rax], 0x25ff
jne 0x50224a
mov rcx, qword [rbp + 0x20]
movsxd rax, dword [rcx + 2]
mov rbx, qword [rcx + rax + 6]
jmp 0x50224d
xor rbx, rbx
cmp byte [rbp + 0xa8], 0
jne 0x502270
xor rcx, rcx
call sub.kernel32.dll_GetModuleHandleW
cmp qword [0x00bb1e60], rax
je 0x502270
cmp byte [0x00bb1e78], 0
je 0x502292
lea rcx, [rbp + 0x48]
call fcn.004ac040
mov rcx, qword [rbp + 0x48]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
mov r8, qword [rbp + 0xa0]
call fcn.004ac5c0
jmp 0x5022ac
mov rcx, qword [0x00bb1e60]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
mov r8, qword [rbp + 0xa0]
call fcn.004ac4d0
test rbx, rbx
je 0x5022c0
mov rcx, qword [rbp + 0x20]
movsxd rax, dword [rcx + 2]
cmp rbx, qword [rcx + rax + 6]
je 0x5022c5
xor rax, rax
jmp 0x5022c7
mov al, 1
mov byte [rbp + 0x3f], al
movzx rax, byte [rbp + 0x3f]
test al, al
je 0x502325
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 0x502325
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 0x502325
xor rax, rax
mov byte [rbp + 0x3f], al
nop
lea rcx, [rbp + 0x48]
mov rdx, qword [0x004abff8]
call fcn.00414300
movzx rax, byte [rbp + 0x3f]
lea rsp, [rbp + 0x68]
pop rbx
pop rbp
ret
Function at 0x502380
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 0x502483
mov rax, qword [rbp + 0x30]
test rax, rax
je 0x5023d2
mov rax, qword [rbp + 0x30]
cmp word [rax], 0x25ff
jne 0x5023d2
mov rcx, qword [rbp + 0x30]
movsxd rax, dword [rcx + 2]
mov rbx, qword [rcx + rax + 6]
jmp 0x5023d5
xor rbx, rbx
movzx rax, byte [rbp + 0x47]
test al, al
jne 0x5023f8
xor rcx, rcx
call sub.kernel32.dll_GetModuleHandleW
cmp qword [0x00bb1e60], rax
je 0x5023f8
cmp byte [0x00bb1e78], 0
je 0x502414
lea rcx, [rbp + 0x48]
call fcn.004ac040
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x38]
mov r8, qword [rbp + 0x28]
call fcn.004ac5c0
jmp 0x502428
mov rcx, qword [0x00bb1e60]
mov rdx, qword [rbp + 0x38]
mov r8, qword [rbp + 0x28]
call fcn.004ac4d0
test rbx, rbx
je 0x502483
mov rcx, qword [rbp + 0x30]
movsxd rax, dword [rcx + 2]
cmp rbx, qword [rcx + rax + 6]
jne 0x502483
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 0x502483
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 [0x004abff8]
call fcn.00414300
lea rsp, [rbp + 0x68]
pop rbx
pop rbp
ret
Function at 0x502fe0
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 [0x004313a0]
call fcn.00413000
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.00439e10
cmp byte [rbp + 0x58], 0
je 0x5031fd
mov rcx, qword [rbp + 0x98]
call fcn.00413d90
xor rcx, rcx
mov edx, eax
mov eax, ecx
cmp eax, edx
jg 0x5031fc
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 0x5031f1
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 0x50314b
mov rcx, qword [rbx + 0x28]
mov edx, 4
mov r8d, 0x40
lea r9, [rbp + 0x54]
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x5031fc
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 0x5031fc
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 0x5031fc
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 0x5031fc
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 0x5031fc
add eax, 1
cmp eax, edx
jne 0x50307f
nop
nop
lea rcx, [rbp + 0x58]
mov rdx, qword [0x004313a0]
call fcn.004131a0
movzx rax, byte [rbp + 0x37]
lea rsp, [rbp + 0xd8]
pop rbx
pop rbp
ret
Function at 0x5ee100
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 [0x00c51960], 0
jne 0x5ee1b5
xor rcx, rcx
mov edx, 0x1000
mov r8d, 0x1000
mov r9d, 0x40
call sub.kernel32.dll_VirtualAlloc
mov rbx, rax
mov rax, qword [0x00c51958]
mov qword [rbx], rax
lea rcx, [0x00bcc048]
lea rdx, [rbx + 8]
mov r8d, 8
call fcn.00408e20
lea rax, [0x005ee0c0]
mov qword [rbx + 0x10], rax
lea rsi, [rbx + 0x18]
mov byte [rsi], 0xe8
mov rcx, rsi
lea rdx, [rbx + 8]
call fcn.005ee0f0
mov dword [rsi + 1], eax
mov rax, qword [0x00c51960]
mov qword [rsi + 5], rax
mov qword [0x00c51960], rsi
add rsi, 0x15
mov rax, rbx
neg rax
lea rax, [rsi + rax]
cmp rax, 0xfed
jl 0x5ee173
mov qword [0x00c51958], rbx
mov rax, qword [0x00c51960]
mov rsi, qword [0x00c51960]
mov rcx, qword [rsi + 5]
mov qword [0x00c51960], 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 0x65f230
Capabilities:
Encode data using xor

Disassembly:
mov r8, rcx
xor rax, rax
xor rcx, rcx
sub edx, 1
cmp ecx, edx
jg 0x65f272
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 0x65f243
nop
ret
Function at 0x793e00
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 0x794019
mov rcx, qword [0x0059ccc8]
mov dl, 1
call fcn.005ce3d0
mov rcx, qword [rbp + 0x520]
mov qword [rcx + 0x70], rax
mov rax, qword [rbp + 0x520]
lea rcx, [rax + 0x78]
call fcn.004104c0
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 0x793ff7
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.006b95f0
test al, al
je 0x793fe1
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, [0x007940a4]
lea r8, [rbp + 0x48]
xor r9, r9
call fcn.00480ad0
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 0x793fe1
nop
mov dword [rbp + 0x4f4], 0x200
mov rcx, qword [rbp + 0x508]
lea rdx, [0x00794112]
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 0x793fd4
lea rcx, [rbp + 0x40]
lea rdx, [rbp + 0xf0]
mov r8d, pe_nt_image_headers64
call fcn.00412350
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 0x793fd4
mov rax, qword [rbp + 0x520]
lea rcx, [rax + 0x78]
lea rdx, [rbp + 0xf0]
mov r8d, pe_nt_image_headers64
call fcn.00412350
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 0x793e9f
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.005ce280
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x70]
mov qword [rbp + 0x500], rax
nop
lea rcx, [rbp + 0x40]
call fcn.004104c0
mov rax, qword [rbp + 0x500]
lea rsp, [rbp + 0x510]
pop rbp
ret
Function at 0x795390
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
mov rax, qword [0x00c51f20]
cmp byte [rax + 0x131], 0
jne 0x795433
cmp qword [0x00c51f58], 0
jne 0x7953d6
call sub.kernel32.dll_GetCurrentThreadId
mov ecx, 3
mov rdx, qword [0x00bf0478]
xor r8, r8
mov r9d, eax
call sub.user32.dll_SetWindowsHookExW
mov qword [0x00c51f58], rax
cmp qword [0x00c51f50], 0
jne 0x7953f8
xor rcx, rcx
xor rdx, rdx
xor r8, r8
xor r9, r9
call sub.kernel32.dll_CreateEventW
mov qword [0x00c51f50], rax
cmp qword [0x00c51f60], 0
jne 0x795433
xor rcx, rcx
mov edx, 0x3e8
mov r8, qword [0x00bf0470]
xor r9, r9
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_CreateThread
mov qword [0x00c51f60], rax
add rsp, 0x48
ret

Function at 0x796500
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 0x7965eb
cmp dword [rbx + 0x100], 0
jne 0x7965e1
mov rax, qword [rbx + 0x2a8]
mov qword [rbp + 0x40], rax
mov byte [rbp + 0x48], dl
lea rcx, [0x007963e0]
lea rdx, [rbp + 0x40]
call sub.user32.dll_EnumWindows
mov rax, qword [rbx + 0xf8]
cmp dword [rax + 0x10], 0
je 0x7965e1
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 0x79658f
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov rax, qword [rbx + 0xf8]
mov esi, dword [rax + 0x10]
sub esi, 1
test esi, esi
jl 0x7965e0
mov rcx, qword [rbx + 0xf8]
mov edx, esi
call fcn.005c7120
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 0x7965a0
nop
lea rax, [rbx + 0x100]
add dword [rax], 1
lea rsp, [rbp + 0x50]
pop rbx
pop rsi
pop rbp
ret
Function at 0x796900
Capabilities:
Enumerate gui resources

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov esi, edx
mov rax, qword [0x00c51f20]
cmp qword [rax + 0x2a8], 0
je 0x796ac6
test sil, sil
jne 0x7969e8
cmp dword [rbx + 0x110], 0
jne 0x7969d9
mov rcx, rbx
call fcn.0079af10
lea rcx, [0x007967d0]
mov rdx, rax
call sub.user32.dll_EnumWindows
cmp qword [rbx + 0x88], 0
je 0x79699b
mov rax, qword [0x00c51f20]
cmp byte [rax + 0x16b], 0
je 0x79699b
mov rcx, qword [rbx + 0x178]
call fcn.00413d90
mov rdi, rax
test edi, edi
jl 0x79699a
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 0x79697c
nop
mov rax, qword [rbx + 0x108]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x7969d8
mov rcx, qword [rbx + 0x108]
mov edx, edi
call fcn.005c7120
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 0x7969ac
nop
lea rax, [rbx + 0x110]
add dword [rax], 1
jmp 0x796ac6
cmp dword [rbx + 0x110], 0
jle 0x796ac6
lea rax, [rbx + 0x110]
sub dword [rax], 1
cmp dword [rbx + 0x110], 0
jne 0x796ac6
cmp qword [rbx + 0x88], 0
je 0x796a5b
mov rax, qword [0x00c51f20]
cmp byte [rax + 0x16b], 0
je 0x796a5b
mov rcx, qword [rbx + 0x178]
call fcn.00413d90
mov rdi, rax
test edi, edi
jl 0x796a5a
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 0x796a39
nop
mov rax, qword [rbx + 0x108]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x796a98
mov rcx, qword [rbx + 0x108]
mov edx, edi
call fcn.005c7120
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 0x796a6c
nop
mov rax, qword [rbx + 0x108]
mov rcx, rax
mov rsi, qword [rax]
call qword [rsi + 0x10]
lea rcx, [rbx + 0x178]
mov rdx, qword [0x00780908]
mov r8d, 1
xor r9, r9
call fcn.00414120
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x79b310
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 0x79b55b
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 0x79b494
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x88]
call fcn.006afee0
test al, al
je 0x79b494
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x88]
movzx rax, word [rax + 0x34]
test ax, 0x10
jne 0x79b494
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x88]
movzx rax, word [rax + 0x34]
test ax, 2
jne 0x79b494
movzx rax, byte [rbp + 0x2f]
test al, al
je 0x79b3fb
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x2a8]
xor rdx, rdx
xor r8, r8
call fcn.00785000
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x88]
call fcn.006af8d0
mov rcx, rax
mov dl, 1
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x88]
movzx r8, byte [rax + 0x99]
call fcn.00785000
jmp 0x79b478
call sub.user32.dll_GetForegroundWindow
mov rbx, rax
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x88]
call fcn.006af8d0
cmp rbx, rax
sete bl
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x88]
call fcn.006af8d0
mov rcx, rax
xor rdx, rdx
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x88]
movzx r8, byte [rax + 0x99]
call fcn.00785000
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x2a8]
mov dl, 1
mov r8b, 1
call fcn.00785000
test bl, bl
je 0x79b478
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x88]
call fcn.006af8d0
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.006a3300
movzx rax, byte [rbp + 0x2f]
test al, al
je 0x79b4ed
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 0x79b55b
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.00410b90
mov rcx, qword [rbp + 0x38]
call fcn.00412250
mov rcx, rbx
mov rdx, rax
call sub.user32.dll_SetWindowTextW
nop
lea rcx, [rbp + 0x38]
call fcn.004104c0
lea rsp, [rbp + 0x48]
pop rbx
pop rbp
ret