joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003dc0
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x140074518]
xor rax, rsp
mov qword [rbp + 0x4f], rax
and qword [rbp + 0x27], 0
mov rdi, rcx
mov rcx, qword [rcx + 0xc0]
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.COMCTL32.dll_Ordinal_392
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
js 0x140003fb7
cmp qword [rdi + 0xb0], 0
jne 0x140003fb7
mov rcx, qword [rdi + 0xc0]
lea r9, [rbp + 0x2f]
movsxd r8, eax
mov edx, SetWindowSubclass
mov dword [rdi + 0xd0], eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rdi]
lea rdx, [rbp + 0x27]
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x14003a69c.0]
cmp qword [rbp + 0x27], 0
je 0x140003fb7
mov rcx, qword [rdi + 0xc0]
lea rdx, [rbp + 0x3f]
call qword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [rbp + 0x3b]
cmp dword [rbp + 0x4b], ebx
cmovl ebx, dword [rbp + 0x4b]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
and qword [rsp + 0x58], 0
mov r9d, 0x50000046
mov r8d, dword [rbp + 0x33]
sub ebx, r8d
mov edx, dword [rbp + 0x37]
mov ecx, dword [rbp + 0x2f]
dec edx
mov qword [rsp + 0x50], rax
inc ecx
and qword [rsp + 0x48], 0
mov rax, qword [rdi + 0xc0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], edx
lea rdx, str.EDIT
mov dword [rsp + 0x28], r8d
mov r8, qword [rbp + 0x27]
mov dword [rsp + 0x20], ecx
mov ecx, 8
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, qword [rbp + 0x27]
mov qword [rdi + 0xb0], rax
call sub.msvcrt.dll_free
mov edx, dword [rdi + 0xd4]
mov rcx, qword [rdi + 0xb0]
call fcn.14002b68c
mov r9, qword [rdi + 0xb8]
lea rdx, [0x140003b50]
mov rcx, qword [rdi + 0xb0]
mov r8d, 1
call qword [sym.imp.COMCTL32.dll_SetWindowSubclass]
mov rcx, qword [rdi + 0xb0]
mov r8, rdi
mov edx, 0xffffffeb
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov r8, qword [rdi + 0x58]
xor r9d, r9d
mov rcx, qword [rdi + 0xb0]
lea edx, [r9 + 0x30]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0xb0]
mov edx, 0xfffffff4
mov r8d, reloc.COMCTL32.dll_SetWindowSubclass
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [rdi + 0xb0]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0xb8]
mov edx, 0x41b
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rdi + 0xb8]
mov edx, 0x41c
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rdi + 0xb0]
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14005d960
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140004cb0
Capabilities:
Hide graphical window

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0xc0]
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, qword [rbx + 0xb0]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 0xb0]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, qword [rbx + 0xb0]
mov edx, 6
call fcn.14002b68c
mov rcx, qword [rbx + 0xc0]
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, rbx
call fcn.140004b98
mov rcx, qword [rbx + 0xb8]
mov edx, 0x41b
and qword [rbx + 0xb0], 0
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rbx + 0xb8]
mov edx, 0x41c
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 1
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_EnableWindow]

