joyce8/EMBER2024-capa huggingface dataset:
Function at 0x95cb80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x32e000]
push edi
or ebp, 0xffffffff
jmp 0x95cba2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x95cba9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x95cb98
mov eax, 1
add ebx, ebx
jne 0x95cbbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x95cbcc
jne 0x95cbeb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x95cbeb
dec eax
add ebx, ebx
jne 0x95cbd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x95cbb0
add ebx, ebx
jne 0x95cbe7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x95cc3d
xor ecx, ecx
sub eax, 3
jb 0x95cc03
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x95cc72
sar eax, 1
mov ebp, eax
jmp 0x95cc0e
add ebx, ebx
jne 0x95cc0e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x95cbdc
inc ecx
add ebx, ebx
jne 0x95cc1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x95cbdc
add ebx, ebx
jne 0x95cc29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x95cc1e
jne 0x95cc3a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x95cc1e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x95cc5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x95cc4e
jmp 0x95cb9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x95cc5c
add edi, ecx
jmp 0x95cb9e
pop esi
mov edi, esi
mov ecx, 0x6893
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x95cc7a
cmp byte [edi], 0x19
jne 0x95cc7a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x95cc7f
lea edi, [esi + 0x554000]
mov eax, dword [edi]
or eax, eax
je 0x95ccee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x565ca0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x565d2c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x95ccac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x565d30]
or eax, eax
je 0x95cce8
mov dword [ebx], eax
add ebx, 4
jmp 0x95ccc9
call dword [esi + 0x565d40]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x95cd1f
cmp al, 0xef
ja 0x95cd12
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x95ccf4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x95cd01
mov ebp, dword [esi + 0x565d34]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x95cd53
sub esp, 0xffffff80
jmp 0x4957fb
Function at 0x1002aadf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x1002aaee
pop dword [ebp - 0x24]
mov eax, 0x1002aaee
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x9f2bbeda
add dword [ebp - 0x34], 0xaf268671
mov dword [ebp - 0x30], 0x173e7091
add dword [ebp - 0x30], 0x1af4dbb4
mov dword [ebp - 0x2c], 0x3dd7577e
sub dword [ebp - 0x2c], 0xf18b1350
mov dword [ebp - 0x28], 0x145fdc
sub dword [ebp - 0x28], 0x145fdc
lea eax, [ebp - 0x34]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xc614e0de
sub dword [ebp - 0x34], 0x51a27788
mov dword [ebp - 0x30], 0x91f1da1f
add dword [ebp - 0x30], 0xaf7a8756
mov dword [ebp - 0x2c], 0x731f71fc
add dword [ebp - 0x2c], 0xf04ffa70
mov dword [ebp - 0x28], 0x99d1581b
add dword [ebp - 0x28], 0x662ea7e5
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0xcacb6144
sub eax, 0xbac8a11c
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x39c9c
push 0
call eax
mov ecx, 0xfd8ed363
add ecx, 0x27181e5
xor edx, edx
add edx, eax
mov edi, 0xa425cb75
sub edi, 0x94223575
add edi, dword [ebp - 0x24]
mov esi, 0xc472d911
sub esi, 0xfbc4befd
xor dword [ebp - 0x1c], ecx
mov ebx, dword [edi]
add dword [ebp - 0x20], 0x48f52757
xor ebx, esi
mov dword [edx], ebx
sub dword [ebp - 0x20], 0xe4b2378d
add edx, 4
add edi, 4
loop 0x1002ac08
add eax, 0x3bcc0f13
sub eax, 0x3bcac720
xor ebx, ebx
add ebx, eax
add eax, 0x26d2f692
sub eax, 0x26d2f68d
mov ecx, 0x7c4b5ad7
add ecx, 0x93b4a529
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x415800
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x41bac0], ecx
add edx, 1
cmp edx, 0x100
jb 0x415802
cmp edx, 0x800
jae 0x4158eb
mov edi, edi
mov eax, dword [edx*4 + 0x41b6c0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x41bac0]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x41babc], eax
jb 0x4158c0
mov dword [0x41ba94], 0x415f40
call fcn.00415a30
test eax, eax
jne 0x415908
mov dword [0x41ba94], 0x415e60
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x4018d8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.___do_sjlj_init
Function at 0x406ca7
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
and dword [ebp - 8], 0
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 8]
mov dword [ebp - 0x30], edi
mov eax, dword [edi]
mov ebx, dword [edi + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [0x4171d0]
mov dword [ebp - 0x28], eax
mov eax, dword [0x4171d4]
mov dword [ebp - 0x2c], eax
call fcn.00406ca0
mov esi, dword [ebp - 8]
mov eax, dword [0x4171d8]
add esi, 0x23f
mov dword [ebp - 0x34], eax
mov eax, dword [0x4171dc]
push 0x20
mov dword [ebp - 8], esi
mov dword [ebp - 0x38], eax
pop edi
mov dword [ebp - 0x20], 2
add dword [ebp - 0x20], 3
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [0x1aa2644]
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x406d3e
xor ecx, ecx
lea eax, [ebp - 0x3c]
push ecx
push eax
push ecx
lea eax, [ebp - 0x43c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov ecx, dword [0x1aa2644]
add eax, dword [ebp - 0x34]
cmp ecx, 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x1aa2640]
mov dword [ebp - 0xc], 0xedeb2e40
cmove eax, dword [ebp - 0xc]
and dword [ebp - 0xc], 0
cmp ecx, 0x3eb
mov dword [0x1aa2640], eax
mov eax, dword [0x1aa2594]
cmove eax, dword [ebp - 0xc]
mov dword [0x1aa2594], eax
lea eax, [esi + edx]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x38]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
and dword [ebp - 0x24], 0
mov dword [0x1aa263c], 0xf4ea3dee
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 0x10]
sub ebx, eax
mov dword [ebp - 0x18], eax
mov eax, ebx
mov dword [ebp - 0x10], ebx
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 8]
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
nop
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x20]
mov eax, ebx
shr eax, cl
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
xor dword [ebp - 4], eax
cmp dword [0x1aa2644], 0xb03
jne 0x406e15
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
push 0x406418
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov eax, dword [ebp - 4]
and dword [ebp - 8], 0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0x14], eax
add esi, 0x61c88647
mov dword [ebp - 8], esi
dec edi
jne 0x406cfb
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
mov dword [edi + 4], ebx
mov dword [edi], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41183b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4166b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040d970
mov dword [ebp - 0x14], eax
cmp dword [0x4baf38], esi
jne 0x41192e
push 0x800
push esi
push 0x405b14
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4118bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x411a0e
push esi
push esi
push 0x405b14
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x411a0e
push 0x405b2c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x411a0e
push eax
call ebx
push 0x405b38
push edi
mov dword [0x4baf38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x405b48
push edi
mov dword [0x4baf3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x405b5c
push edi
mov dword [0x4baf40], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4baf48], eax
test eax, eax
je 0x41192b
push 0x405b78
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4baf44], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x411953
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x411946
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x411968
push 4
pop eax
jmp 0x411a10
cmp dword [ebp - 0x14], esi
je 0x411968
push dword [0x4baf38]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41194d
mov eax, dword [0x4baf44]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4119c6
cmp dword [0x4baf48], edi
je 0x4119c6
push eax
call ebx
push dword [0x4baf48]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4119c6
test eax, eax
je 0x4119c6
call ecx
test eax, eax
je 0x4119bb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4119bb
test byte [ebp - 8], 1
jne 0x4119c6
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4119f6
mov eax, dword [0x4baf3c]
cmp eax, edi
je 0x4119f3
push eax
call ebx
test eax, eax
je 0x4119f3
call eax
mov esi, eax
test esi, esi
je 0x4119f3
mov eax, dword [0x4baf40]
cmp eax, edi
je 0x4119f3
push eax
call ebx
test eax, eax
je 0x4119f3
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4baf38]
call ebx
test eax, eax
je 0x411a0e
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x411a10
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040946b
mov esp, ebp
pop ebp
ret
Function at 0x10001053
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1084c140]
jne 0x1000105d
repz ret
jmp fcn.100012df

