joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6be5a0
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 [0x008cb5c0], 0
mov word [rbp + 0x54], 0
lea rcx, [rbp + 0x54]
call sub.user32.dll_GetKeyboardLayoutNameW
mov rcx, qword [0x00574860]
mov dl, 1
call fcn.00575f90
mov qword [rbp + 0x70], rax
nop
mov rcx, qword [rbp + 0x70]
mov rdx, 0xffffffff80000002
call fcn.00576250
lea rcx, [rbp + 0x28]
lea rdx, [rbp + 0x54]
mov r8d, 0xa
call fcn.0040f770
lea rcx, [rbp + 0x30]
lea rdx, [0x006be7c0]
mov r8, qword [rbp + 0x28]
call fcn.0040fad0
mov rcx, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x30]
call fcn.00576660
test al, al
je 0x6be6dc
mov rcx, qword [rbp + 0x70]
lea rdx, [rbp + 0x68]
lea r8, [0x006be834]
call fcn.00577360
mov rcx, qword [rbp + 0x68]
mov edx, 0x8000
call fcn.00441a60
mov qword [rbp + 0x78], rax
cmp qword [rbp + 0x78], 0
je 0x6be6dc
nop
mov rcx, qword [rbp + 0x78]
lea rdx, [0x006be84c]
call fcn.0041ad90
mov qword [rbp + 0x40], rax
cmp qword [rbp + 0x40], 0
je 0x6be6d2
call qword [rbp + 0x40]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x6be6d2
mov rcx, qword [rbp + 0x90]
call fcn.006be510
test eax, eax
je 0x6be6b6
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x50]
mov dword [rbp + 0x50], eax
jmp 0x6be6c0
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 [0x008cb5c0], al
nop
mov rcx, qword [rbp + 0x78]
call sub.kernel32.dll_FreeLibrary_2
nop
mov rcx, qword [rbp + 0x70]
call fcn.0040adb0
nop
lea rcx, [rbp + 0x28]
mov edx, 2
call fcn.0040e140
lea rcx, [rbp + 0x68]
call fcn.0040e060
lea rsp, [rbp + 0x80]
pop rbp
ret

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

Function at 0x6d1150
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
movzx rbx, word [0x006d11b8]
mov eax, ecx
test ax, 4
je 0x6d116a
or bx, 1
mov eax, ecx
test ax, 8
je 0x6d1177
or bx, 4
mov eax, ecx
test ax, 1
je 0x6d1184
or bx, 8
mov eax, ecx
test ax, 2
je 0x6d1191
or bx, 0x10
test cx, 0x10
je 0x6d119c
or bx, 0x20
mov ecx, 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x6d11b0
or bx, 2
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x6d11c0
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov ebx, ecx
movzx rsi, word [0x006d1210]
mov ecx, 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x6d11e4
or si, 1
mov ecx, 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x6d11f8
or si, 4
test ebx, 0x20000000
je 0x6d1204
or si, 2
mov eax, esi
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x6df8e0
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 0x6dfaf9
mov rcx, qword [0x004da8c8]
mov dl, 1
call fcn.0050ac50
mov rcx, qword [rbp + 0x520]
mov qword [rcx + 0x70], rax
mov rax, qword [rbp + 0x520]
lea rcx, [rax + 0x78]
call fcn.0040e060
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 0x6dfad7
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.005dfbb0
test al, al
je 0x6dfac1
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, [0x006dfb84]
lea r8, [rbp + 0x48]
xor r9, r9
call fcn.00434820
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 0x6dfac1
nop
mov dword [rbp + 0x4f4], 0x200
mov rcx, qword [rbp + 0x508]
lea rdx, [0x006dfbf2]
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 0x6dfab4
lea rcx, [rbp + 0x40]
lea rdx, [rbp + 0xf0]
mov r8d, pe_nt_image_headers64
call fcn.0040f770
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 0x6dfab4
mov rax, qword [rbp + 0x520]
lea rcx, [rax + 0x78]
lea rdx, [rbp + 0xf0]
mov r8d, pe_nt_image_headers64
call fcn.0040f770
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 0x6df97f
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.0050ab00
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x70]
mov qword [rbp + 0x500], rax
nop
lea rcx, [rbp + 0x40]
call fcn.0040e060
mov rax, qword [rbp + 0x500]
lea rsp, [rbp + 0x510]
pop rbp
ret
Function at 0x6e0e70
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
mov rax, qword [0x008f3ba8]
cmp byte [rax + 0x131], 0
jne 0x6e0f13
cmp qword [0x008f3be0], 0
jne 0x6e0eb6
call sub.kernel32.dll_GetCurrentThreadId_1
mov ecx, 3
mov rdx, qword [0x008cd7d0]
xor r8, r8
mov r9d, eax
call sub.user32.dll_SetWindowsHookExW
mov qword [0x008f3be0], rax
cmp qword [0x008f3bd8], 0
jne 0x6e0ed8
xor rcx, rcx
xor rdx, rdx
xor r8, r8
xor r9, r9
call sub.kernel32.dll_CreateEventW
mov qword [0x008f3bd8], rax
cmp qword [0x008f3be8], 0
jne 0x6e0f13
xor rcx, rcx
mov edx, 0x3e8
mov r8, qword [0x008cd7c8]
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 [0x008f3be8], rax
add rsp, 0x48
ret

