joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006dcc0
Capabilities:
Register raw input devices

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x20]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
mov eax, 1
mov word [rsp + 0x28], ax
mov eax, 2
mov word [rsp + 0x2a], ax
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x358]
mov qword [rsp + 0x30], rax
mov r8d, 0x10
mov edx, 1
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x14006dd38
lea rdx, str.Win32:_Failed_to_register_raw_input_device
mov ecx, 0x10008
call fcn.140077f60
mov rcx, rsp
lea rdx, [0x14009ae70]
call fcn.14007f020
add rsp, 0x50
pop rdi
ret

Function at 0x14006dd60
Capabilities:
Register raw input devices

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x20]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
mov eax, 1
mov word [rsp + 0x28], ax
mov eax, 2
mov word [rsp + 0x2a], ax
mov dword [rsp + 0x2c], 1
mov qword [rsp + 0x30], 0
mov r8d, 0x10
mov edx, 1
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x14006ddd0
lea rdx, str.Win32:_Failed_to_remove_raw_input_device
mov ecx, 0x10008
call fcn.140077f60
mov rcx, rsp
lea rdx, [0x14009aec0]
call fcn.14007f020
add rsp, 0x50
pop rdi
ret

Function at 0x14006e310
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x30
mov dword [rsp + 0x20], 0
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14006e33e
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14006e35e
mov eax, dword [rsp + 0x20]
or eax, 2
mov dword [rsp + 0x20], eax
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14006e37e
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
mov dword [rsp + 0x24], eax
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
mov ecx, dword [rsp + 0x24]
or ecx, eax
mov eax, ecx
and eax, 0x8000
test eax, eax
je 0x14006e3b6
mov eax, dword [rsp + 0x20]
or eax, 8
mov dword [rsp + 0x20], eax
mov ecx, 0x14
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 1
test eax, eax
je 0x14006e3d4
mov eax, dword [rsp + 0x20]
or eax, 0x10
mov dword [rsp + 0x20], eax
mov ecx, 0x90
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 1
test eax, eax
je 0x14006e3f2
mov eax, dword [rsp + 0x20]
or eax, 0x20
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret
Function at 0x140075660
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0
je 0x140075690
mov r8d, 0x29
lea rdx, [0x14033e260]
lea rcx, str.tls__win32.allocated__GLFW_FALSE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 4], 0xffffffff
jne 0x1400756be
lea rdx, str.Win32:_Failed_to_allocate_TLS_index
mov ecx, 0x10008
call fcn.140077f60
xor eax, eax
jmp 0x1400756ce
mov rax, qword [rsp + 0x30]
mov dword [rax], 1
mov eax, 1
add rsp, 0x20
pop rdi
ret

Function at 0x140075720
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [rsp + 0x30]
cmp dword [rax], 1
je 0x140075750
mov r8d, 0x40
lea rdx, [0x14033e330]
lea rcx, [0x14033e390]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax + 4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x20
pop rdi
ret

Function at 0x140075770
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [rsp + 0x30]
cmp dword [rax], 1
je 0x1400757a5
mov r8d, 0x46
lea rdx, [0x14033e3e0]
lea rcx, str.tls__win32.allocated__GLFW_TRUE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax + 4]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x20
pop rdi
ret
Function at 0x1400780b0
Capabilities:
Log keystrokes