Function at 0x10005feb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1084c140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.10001a36
and dword [ebp - 0x14], 0
cmp dword [0x1084facc], 0
mov dword [ebp - 0x18], eax
jne 0x1000609e
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10006146
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10006146
mov esi, dword [sym.imp.kernel32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1084facc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1084fad0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1084fad4], eax
call edi
push eax
call esi
mov dword [0x1084fadc], eax
test eax, eax
je 0x1000609e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1084fad8], eax
mov eax, dword [0x1084fad8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.kernel32.dll_DecodePointer]
cmp eax, ecx
je 0x100060f7
cmp dword [0x1084fadc], ecx
je 0x100060f7
push eax
call esi
push dword [0x1084fadc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x100060f7
test ebx, ebx
je 0x100060f7
call edi
test eax, eax
je 0x100060ee
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x100060ee
test byte [ebp - 8], 1
jne 0x100060f7
or dword [ebp + 0x10], 0x200000
jmp 0x1000612a
mov eax, dword [0x1084fad0]
cmp eax, dword [ebp - 0x18]
je 0x1000612a
push eax
call esi
test eax, eax
je 0x1000612a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000612a
mov eax, dword [0x1084fad4]
cmp eax, dword [ebp - 0x18]
je 0x1000612a
push eax
call esi
test eax, eax
je 0x1000612a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1084facc]
call esi
test eax, eax
je 0x10006146
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10006148
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10001053
leave
ret
Function at 0x1000106c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1002f810]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 7
xor esi, esi
lea eax, [ebp - 0xc]
push esi
push eax
mov bl, 1
call fcn.10016e50
add esp, 0xc
push 7
lea eax, [ebp - 0xc]
push eax
push 5
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x100010e4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push 0x100293f4
push eax
call fcn.10016e30
add esp, 0xc
xor eax, eax
test bl, bl
je 0x100010e7
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + str._7]
jne 0x100010d6
mov esi, dword [eax + 0x1002f008]
xor bl, bl
add eax, 4
cmp eax, 0x9c
jb 0x100010bf
test bl, bl
je 0x100010e7
xor esi, esi
inc esi
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.10016eca
leave
ret
Function at 0x10002949
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xa8
mov eax, dword [0x1002f810]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
mov esi, 0x94
push esi
xor ebx, ebx
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.10016e50
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x100029f0
cmp dword [ebp - 0x1c], 5
jne 0x100029f0
cmp dword [ebp - 0x18], ebx
jbe 0x100029f0
lea eax, [ebp - 0x24]
push eax
push 1
push ebx
push str.SystemWPATabletPC
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100029f0
push 4
pop esi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
push str.Installed
push dword [ebp - 0x24]
mov dword [ebp - 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100029e7
cmp dword [ebp - 0x2c], esi
jne 0x100029e7
cmp dword [ebp - 0x28], esi
jne 0x100029e7
cmp dword [ebp - 0x30], 1
sete bl
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x74]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.10016eca
add ebp, 0x78
leave
ret