Function at 0x6e1fe0
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 0x6e20cb
cmp dword [rbx + 0x100], 0
jne 0x6e20c1
mov rax, qword [rbx + 0x2a8]
mov qword [rbp + 0x40], rax
mov byte [rbp + 0x48], dl
lea rcx, [0x006e1ec0]
lea rdx, [rbp + 0x40]
call sub.user32.dll_EnumWindows
mov rax, qword [rbx + 0xf8]
cmp dword [rax + 0x10], 0
je 0x6e20c1
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 0x6e206f
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov rax, qword [rbx + 0xf8]
mov esi, dword [rax + 0x10]
sub esi, 1
test esi, esi
jl 0x6e20c0
mov rcx, qword [rbx + 0xf8]
mov edx, esi
call fcn.00503990
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 0x6e2080
nop
lea rax, [rbx + 0x100]
add dword [rax], 1
lea rsp, [rbp + 0x50]
pop rbx
pop rsi
pop rbp
ret
Function at 0x6e23e0
Capabilities:
Enumerate gui resources

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov esi, edx
mov rax, qword [0x008f3ba8]
cmp qword [rax + 0x2a8], 0
je 0x6e25a6
test sil, sil
jne 0x6e24c8
cmp dword [rbx + 0x110], 0
jne 0x6e24b9
mov rcx, rbx
call fcn.006e69e0
lea rcx, [0x006e22b0]
mov rdx, rax
call sub.user32.dll_EnumWindows
cmp qword [rbx + 0x88], 0
je 0x6e247b
mov rax, qword [0x008f3ba8]
cmp byte [rax + 0x16b], 0
je 0x6e247b
mov rcx, qword [rbx + 0x178]
call fcn.00410fc0
mov rdi, rax
test edi, edi
jl 0x6e247a
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 0x6e245c
nop
mov rax, qword [rbx + 0x108]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x6e24b8
mov rcx, qword [rbx + 0x108]
mov edx, edi
call fcn.00503990
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 0x6e248c
nop
lea rax, [rbx + 0x110]
add dword [rax], 1
jmp 0x6e25a6
cmp dword [rbx + 0x110], 0
jle 0x6e25a6
lea rax, [rbx + 0x110]
sub dword [rax], 1
cmp dword [rbx + 0x110], 0
jne 0x6e25a6
cmp qword [rbx + 0x88], 0
je 0x6e253b
mov rax, qword [0x008f3ba8]
cmp byte [rax + 0x16b], 0
je 0x6e253b
mov rcx, qword [rbx + 0x178]
call fcn.00410fc0
mov rdi, rax
test edi, edi
jl 0x6e253a
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 0x6e2519
nop
mov rax, qword [rbx + 0x108]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x6e2578
mov rcx, qword [rbx + 0x108]
mov edx, edi
call fcn.00503990
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 0x6e254c
nop
mov rax, qword [rbx + 0x108]
mov rcx, rax
mov rsi, qword [rax]
call qword [rsi + 0x10]
lea rcx, [rbx + 0x178]
mov rdx, qword [0x006cc3f8]
mov r8d, 1
xor r9, r9
call fcn.00411350
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x6e37a0
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 + 0x130], 0
je 0x6e380e
cmp byte [rbx + 0x16b], 0
jne 0x6e380e
mov rcx, qword [rbx + 0x2a8]
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.0040e320
mov rax, qword [rsi]
xor rcx, rcx
test rax, rax
je 0x6e37f9
mov ecx, dword [rax - 4]
test ecx, ecx
jne 0x6e381d
mov rcx, rsi
mov rdx, qword [rbx + 0xf0]
call fcn.0040e6b0
jmp 0x6e381d
mov rcx, rsi
mov rdx, qword [rbx + 0xf0]
call fcn.0040e6b0
mov rax, rsi
lea rsp, [rbp + 0x220]
pop rbx
pop rsi
pop rbp
ret
Function at 0x6e6de0
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 0x6e702b
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 0x6e6f64
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x88]
call fcn.005d6430
test al, al
je 0x6e6f64
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x88]
movzx rax, word [rax + 0x34]
test ax, 0x10
jne 0x6e6f64
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x88]
movzx rax, word [rax + 0x34]
test ax, 2
jne 0x6e6f64
movzx rax, byte [rbp + 0x2f]
test al, al
je 0x6e6ecb
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x2a8]
xor rdx, rdx
xor r8, r8
call fcn.006d0af0
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x88]
call fcn.005d5e20
mov rcx, rax
mov dl, 1
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x88]
movzx r8, byte [rax + 0x99]
call fcn.006d0af0
jmp 0x6e6f48
call sub.user32.dll_GetForegroundWindow
mov rbx, rax
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x88]
call fcn.005d5e20
cmp rbx, rax
sete bl
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x88]
call fcn.005d5e20
mov rcx, rax
xor rdx, rdx
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x88]
movzx r8, byte [rax + 0x99]
call fcn.006d0af0
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x2a8]
mov dl, 1
mov r8b, 1
call fcn.006d0af0
test bl, bl
je 0x6e6f48
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x88]
call fcn.005d5e20
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.005c9850
movzx rax, byte [rbp + 0x2f]
test al, al
je 0x6e6fbd
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 0x6e702b
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.0040e730
mov rcx, qword [rbp + 0x38]
call fcn.0040f670
mov rcx, rbx
mov rdx, rax
call sub.user32.dll_SetWindowTextW
nop
lea rcx, [rbp + 0x38]
call fcn.0040e060
lea rsp, [rbp + 0x48]
pop rbx
pop rbp
ret
Function at 0x6ef880
Capabilities:
Hide graphical window

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rbx, rcx
cmp qword [rbx + 0xc0], 0
jne 0x6ef936
mov rcx, qword [rbx + 0x10]
call fcn.005d5e20
mov rcx, qword [0x005f33a0]
mov dl, 1
mov r8, rax
call fcn.005cca80
mov qword [rbx + 0xc0], rax
mov rsi, qword [rbx + 0xc0]
mov rcx, rsi
xor rdx, rdx
call fcn.00606f60
lea rax, [rsi + 0x498]
mov qword [rax + 8], rbx
lea rcx, [0x006eeef0]
mov qword [rax], rcx
mov rcx, qword [rbx + 0xc0]
call fcn.005d5e20
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.005d5e20
mov rcx, rax
xor rdx, rdx
call sub.user32.dll_ShowWindow
cmp qword [rbx + 0xe0], 0
jne 0x6ef9e1
mov rcx, qword [rbx + 0x10]
call fcn.005d5e20
mov rcx, qword [0x005f33a0]
mov dl, 1
mov r8, rax
call fcn.005cca80
mov qword [rbx + 0xe0], rax
mov rsi, qword [rbx + 0xe0]
mov rcx, rsi
mov dl, 1
call fcn.00606f60
lea rax, [rsi + 0x498]
mov qword [rax + 8], rbx
lea rcx, [0x006eef50]
mov qword [rax], rcx
mov rcx, qword [rbx + 0xe0]
call fcn.005d5e20
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.005d5e20
mov rcx, rax
xor rdx, rdx
call sub.user32.dll_ShowWindow
cmp qword [rbx + 0xd0], 0
jne 0x6efa7d
mov rcx, qword [rbx + 0x10]
call fcn.005d5e20
mov rcx, qword [0x005f4360]
mov dl, 1
mov r8, rax
call fcn.005cca80
mov qword [rbx + 0xd0], rax
mov rax, qword [rbx + 0xd0]
mov byte [rax + 0x468], 1
mov rcx, qword [rbx + 0xd0]
call fcn.005d5e20
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.005d5e20
mov rcx, rax
xor rdx, rdx
call sub.user32.dll_ShowWindow
add rsp, 0x40
pop rbx
pop rsi
pop rdi
ret
Function at 0x7d7e80
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x24], 0xca
jne 0x7d7ecf
mov rcx, qword [rsp + 0x40]
call fcn.007d8c90
mov r11, qword [rsp + 0x40]
cmp dword [r11 + 0x58], 0
je 0x7d7ec3
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x24], 0xcf
mov eax, 1
jmp 0x7d8019
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x24], 0xcb
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x24], 0xcb
jne 0x7d7fd0
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x240]
cmp dword [rax + 0x20], 0
je 0x7d7fb8
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x10], 0
je 0x7d7f13
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
call qword [rax]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x240]
mov rcx, qword [rsp + 0x40]
call qword [rax]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x7d7f38
xor eax, eax
jmp 0x7d8019
cmp dword [rsp + 0x20], 2
jne 0x7d7f41
jmp 0x7d7fb8
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x10], 0
je 0x7d7fb3
cmp dword [rsp + 0x20], 3
je 0x7d7f5b
cmp dword [rsp + 0x20], 1
jne 0x7d7fb3
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov ecx, dword [rax + 8]
add ecx, 1
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov dword [rax + 8], ecx
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0xc]
cmp dword [rcx + 8], eax
jl 0x7d7fb3
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov ecx, dword [rax + 0xc]
mov rax, qword [rsp + 0x40]
add ecx, dword [rax + 0x1a4]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov dword [rax + 0xc], ecx
jmp 0x7d7ef7
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xac]
mov dword [rcx + 0xb4], eax
jmp 0x7d800f
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x24], 0xcc
je 0x7d800f
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov dword [rax + 0x28], 0x14
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x24]
mov dword [rcx + 0x2c], eax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [rax]
mov rcx, qword [rsp + 0x40]
call fcn.007d8030
add rsp, 0x38
ret
Function at 0x7d8030
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x24], 0xcc
je 0x7d8076
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x220]
mov rcx, qword [rsp + 0x40]
call qword [rax]
mov r11, qword [rsp + 0x40]
mov dword [r11 + 0xa8], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x24], 0xcc
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x220]
cmp dword [rax + 0x10], 0
je 0x7d817d
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x8c]
cmp dword [rcx + 0xa8], eax
jae 0x7d8141
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x10], 0
je 0x7d80f2
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xa8]
mov dword [rcx + 8], eax
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x8c]
mov dword [rcx + 0xc], eax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
call qword [rax]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xa8]
mov dword [rsp + 0x20], eax
mov r8, qword [rsp + 0x40]
add r8, 0xa8
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x228]
xor r9d, r9d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [rax + 8]
mov r11, qword [rsp + 0x40]
mov eax, dword [rsp + 0x20]
cmp dword [r11 + 0xa8], eax
jne 0x7d813c
xor eax, eax
jmp 0x7d81ab
jmp 0x7d808c
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x220]
mov rcx, qword [rsp + 0x40]
call qword [rax + 8]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x220]
mov rcx, qword [rsp + 0x40]
call qword [rax]
mov r11, qword [rsp + 0x40]
mov dword [r11 + 0xa8], 0
jmp 0x7d8076
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x5c], 0
je 0x7d8192
mov dword [rsp + 0x24], 0xce
jmp 0x7d819a
mov dword [rsp + 0x24], 0xcd
mov rcx, qword [rsp + 0x40]
mov eax, dword [rsp + 0x24]
mov dword [rcx + 0x24], eax
mov eax, 1
add rsp, 0x38
ret
Function at 0x800240
Capabilities:
Hash data with crc32

