joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10025d020
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov ebx, ecx
movzx rsi, word [0x10025d06c]
mov ecx, 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x10025d043
or si, 1
mov ecx, 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x10025d056
or si, 4
test ebx, 0x20000000
je 0x10025d062
or si, 2
mov eax, esi
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x100272f10
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 0x10027311d
mov rcx, qword [0x1000d5380]
mov dl, 1
call fcn.100114620
mov rcx, qword [rbp + 0x520]
mov qword [rcx + 0x80], rax
mov rax, qword [rbp + 0x520]
lea rcx, [rax + 0x88]
call fcn.100010170
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 0x100273100
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.1002d6fb0
test al, al
je 0x1002730e7
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, [0x100273188]
lea r8, [rbp + 0x48]
xor r9, r9
call fcn.1000378d0
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 0x1002730e7
nop
mov dword [rbp + 0x4f4], 0x200
mov rcx, qword [rbp + 0x508]
lea rdx, [0x1002731f6]
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 0x1002730da
lea rcx, [rbp + 0x40]
lea rdx, [rbp + 0xf0]
mov r8d, pe_nt_image_headers64
call fcn.1000115d0
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 0x1002730da
mov rax, qword [rbp + 0x520]
lea rcx, [rax + 0x88]
lea rdx, [rbp + 0xf0]
mov r8d, pe_nt_image_headers64
call fcn.1000115d0
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 0x100272fc3
nop
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x80]
mov byte [rax + 0x49], 0
mov rcx, rax
mov dl, 1
call fcn.1001144b0
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x80]
mov qword [rbp + 0x500], rax
nop
lea rcx, [rbp + 0x40]
call fcn.100010170
mov rax, qword [rbp + 0x500]
lea rsp, [rbp + 0x510]
pop rbp
ret
Function at 0x100274490
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
mov rax, qword [0x10033dc60]
cmp byte [rax + 0x159], 0
jne 0x10027452e
cmp qword [0x10033dc98], 0
jne 0x1002744d5
call sub.kernel32.dll_GetCurrentThreadId
mov ecx, 3
mov rdx, qword [0x100327970]
xor r8, r8
mov r9d, eax
call sub.user32.dll_SetWindowsHookExW
mov qword [0x10033dc98], rax
cmp qword [0x10033dc90], 0
jne 0x1002744f5
xor ecx, ecx
xor edx, edx
xor r8, r8
xor r9, r9
call sub.kernel32.dll_CreateEventW
mov qword [0x10033dc90], rax
cmp qword [0x10033dca0], 0
jne 0x10027452e
xor ecx, ecx
mov edx, 0x3e8
mov r8, qword [0x100327968]
xor r9, r9
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_CreateThread
mov qword [0x10033dca0], rax
add rsp, 0x48
ret