Function at 0x1400062bc
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x140074518]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, r9
mov rdi, r8
mov rbx, rdx
mov ecx, 0x4e20
call fcn.14005acc0
mov rsi, rax
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x2710
mov r9, rax
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor r14d, r14d
test eax, eax
je 0x140006380
mov ebx, r14d
mov edi, eax
lea rdx, [rsi + rbx*2]
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r14
mov word [rsp + 0x40], r14w
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r14w
jne 0x14000633b
lea rcx, [rsp + 0x38]
call fcn.14000e404
nop
mov rax, qword [rsp + 0x50]
inc rax
add rbx, rax
lea rdx, [rsp + 0x38]
mov rcx, rbp
call fcn.140008ad8
nop
cmp qword [rsp + 0x58], 8
jb 0x14000637b
mov rcx, qword [rsp + 0x40]
call sub.msvcrt.dll_free
cmp rdi, rbx
ja 0x14000631f
mov rcx, rsi
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14005d960
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140011a00
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x140074518]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
xor edi, edi
mov r14, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rdi
mov rcx, qword [rcx + 0xb0]
lea rdx, [rsp + 0x60]
mov esi, edi
lea r8d, [rdi + 0x64]
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [rsp + 0x60], di
jne 0x140011a6f
cmp r14, 0x2b
jne 0x140011a68
mov rcx, rbx
call fcn.1400113ec
mov al, 1
jmp 0x140011c63
mov r8d, 0x64
lea rdx, [rsp + 0x60]
call fcn.140015604
mov r9d, dword [0x14007673c]
lea rcx, [rsp + 0x60]
mov edx, 0x64
call fcn.1400404b8
test eax, eax
jne 0x140011be9
mov rcx, qword [0x140078088]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x60]
call fcn.14003c14c
test eax, eax
je 0x140011bd8
mov rcx, qword [rbx + 0xb0]
lea rdx, [rsp + 0x60]
mov r8d, 0x64
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rsi, qword [rsp + 0x30]
lea rax, [r14 - 9]
test rax, 0xfffffffffffffffb
jne 0x140011aef
cmp word [rsp + 0x60], di
je 0x140011b8a
movsxd r8, dword [rbx + 0xd0]
xor r9d, r9d
mov rcx, qword [rbx + 0xc0]
mov edx, 0x182
call qword [sym.imp.USER32.dll_SendMessageW]
cmp word [rsp + 0x60], di
je 0x140011b8a
mov rax, qword [0x140078088]
mov r9, rsi
mov rcx, qword [rax + 0x20]
mov rax, qword [rcx]
cmp dword [rax + 0x358], edi
je 0x140011b61
mov edx, dword [0x14007674c]
lea rcx, [0x140076740]
mov eax, 0x2d
mov dword [rsp + 0x28], 0x54
cmp ax, word [rsi]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
sete dil
mov r8d, edi
call fcn.140041cf0
lea r9, [rbp + 0x30]
movsxd r8, dword [rbx + 0xd0]
mov edx, 0x181
mov rcx, qword [rbx + 0xc0]
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd r8, dword [rbx + 0xd0]
mov rcx, qword [rbx + 0xc0]
jmp 0x140011bbd
mov rcx, qword [rbx + 0xc0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x18b
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0xc0]
mov rdx, rax
movsxd rax, dword [rbx + 0xd0]
mov r8, rax
cmp edx, eax
jne 0x140011bbd
dec r8
xor r9d, r9d
mov edx, Ordinal_392
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbx
call fcn.1400118cc
mov dil, 1
jmp 0x140011c57
mov rsi, qword [rsp + 0x30]
test rsi, rsi
je 0x140011bfd
mov qword [rsp + 0x48], rsi
jmp 0x140011c2c
cmp eax, 0x77
jne 0x140011bfd
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, 0x77
jmp 0x140011c0a
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, SHStripMneumonicW
mov r9d, 0x200
lea r8, [rbp + 0xe0]
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadStringW]
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x48], rax
mov rcx, qword [rbx + 0xb0]
lea r9, [rsp + 0x38]
xor r8d, r8d
mov dword [rsp + 0x38], 0x20
mov edx, 0x1503
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x50], edi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_free]
mov al, dil
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.14005d960
lea r11, [rsp + 0x5f0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140015a44
Capabilities:
Check http status code

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x140074518]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r15d, r9d
mov r12d, r8d
mov edi, edx
mov r14, qword [rsp + 0xd0]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rbp, rax
xor esi, esi
test rax, rax
je 0x140015cc1
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
cmp qword [r14], rsi
je 0x140015abb
mov rcx, qword [r14]
call fcn.140004284
mov qword [r14], rsi
mov ebx, esi
lea eax, [rdi - 0x2bc]
cmp eax, 0x3f
ja 0x140015ad2
mov ebx, 7
jmp case.0x140015b37.85
lea eax, [rdi - 0x42f]
cmp eax, 5
ja 0x140015ae7
mov ebx, 8
jmp case.0x140015b37.85
lea eax, [rdi - 0x82]
cmp eax, 9
ja 0x140015afc
mov ebx, 9
jmp case.0x140015b37.85
mov eax, 0xa8
cmp edi, eax
jg 0x140015ba7
je 0x140015b9d
add edi, 0xffffffb0
cmp edi, 0x49
ja case.0x140015b37.85
movsxd rax, edi
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x15d20]
mov ecx, dword [rdx + rax*4 + 0x15cec]
add rcx, rdx
jmp rcx
mov ebx, 6
jmp case.0x140015b37.85
mov ebx, 0xd
jmp case.0x140015b37.85
mov ebx, 0xa
jmp case.0x140015b37.85
mov ebx, 0xb
jmp case.0x140015b37.85
mov ebx, 0xf
jmp case.0x140015b37.85
mov ebx, 0x10
jmp case.0x140015b37.85
mov ebx, 0x11
jmp case.0x140015b37.85
mov ebx, 0x13
jmp case.0x140015b37.85
mov ebx, 0x12
jmp case.0x140015b37.85
mov ebx, 0x14
jmp case.0x140015b37.85
mov ebx, 0x16
jmp case.0x140015b37.85
cmp edi, 0x140
jg 0x140015c18
cmp edi, 0x13d
jge 0x140015c11
cmp edi, 0xab
jl case.0x140015b37.85
cmp edi, 0xb0
jle 0x140015c0a
cmp edi, 0xb5
je 0x140015c03
cmp edi, 0xb6
je 0x140015bfc
cmp edi, 0x104
je 0x140015bf5
lea eax, [rdi - 0x139]
cmp eax, 3
ja case.0x140015b37.85
mov ebx, 0x19
jmp case.0x140015b37.85
mov ebx, 0x1b
jmp case.0x140015b37.85
mov ebx, 3
jmp case.0x140015b37.85
mov ebx, 4
jmp case.0x140015b37.85
mov ebx, 0x17
jmp case.0x140015b37.85
mov ebx, 0x1a
jmp case.0x140015b37.85
cmp edi, 0x143
jle 0x140015c55
cmp edi, 0x191
je 0x140015c4e
cmp edi, 0x192
je case.0x140015b37.81
cmp edi, 0x194
je 0x140015c47
cmp edi, 0x420
jne case.0x140015b37.85
mov ebx, 0xe
jmp case.0x140015b37.85
mov ebx, 2
jmp case.0x140015b37.85
mov ebx, 5
jmp case.0x140015b37.85
mov ebx, 0x18
mov ecx, 0x430
call fcn.14005acc0
mov rdi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140015cbe
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x50], xmm0
call fcn.1400028e0
movsxd rcx, ebx
mov rdx, qword [rax + rcx*8]
mov ecx, dword [rsp + 0xe0]
mov dword [rsp + 0x38], ecx
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], r15d
mov r9d, r12d
mov r8, rbp
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14002d1d0
mov rsi, rax
mov qword [r14], rsi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14005d960
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400179cc
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x440
mov rax, qword [0x140074518]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov rbx, rdx
xor edi, edi
mov rsi, r9
mov rbp, r8
mov rcx, qword [rbx + 0x20]
lea edx, [rdi + 1]
call qword [sym.imp.GDI32.dll_SetBkMode]
test rsi, rsi
je 0x140017a1a
mov rcx, qword [rbx + 0x20]
mov rdx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdi, rax
mov rcx, qword [rbx + 0x20]
mov edx, 0x5b391e
call qword [sym.imp.GDI32.dll_SetTextColor]
lea r8, [0x140063da8]
mov edx, 0x200
lea rcx, [rsp + 0x30]
call qword [sym.imp.msvcrt.dll_wcscpy_s]
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3a]
mov r8d, 0x1fb
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rbx + 0x20]
lea r9, [rbx + 0x28]
or r8d, 0xffffffff
mov dword [rsp + 0x20], 0x24
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DrawTextW]
test rdi, rdi
je 0x140017a85
mov rcx, qword [rbx + 0x20]
mov rdx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
xor edx, edx
mov rcx, rbp
lea r8d, [rdx + 4]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov r8d, dword [rsp + 0x480]
cmp r8d, 0xffffffff
je 0x140017aaa
mov rdx, qword [rbx]
call fcn.140017948
mov eax, 1
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.14005d960
mov rbx, qword [rsp + 0x460]
add rsp, 0x440
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400183c4
Capabilities:
Get geographical location
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140074518]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
mov qword [rbx + 0x38], rax
lea rdx, str.AdjustCalendarDate
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x38]
lea rdx, str.ConvertCalDateTimeToSystemTime
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x38]
lea rdx, str.ConvertSystemTimeToCalDateTime
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x38]
lea rdx, str.GetCalendarMonthsInYear
mov qword [rbx + 8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x38]
lea rdx, str.GetCalendarDaysInMonth
mov qword [rbx + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x38]
lea rdx, str.GetCalendarDifferenceInDays
mov qword [rbx + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x38]
lea rdx, str.CompareCalendarDates
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9d, 8
lea r8, [rsp + 0x20]
mov edx, 0x1009
mov qword [rbx + 0x30], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
lea rcx, [rsp + 0x20]
call qword [sym.imp.msvcrt.dll__wtoi]
mov dword [rbx + 0x40], eax
mov rax, rbx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14005d960
add rsp, 0x50
pop rbx
ret
Function at 0x14001b1f8
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov eax, dword [0x140078090]
mov ebp, r8d
mov esi, edx
mov rdi, rcx
cmp eax, edx
je 0x14001b3d2
cmp eax, 3
jne 0x14001b253
mov rcx, qword [rcx + 0xb48]
test rcx, rcx
je 0x14001b288
cmp qword [rcx + 0xb0], 0
je 0x14001b288
mov rax, qword [rcx]
mov edx, 0x2b
mov rax, qword [rax + 0x18]
call qword [case.0x14003a69c.0]
test al, al
jne 0x14001b288
jmp 0x14001b3d2
mov rax, qword [rcx + 0x5f0]
test rax, rax
je 0x14001b288
cmp qword [rax + 0xb0], 0
je 0x14001b288
movzx edx, word [rax + 0xd0]
shl rdx, 0x10
or rdx, 0x94
call fcn.14001b7d0
test eax, eax
je 0x14001b3d2
test byte [0x140077a80], 1
je 0x14001b2a3
mov r8d, 0x1a
lea rdx, [0x1400633f8]
call fcn.1400298b8
mov rcx, rdi
call fcn.140019068
mov rcx, qword [0x1400780e0]
mov dword [0x140078090], esi
mov dword [0x140078098], ebp
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetMenu]
and dword [rsp + 0x20], 0
lea r9d, [rsi + 0x130]
mov edx, 0x130
mov rcx, rax
lea r8d, [rdx + 3]
call qword [sym.imp.USER32.dll_CheckMenuRadioItem]
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
lea rdx, str.SoftwareMicrosoftCalc
and qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x20006
xor r8d, r8d
and dword [rsp + 0x20], 0
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001b363
mov rcx, qword [rsp + 0x78]
lea r9d, [rax + 4]
lea rax, [rsp + 0x68]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.layout
mov dword [rsp + 0x68], esi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
lea rcx, [0x140077f70]
call fcn.14001a658
xor edx, edx
lea rcx, [0x140077f70]
call fcn.14001a584
lea rcx, [0x140077f70]
call fcn.14001ac54
mov rcx, qword [0x140078100]
mov edx, reloc.OLEAUT32.dll_DllRegisterServer
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetFocus]
call fcn.1400028e0
lea rcx, [0x140078568]
call fcn.14002b1ec
test byte [0x140077a80], 1
je 0x14001b3d2
mov r8d, 0x1b
lea rdx, [0x1400634c8]
call fcn.1400298b8
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x14001b7d0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor r15d, r15d
mov rbp, rdx
test byte [0x140077a80], 1
mov r14, rcx
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
je 0x14001b80c
lea r8d, [r15 + 0x18]
lea rdx, [0x140063488]
call fcn.1400298b8
mov rax, qword [0x140078560]
mov rdi, qword [rax + 0xb0]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov rcx, 0xffffffffffffffff
lea ebx, [rax + 1]
mov eax, 2
movsxd rdx, ebx
mul rdx
cmovo rax, rcx
mov rcx, rax
call fcn.14005acc0
mov r8d, ebx
mov rdx, rax
mov rcx, rdi
mov rsi, rax
mov word [rax], r15w
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov r8d, ebx
mov rdx, rsi
call fcn.140015604
mov rcx, qword [r14 + 0x118]
lea rax, [rsp + 0x68]
shr rbp, 0x10
lea r9, [rsp + 0x60]
movzx edx, bp
mov r8, rsi
mov qword [rsp + 0x20], rax
call fcn.14003bc44
mov ebx, eax
test eax, eax
jne 0x14001b8a3
mov rcx, qword [0x140078b88]
or dword [rcx + 0x34], 4
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBeep]
mov rcx, rsi
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14001b8bb
call qword [sym.imp.msvcrt.dll_free]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001b8cb
call qword [sym.imp.msvcrt.dll_free]
test byte [0x140077a80], 1
je 0x14001b8e6
mov r8d, 0x19
lea rdx, [0x140063408]
call fcn.1400298b8
mov rax, qword [0x140078b88]
or dword [rax + 0x34], 2
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001c1d4
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]
mov qword [r11 - 0x18], rbx
lea rdx, str.SoftwareMicrosoftCalc
mov qword [r11 - 0x20], rax
xor r9d, r9d
mov qword [r11 - 0x28], rbx
xor r8d, r8d
mov dword [rsp + 0x28], 0x20006
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001c2d4
mov edx, dword [0x140078b1c]
lea edi, [rbx + 4]
mov cl, byte [0x140078096]
inc edx
neg cl
mov dword [rsp + 0x28], edi
mov rcx, qword [rsp + 0x68]
mov r9d, edi
sbb eax, eax
xor r8d, r8d
and eax, edx
lea rdx, str.Templates
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp byte [0x140078095], bl
lea rdx, str.UnitConv
mov rcx, qword [rsp + 0x68]
mov eax, ebx
setne al
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x60], eax
mov r9d, edi
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp byte [0x140078097], bl
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
lea rdx, str.DateTime
setne bl
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov dword [rsp + 0x60], ebx
mov r9d, edi
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 0x14001c740
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x50
test byte [0x140077a80], 1
je 0x14001c765
mov r8d, 1
lea rdx, [0x140063428]
call fcn.1400298b8
mov rcx, qword [0x1400780e0]
xor ebx, ebx
cmp byte [0x140078094], bl
sete byte [0x140078094]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetMenu]
mov cl, byte [0x140078094]
mov edx, 0x3c5
neg cl
mov rcx, rax
sbb r8d, r8d
and r8d, 8
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rdx, str.SoftwareMicrosoftCalc
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001c825
cmp byte [0x140078094], bl
lea r9d, [rax + 4]
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
setne bl
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov dword [rsp + 0x60], ebx
lea rdx, str.ShowHistory
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
lea rcx, [0x140077f70]
lea r8d, [rdx + 1]
call fcn.1400199d8
test byte [0x140077a80], 1
je 0x14001c852
mov r8d, 2
lea rdx, [0x140063458]
call fcn.1400298b8
add rsp, 0x50
pop rbx
ret

