joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401181dc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140118216
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14011821b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140118264
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14013bd60]
cmp byte [rcx + rax], 0
je 0x140118264
dec r8
sub rdx, 1
jne 0x14011824a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14011974c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140119796
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140119796
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140119796
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140119796
cmp dword [rcx + 0x84], 0xe
jbe 0x140119796
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140119798
xor al, al
add rsp, 0x28
ret
Function at 0x140001530
Capabilities:
Get graphical window text

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [0x140020080]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movsxd rax, dword [rsp + 0xd8]
imul rax, rax, 0x64
lea rcx, [0x140021d00]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0xe0]
imul rcx, rcx, 0x14
add rax, rcx
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.140004ee0
imul eax, dword [rsp + 0xd8], 0x1e
add eax, 2
imul ecx, dword [rsp + 0xe0], 0x64
add ecx, 2
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov rdx, qword [rsp + 0xd0]
mov qword [rsp + 0x40], rdx
mov dword [rsp + 0x38], 0x1a
mov dword [rsp + 0x30], 0x60
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9d, 0x50800080
lea r8, [rsp + 0x98]
lea rdx, str.EDIT
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_SetFocus]
nop
xor eax, eax
cmp eax, 1
je 0x1400016e8
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x1400016e3
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [rsp + 0x70], 0x100
jne 0x1400016c9
cmp qword [rsp + 0x78], 0xd
jne 0x1400016c9
movsxd rax, dword [rsp + 0xd8]
imul rax, rax, 0x64
lea rcx, [0x140021d00]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0xe0]
imul rcx, rcx, 0x14
add rax, rcx
mov r8d, 0x14
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.USER32.dll_InvalidateRect]
nop
jmp 0x1400016e8
cmp dword [rsp + 0x70], 2
jne 0x1400016de
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_DestroyWindow]
nop
jmp 0x1400016e8
jmp 0x14000161e
jmp 0x140001613
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140001870
add rsp, 0xc8
ret

Function at 0x140002288
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400022d2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400022d2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400022d2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400022d2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400022d2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400022d4
xor al, al
add rsp, 0x28
ret
Function at 0x14000793c
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400079ab
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400079ab
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400079ab
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400079ab
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400079ab
cmp dword [rcx + 0x84], 0xe
jbe 0x1400079ab
cmp dword [rcx + 0xf8], 0
je 0x1400079ab
mov ecx, ebx
call fcn.140007a5c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140007838
nop
cmp dword [rbp + 0x20], 0
je 0x1400079f9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140007a04
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14000793c