Function at 0x1002756d0
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 0x1002757ad
cmp dword [rbx + 0x128], 0
jne 0x1002757a6
mov qword [rbp + 0x40], rax
mov byte [rbp + 0x48], dl
lea rcx, [0x1002755d0]
lea rdx, [rbp + 0x40]
call sub.user32.dll_EnumWindows
mov rax, qword [rbx + 0x120]
cmp qword [rax + 0x10], 0
je 0x1002757a6
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 0x100275753
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov rax, qword [rbx + 0x120]
mov esi, dword [rax + 0x10]
sub esi, 1
test esi, esi
jl 0x1002757a5
mov rcx, qword [rbx + 0x120]
movsxd rdx, esi
call fcn.10010c6a0
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 0x100275764
nop
add dword [rbx + 0x128], 1
lea rsp, [rbp + 0x50]
pop rbx
pop rsi
pop rbp
ret
Function at 0x100275c20
Capabilities:
Enumerate gui resources

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov esi, edx
mov rax, qword [0x10033dc60]
cmp qword [rax + 0x2e0], 0
je 0x100275ddc
test sil, sil
jne 0x100275d08
cmp dword [rbx + 0x138], 0
jne 0x100275cfc
mov rcx, rbx
call fcn.10027a450
lea rcx, [0x100275ae0]
mov rdx, rax
call sub.user32.dll_EnumWindows
cmp qword [rbx + 0xa8], 0
je 0x100275cbf
mov rax, qword [0x10033dc60]
cmp byte [rax + 0x193], 0
je 0x100275cbf
mov rax, qword [rbx + 0x1a0]
test rax, rax
je 0x100275c99
mov rax, qword [rax - 8]
lea rdi, [rax - 1]
test edi, edi
jl 0x100275cbe
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 0x100275ca1
nop
mov rax, qword [rbx + 0x130]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x100275cfb
mov rcx, qword [rbx + 0x130]
movsxd rdx, edi
call fcn.10010c6a0
mov rcx, rax
test sil, sil
setne al
movzx rdx, al
neg edx
call sub.user32.dll_ShowOwnedPopups
sub edi, 1
cmp edi, 0xffffffff
jne 0x100275cd0
nop
add dword [rbx + 0x138], 1
jmp 0x100275ddc
cmp dword [rbx + 0x138], 0
jle 0x100275ddc
sub dword [rbx + 0x138], 1
cmp dword [rbx + 0x138], 0
jne 0x100275ddc
cmp qword [rbx + 0xa8], 0
je 0x100275d7c
mov rax, qword [0x10033dc60]
cmp byte [rax + 0x193], 0
je 0x100275d7c
mov rax, qword [rbx + 0x1a0]
test rax, rax
je 0x100275d53
mov rax, qword [rax - 8]
lea rdi, [rax - 1]
test edi, edi
jl 0x100275d7b
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 0x100275d5b
nop
mov rax, qword [rbx + 0x130]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x100275db8
mov rcx, qword [rbx + 0x130]
movsxd rdx, edi
call fcn.10010c6a0
mov rcx, rax
test sil, sil
setne al
movzx rdx, al
neg edx
call sub.user32.dll_ShowOwnedPopups
sub edi, 1
cmp edi, 0xffffffff
jne 0x100275d8d
nop
mov rax, qword [rbx + 0x130]
mov rcx, rax
mov rsi, qword [rax]
call qword [rsi + 0x10]
lea rcx, [rbx + 0x1a0]
mov rdx, qword [0x100257ab0]
call fcn.100014940
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x100277110
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 0x10027717c
cmp byte [rbx + 0x193], 0
jne 0x10027717c
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.100010470
xor eax, eax
mov rcx, qword [rsi]
test rcx, rcx
je 0x100277167
mov eax, dword [rcx - 4]
test eax, eax
jne 0x10027718b
mov rcx, rsi
mov rdx, qword [rbx + 0x118]
call fcn.100010800
jmp 0x10027718b
mov rcx, rsi
mov rdx, qword [rbx + 0x118]
call fcn.100010800
mov rax, rsi
lea rsp, [rbp + 0x220]
pop rbx
pop rsi
pop rbp
ret
Function at 0x10027a840
Capabilities:
Hide graphical window from taskbar