Function at 0x14001c860
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp byte [0x140078095], bl
je 0x14001c87b
mov byte [0x140078095], bl
xor r9d, r9d
jmp 0x14001c8eb
cmp byte [0x140078096], bl
je 0x14001c8af
mov rdx, qword [0x140078078]
lea rcx, [0x140077f70]
mov dword [rsp + 0x28], ebx
xor r9d, r9d
mov r8d, 0xeb
mov dword [rsp + 0x20], ebx
call fcn.14001a13c
mov byte [0x140078096], bl
jmp 0x14001c8e1
cmp byte [0x140078097], bl
je 0x14001c8e1
mov rdx, qword [0x140078080]
lea rcx, [0x140077f70]
mov dword [rsp + 0x28], ebx
xor r9d, r9d
mov r8d, 0xfa0
mov dword [rsp + 0x20], ebx
call fcn.14001a13c
mov byte [0x140078097], bl
mov byte [0x140078095], 1
mov r9b, 1
mov rdx, qword [0x140078070]
lea rcx, [0x140077f70]
mov dword [rsp + 0x28], ebx
mov r8d, 0x2cb
mov dword [rsp + 0x20], 1
call fcn.14001a13c
add rsp, 0x30
pop rbx
jmp fcn.14001c1d4

Function at 0x14001c920
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp byte [0x140078096], bl
je 0x14001c93b
mov byte [0x140078096], bl
xor r9d, r9d
jmp 0x14001c9ab
cmp byte [0x140078095], bl
je 0x14001c96f
mov rdx, qword [0x140078070]
lea rcx, [0x140077f70]
mov dword [rsp + 0x28], ebx
xor r9d, r9d
mov r8d, 0x2cb
mov dword [rsp + 0x20], ebx
call fcn.14001a13c
mov byte [0x140078095], bl
jmp 0x14001c9a1
cmp byte [0x140078097], bl
je 0x14001c9a1
mov rdx, qword [0x140078080]
lea rcx, [0x140077f70]
mov dword [rsp + 0x28], ebx
xor r9d, r9d
mov r8d, 0xfa0
mov dword [rsp + 0x20], ebx
call fcn.14001a13c
mov byte [0x140078097], bl
mov byte [0x140078096], 1
mov r9b, 1
mov rdx, qword [0x140078078]
lea rcx, [0x140077f70]
mov dword [rsp + 0x28], ebx
mov r8d, 0xeb
mov dword [rsp + 0x20], 1
call fcn.14001a13c
add rsp, 0x30
pop rbx
jmp fcn.14001c1d4
Function at 0x14001c9e0
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp byte [0x140078097], bl
je 0x14001c9fb
mov byte [0x140078097], bl
xor r9d, r9d
jmp 0x14001ca6b
cmp byte [0x140078096], bl
je 0x14001ca2f
mov rdx, qword [0x140078078]
lea rcx, [0x140077f70]
mov dword [rsp + 0x28], ebx
xor r9d, r9d
mov r8d, 0xeb
mov dword [rsp + 0x20], ebx
call fcn.14001a13c
mov byte [0x140078096], bl
jmp 0x14001ca61
cmp byte [0x140078095], bl
je 0x14001ca61
mov rdx, qword [0x140078070]
lea rcx, [0x140077f70]
mov dword [rsp + 0x28], ebx
xor r9d, r9d
mov r8d, 0x2cb
mov dword [rsp + 0x20], ebx
call fcn.14001a13c
mov byte [0x140078095], bl
mov byte [0x140078097], 1
mov r9b, 1
mov rdx, qword [0x140078080]
lea rcx, [0x140077f70]
mov dword [rsp + 0x28], ebx
mov r8d, 0xfa0
mov dword [rsp + 0x20], 1
call fcn.14001a13c
add rsp, 0x30
pop rbx
jmp fcn.14001c1d4