Function at 0x140007b40
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000793c
Function at 0x14000c4d0
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000c500
xor eax, eax
jmp 0x14000c5c3
mov rbp, rbx
cmp word [rax], si
je 0x14000c525
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000c50c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000c508
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000c3f0
movsxd r14, eax
test eax, eax
jne 0x14000c563
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000c4f9
mov rcx, r14
call fcn.140008948
mov rdi, rax
test rax, rax
jne 0x14000c57c
xor ecx, ecx
call fcn.14000890c
jmp 0x14000c558
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000c3f0
test eax, eax
jne 0x14000c5ad
mov rcx, rdi
call fcn.14000890c
jmp 0x14000c5b7
xor ecx, ecx
call fcn.14000890c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140013890
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400138b8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400138b8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x100001c30
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1000730b0]
jne 0x10002cda4
rol rcx, 0x10
test cx, 0xffff
jne 0x10002cda0
ret 0
ror rcx, 0x10
jmp 0x10005d490
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x100074110]
call qword [sym.imp.KERNEL32.DLL_RtlCaptureContext]
mov r11, qword [0x100074208]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.DLL_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x10005d515
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x100074110]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.DLL_RtlVirtualUnwind
jmp 0x10005d537
mov rax, qword [rsp + 0x88]
mov qword [0x100074208], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1000741a8], rax
mov rax, qword [0x100074208]
mov qword [0x100074080], rax
mov rax, qword [rsp + 0x90]
mov qword [0x100074190], rax
mov dword [0x100074070], 0xc0000409
mov dword [0x100074074], 1
mov rax, qword [0x1000730b0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1000730b8]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_SetUnhandledExceptionFilter]
lea rcx, [0x100064ad8]
call qword [sym.imp.KERNEL32.DLL_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_TerminateProcess]
add rsp, 0x88
ret
Function at 0x100002090
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x38
xor ebx, ebx
cmp dword [rcx + 8], 0x102
mov rdi, rcx
je 0x100002911
cmp dword [rcx + 8], 0x100
je 0x100002911
mov al, bl
add rsp, 0x38
pop rdi
pop rsi
pop rbp
pop rbx
ret
call qword [sym.imp.USER32.dll_GetFocus]
lea rdx, str.Edit
mov rcx, rax
mov rbp, rax
mov qword [rsp + 0x70], rax
call fcn.1000021dc
cmp al, bl
je 0x1000020b8
lea rax, [rsp + 0x78]
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x70]
lea rcx, [0x100073400]
mov qword [rsp + 0x20], rax
call fcn.100024fcc
cmp rax, rbx
je 0x1000020b8
cmp dword [0x100073580], 3
mov rsi, rbx
je 0x100034f19
mov rax, qword [0x100073a50]
cmp rax, rbx
je 0x100002987
mov rsi, qword [rax + 0xb0]
cmp dword [rdi + 8], 0x102
je 0x10002ade5
mov rcx, rdi
call qword [sym.imp.USER32.dll_TranslateMessage]
mov rcx, rdi
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov bl, 1
jmp 0x1000020b8
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
cmp ax, bx
jne 0x100034f25
cmp dword [rdi + 8], 0x102
jne 0x100002994
cmp qword [rdi + 0x10], 0xd
jne 0x100002994
jmp 0x100034f44
mov rax, qword [0x100073fa8]
jmp 0x100002980
cmp qword [rdi + 0x10], 1
jne 0x10002adf9
or r9, 0xffffffffffffffff
mov edx, 0xb1
mov rcx, rbp
xor r8d, r8d
jmp 0x100034fd4
mov rcx, qword [rdi]
cmp rcx, rsi
je 0x100002994
cmp byte [0x100073586], bl
je 0x100034f66
call qword [sym.imp.USER32.dll_GetParent]
mov r8d, 0x104
jmp 0x100034fc9
cmp byte [0x100073587], bl
je 0x1000029a6
mov rax, qword [0x100073570]
mov edx, 0xfa3
mov rcx, qword [rax + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0x147
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, rbx
je 0x100034fb5
sub rax, 1
jne 0x100034fae
mov eax, 0xfaf
jmp 0x100034fba
mov ax, word [rsp + 0x60]
jmp 0x100034fba
mov eax, 0xfa9
mov rcx, qword [rdi]
movzx ebx, ax
call qword [sym.imp.USER32.dll_GetParent]
mov r8, rbx
mov edx, 0x111
xor r9d, r9d
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1000029a6
Function at 0x1000025e8
Capabilities:
Get graphical window text

Disassembly:
add dword [rdi + 0xc], 3
jmp 0x1000026e5
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x440
mov rax, qword [0x1000730b0]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov rbx, rcx
add rcx, 0x20
mov rdi, r8
mov rbp, rdx
call qword [sym.imp.SHLWAPI.dll_SHStripMneumonicW]
mov r12d, dword [rbx + 0x428]
xor r13d, r13d
cmp r12d, 0xffffffff
je 0x100002734
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
lea r8, [rsp + 0x30]
mov r9d, 0x200
mov rcx, rax
mov edx, r12d
call qword [sym.imp.USER32.dll_LoadStringW]
cmp eax, r13d
je 0x10003149a
lea rdx, [rsp + 0x30]
jmp 0x100002663
mov rcx, qword [rbx + 0x18]
call fcn.100002458
call qword [sym.imp.UxTheme.dll_IsThemeActive]
cmp eax, r13d
je 0x10000270d
cmp dword [rbx], r13d
jne 0x10000a2b2
mov rcx, qword [rbx + 0x18]
lea rdx, [rsp + 0x30]
mov r8d, 0x200
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, r13d
jne 0x1000228ef
mov edx, dword [rbx + 0x14]
mov rcx, rbp
call qword [sym.imp.GDI32.dll_SetTextColor]
mov edx, 1
mov rcx, rbp
call qword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [rbx + 0x428]
mov r12d, eax
cmp ecx, 0x1f47
je 0x100022888
cmp ecx, 0x1f49
je 0x100001fc2
cmp ecx, 0x1f86
je 0x10000273d
lea rdx, [rbx + 0x20]
mov r9, rdi
or r8d, 0xffffffff
mov rcx, rbp
mov dword [rsp + 0x20], 0x25
call qword [sym.imp.USER32.dll_DrawTextW]
mov edx, r12d
mov rcx, rbp
call qword [sym.imp.GDI32.dll_SetBkMode]
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.100001c30
mov rbx, qword [rsp + 0x488]
add rsp, 0x440
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rbx + 0x20]
jmp 0x100002663
add dword [rdi + 0xc], 0xfffffff9
jmp 0x1000026e5
mov r8d, dword [rbx + 0x10]
cmp r8d, r13d
je 0x10000a2c6
mov rdx, rdi
mov rcx, rbp
call fcn.10000a2f0
cmp dword [rbx], r13d
je 0x100002684
mov rcx, qword [rbx + 0x18]
lea rdx, [rbx + 0x20]
mov r8d, 0x200
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1000026a2
add dword [rdi + 0xc], 0xfffffffd
jmp 0x1000026e5
mov rcx, qword [rbx + 0x18]
lea rdx, [rbx + 0x20]
mov r8d, 0x200
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rbx + 0x18]
lea rdx, [0x100062c88]
call qword [sym.imp.USER32.dll_SetWindowTextW]
nop
jmp 0x1000026a2
mov word [rsp + 0x30], r13w
jmp 0x10000265c
Function at 0x100004848
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rdx, qword [0x1000730f0]
mov rbx, rcx
test rdx, rdx
je 0x10002c860
mov rax, qword [0x1000730f8]
test rax, rax
je 0x10002c87d
test rdx, rdx
je 0x10002db32
test rax, rax
je 0x10002db32
mov rdx, qword [0x100073100]
test rdx, rdx
je 0x10002c8a1
xor ecx, ecx
test rdx, rdx
setne cl
jmp 0x10000489d
test ecx, ecx
je 0x1000048be
mov rcx, rax
mov qword [0x100073108], rbx
call qword [sym.imp.KERNEL32.DLL_ResetEvent]
mov rcx, qword [0x1000730f0]
call qword [sym.imp.KERNEL32.DLL_SetEvent]
add rsp, 0x30
pop rbx
ret
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateEventW]
mov rdx, rax
mov qword [0x1000730f0], rax
jmp 0x100004861
lea edx, [rax + 1]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateEventW]
mov rdx, qword [0x1000730f0]
mov qword [0x1000730f8], rax
jmp 0x100004871
lea rax, [rsp + 0x48]
lea r8, [0x100002254]
xor r9d, r9d
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateThread]
mov rdx, rax
mov qword [0x100073100], rax
mov rax, qword [0x1000730f8]
jmp 0x100004893
xor ecx, ecx
jmp 0x10000489d