Disassembly:
push rdi
sub rsp, 0x220
lea rdi, [rsp + 0x40]
mov ecx, 0x78
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140343f10]
xor rax, rsp
mov qword [rsp + 0x210], rax
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, pe_nt_image_headers64
rep stosb byte [rdi], al
mov r8d, 0x6d1
xor edx, edx
lea rcx, [0x14034c702]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x40], 0x20
jmp 0x140078115
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x15c
jg 0x140078319
movsxd rax, dword [rsp + 0x40]
lea rcx, [0x14034c448]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0x168], eax
cmp dword [rsp + 0x168], 0xffffffff
jne 0x140078146
jmp 0x14007810b
cmp dword [rsp + 0x40], 0x140
jl 0x140078222
cmp dword [rsp + 0x40], 0x14e
jg 0x140078222
mov dword [rsp + 0x1b8], 0x60
mov dword [rsp + 0x1bc], 0x61
mov dword [rsp + 0x1c0], 0x62
mov dword [rsp + 0x1c4], 0x63
mov dword [rsp + 0x1c8], 0x64
mov dword [rsp + 0x1cc], 0x65
mov dword [rsp + 0x1d0], 0x66
mov dword [rsp + 0x1d4], 0x67
mov dword [rsp + 0x1d8], 0x68
mov dword [rsp + 0x1dc], 0x69
mov dword [rsp + 0x1e0], 0x6e
mov dword [rsp + 0x1e4], 0x6f
mov dword [rsp + 0x1e8], 0x6a
mov dword [rsp + 0x1ec], 0x6d
mov dword [rsp + 0x1f0], 0x6b
mov eax, dword [rsp + 0x40]
sub eax, 0x140
cdqe
mov eax, dword [rsp + rax*4 + 0x1b8]
mov dword [rsp + 0x164], eax
jmp 0x14007823b
mov edx, 1
mov ecx, dword [rsp + 0x168]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov dword [rsp + 0x164], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10
lea r9, [rsp + 0x178]
lea r8, [rsp + 0x60]
mov edx, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x164]
call qword [sym.imp.USER32.dll_ToUnicode]
mov dword [rsp + 0x16c], eax
cmp dword [rsp + 0x16c], 0xffffffff
jne 0x1400782b5
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10
lea r9, [rsp + 0x178]
lea r8, [rsp + 0x60]
mov edx, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x164]
call qword [sym.imp.USER32.dll_ToUnicode]
mov dword [rsp + 0x16c], eax
cmp dword [rsp + 0x16c], 1
jge 0x1400782c4
jmp 0x14007810b
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 5
lea rcx, [0x14034c702]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, [rsp + 0x178]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x14007810b
mov rcx, rsp
lea rdx, [0x14009c810]
call fcn.14007f020
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.14007e450
add rsp, 0x220
pop rdi
ret
Function at 0x14007c940
Capabilities:
Link many functions at runtime

Disassembly:
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x20]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140343f10]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rax, str.libOSMesa.dll
mov qword [rsp + 0x38], rax
lea rax, str.OSMesa.dll
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
cmp qword [0x14034d058], 0
je 0x14007c99b
mov eax, 1
jmp 0x14007cb1b
mov dword [rsp + 0x20], 0
jmp 0x14007c9af
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
cmp qword [rsp + rax*8 + 0x38], 0
je 0x14007c9e1
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + rax*8 + 0x38]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14034d058], rax
cmp qword [0x14034d058], 0
je 0x14007c9df
jmp 0x14007c9e1
jmp 0x14007c9a5
cmp qword [0x14034d058], 0
jne 0x14007ca03
lea rdx, str.OSMesa:_Library_not_found
mov ecx, 0x10006
call fcn.140070ad0
xor eax, eax
jmp 0x14007cb1b
lea rdx, str.OSMesaCreateContextExt
mov rcx, qword [0x14034d058]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14034d060], rax
lea rdx, str.OSMesaCreateContextAttribs
mov rcx, qword [0x14034d058]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14034d068], rax
lea rdx, str.OSMesaDestroyContext
mov rcx, qword [0x14034d058]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14034d070], rax
lea rdx, str.OSMesaMakeCurrent
mov rcx, qword [0x14034d058]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14034d078], rax
lea rdx, str.OSMesaGetColorBuffer
mov rcx, qword [0x14034d058]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14034d080], rax
lea rdx, str.OSMesaGetDepthBuffer
mov rcx, qword [0x14034d058]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14034d088], rax
lea rdx, str.OSMesaGetProcAddress
mov rcx, qword [0x14034d058]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14034d090], rax
cmp qword [0x14034d060], 0
je 0x14007cafc
cmp qword [0x14034d070], 0
je 0x14007cafc
cmp qword [0x14034d078], 0
je 0x14007cafc
cmp qword [0x14034d080], 0
je 0x14007cafc
cmp qword [0x14034d088], 0
je 0x14007cafc
cmp qword [0x14034d090], 0
jne 0x14007cb16
lea rdx, str.OSMesa:_Failed_to_load_required_entry_points
mov ecx, 0x10008
call fcn.140070ad0
call fcn.14007cb50
xor eax, eax
jmp 0x14007cb1b
mov eax, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x14009d1a0]
call fcn.14007f020
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14007e450
add rsp, 0x70
pop rdi
ret
Function at 0x1811d2058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1811d21df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1811d2089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1811d206f
add dl, dl
jne 0x1811d2096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1811d20f6
xor eax, eax
add dl, dl
jne 0x1811d20a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1811d21ad
add dl, dl
jne 0x1811d20b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1811d20c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1811d20d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1811d20dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1811d20ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1811d207e
mov eax, 1
add dl, dl
jne 0x1811d2106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1811d2113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1811d20fb
sub eax, ebx
mov ebx, 1
jne 0x1811d214c
mov ecx, 1
add dl, dl
jne 0x1811d212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1811d213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1811d2123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1811d207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1811d2168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1811d2175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1811d215d
cmp eax, 0x7d00
jae 0x1811d219b
cmp eax, 0x500
jb 0x1811d2196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1811d207e
cmp eax, 0x7f
ja 0x1811d219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1811d207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1811d21d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1811d207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400011b0
Capabilities:
Get file version info