Function at 0x10002b8c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
xor esi, esi
push 1
push esi
push str.SoftwareIntelDisplayigfxcuiigfxcfg
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10002be7
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push str.DCRotationCaps
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 0xc], 1
pop esi
sete al
leave
ret
Function at 0x1000310d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareIntelDisplayigfxcuiigfxsrvc
xor esi, esi
xor edi, edi
push reloc.OLEAUT32.dll_SysReAllocString
inc esi
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10003185
cmp dword [ebp - 4], edi
je 0x10003185
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push edi
push str.IntelDefaultPers
push dword [ebp - 4]
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], 4
mov dword [ebp - 0xc], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10003177
cmp dword [ebp - 8], 4
jne 0x10003177
mov al, byte [ebp - 0xc]
not al
movzx esi, al
and esi, 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 1
jne 0x10003198
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0x3ff
mov dword [eax + 0x14], 0x32
jmp 0x100031a1
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
pop edi
xor eax, eax
pop esi
leave
ret 4

Function at 0x100037a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push edi
lea eax, [ebp - 8]
push eax
xor ebx, ebx
mov edi, str.SoftwareIntelDisplayigfxcuiMedia
push edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], ebx
call esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
push edi
push SysReAllocString
call esi
cmp dword [ebp - 0x18], ebx
je 0x100037f1
cmp eax, ebx
jne 0x100038b6
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push str.EnableFMD
push dword [ebp - 8]
call esi
test eax, eax
jne 0x10003817
mov eax, dword [ebp - 4]
jmp 0x1000381a
xor eax, eax
inc eax
mov edi, dword [ebp + 8]
xor ecx, ecx
cmp eax, 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
sete cl
push ebx
push str.NoiseReductionEnabledAlways
push dword [ebp - 8]
mov dword [edi + 0x1c], ecx
call esi
test eax, eax
jne 0x10003848
mov eax, dword [ebp - 4]
jmp 0x1000384b
xor eax, eax
inc eax
xor ecx, ecx
cmp eax, 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
sete cl
push ebx
push str.SharpnessEnabledAlways
push dword [ebp - 8]
mov dword [edi + 0x24], ecx
call esi
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 4]
xor ecx, ecx
cmp eax, 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
sete cl
push ebx
push str.SharpnessFactor
push dword [ebp - 8]
mov dword [edi + 0x2c], ecx
call esi
test eax, eax
je 0x100038a1
fldz
fstp dword [edi + 0x34]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
cmp dword [ebp - 8], ebx
je 0x100038b6
push dword [ebp - 8]
call esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100038bd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
lea eax, [ebp - 4]
push eax
push str.SoftwareIntelDisplayigfxcuiMedia
xor ebx, ebx
push SysReAllocString
mov dword [ebp - 0x14], 0x80004005
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, ebx
mov dword [ebp - 8], 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x10003970
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
lea eax, [edi + 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push str.EnableFMD
push dword [ebp - 4]
mov dword [ebp - 0x14], ebx
call esi
lea eax, [ebp - 8]
push eax
lea eax, [edi + 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push str.NoiseReductionEnabledAlways
push dword [ebp - 4]
call esi
lea eax, [ebp - 8]
push eax
lea eax, [edi + 0x28]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push str.SharpnessEnabledAlways
push dword [ebp - 4]
call esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push str.SharpnessFactor
push dword [ebp - 4]
call esi
fld dword [ebp - 0x10]
push dword [ebp - 4]
fstp dword [edi + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, dword [ebp - 0x14]
pop ebx
leave
ret 4

Function at 0x10003978
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
lea eax, [ebp - 8]
push eax
push str.SoftwareIntelDisplayigfxcuiMedia
xor ebx, ebx
push SysReAllocString
mov dword [ebp - 0x14], 0x80004005
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, ebx
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
jne 0x10003a5b
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
lea eax, [edi + 0x4c]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push str.ProcAmpApplyAlways
push dword [ebp - 8]
mov dword [ebp - 0x14], ebx
call esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push str.ProcAmpHue
push dword [ebp - 8]
call esi
fld dword [ebp - 4]
lea eax, [ebp - 0xc]
fstp dword [edi + 0x54]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push str.ProcAmpSaturation
push dword [ebp - 8]
call esi
fld dword [ebp - 4]
lea eax, [ebp - 0xc]
fstp dword [edi + 0x68]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push str.ProcAmpContrast
push dword [ebp - 8]
call esi
fld dword [ebp - 4]
lea eax, [ebp - 0xc]
fstp dword [edi + 0x7c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push str.ProcAmpBrightness
push dword [ebp - 8]
call esi
fld dword [ebp - 4]
push dword [ebp - 8]
fstp dword [edi + 0x90]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, dword [ebp - 0x14]
pop ebx
leave
ret 4