joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800044fc
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
mov rax, qword [0x180052d00]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor r9d, r9d
lea rax, [rsp]
mov r10, rcx
mov r8, rcx
sub r10, rax
lea r11d, [r9 + 0x10]
movzx eax, byte [r8 + r9 + 0x1d]
lea rdx, [rsp]
add rdx, r9
movzx ecx, byte [r10 + rdx + 0x1c]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + r9 + 0x1e]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + r9 + 0x1f]
shl ecx, 8
add r9, 4
or ecx, eax
mov dword [rdx], ecx
sub r11, 1
jne 0x180004541
lea rcx, [rsp + 8]
lea edx, [r11 + 0x40]
mov eax, dword [rcx + 0x2c]
xor eax, dword [rcx + 0x18]
xor eax, dword [rcx - 8]
xor eax, dword [rcx]
lea rcx, [rcx + 4]
ror eax, 0x1f
mov dword [rcx + 0x34], eax
sub rdx, 1
jne 0x180004584
mov r15d, dword [r8]
lea esi, [rdx + 0x14]
mov r12d, dword [r8 + 4]
mov r14d, r15d
mov r13d, dword [r8 + 8]
mov r10d, r12d
mov ebx, dword [r8 + 0xc]
mov r9d, r13d
mov edi, dword [r8 + 0x10]
xor ebp, ebp
mov eax, r9d
lea r11d, [rdi + 0x5a827999]
and eax, r10d
mov ecx, r10d
not ecx
mov edx, r14d
and ecx, ebx
ror edx, 0x1b
or ecx, eax
mov edi, ebx
mov ebx, r9d
add edx, ecx
add edx, dword [rsp + rbp*4]
mov r9d, r10d
shr r10d, 2
add r11d, edx
shl r9d, 0x1e
inc rbp
or r9d, r10d
mov r10d, r14d
mov r14d, r11d
cmp rbp, rsi
jl 0x1800045c0
mov ebp, 0x28
ror r11d, 0x1b
add edi, 0x6ed9eba1
add r11d, dword [rsp + rsi*4]
mov ecx, ebx
xor ecx, r9d
add r11d, edi
xor ecx, r10d
mov edi, ebx
mov ebx, r9d
add r11d, ecx
mov r9d, r10d
inc rsi
shr r10d, 2
shl r9d, 0x1e
or r9d, r10d
mov r10d, r14d
mov r14d, r11d
cmp rsi, rbp
jl 0x18000460a
mov edx, 0x3c
mov ecx, r9d
ror r11d, 0x1b
or ecx, r10d
mov eax, r9d
and ecx, ebx
and eax, r10d
add edi, 0x8f1bbcdc
or ecx, eax
add ecx, dword [rsp + rbp*4]
add r11d, edi
add r11d, ecx
mov edi, ebx
mov ebx, r9d
inc rbp
mov r9d, r10d
shr r10d, 2
shl r9d, 0x1e
or r9d, r10d
mov r10d, r14d
mov r14d, r11d
cmp rbp, rdx
jl 0x18000464c
mov eax, dword [rsp + rdx*4]
add edi, 0xca62c1d6
ror r11d, 0x1b
mov ecx, ebx
xor ecx, r9d
add r11d, edi
xor ecx, r10d
mov edi, ebx
mov ebx, r9d
add eax, ecx
mov r9d, r10d
add r11d, eax
shr r10d, 2
inc rdx
shl r9d, 0x1e
or r9d, r10d
mov r10d, r14d
mov r14d, r11d
cmp rdx, 0x50
jl 0x180004690
add dword [r8 + 0xc], ebx
lea eax, [r15 + r11]
add dword [r8 + 0x10], edi
and dword [r8 + 0x5c], 0
mov dword [r8], eax
lea eax, [r12 + r10]
mov dword [r8 + 4], eax
lea eax, [r9 + r13]
mov dword [r8 + 8], eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180020620
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180007a74
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov r8, qword [rcx + 0x110]
movabs rbp, 0x6906906906906907
mov rdx, qword [rcx + 0x118]
mov rax, rbp
sub rdx, r8
xor esi, esi
imul rdx
mov rdi, rcx
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x180007b4d
xor ebx, ebx
mov rcx, qword [rbx + r8 + 0x268]
test rcx, rcx
je 0x180007b15
mov rax, qword [rcx]
test rax, rax
je 0x180007adf
and qword [rax], 0
jmp 0x180007b05
mov rcx, qword [rcx + 0x210]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rdi + 0x110]
mov rcx, qword [rax + rbx + 0x268]
add rcx, 8
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rax, qword [rdi + 0x110]
and qword [rax + rbx + 0x268], 0
mov r8, qword [rdi + 0x110]
mov rax, rbp
mov rcx, qword [rdi + 0x118]
inc rsi
sub rcx, r8
add rbx, 0x270
imul rcx
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rsi, rdx
jb 0x180007ac4
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x180007b64
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180052d00]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rcx, qword [0x180057338]
call qword [sym.imp.USER32.dll_IsWindowVisible]
xor edi, edi
mov ebx, 1
test eax, eax
jne 0x180007be6
mov rcx, qword [0x1800574b8]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x180007be6
mov rcx, qword [0x180051fb8]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x180007be6
mov rax, qword [0x180051fa0]
lea rcx, [0x180051fa0]
xor edx, edx
call qword [rax + 0x18]
mov r9, qword [0x180051fb8]
mov r8d, ebx
mov rcx, qword [0x180051fb0]
mov edx, 0x7f4
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x1800558b8]
mov rax, qword [rcx]
call qword [rax + 0x58]
test al, al
jne 0x180007c35
mov rcx, qword [0x180051688]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x180007c35
xor edx, edx
lea rcx, [0x180051670]
call fcn.180006290
cmp dword [0x1800516d8], ebx
mov eax, 0xa7fb
mov rcx, qword [0x180055898]
lea r8d, [rax - 2]
cmove r8d, eax
jmp 0x180007cbd
cmp qword [0x1800558b0], rdi
je 0x180007ccb
mov rcx, qword [0x1800558b8]
mov rax, qword [rcx]
call qword [rax + 0x58]
cmp al, bl
jne 0x180007ccb
mov rcx, qword [0x1800558b0]
call qword [sym.imp.USER32.dll_IsWindowVisible]
cmp eax, ebx
jne 0x180007ccb
mov rcx, qword [0x1800558b0]
lea rdx, [rsp + 0x20]
mov r8d, 5
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rax, qword [0x1800558b8]
lea rdx, [0x1800414b0]
lea rcx, [rsp + 0x20]
mov rbx, qword [rax + 0x18]
call fcn.18002e640
test eax, eax
lea rcx, [0x180051670]
mov rdx, rbx
setne dil
mov r8d, edi
call fcn.18001c5cc
mov rcx, qword [0x1800558b0]
mov r8d, 2
xor r9d, r9d
mov edx, 0x111
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180020620
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1800086f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
xor ebx, ebx
lea rcx, [0x1800571d8]
call fcn.18002e198
mov edi, eax
dec eax
cmp eax, 0x62
ja 0x180008827
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 1]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x180008827
imul ecx, edi, 0xfa000
mov eax, 0x51eb851f
mov dword [rsp + 0x58], ebx
mul ecx
mov ecx, 0xfa000
mov ebp, edx
shr ebp, 5
call fcn.180020730
mov rdi, rax
test rax, rax
je 0x18000881a
xor edx, edx
mov r8d, 0xfa000
mov rcx, rax
call fcn.18003b660
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], rbx
mov r8d, 0xfa000
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180008812
mov al, byte [rdi]
cmp al, 0xff
je 0x180008812
cmp byte [rdi + 1], 0xfe
je 0x180008812
cmp al, 0xfe
je 0x180008812
cmp byte [rdi + 1], 0xff
je 0x180008812
cmp al, 0xef
je 0x180008812
cmp byte [rdi + 1], 0xbb
je 0x180008812
cmp byte [rdi + 2], 0xbf
je 0x180008812
mov edx, ebx
mov ecx, ebx
cmp dword [rsp + 0x58], ebx
jbe 0x180008812
mov eax, ecx
cmp byte [rax + rdi], 0x1f
ja 0x1800087ff
movzx eax, byte [rax + rdi]
mov r8d, 0xffffd9ff
bt r8d, eax
jae 0x1800087ff
inc edx
cmp edx, ebp
jae 0x18000880d
inc ecx
cmp ecx, dword [rsp + 0x58]
jb 0x1800087e5
jmp 0x180008812
mov ebx, 1
mov rcx, rdi
call fcn.180020640
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x180008829
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x180008f0c
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x108]
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
test rdx, rdx
jne 0x180008f9b
mov rcx, qword [rax + 0x268]
test rcx, rcx
je 0x180008fea
mov rax, qword [rcx]
test rax, rax
je 0x180008f4d
and qword [rax], rdx
jmp 0x180008f72
mov rcx, qword [rcx + 0x210]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx + 0x108]
mov rcx, qword [rax + 0x268]
add rcx, 8
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rbx + 0x108]
mov edx, 0x2220
mov rcx, qword [rcx + 0x268]
call fcn.180020640
mov rax, qword [rbx + 0x108]
and qword [rax + 0x268], 0
jmp 0x180008fea
mov rax, qword [rax + 0x268]
test rax, rax
je 0x180008fcb
mov rax, qword [rax]
test rax, rax
je 0x180008fb3
and qword [rax], 0
mov rcx, qword [rcx + 0x108]
mov edx, 0x2220
mov rcx, qword [rcx + 0x268]
call fcn.180020640
mov rax, qword [rbx + 0x108]
mov qword [rax + 0x268], rdi
mov rax, qword [rbx + 0x108]
mov rcx, qword [rax + 0x268]
mov qword [rcx], rsi
mov rcx, qword [rbx + 0x60]
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.USER32.dll_RedrawWindow]
Function at 0x1800109f0
Capabilities:
Log keystrokes via polling

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
mov rdi, rcx
mov rbx, r8
mov ecx, 0x10
mov rsi, rdx
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, rsi
mov edx, 0x25
movzx r9d, ax
shr r9d, 7
and r9b, 1
sub rcx, rdx
je 0x180010b89
sub rcx, 1
je 0x180010b5d
sub rcx, 1
je 0x180010aba
cmp rcx, 1
je 0x180010a63
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.18000f804
jmp 0x180010c17
mov r8, qword [rdi + 0x108]
xor edx, edx
mov eax, dword [rdi + 0x100]
movsx ecx, word [r8 + 0x21c]
mov r10d, dword [r8 + 0x250]
div ecx
movsx ecx, word [r8 + 0x21e]
xor edx, edx
div ecx
cmp r10d, eax
je 0x180010c15
mov rcx, rdi
test r9b, r9b
je 0x180010aaa
mov edx, 0x28
jmp 0x180010b91
lea edx, [r10 + 1]
mov r8d, dword [r8 + 0x258]
jmp 0x180010c10
mov rbp, qword [rdi + 0x108]
movsx eax, word [rbp + 0x21c]
movsx ecx, word [rbp + 0x21e]
mov r14d, dword [rbp + 0x250]
mov esi, dword [rbp + 0x258]
imul ecx, eax
mov eax, r14d
imul eax, ecx
add eax, esi
cmp eax, dword [rdi + 0x100]
ja 0x180010c15
test r9b, r9b
je 0x180010b0b
cmp dword [rdi + 0x128], 0
jne 0x180010b0b
mov edx, 0x27
jmp 0x180010b8e
cmp dword [rbp + 0x248], 1
jne 0x180010b3b
mov rcx, rdi
call fcn.18000f660
mov rcx, rdi
mov ebx, eax
call fcn.18000f6fc
cmp ebx, eax
jl 0x180010b30
mov esi, dword [rbp + 0x264]
mov r8d, esi
mov edx, r14d
jmp 0x180010c0d
lea eax, [rcx - 1]
mov rcx, rdi
cmp esi, eax
jae 0x180010b51
lea r8d, [rsi + 1]
mov edx, r14d
jmp 0x180010c10
lea edx, [r14 + 1]
xor r8d, r8d
jmp 0x180010c10
mov r8, qword [rdi + 0x108]
mov edx, dword [r8 + 0x250]
test edx, edx
je 0x180010c15
mov rcx, rdi
test r9b, r9b
je 0x180010b82
mov edx, 0x26
jmp 0x180010b91
dec edx
jmp 0x180010aae
test r9b, r9b
je 0x180010b9b
mov rcx, rdi
mov r8, rbx
call fcn.180012904
jmp 0x180010c15
mov rsi, qword [rdi + 0x108]
cmp dword [rsi + 0x248], 1
lea r14, [rsi + 0x250]
jne 0x180010bda
mov rcx, rdi
call fcn.18000f660
mov rcx, rdi
mov ebx, eax
call fcn.18000f6fc
cmp ebx, eax
jge 0x180010bd1
mov r8d, dword [rsi + 0x264]
jmp 0x180010c0a
mov r8d, dword [rsi + 0x258]
jmp 0x180010c0a
mov r8d, dword [rsi + 0x258]
test r8d, r8d
jne 0x180010c07
mov edx, dword [r14]
test edx, edx
je 0x180010c15
movsx r8d, word [rsi + 0x21e]
movsx eax, word [rsi + 0x21c]
imul r8d, eax
dec r8d
dec edx
jmp 0x180010c0d
dec r8d
mov edx, dword [r14]
mov rcx, rdi
call fcn.180012604
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
Function at 0x180011104
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x180052d00]
xor rax, rsp
mov qword [rsp + 0x68], rax
movzx eax, r8w
lea r9, [rsp + 0x50]
shr r8, 0x10
mov rsi, rcx
mov rcx, qword [rcx + 0x60]
mov edx, 0x1039
mov dword [rsp + 0x50], eax
movzx eax, r8w
xor r8d, r8d
mov dword [rsp + 0x54], eax
call qword [sym.imp.USER32.dll_SendMessageW]
movups xmm0, xmmword [rsp + 0x50]
lea rdx, [rsp + 0x30]
mov rbx, qword [rsi + 0x108]
movsd xmm1, qword [rsp + 0x60]
mov rcx, rsi
movaps xmmword [rsp + 0x30], xmm0
movsd qword [rsp + 0x40], xmm1
call fcn.18000c490
movsx ecx, word [rbx + 0x21e]
mov edi, eax
movsx eax, word [rbx + 0x21c]
imul ecx, eax
imul ecx, dword [rsp + 0x5c]
add edi, ecx
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x1800111c8
mov rcx, rsi
call fcn.18000f660
mov ecx, 0x12
mov ebx, eax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 7
and al, 1
neg al
sbb r9d, r9d
and r9d, 3
jmp 0x1800111cd
mov ebx, edi
xor r9d, r9d
and dword [rsp + 0x20], 0
mov r8d, edi
mov edx, ebx
mov rcx, rsi
call fcn.180012ed4
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180020620
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180011200
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x180052d00]
xor rax, rsp
mov qword [rbp - 8], rax
movzx eax, r8w
lea r9, [rbp - 0x20]
shr r8, 0x10
mov rdi, rcx
mov rcx, qword [rcx + 0x60]
mov edx, 0x1039
mov dword [rbp - 0x20], eax
movzx eax, r8w
xor r8d, r8d
mov dword [rbp - 0x1c], eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x18001130f
mov rcx, rdi
call fcn.18000f660
mov ecx, 0x12
mov r14d, eax
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [rdi + 0x108]
movzx esi, ax
shr esi, 7
and sil, 1
mov eax, dword [rcx + 0x220]
cmp eax, 1
jne 0x180011298
lea ebx, [rax + 7]
jmp 0x1800112a6
add eax, 0xfffffffd
and eax, 0xfffffffd
neg eax
sbb ebx, ebx
neg ebx
inc ebx
movups xmm0, xmmword [rbp - 0x20]
lea rdx, [rbp - 0x40]
mov rcx, rdi
movsd xmm1, qword [rbp - 0x10]
movaps xmmword [rbp - 0x40], xmm0
movsd qword [rbp - 0x30], xmm1
call fcn.18000c490
mov r10, qword [rdi + 0x108]
cdq
idiv ebx
mov edx, dword [rbp - 0x10]
neg sil
movsx r8d, word [r10 + 0x21c]
sbb r9d, r9d
imul r8d, dword [rbp - 0x14]
dec edx
xor ecx, ecx
mov dword [rsp + 0x20], ecx
and r9d, 3
mov rcx, rdi
add r8d, edx
movsx edx, word [r10 + 0x21e]
imul r8d, edx
mov edx, r14d
add r8d, eax
call fcn.180012ed4
jmp 0x18001136e
mov rdx, qword [rdi + 0x108]
xor ecx, ecx
mov r10d, dword [rbp - 0x14]
cmp dword [rdx + 0x250], r10d
jne 0x18001135c
mov eax, dword [rbp - 0x10]
cmp dword [rdx + 0x254], eax
jne 0x18001135c
cmp dword [rdx + 0x228], ecx
jne 0x18001135c
movups xmm0, xmmword [rbp - 0x20]
lea rdx, [rbp - 0x40]
mov rcx, rdi
movsd xmm1, qword [rbp - 0x10]
movaps xmmword [rbp - 0x40], xmm0
movsd qword [rbp - 0x30], xmm1
call fcn.18000c490
mov r10d, dword [rbp - 0x14]
mov ecx, eax
mov r8d, dword [rbp - 0x10]
mov r9d, ecx
mov rcx, rdi
mov edx, r10d
call fcn.1800127c4
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180020620
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x1800125cc
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x30
mov r8d, dword [rcx + 0x100]
xor r9d, r9d
and dword [rsp + 0x20], 0
xor edx, edx
mov rbx, rcx
call fcn.180012ed4
mov edx, dword [rbx + 0x100]
xor r8d, r8d
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp fcn.180012cd0
Function at 0x180012cd0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movsxd rdi, edx
mov rbx, rcx
test r8d, r8d
je 0x180012d0f
sub r8d, 1
je 0x180012d09
cmp r8d, 1
je 0x180012d00
lea rcx, str.Mode_Unknown_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x180012d68
mov rcx, qword [rcx + 0x60]
xor r8d, r8d
jmp 0x180012d3d
mov rcx, qword [rcx + 0x60]
jmp 0x180012d4f
mov r8, qword [rcx + 0x108]
xor edx, edx
mov eax, dword [rbx + 0x100]
movsx ecx, word [r8 + 0x21c]
div ecx
movsx ecx, word [r8 + 0x21e]
xor edx, edx
div ecx
mov rcx, qword [rbx + 0x60]
dec eax
movsxd r8, eax
xor r9d, r9d
mov edx, 0x1013
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x60]
xor r9d, r9d
mov r8, rdi
mov edx, 0x1013
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbx
call fcn.18000f7bc
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180014ef4
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rdx, [0x180041e80]
mov rcx, qword [rcx + 0x108]
mov eax, dword [rbx + 0x130]
mov r8d, dword [rcx + 0x214]
mov edx, dword [rdx + rax*4]
add edx, r8d
cmp edx, 0x16
jae 0x180014f4e
lea eax, [r8 + 1]
mov dword [rcx + 0x214], eax
mov rcx, rbx
call fcn.180009010
test eax, eax
jne 0x180014f46
lea rcx, str.Could_not_change_font_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbx
call fcn.18000f7bc
add rsp, 0x20
pop rbx
ret