Disassembly:
xor rcx, rcx
mov eax, ecx
xor rdx, rdx
mov r8d, eax
and r8d, 1
test r8b, r8b
je 0x80025f
shr eax, 1
xor eax, 0xedb88320
jmp 0x800262
shr eax, 1
add edx, 1
cmp edx, 8
jne 0x800248
nop
lea rdx, [0x008f48a0]
movsxd r8, ecx
mov dword [rdx + r8*4], eax
add ecx, 1
cmp ecx, 0x100
jne 0x800243
nop
mov byte [0x008f4ca0], 1
ret

Function at 0x800290
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rdx
mov esi, r8d
mov edi, ecx
cmp byte [0x008f4ca0], 0
jne 0x8002ad
call fcn.00800240
xor rax, rax
mov ecx, esi
sub ecx, 1
cmp eax, ecx
jg 0x8002ed
add ecx, 1
lea rdx, [0x008f48a0]
movsxd r8, eax
movzx r8, byte [rbx + r8]
mov r9d, edi
xor r9d, r8d
and r9d, 0xff
mov r9d, r9d
shr edi, 8
mov edx, dword [rdx + r9*4]
xor edx, edi
mov edi, edx
add eax, 1
cmp eax, ecx
jne 0x8002bc
nop
mov eax, edi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x862880
Capabilities:
Create process on windows