Function at 0x100007a98
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rdx, r8
mov rsi, r8
mov rbp, rcx
xor ebx, ebx
call qword [sym.imp.KERNEL32.DLL_LoadResource]
test rax, rax
je 0x100007ae4
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_LockResource]
mov rbx, rax
test rdi, rdi
je 0x100007ae4
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_SizeofResource]
mov dword [rdi], eax
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x10000fe70
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp byte [0x100073585], bl
jne 0x10002ebed
cmp byte [0x100073586], bl
jne 0x10002ebfb
cmp byte [0x100073587], bl
jne 0x10002ec2a
mov byte [0x100073585], 1
mov r9b, 1
mov rdx, qword [0x100073560]
lea rcx, [0x100073460]
mov r8d, 0x2cb
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 1
call fcn.10000e6e8
add rsp, 0x30
pop rbx
jmp fcn.10000fed8
mov byte [0x100073585], bl
xor r9d, r9d
jmp 0x10000fea6
mov rdx, qword [0x100073568]
lea rcx, [0x100073460]
xor r9d, r9d
mov r8d, 0xeb
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call fcn.10000e6e8
mov byte [0x100073586], bl
jmp 0x10000fe9c
mov rdx, qword [0x100073570]
lea rcx, [0x100073460]
xor r9d, r9d
mov r8d, 0xfa0
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call fcn.10000e6e8
mov byte [0x100073587], bl
jmp 0x10000fe9c
Function at 0x10000fed8
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0x50
xor ebx, ebx
lea rax, [r11 + 0x10]
lea rdx, str.SoftwareMicrosoftCalc
mov qword [r11 - 0x18], rbx
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x28], rbx
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x10000ffdb
mov edx, dword [0x10007400c]
mov cl, byte [0x100073586]
lea edi, [rbx + 4]
inc edx
neg cl
mov rcx, qword [rsp + 0x68]
sbb eax, eax
mov r9d, edi
xor r8d, r8d
and eax, edx
lea rdx, str.Templates
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp byte [0x100073585], bl
mov rcx, qword [rsp + 0x68]
mov r11d, ebx
setne r11b
lea rax, [rsp + 0x60]
lea rdx, str.UnitConv
xor r8d, r8d
mov r9d, edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x60], r11d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp byte [0x100073587], bl
mov rcx, qword [rsp + 0x68]
setne bl
lea rax, [rsp + 0x60]
lea rdx, str.DateTime
xor r8d, r8d
mov r9d, edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x1000102a4
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, qword [rcx + 0x18]
add edx, 0x2bc
movzx esi, r8w
mov rcx, qword [rax + 8]
mov rbx, qword [rcx + 8]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
lea rdx, [rsp + 0x50]
mov rdi, rax
xor eax, eax
lea r8d, [rax + 2]
mov rcx, rdi
mov word [rsp + 0x50], ax
mov word [rsp + 0x52], ax
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [rsp + 0x50], si
jne 0x100010dd5
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov word [rsp + 0x50], si
call qword [sym.imp.USER32.dll_GetClientRect]
lea r8, [rsp + 0x20]
mov r9d, 2
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov esi, 0x435
mov rcx, rbx
mov edx, esi
call qword [sym.imp.USER32.dll_GetDlgItem]
lea r8, [rsp + 0x20]
mov r9d, 2
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, esi
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.USER32.dll_InvalidateRect]
mov edx, esi
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call qword [sym.imp.USER32.dll_UpdateWindow]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextW]
nop
jmp 0x1000102fe
Function at 0x1000116a0
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0xa0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
mov r13d, edx
mov rbp, rcx
test edx, edx
jne 0x10002dbf2
lea ebx, [rdx + 5]
mov edx, ebx
mov rcx, qword [rcx + 0x600]
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, ebx
mov rcx, qword [rbp + 0x190]
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x2e0
call fcn.100001c10
mov r11, rax
mov qword [rsp + 0xd0], rax
test rax, rax
je 0x10002dbea
lea r9, [rbp + 0x5f8]
lea r10, [rbp + 0x5e0]
lea r8, [rbp + 0x458]
lea rdx, [rbp + reloc.COMCTL32.dll_Ordinal_392]
mov rcx, qword [rbp + 0x170]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r9
mov rcx, qword [rbp + 0x110]
mov qword [rsp + 0x40], rcx
mov rax, qword [rbp + 0x108]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x100]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r10
mov dword [rsp + 0x20], 0xb4
mov r9d, 0xaa
mov rcx, r11
call fcn.10001191c
mov r12, rax
jmp 0x100011782
mov qword [rbp + 0x180], r12
jmp 0x10001178b
lea r9, [r12 + 0x128]
lea rdx, [r12 + 0x2d0]
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], 0x2e4
mov rax, qword [r12 + 0x120]
mov qword [rsp + 0x20], rax
lea r8, [0x10000e220]
mov rcx, r12
call fcn.100023f1c
test r13d, r13d
jne 0x1000118a0
mov r8, r12
lea edx, [r13 - 0x15]
mov rcx, qword [r12 + 0x130]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
lea rdx, [rsp + 0x88]
mov rcx, qword [r12 + 0x130]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [r12 + 0x120]
lea rdx, [rsp + 0x78]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetClientRect]
call fcn.100001bd8
mov edi, dword [rax + 0xf4]
call fcn.100001bd8
mov esi, dword [rax + 0xf0]
call fcn.100001bd8
mov ebx, dword [rax + 0xfc]
call fcn.100001bd8
movdqu xmm0, xmmword [r12 + 0x40]
movdqu xmmword [rsp + 0x68], xmm0
mov ecx, dword [rsp + 0x80]
lea r8d, [rcx + rdi*2]
mov dword [rsp + 0x70], r8d
mov edx, dword [rax + 0xf8]
add edx, ebx
add edx, esi
add edx, dword [rsp + 0x84]
add edx, dword [rsp + 0x94]
mov dword [rsp + 0x74], edx
mov eax, dword [rsp + 0x68]
mov dword [r12 + 0x40], eax
mov rax, qword [rsp + 0x68]
shr rax, 0x20
mov dword [r12 + 0x44], eax
mov dword [r12 + 0x48], r8d
mov rax, qword [rsp + 0x70]
shr rax, 0x20
add eax, dword [r12 + 0x80]
mov dword [r12 + 0x4c], eax
mov rcx, r12
call fcn.100023be8
test r13d, r13d
jne 0x1000118c4
lea r8d, [r13 + 2]
mov rdx, qword [rbp + 0x180]
mov rcx, qword [rbp + 0x118]
call fcn.100023dc8
movsxd r8, dword [0x100073070]
xor r9d, r9d
mov ebx, 0x111
mov edx, ebx
lea rcx, [0x100073460]
call fcn.100004410
movsxd r8, dword [0x10007306c]
xor r9d, r9d
mov edx, ebx
lea rcx, [0x100073460]
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
jmp fcn.100004410
xor r12d, r12d
jmp 0x100011782
mov r12, qword [rcx + 0x180]
jmp 0x10001178b
Function at 0x100014f40
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x110
mov rax, qword [0x1000730b0]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rdi, rdx
mov rbx, rcx
lea rdx, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x64
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov rdx, rdi
mov rcx, rbx
mov r8d, eax
call fcn.10000378c
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClientRect]
mov rdx, qword [0x1000735d0]
lea r8, [rsp + 0x20]
mov r9d, 2
mov rcx, rdi
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov rcx, qword [0x1000735d0]
lea rdx, [rsp + 0x20]
xor r8d, r8d
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [0x1000735d0]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.100001c30
mov rbx, qword [rsp + 0x130]
add rsp, 0x110
pop rdi
ret