Disassembly:
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov esi, edx
cmp sil, byte [rbx + 0x193]
je 0x10027aa80
mov byte [rbx + 0x193], sil
mov rax, qword [rbx + 0xa8]
test rax, rax
je 0x10027a9ea
mov rcx, rax
call fcn.1002cdb30
test al, al
je 0x10027a9ea
mov rax, qword [rbx + 0xa8]
movzx rax, word [rax + 0x34]
test ax, 0x10
jne 0x10027a9ea
mov rax, qword [rbx + 0xa8]
movzx rax, word [rax + 0x34]
test ax, 2
jne 0x10027a9ea
test sil, sil
je 0x10027a8ee
mov rcx, qword [rbx + 0x2e0]
xor edx, edx
xor r8, r8
call fcn.10025c9a0
mov rcx, qword [rbx + 0xa8]
call fcn.1002cd4c0
mov rcx, rax
mov dl, 1
mov rax, qword [rbx + 0xa8]
movzx r8, byte [rax + 0xa9]
call fcn.10025c9a0
jmp 0x10027a958
call sub.user32.dll_GetForegroundWindow
mov rdi, rax
mov rcx, qword [rbx + 0xa8]
call fcn.1002cd4c0
cmp rdi, rax
sete dil
mov rcx, qword [rbx + 0xa8]
call fcn.1002cd4c0
mov rcx, rax
xor edx, edx
mov rax, qword [rbx + 0xa8]
movzx r8, byte [rax + 0xa9]
call fcn.10025c9a0
mov rcx, qword [rbx + 0x2e0]
mov dl, 1
mov r8b, 1
call fcn.10025c9a0
test dil, dil
je 0x10027a958
mov rcx, qword [rbx + 0xa8]
call fcn.1002cd4c0
mov rcx, rax
call sub.user32.dll_SetForegroundWindow
mov rcx, qword [rbx + 0xa8]
mov edx, 0xb033
xor r8, r8
xor r9, r9
call fcn.1002c0630
mov rax, qword [rbx + 0xa8]
mov byte [rax + 0x711], sil
mov rcx, qword [0x10033dc68]
call fcn.100272b00
xor ecx, ecx
mov r14d, eax
sub r14d, 1
mov edi, ecx
cmp edi, r14d
jg 0x10027a9e9
sub r14d, ecx
add r14d, 1
mov rcx, qword [0x10033dc68]
mov edx, edi
call fcn.100272ae0
mov r13, rax
cmp r13, qword [rbx + 0xa8]
je 0x10027a9dd
cmp byte [r13 + 0x711], 0
je 0x10027a9dd
mov rcx, r13
mov rax, qword [r13]
call qword [rax + 0x2f0]
test al, al
je 0x10027a9dd
mov rcx, r13
call fcn.1002c7110
add edi, 1
sub r14d, 1
test r14d, r14d
jne 0x10027a9a0
nop
test sil, sil
je 0x10027aa2f
mov rcx, qword [rbx + 0x2e0]
mov rax, rcx
mov rsi, rcx
mov rcx, rax
mov edx, 0xffffffec
call sub.user32.dll_GetWindowLongPtrW
or rax, 0x80
mov rcx, rsi
mov edx, 0xffffffec
mov r8, rax
call sub.user32.dll_SetWindowLongPtrW
mov rcx, qword [rbx + 0x2e0]
xor edx, edx
call sub.user32.dll_SetWindowTextW
jmp 0x10027aa80
mov rcx, qword [rbx + 0x2e0]
mov rax, rcx
mov rsi, rcx
mov rcx, rax
mov edx, 0xffffffec
call sub.user32.dll_GetWindowLongPtrW
and rax, 0xffffffffffffff7f
mov rcx, rsi
mov edx, 0xffffffec
mov r8, rax
call sub.user32.dll_SetWindowLongPtrW
mov rsi, qword [rbx + 0x2e0]
mov rax, qword [rbx + 0x118]
mov rcx, rax
call fcn.100011510
mov rcx, rsi
mov rdx, rax
call sub.user32.dll_SetWindowTextW
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop r13
pop r14
ret
Function at 0x100285990
Capabilities:
Hide graphical window