Disassembly:
push rbp
sub rsp, 0x60
mov rbp, rsp
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x40], 0
nop
lea rcx, [rbp + 0x50]
mov rax, qword [0x008e96c8]
mov rdx, qword [rax]
call fcn.007af810
lea rcx, [rbp + 0x48]
lea rdx, [0x00862994]
lea r8, [0x008629a4]
call fcn.007b65a0
lea rcx, [rbp + 0x40]
lea rdx, [0x008629c8]
call fcn.007af810
lea rcx, [rbp + 0x58]
mov edx, 5
mov r8, qword [rbp + 0x50]
mov r9, qword [rbp + 0x48]
lea rax, [0x008629b8]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x008629e4]
mov qword [rsp + 0x30], rax
call fcn.0040fbf0
mov rcx, qword [rbp + 0x58]
call fcn.0040f670
xor rcx, rcx
xor rdx, rdx
mov r8, rax
xor r9, r9
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 1
call sub.shell32.dll_ShellExecuteW
nop
lea rcx, [rbp + 0x40]
mov edx, 4
call fcn.0040e140
lea rsp, [rbp + 0x60]
pop rbp
ret
Function at 0x1400010ff
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
mov r9, rcx
mov rbx, r8
mov ebp, edx
mov ecx, dword [rax + rcx + 0x88]
test ecx, ecx
je 0x14000119a
cmp dword [rax + r9 + 0x8c], 0
je 0x14000119a
lea rax, [r9 + rcx]
mov r11d, dword [rax + 0x18]
test r11d, r11d
je 0x14000119a
mov ecx, dword [rax + 0x20]
xor r8d, r8d
mov edi, dword [rax + 0x1c]
add rcx, r9
mov esi, dword [rax + 0x24]
add rdi, r9
add rsi, r9
test r11d, r11d
je 0x14000119a
mov r10d, dword [rcx]
add r10, r9
mov r14, r10
xor edx, edx
mov al, byte [r10]
jmp 0x140001182
imul edx, edx, 0x83
movsx eax, al
add edx, eax
inc r14
mov al, byte [r14]
test al, al
jne 0x140001171
btr edx, 0x1f
cmp edx, ebp
je 0x1400011b7
inc r8d
add rcx, 4
cmp r8d, r11d
jb 0x140001161
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
test rbx, rbx
jne 0x1400011c9
movzx ecx, word [rsi + r8*2]
mov eax, dword [rdi + rcx*4]
add rax, r9
jmp 0x14000119c
mov rdx, r10
mov rcx, r9
call rbx
jmp 0x14000119c

Function at 0x1400012d4
Capabilities:
Encode data using xor

Disassembly:
mov ecx, ebx
call fcn.1400010ff
xor ecx, ecx
lea r12, [0x1400013a3]
mov edx, dword [r12 + 8]
mov r8d, 0x3000
mov rdi, rax
lea r9d, [rcx + 0x40]
call rsi
mov r8d, dword [r12 + 8]
lea rdx, [r12 + 0xc]
mov rcx, rax
mov rsi, rax
call rdi
mov rdx, qword [r12]
mov rax, rdx
mov byte [rbp + 0x38], dl
shr rax, 0x18
mov rcx, rdx
mov byte [rbp + 0x3b], al
mov rax, rdx
shr rax, 0x20
mov byte [rbp + 0x3c], al
mov rax, rdx
shr rax, 0x28
shr rcx, 8
mov byte [rbp + 0x3d], al
mov rax, rdx
mov byte [rbp + 0x39], cl
mov rcx, rdx
shr rax, 0x30
shr rcx, 0x10
shr rdx, 0x38
mov byte [rbp + 0x3a], cl
mov byte [rbp + 0x3e], al
mov byte [rbp + 0x3f], dl
cmp dword [r12 + 8], r14d
jbe 0x14000137b
mov edx, dword [r12 + 8]
mov rcx, rsi
mov rax, r14
inc r14
and eax, 7
mov al, byte [rbp + rax + 0x38]
xor byte [rcx], al
inc rcx
sub rdx, 1
jne 0x140001363
call rsi
xor edx, edx
invalid