Disassembly:
test ecx, ecx
jne 0x14000133f
mov r11, rsp
sub rsp, 0x178
mov rax, qword [0x140064198]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov qword [r11 + 8], rbx
lea rdx, [rsp + 0x50]
mov qword [r11 + 0x10], rbp
mov r8d, 0x104
mov qword [r11 + 0x18], rsi
xor ecx, ecx
mov qword [r11 + 0x20], rdi
mov qword [r11 - 8], r14
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ecx, eax
mov ebx, eax
call fcn.14002a1cc
mov r9, rax
lea rcx, [rsp + 0x50]
mov r8d, ebx
xor edx, edx
mov rdi, rax
call sub.VERSION.dll_GetFileVersionInfoA
lea rdx, [0x14004c5b0]
mov rcx, rdi
call fcn.1400016f0
lea rdx, [0x14004c5c0]
mov rcx, rdi
mov rbx, rax
call fcn.1400016f0
lea rdx, [0x14004c5d0]
mov rcx, rdi
mov rsi, rax
call fcn.1400016f0
lea rdx, [0x14004c5e0]
mov rcx, rdi
mov rbp, rax
call fcn.1400016f0
lea rdx, [0x14004c5f0]
mov rcx, rdi
mov r14, rax
call fcn.1400016f0
mov rdi, rax
call fcn.140001ea0
test eax, eax
je 0x1400012c0
mov ecx, 1
call fcn.140011420
mov qword [rsp + 0x30], rdi
lea rdx, str._n_s_v_s____s_n_s_n_s_n_n
mov rcx, rax
mov qword [rsp + 0x28], r14
mov r9, rsi
mov qword [rsp + 0x20], rbp
mov r8, rbx
call fcn.1400014e0
mov ecx, 1
jmp 0x1400012f3
mov ecx, 2
call fcn.140011420
mov qword [rsp + 0x30], rdi
lea rdx, str._n_s_v_s____s_n_s_n_s_n_n
mov rcx, rax
mov qword [rsp + 0x28], r14
mov r9, rsi
mov qword [rsp + 0x20], rbp
mov r8, rbx
call fcn.1400014e0
mov ecx, 2
call fcn.140011420
mov rcx, rax
call fcn.14002984c
mov rdi, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x190]
mov rbp, qword [rsp + 0x188]
mov rbx, qword [rsp + 0x180]
mov r14, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140002da0
add rsp, 0x178
ret
Function at 0x1400011b8
Capabilities:
Get file version info