Function at 0x180014f54
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rdx, [0x180041e80]
mov rcx, qword [rcx + 0x108]
mov eax, dword [rbx + 0x130]
mov r8d, dword [rcx + 0x214]
mov edx, dword [rdx + rax*4]
add edx, r8d
je 0x180014fab
lea eax, [r8 - 1]
mov dword [rcx + 0x214], eax
mov rcx, rbx
call fcn.180009010
test eax, eax
jne 0x180014fa3
lea rcx, str.Could_not_change_font_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbx
call fcn.18000f7bc
add rsp, 0x20
pop rbx
ret

Function at 0x180014fb4
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x108]
mov rbx, rcx
and dword [rax + 0x214], 0
call fcn.180009010
test eax, eax
jne 0x180014fe1
lea rcx, str.Could_not_change_font_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.18000f7bc
Function at 0x18001897c
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
sub rsp, 0x20
xor edi, edi
lea rdx, [0x1800525ab]
mov eax, edi
cmp byte [rdx], cl
je 0x1800189b7
inc eax
add rdx, 0xc
cmp eax, 0xb
jb 0x180018996
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
lea rbx, [rax + rax*2]
lea rbp, [0x1800525a0]
cmp dword [rbp + rbx*4], 1
jne 0x1800189a5
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 7
mov ecx, edi
and eax, 1
cmp byte [rbp + rbx*4 + 9], 1
sete cl
cmp ecx, eax
jne 0x1800189a5
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 7
mov ecx, edi
and eax, 1
cmp byte [rbp + rbx*4 + 8], 1
sete cl
cmp ecx, eax
jne 0x1800189a5
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 7
and eax, 1
cmp byte [rbp + rbx*4 + 0xa], 1
sete dil
cmp edi, eax
jne 0x1800189a5
mov eax, dword [rbp + rbx*4 + 4]
jmp 0x1800189a7
Function at 0x18001a574
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x180052d00]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
sub r8d, 0x110
je 0x18001a60b
cmp r8d, 1
jne 0x18001a69f
sub r9, 1
je 0x18001a5d5
cmp r9, 1
jne 0x18001a69f
cmp dword [rcx + 0x58], r9d
jne 0x18001a5be
mov edx, dword [rcx + 0x5c]
jmp 0x18001a5c1
mov edx, dword [rcx + 0x60]
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.USER32.dll_EndDialog]
mov eax, 1
jmp 0x18001a6a1
mov rcx, qword [rcx + 0x18]
mov edx, 0x4e85
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r8d, 0x10
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rsp + 0x20]
call fcn.18002e198
mov rcx, qword [rdi + 0x18]
movsxd rdx, eax
jmp 0x18001a5c5
call fcn.1800203ac
cmp dword [rdi + 0x58], 1
lea rdx, [rsp + 0x20]
mov r8d, 0xa
jne 0x18001a650
mov ecx, dword [rdi + 0x5c]
call fcn.18002eba4
mov rcx, qword [rdi + 0x18]
mov edx, 0x4e85
mov rbx, rax
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.USER32.dll_SetWindowTextW]
lea r9, str.ColumnCount
jmp 0x18001a68e
mov ecx, dword [rdi + 0x60]
call fcn.18002eba4
mov rcx, qword [rdi + 0x18]
mov edx, 0x4e85
mov rbx, rax
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, qword [rdi + 0x18]
lea rdx, str.Address_Width
call qword [sym.imp.USER32.dll_SetWindowTextW]
lea r9, str.AddressWidth
mov r8, qword [rdi + 0x18]
mov rdx, qword [rdi + 0x38]
mov rcx, qword [rdi + 8]
call fcn.18001a478
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180020620
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x18001e5f8
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x1f8]
sub rsp, 0x2e0
mov rax, qword [0x180052d00]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
and qword [rbp + 0x170], 0
mov rbx, rcx
mov rcx, qword [rcx + 0x18]
xorps xmm0, xmm0
and qword [rsp + 0x20], 0
mov edi, 0xf0
mov r8d, edi
movdqa xmmword [rbp + 0x160], xmm0
xor r9d, r9d
mov edx, 0x4f50
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
mov r8d, edi
cmp rax, 1
mov edx, 0x4f55
setne cl
and qword [rsp + 0x20], 0
mov dword [rbx + 0x78], ecx
xor r9d, r9d
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp rax, 1
sete cl
mov dword [rbx + 0x7c], ecx
mov rcx, rbx
call fcn.18001e3e8
mov rcx, qword [rbx + 0x58]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x5146
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x60]
lea rdx, [rbp + 0x1a0]
mov r8d, 0x11
call qword [sym.imp.USER32.dll_GetWindowTextA]
lea rcx, [rbp + 0x1a0]
call fcn.18002e3c0
test rax, rax
je 0x18001e80c
cmp dword [rbx + 0x7c], 1
lea rcx, [rbp + 0x1a0]
jne 0x18001e77e
cmp dword [rbx + 0x78], 1
jne 0x18001e71d
call fcn.18002e248
movsx ecx, word [rbp + 0x14e]
lea rdx, [0x18004325c]
movsx r8d, word [rbp + 0x14c]
imul eax, ecx
imul r8d, eax
jmp 0x18001e7ef
xor edi, edi
xor r14d, r14d
call fcn.18002e3c0
test rax, rax
je 0x18001e75f
xor r15d, r15d
lea rsi, [0x1800431d0]
movzx eax, byte [rbp + r15 + 0x1a0]
inc r14d
shl edi, 4
mov r15d, r14d
movsx ecx, byte [rax + rsi]
add edi, ecx
lea rcx, [rbp + 0x1a0]
call fcn.18002e3c0
cmp r15, rax
jb 0x18001e736
movsx r8d, word [rbp + 0x14e]
xor edx, edx
movsx ecx, word [rbp + 0x14c]
mov eax, edi
imul r8d, ecx
div r8d
mov r8d, eax
jmp 0x18001e7e8
cmp dword [rbx + 0x78], 1
je 0x18001e6f6
xor edi, edi
xor r14d, r14d
call fcn.18002e3c0
test rax, rax
je 0x18001e7ca
xor r15d, r15d
lea rsi, [0x1800431d0]
movzx eax, byte [rbp + r15 + 0x1a0]
inc r14d
shl edi, 4
mov r15d, r14d
movsx ecx, byte [rax + rsi]
add edi, ecx
lea rcx, [rbp + 0x1a0]
call fcn.18002e3c0
cmp r15, rax
jb 0x18001e7a1
movsx r8d, word [rbp + 0x14e]
mov eax, edi
movsx ecx, word [rbp + 0x14c]
xor edx, edx
imul r8d, ecx
div r8d
lea r8d, [rax + 1]
lea rdx, [0x180043260]
lea rcx, [rbp + 0x1b8]
call fcn.180016d70
mov rcx, qword [rbx + 0x60]
lea rdx, [rbp + 0x1b8]
call qword [sym.imp.USER32.dll_SetWindowTextA]
mov rcx, qword [rbp + 0x160]
test rcx, rcx
je 0x18001e84c
mov rdx, qword [rbp + 0x170]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x18001e847
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001e878
call fcn.180020640
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.180020620
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.18002de64
int3