Disassembly:
push r13
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
cmp qword [rbx + 0xd8], 0
jne 0x100285a4b
mov rcx, qword [rbx + 0x10]
call fcn.1002cd4c0
mov rcx, qword [0x1001c92c0]
mov dl, 1
mov r8, rax
call fcn.1002c3de0
mov qword [rbx + 0xd8], rax
mov rsi, qword [rbx + 0xd8]
mov rcx, rsi
xor edx, edx
call fcn.1001d2f10
mov qword [rsi + 0x508], rbx
lea rax, [0x100285010]
mov qword [rsi + 0x500], rax
mov rcx, qword [rbx + 0xd8]
call fcn.1002cd4c0
mov rdi, rax
mov rcx, rsi
mov edx, 3
mov rax, qword [rsi]
call qword [rax + 0x1d0]
mov rcx, rdi
xor edx, edx
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 + 0xd8]
call fcn.1002cd4c0
mov rcx, rax
xor edx, edx
call sub.user32.dll_ShowWindow
cmp qword [rbx + 0xf8], 0
jne 0x100285afa
mov rcx, qword [rbx + 0x10]
call fcn.1002cd4c0
mov rcx, qword [0x1001c92c0]
mov dl, 1
mov r8, rax
call fcn.1002c3de0
mov qword [rbx + 0xf8], rax
mov rsi, qword [rbx + 0xf8]
mov rcx, rsi
mov dl, 1
call fcn.1001d2f10
mov qword [rsi + 0x508], rbx
lea rax, [0x100285070]
mov qword [rsi + 0x500], rax
mov rcx, qword [rbx + 0xf8]
call fcn.1002cd4c0
mov rdi, rax
mov rcx, rsi
mov edx, 2
mov rax, qword [rsi]
call qword [rax + 0x1d0]
mov rcx, rdi
xor edx, edx
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 + 0xf8]
call fcn.1002cd4c0
mov rcx, rax
xor edx, edx
call sub.user32.dll_ShowWindow
cmp qword [rbx + 0xe8], 0
jne 0x100285ba2
mov rcx, qword [rbx + 0x10]
call fcn.1002cd4c0
mov rcx, qword [0x1001ca3e8]
mov dl, 1
mov r8, rax
call fcn.1002c3de0
mov qword [rbx + 0xe8], rax
mov rsi, qword [rbx + 0xe8]
mov byte [rsi + 0x4d0], 1
mov rcx, qword [rbx + 0xe8]
call fcn.1002cd4c0
mov rdi, rax
mov rcx, rsi
mov edx, 2
mov rax, qword [rsi]
call qword [rax + 0x1d0]
mov r13d, eax
mov rcx, rsi
mov edx, 3
mov rax, qword [rsi]
call qword [rax + 0x1d0]
mov rcx, rdi
xor edx, edx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x30], 8
call sub.user32.dll_SetWindowPos
mov rcx, qword [rbx + 0xe8]
call fcn.1002cd4c0
mov rcx, rax
xor edx, edx
call sub.user32.dll_ShowWindow
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop r13
ret
Function at 0x1002a04c0
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 [0x10032a880], 0
mov word [rbp + 0x54], 0
lea rcx, [rbp + 0x54]
call sub.user32.dll_GetKeyboardLayoutNameW
mov rcx, qword [0x10015f4a0]
mov dl, 1
call fcn.100160e40
mov qword [rbp + 0x70], rax
nop
mov rcx, qword [rbp + 0x70]
mov rdx, 0xffffffff80000002
call fcn.1001610f0
lea rcx, [rbp + 0x28]
lea rdx, [rbp + 0x54]
mov r8d, 0xa
call fcn.1000115d0
lea rcx, [rbp + 0x30]
lea rdx, [0x1002a06a8]
mov r8, qword [rbp + 0x28]
call fcn.100011900
mov rcx, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x30]
call fcn.1001614e0
test al, al
je 0x1002a05fa
mov rcx, qword [rbp + 0x70]
lea rdx, [rbp + 0x68]
lea r8, [0x1002a071c]
call fcn.1001622a0
mov rcx, qword [rbp + 0x68]
mov edx, 0x8000
call fcn.100046760
mov qword [rbp + 0x78], rax
cmp qword [rbp + 0x78], 0
je 0x1002a05fa
nop
mov rcx, qword [rbp + 0x78]
lea rdx, [0x1002a0734]
call fcn.1000215d0
mov qword [rbp + 0x40], rax
cmp qword [rbp + 0x40], 0
je 0x1002a05f0
call qword [rbp + 0x40]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x1002a05f0
mov rcx, qword [rbp + 0x90]
call fcn.1002a0430
test eax, eax
je 0x1002a05d4
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x50]
mov dword [rbp + 0x50], eax
jmp 0x1002a05de
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 [0x10032a880], al
nop
mov rcx, qword [rbp + 0x78]
call sub.kernel32.dll_FreeLibrary
nop
mov rcx, qword [rbp + 0x70]
call fcn.10000cd90
nop
lea rcx, [rbp + 0x28]
mov edx, 2
call fcn.100010250
lea rcx, [rbp + 0x68]
call fcn.100010170
lea rsp, [rbp + 0x80]
pop rbp
ret