Disassembly:
test ecx, ecx
jne 0x14000133f
mov r11, rsp
sub rsp, 0x178
mov rax, qword [0x140064198]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov qword [r11 + 8], rbx
lea rdx, [rsp + 0x50]
mov qword [r11 + 0x10], rbp
mov r8d, 0x104
mov qword [r11 + 0x18], rsi
xor ecx, ecx
mov qword [r11 + 0x20], rdi
mov qword [r11 - 8], r14
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ecx, eax
mov ebx, eax
call fcn.14002a1cc
mov r9, rax
lea rcx, [rsp + 0x50]
mov r8d, ebx
xor edx, edx
mov rdi, rax
call sub.VERSION.dll_GetFileVersionInfoA
lea rdx, [0x14004c5b0]
mov rcx, rdi
call fcn.1400016f0
lea rdx, [0x14004c5c0]
mov rcx, rdi
mov rbx, rax
call fcn.1400016f0
lea rdx, [0x14004c5d0]
mov rcx, rdi
mov rsi, rax
call fcn.1400016f0
lea rdx, [0x14004c5e0]
mov rcx, rdi
mov rbp, rax
call fcn.1400016f0
lea rdx, [0x14004c5f0]
mov rcx, rdi
mov r14, rax
call fcn.1400016f0
mov rdi, rax
call fcn.140001ea0
test eax, eax
je 0x1400012c0
mov ecx, 1
call fcn.140011420
mov qword [rsp + 0x30], rdi
lea rdx, str._n_s_v_s____s_n_s_n_s_n_n
mov rcx, rax
mov qword [rsp + 0x28], r14
mov r9, rsi
mov qword [rsp + 0x20], rbp
mov r8, rbx
call fcn.1400014e0
mov ecx, 1
jmp 0x1400012f3
mov ecx, 2
call fcn.140011420
mov qword [rsp + 0x30], rdi
lea rdx, str._n_s_v_s____s_n_s_n_s_n_n
mov rcx, rax
mov qword [rsp + 0x28], r14
mov r9, rsi
mov qword [rsp + 0x20], rbp
mov r8, rbx
call fcn.1400014e0
mov ecx, 2
call fcn.140011420
mov rcx, rax
call fcn.14002984c
mov rdi, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x190]
mov rbp, qword [rsp + 0x188]
mov rbx, qword [rsp + 0x180]
mov r14, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140002da0
add rsp, 0x178
ret
Function at 0x140001340
Capabilities:
Get file version info

Disassembly:
test ecx, ecx
jne 0x1400014cf
mov r11, rsp
sub rsp, 0x278
mov rax, qword [0x140064198]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov qword [r11 + 8], rbx
lea rdx, [rsp + 0x50]
mov qword [r11 + 0x10], rbp
mov r8d, 0x104
mov qword [r11 + 0x18], rsi
xor ecx, ecx
mov qword [r11 + 0x20], rdi
mov qword [r11 - 8], r14
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ecx, eax
mov ebx, eax
call fcn.14002a1cc
mov r9, rax
lea rcx, [rsp + 0x50]
mov r8d, ebx
xor edx, edx
mov rdi, rax
call sub.VERSION.dll_GetFileVersionInfoW
lea rdx, [0x14004c4f0]
mov rcx, rdi
call fcn.140001750
lea rdx, [0x14004c510]
mov rcx, rdi
mov rbx, rax
call fcn.140001750
lea rdx, [0x14004c528]
mov rcx, rdi
mov rsi, rax
call fcn.140001750
lea rdx, [0x14004c548]
mov rcx, rdi
mov rbp, rax
call fcn.140001750
lea rdx, [0x14004c568]
mov rcx, rdi
mov r14, rax
call fcn.140001750
mov rdi, rax
call fcn.140001ea0
test eax, eax
je 0x140001450
mov ecx, 1
call fcn.140011420
mov qword [rsp + 0x30], rdi
lea rdx, [0x14004c580]
mov rcx, rax
mov qword [rsp + 0x28], r14
mov r9, rsi
mov qword [rsp + 0x20], rbp
mov r8, rbx
call fcn.140001580
mov ecx, 1
jmp 0x140001483
mov ecx, 2
call fcn.140011420
mov qword [rsp + 0x30], rdi
lea rdx, [0x14004c580]
mov rcx, rax
mov qword [rsp + 0x28], r14
mov r9, rsi
mov qword [rsp + 0x20], rbp
mov r8, rbx
call fcn.140001580
mov ecx, 2
call fcn.140011420
mov rcx, rax
call fcn.14002984c
mov rdi, qword [rsp + 0x298]
mov rsi, qword [rsp + 0x290]
mov rbp, qword [rsp + 0x288]
mov rbx, qword [rsp + 0x280]
mov r14, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140002da0
add rsp, 0x278
ret
Function at 0x140001348
Capabilities:
Get file version info

Disassembly:
test ecx, ecx
jne 0x1400014cf
mov r11, rsp
sub rsp, 0x278
mov rax, qword [0x140064198]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov qword [r11 + 8], rbx
lea rdx, [rsp + 0x50]
mov qword [r11 + 0x10], rbp
mov r8d, 0x104
mov qword [r11 + 0x18], rsi
xor ecx, ecx
mov qword [r11 + 0x20], rdi
mov qword [r11 - 8], r14
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ecx, eax
mov ebx, eax
call fcn.14002a1cc
mov r9, rax
lea rcx, [rsp + 0x50]
mov r8d, ebx
xor edx, edx
mov rdi, rax
call sub.VERSION.dll_GetFileVersionInfoW
lea rdx, [0x14004c4f0]
mov rcx, rdi
call fcn.140001750
lea rdx, [0x14004c510]
mov rcx, rdi
mov rbx, rax
call fcn.140001750
lea rdx, [0x14004c528]
mov rcx, rdi
mov rsi, rax
call fcn.140001750
lea rdx, [0x14004c548]
mov rcx, rdi
mov rbp, rax
call fcn.140001750
lea rdx, [0x14004c568]
mov rcx, rdi
mov r14, rax
call fcn.140001750
mov rdi, rax
call fcn.140001ea0
test eax, eax
je 0x140001450
mov ecx, 1
call fcn.140011420
mov qword [rsp + 0x30], rdi
lea rdx, [0x14004c580]
mov rcx, rax
mov qword [rsp + 0x28], r14
mov r9, rsi
mov qword [rsp + 0x20], rbp
mov r8, rbx
call fcn.140001580
mov ecx, 1
jmp 0x140001483
mov ecx, 2
call fcn.140011420
mov qword [rsp + 0x30], rdi
lea rdx, [0x14004c580]
mov rcx, rax
mov qword [rsp + 0x28], r14
mov r9, rsi
mov qword [rsp + 0x20], rbp
mov r8, rbx
call fcn.140001580
mov ecx, 2
call fcn.140011420
mov rcx, rax
call fcn.14002984c
mov rdi, qword [rsp + 0x298]
mov rsi, qword [rsp + 0x290]
mov rbp, qword [rsp + 0x288]
mov rbx, qword [rsp + 0x280]
mov r14, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140002da0
add rsp, 0x278
ret

Function at 0x140001b70
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x48
xor eax, eax
mov r9d, 0x101
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140001bfc
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rdx, str.EulaAccepted
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rbx
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x68], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x40]
jne 0x140001bfc
cmp dword [rsp + 0x60], 0
je 0x140001bfc
mov eax, 1
add rsp, 0x48
ret
xor eax, eax
add rsp, 0x48
ret
Function at 0x140001d40
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x140064198]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor ebx, ebx
mov dword [rsp + 0x30], 0x208
lea r8, [rsp + 0x38]
mov qword [rsp + 0x38], rbx
lea rdx, str.SoftwareMicrosoftwindows_ntcurrentversion
mov dword [rsp + 0x34], ebx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x140001de3
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x40]
xor r8d, r8d
lea rdx, [0x140052940]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140001dd8
lea rdx, [rsp + 0x40]
lea rcx, str.iotuap
call fcn.14002a3d4
test eax, eax
mov ecx, 1
cmove ebx, ecx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140002da0
add rsp, 0x260
pop rbx
ret

Function at 0x140001e00
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
mov dword [rsp + 0x50], 4
lea r8, [rsp + 0x58]
mov qword [rsp + 0x58], rbx
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionServerServerLevels
mov dword [rsp + 0x48], ebx
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x40], ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x140001e8a
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x48]
xor r8d, r8d
lea rdx, str.NanoServer
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140001e7f
cmp dword [rsp + 0x40], 4
jne 0x140001e7f
mov eax, 1
cmp dword [rsp + 0x48], eax
cmove ebx, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x30
pop rbx
ret