Function at 0x1002a07b0
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 0x1002a080b
mov ecx, 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x1002a07e8
add bx, 0x2000
mov ecx, 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x1002a07fc
add bx, 0x4000
mov eax, dword [rbp + 0x30]
test eax, 0x20000000
je 0x1002a080b
add bx, 0x8000
mov eax, ebx
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x1002ba190
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 [0x10033dd88], 0
je 0x1002ba352
mov ecx, 0x11
call sub.user32.dll_GetKeyState
mov rcx, qword [0x10032ff00]
mov rcx, qword [rcx]
test ax, 0x8000
setne al
movzx rcx, byte [rcx + 0x178]
xor cl, al
test cl, cl
je 0x1002ba352
mov rcx, qword [0x10033dd90]
mov rax, qword [0x10033dd90]
mov rbx, qword [rax]
call qword [rbx + 0x10]
xor eax, eax
mov rcx, qword [0x10033dd88]
mov esi, dword [rcx + 0x10]
sub esi, 1
mov ebx, eax
cmp ebx, esi
jg 0x1002ba314
sub esi, eax
add esi, 1
mov rcx, qword [0x10033dd88]
movsxd rdx, ebx
call fcn.10010c6a0
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x58]
cmp rax, qword [rbp + 0xa8]
je 0x1002ba306
mov rax, qword [rbp + 0x58]
cmp byte [rax + 0x3b1], 0
je 0x1002ba306
mov rcx, qword [rbp + 0x58]
mov rax, qword [rbp + 0x58]
mov rax, qword [rax]
call qword [rax + pe_nt_image_headers64]
test al, al
je 0x1002ba306
mov rcx, qword [rbp + 0x58]
call fcn.1002cd4c0
mov rcx, rax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x1002ba306
mov rcx, rbp
call fcn.1002ba130
test al, al
jne 0x1002ba306
mov rcx, qword [rbp + 0x58]
mov dx, 0xffb9
call fcn.10000d3f0
mov rcx, qword [rbp + 0x58]
mov rdx, qword [rbp + 0xa8]
call rax
test al, al
je 0x1002ba306
mov byte [rbp + 0x6f], 1
mov rcx, qword [rbp + 0x58]
mov dx, 0xffba
call fcn.10000d3f0
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 0x1002ba306
lea rcx, [rbp + 0x48]
lea rdx, [rbp + 0x64]
call fcn.10001dfc0
test al, al
je 0x1002ba306
mov rcx, qword [0x10033dd90]
mov rdx, qword [rbp + 0x58]
call fcn.1002b93d0
add ebx, 1
sub esi, 1
test esi, esi
jne 0x1002ba21c
nop
mov rax, qword [0x10033dd90]
cmp qword [rax + 0x10], 0
jle 0x1002ba333
mov rcx, qword [0x10033dd90]
call fcn.1002b94d0
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
test rax, rax
je 0x1002ba352
mov rcx, rbp
mov rdx, qword [rbp + 0x38]
call fcn.1002b9f50
test al, al
jne 0x1002ba352
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 0x1002c0800
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0x140
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
movzx rax, word [rbx + 0x34]
test ax, 0x10
je 0x1002c0858
mov rcx, rbx
xor edx, edx
call fcn.10025d1d0
test rax, rax
je 0x1002c0858
cmp qword [rax + 0x550], 0
je 0x1002c0858
mov rax, qword [rax + 0x550]
mov rcx, rax
mov rdx, rbx
mov r8, rsi
mov rax, qword [rax]
call qword [rax + 0x50]
test al, al
jne 0x1002c0b5a
mov eax, dword [rsi]
cmp eax, 0x100
jb 0x1002c089a
cmp eax, 0x109
ja 0x1002c089a
mov rcx, rbx
mov dl, 1
call fcn.10025d1d0
test rax, rax
je 0x1002c0b4e
mov rcx, rax
mov rdx, rbx
mov r8, rsi
mov rax, qword [rax]
call qword [rax + 0x370]
test al, al
jne 0x1002c0b5a
jmp 0x1002c0b4e
mov eax, dword [rsi]
cmp eax, 0x200
jb 0x1002c0b35
cmp eax, 0x20e
ja 0x1002c0b35
mov ecx, dword [rbx + 0xa0]
test ecx, 0x80
jne 0x1002c08da
sub eax, 0x203
test eax, eax
je 0x1002c08d7
sub eax, 3
test eax, eax
je 0x1002c08d7
sub eax, 3
test eax, eax
jne 0x1002c08da
sub dword [rsi], 2
mov eax, dword [rsi]
cmp eax, 0x202
jg 0x1002c0907
cmp eax, 0x202
je 0x1002c0aa5
sub eax, 0x200
test eax, eax
je 0x1002c0921
sub eax, 1
test eax, eax
jne 0x1002c0ab1
jmp 0x1002c0a77
sub eax, 0x203
test eax, eax
je 0x1002c0a77
sub eax, 4
test eax, eax
jne 0x1002c0ab1
jmp 0x1002c093b
mov rax, qword [0x10032ff00]
mov rcx, qword [rax]
mov rdx, rbx
mov r8, rsi
call fcn.1002797b0
jmp 0x1002c0b4e
add al, byte [rax]
invalid
mov eax, dword [rbx + 0xa0]
test eax, 0x80000
cmp byte [rbx + 0xae], 1
jne 0x1002c0a99
mov rcx, rbx
mov dx, 0xffee
call fcn.10000d3f0
mov rsi, rax
mov rcx, rbx
call rsi
jmp 0x1002c0b5a
or dword [rbx + 0xa4], 1
jmp 0x1002c0b4e
and dword [rbx + 0xa4], 0xfffffffe
jmp 0x1002c0b4e
mov rax, qword [0x10033dd08]
cmp byte [rax + 0x2c], 0
je 0x1002c0b4e
mov rax, qword [0x10033dd08]
cmp dword [rax + 0x28], 0
je 0x1002c0b4e
mov rax, qword [0x10033dd08]
mov ecx, dword [rsi]
cmp ecx, dword [rax + 0x28]
jne 0x1002c0b4e
lea rcx, [rbp + 0x20]
call sub.user32.dll_GetKeyboardState
mov eax, dword [rsi]
mov dword [rbp + 0x120], eax
lea rcx, [rbp + 0x20]
call fcn.10025d070
mov word [rbp + 0x128], ax
movzx rax, word [rsi + 8]
mov word [rbp + 0x12a], ax
mov ecx, dword [rsi + 0x10]
call fcn.10001e6c0
mov dword [rbp + 0x130], eax
mov rcx, rbx
mov dx, 0xffc8
call fcn.10000d3f0
mov rsi, rax
mov rcx, rbx
lea rdx, [rbp + 0x120]
call rsi
jmp 0x1002c0b5a
cmp eax, 0xb00b
jne 0x1002c0b4e
mov rcx, rbx
mov edx, eax
mov r8, qword [rsi + 8]
mov r9, qword [rsi + 0x10]
call fcn.1002bdb90
Function at 0x1002c7c30
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.10001e6c0
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.1002bdac0
mov qword [rbp + 0x158], rax
test rdi, rdi
jne 0x1002c7c9b
mov rcx, rbx
lea rdx, [rbp + 0x158]
xor r8, r8
xor r9, r9
mov byte [rsp + 0x20], 0
call fcn.1002c7a90
mov rdi, rax
test rdi, rdi
je 0x1002c7d78
cmp rdi, rbx
je 0x1002c7cc9
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 0x1002c7cd4
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 0x1002c7d0a
sub eax, 0xa1
cmp eax, 2
jb 0x1002c7d26
sub eax, 3
cmp eax, 2
jb 0x1002c7d32
sub eax, 3
cmp eax, 2
jae 0x1002c7d38
jmp 0x1002c7d2c
sub eax, 0x201
cmp eax, 2
jb 0x1002c7d26
sub eax, 3
cmp eax, 2
jb 0x1002c7d32
sub eax, 3
cmp eax, 2
jae 0x1002c7d38
jmp 0x1002c7d2c
mov byte [rbp + 0x4c], 0
jmp 0x1002c7d3c
mov byte [rbp + 0x4c], 2
jmp 0x1002c7d3c
mov byte [rbp + 0x4c], 1
jmp 0x1002c7d3c
mov byte [rbp + 0x4c], 0
lea rcx, [rbp + 0x58]
call sub.user32.dll_GetKeyboardState
lea rcx, [rbp + 0x58]
call fcn.10025d070
mov ebx, eax
call fcn.1002b8700
or bx, ax
mov word [rbp + 0x4d], bx
mov rcx, rdi
mov edx, 0xb04b
xor r8, r8
lea r9, [rbp + 0x40]
call fcn.1002c0630
mov qword [rsi + 0x18], rax
mov al, 1
jmp 0x1002c7d7a
xor eax, eax
lea rsp, [rbp + 0x168]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x140001000
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
call fcn.14000f378
mov rcx, qword [rax]
mov qword [0x14003c1a8], rcx
lea rcx, str._JAVA_LAUNCHER_DEBUG
call fcn.14000f60c
test rax, rax
je 0x14000106c
lea rcx, str.Windows_original_main_args:_n
call fcn.14000115c
xor ebx, ebx
call fcn.14000edc4
cmp dword [rax], ebx
jle 0x14000106c
xor edi, edi
call fcn.14000edcc
mov edx, ebx
lea rcx, str.wwwd_args__d____s_n
mov r8, qword [rax]
mov r8, qword [rdi + r8]
call fcn.14000115c
inc ebx
lea rdi, [rdi + 8]
call fcn.14000edc4
cmp ebx, dword [rax]
jl 0x140001043
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call fcn.140001304
call fcn.1400013a8
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call fcn.1400011b8
mov rbx, rax
call fcn.1400013b0
xor r9d, r9d
test edi, edi
jle 0x1400010b8
xor edx, edx
mov r9d, edi
mov rcx, qword [rax]
lea rax, [rax + 0x10]
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x1400010a5
mov rdx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rdx, rdx
jne 0x1400010cf
mov rdx, qword [rbx]
mov rcx, qword [section..data]
test rcx, rcx
jne 0x1400010de
mov rcx, qword [rbx]
mov r9, qword [0x14003ac80]
mov r8d, 1
test r9, r9
setne al
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 1
mov byte [rsp + 0x58], 1
mov byte [rsp + 0x50], al
lea rax, [0x1400294ac]
mov qword [rsp + 0x48], rdx
mov rdx, rbx
mov qword [rsp + 0x40], rcx
mov ecx, edi
mov qword [rsp + 0x38], rax
lea rax, [0x1400294b0]
mov qword [rsp + 0x30], rax
mov rax, qword [0x14003ac88]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
call fcn.140001da4
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret