joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003acc
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 0x10003b1d
cmp eax, ebx
jne 0x10003c44
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.ProcAmpApplyAlways
push dword [ebp - 8]
call esi
mov edi, dword [ebp + 8]
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 4]
mov dword [edi + 0x50], eax
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
test eax, eax
jne 0x10003b76
mov eax, dword [ebp - 4]
fild dword [ebp - 4]
test eax, eax
jge 0x10003b78
fadd dword [0x10029d4c]
jmp 0x10003b78
fldz
lea eax, [ebp - 0xc]
fstp dword [ebp + 8]
fld dword [ebp + 8]
push eax
lea eax, [ebp - 4]
fstp dword [edi + 0x58]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push str.ProcAmpSaturation
push dword [ebp - 8]
call esi
test eax, eax
jne 0x10003bae
mov eax, dword [ebp - 4]
fild dword [ebp - 4]
test eax, eax
jge 0x10003bb0
fadd dword [0x10029d4c]
jmp 0x10003bb0
fld1
lea eax, [ebp - 0xc]
fstp dword [ebp + 8]
fld dword [ebp + 8]
push eax
lea eax, [ebp - 4]
fstp dword [edi + 0x6c]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push str.ProcAmpContrast
push dword [ebp - 8]
call esi
test eax, eax
jne 0x10003be6
mov eax, dword [ebp - 4]
fild dword [ebp - 4]
test eax, eax
jge 0x10003be8
fadd dword [0x10029d4c]
jmp 0x10003be8
fld1
lea eax, [ebp - 0xc]
fstp dword [ebp + 8]
fld dword [ebp + 8]
push eax
lea eax, [ebp - 4]
fstp dword [edi + 0x80]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push str.ProcAmpBrightness
push dword [ebp - 8]
call esi
test eax, eax
jne 0x10003c21
mov eax, dword [ebp - 4]
fild dword [ebp - 4]
test eax, eax
jge 0x10003c23
fadd dword [0x10029d4c]
jmp 0x10003c23
fldz
push dword [ebp - 0x14]
fstp dword [ebp + 8]
fld dword [ebp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
fstp dword [edi + 0x94]
call esi
cmp dword [ebp - 8], ebx
je 0x10003c44
push dword [ebp - 8]
call esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10003c4b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 8]
push eax
push str.SoftwareIntelDisplayigfxcuiMedia
xor esi, esi
push SysReAllocString
mov dword [ebp - 0xc], 0x80004005
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, esi
mov dword [ebp - 4], esi
jne 0x10003d28
push ebx
mov ebx, dword [ebp + 8]
fld dword [ebx + 0x30]
push edi
push 4
fstp dword [ebp - 0x10]
pop edi
push edi
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push str.SharpnessFactor
push dword [ebp - 8]
mov dword [ebp - 0xc], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call esi
mov eax, dword [ebx + 0x20]
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x10003cb4
mov dword [ebp - 4], ecx
jmp 0x10003cbb
test eax, eax
jne 0x10003ccd
and dword [ebp - 4], eax
push edi
lea eax, [ebp - 4]
push eax
push edi
push 0
push str.NoiseReductionEnabledAlways
push dword [ebp - 8]
call esi
mov eax, dword [ebx + 0x28]
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x10003cdc
mov dword [ebp - 4], ecx
jmp 0x10003ce3
test eax, eax
jne 0x10003cf5
and dword [ebp - 4], eax
push edi
lea eax, [ebp - 4]
push eax
push edi
push 0
push str.SharpnessEnabledAlways
push dword [ebp - 8]
call esi
mov ebx, dword [ebx + 0x18]
xor eax, eax
inc eax
cmp ebx, eax
jne 0x10003d04
mov dword [ebp - 4], eax
jmp 0x10003d0b
test ebx, ebx
jne 0x10003d1d
and dword [ebp - 4], ebx
push edi
lea eax, [ebp - 4]
push eax
push edi
push 0
push str.EnableFMD
push dword [ebp - 8]
call esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
mov eax, dword [ebp - 0xc]
pop esi
leave
ret 4
Function at 0x10003d30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
push edi
lea eax, [ebp - 8]
push eax
push str.SoftwareIntelDisplayigfxcuiMedia
xor esi, esi
push SysReAllocString
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0x80004005
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
fldz
push 0xf0
fstp dword [ebp - 4]
mov edi, eax
lea eax, [ebp - 0x104]
push esi
push eax
mov dword [ebp - 0xc], esi
call fcn.10016e50
add esp, 0xc
cmp edi, esi
jne 0x10003e7f
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x4c]
xor ecx, ecx
push ebx
inc ecx
cmp eax, ecx
push 4
mov dword [ebp - 0x10], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop ebx
jne 0x10003da4
mov dword [ebp - 0xc], ecx
jmp 0x10003dab
test eax, eax
jne 0x10003dbd
and dword [ebp - 0xc], eax
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
push 0
push str.ProcAmpApplyAlways
push dword [ebp - 8]
call esi
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x104]
push eax
call fcn.10003978
fld dword [ebp - 0xb0]
fld dword [edi + 0x54]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x10003df6
fld dword [edi + 0x54]
push ebx
lea eax, [ebp - 4]
fstp dword [ebp - 4]
push eax
push ebx
push 0
push str.ProcAmpHue
push dword [ebp - 8]
call esi
fld dword [ebp - 0x9c]
fld dword [edi + 0x68]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x10003e20
fld dword [edi + 0x68]
push ebx
lea eax, [ebp - 4]
fstp dword [ebp - 4]
push eax
push ebx
push 0
push str.ProcAmpSaturation
push dword [ebp - 8]
call esi
fld dword [ebp - 0x88]
fld dword [edi + 0x7c]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x10003e4a
fld dword [edi + 0x7c]
push ebx
lea eax, [ebp - 4]
fstp dword [ebp - 4]
push eax
push ebx
push 0
push str.ProcAmpContrast
push dword [ebp - 8]
call esi
fld dword [ebp - 0x74]
lea ecx, [edi + 0x90]
fld dword [ecx]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x10003e75
fld dword [ecx]
push ebx
lea eax, [ebp - 4]
fstp dword [ebp - 4]
push eax
push ebx
push 0
push str.ProcAmpBrightness
push dword [ebp - 8]
call esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov eax, dword [ebp - 0x10]
pop edi
pop esi
leave
ret 4
Function at 0x10003e88
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 0x10003f57
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push str.NLASVerticalCrop
push dword [ebp - 8]
mov dword [ebp - 0x14], ebx
call esi
fld dword [ebp - 4]
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc]
fstp dword [edi + 0xb4]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push str.NLASHLinearRegion
push dword [ebp - 8]
call esi
fld dword [ebp - 4]
lea eax, [ebp - 0xc]
fstp dword [edi + 0xc8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push str.NLASNonLinearCrop
push dword [ebp - 8]
call esi
fld dword [ebp - 4]
lea eax, [ebp - 0xc]
fstp dword [edi + 0xdc]
push eax
add edi, 0xac
push edi
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x10029d50
push dword [ebp - 8]
call esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, dword [ebp - 0x14]
pop ebx
leave
ret 4
Function at 0x10003fb8
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 0x10004009
cmp eax, ebx
jne 0x1000412c
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 0x10029d50
push dword [ebp - 8]
call esi
mov edi, dword [ebp + 8]
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 4]
mov dword [edi + 0xb0], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push str.NLASVerticalCrop
push dword [ebp - 8]
call esi
test eax, eax
jne 0x1000406b
mov eax, dword [ebp - 4]
fild dword [ebp - 4]
test eax, eax
jge 0x10004063
fadd qword [0x10029dd0]
fdiv qword [0x10029dc8]
jmp 0x1000406d
fldz
lea eax, [ebp - 0xc]
fstp dword [ebp + 8]
fld dword [ebp + 8]
push eax
lea eax, [ebp - 4]
fstp dword [edi + 0xb8]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push str.NLASHLinearRegion
push dword [ebp - 8]
call esi
test eax, eax
jne 0x100040b8
mov eax, dword [ebp - 4]
fild dword [ebp - 4]
test eax, eax
jge 0x100040a4
fadd qword [0x10029dd0]
fmul qword [0x10029dc0]
fdiv qword [0x10029dc8]
fadd qword [0x10029db8]
jmp 0x100040be
fld dword [0x10029da0]
lea eax, [ebp - 0xc]
fstp dword [ebp + 8]
fld dword [ebp + 8]
push eax
lea eax, [ebp - 4]
fstp dword [edi + 0xcc]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push str.NLASNonLinearCrop
push dword [ebp - 8]
call esi
test eax, eax
jne 0x10004109
mov eax, dword [ebp - 4]
fild dword [ebp - 4]
test eax, eax
jge 0x100040f5
fadd qword [0x10029dd0]
fmul qword [0x10029db0]
fdiv qword [0x10029dc8]
fadd qword [0x10029da8]
jmp 0x1000410b
fldz
push dword [ebp - 0x14]
fstp dword [ebp + 8]
fld dword [ebp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
fstp dword [edi + 0xe0]
call esi
cmp dword [ebp - 8], ebx
je 0x1000412c
push dword [ebp - 8]
call esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10004133
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
push str.SoftwareIntelDisplayigfxcuiMedia
xor esi, esi
push SysReAllocString
mov dword [ebp - 0x10], 0x80004005
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, esi
mov dword [ebp - 0xc], esi
jne 0x100041fc
push ebx
push edi
mov edi, dword [ebp + 8]
fld dword [edi + 0xb4]
push 4
pop ebx
fstp dword [ebp - 8]
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push esi
push str.NLASVerticalCrop
push dword [ebp - 4]
mov dword [ebp - 0x10], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call esi
fld dword [edi + 0xc8]
push ebx
fstp dword [ebp - 8]
lea eax, [ebp - 8]
push eax
push ebx
push 0
push str.NLASHLinearRegion
push dword [ebp - 4]
call esi
fld dword [edi + 0xdc]
push ebx
fstp dword [ebp - 8]
lea eax, [ebp - 8]
push eax
push ebx
push 0
push str.NLASNonLinearCrop
push dword [ebp - 4]
call esi
mov edi, dword [edi + 0xac]
xor eax, eax
inc eax
cmp edi, eax
jne 0x100041d8
mov dword [ebp - 0xc], eax
jmp 0x100041df
test edi, edi
jne 0x100041f1
and dword [ebp - 0xc], edi
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
push 0
push 0x10029d50
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
mov eax, dword [ebp - 0x10]
pop esi
leave
ret 4
Function at 0x10004f16
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x24]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x28]
inc eax
cmp ecx, eax
push edi
mov dword [ebp - 8], 3
mov dword [ebp + 8], ecx
ja 0x10004f3b
mov dword [ebp + 8], eax
add dword [ebp + 8], 0x29
push dword [ebp + 8]
push 1
call fcn.10019a69
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x10004f5c
mov eax, 0x800400c9
pop edi
pop esi
leave
ret 4
push ebx
mov byte [esi], 0
jmp 0x10004feb
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x10004fa2
mov bl, byte [esi + 0x1c]
xor bl, byte [esi + 0x18]
xor eax, eax
test ecx, ecx
jbe 0x10004f83
mov edx, ecx
xor bl, byte [esi + eax + 0x2c]
inc eax
cmp eax, edx
jb 0x10004f7a
push ecx
lea eax, [esi + 0x2c]
push eax
lea eax, [edi + 0x28]
push eax
call fcn.10016ee0
mov eax, dword [edi + 0x24]
add esp, 0xc
mov byte [edi + eax + 0x28], bl
inc dword [edi + 0x24]
or dword [edi + 4], 2
cmp dword [esi + 0x28], 0
je 0x10004fac
or dword [edi + 4], 1
or dword [edi + 0x1c], 1
push 0x28
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
push esi
push edi
push dword [ebp + 8]
push 0x435044
call fcn.100044e7
mov ebx, eax
test ebx, ebx
jl 0x10005023
cmp dword [esi + 0x18], 0x6e
jne 0x10005028
cmp dword [esi + 0x28], 0
je 0x10005028
cmp byte [edi + 0x28], 0x6e
je 0x10005028
cmp dword [ebp - 8], 0
je 0x10005028
dec dword [ebp - 8]
mov ecx, dword [ebp - 4]
lea eax, [esi + 0x14]
push eax
push edi
call fcn.10002dc5
mov ecx, dword [ebp - 4]
lea eax, [edi + 0x18]
push eax
push dword [esi + 0x10]
call fcn.10011f65
test eax, eax
jne 0x10004f65
mov esi, 0x80004005
push edi
call fcn.1001977e
pop ecx
mov eax, esi
pop ebx
jmp 0x10004f56
mov byte [esi], 1
jmp 0x1000503e
push dword [edi + 0x20]
lea eax, [edi + 0x28]
push eax
lea eax, [esi + 0x2c]
push eax
call fcn.10016ee0
add esp, 0xc
mov byte [esi], 0
mov esi, ebx
jmp 0x10005014

Function at 0x10008fac
Capabilities:
Check os version

Disassembly:
push 0xa0
mov eax, 0x10027ac4
call fcn.100195e6
mov ebx, dword [ebp + 8]
and dword [ebp - 0xa8], 0
mov dword [ebp - 0xac], ebx
xor edi, edi
lea eax, [ebp + 0xc]
inc edi
push eax
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.100089f6
push 0x94
lea eax, [ebp - 0xa4]
push 0
push eax
mov dword [ebp - 0xa8], edi
call fcn.10016e50
add esp, 0xc
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x94], 2
jne 0x1000903c
cmp dword [ebp - 0xa0], 5
jne 0x1000903c
push str.Global_
mov ecx, ebx
call fcn.10008a1c
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0xc]
push eax
mov ecx, ebx
call fcn.10008195
push 0
push edi
lea ecx, [ebp + 0xc]
call fcn.10007d8c
mov eax, ebx
call fcn.10019630
ret
Function at 0x1000af0b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x110
mov eax, dword [0x1002f810]
xor eax, ebp
mov dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x70]
push ebx
mov ebx, dword [ebp + 0x78]
push esi
mov esi, dword [ebp + 0x7c]
mov dword [ebp - 0x3c], ecx
push edi
mov edi, dword [ebp + 0x74]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x44], eax
call fcn.10015c61
mov dword [esi], 8
mov dword [edi], 0x280
lea ecx, [ebp - 0x48]
mov dword [ebx], 0x1e0
call fcn.10015d1f
test al, al
jne 0x1000af63
lea ecx, [ebp - 0x48]
call fcn.10015d85
push 0x9c
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.10016e50
push 0
lea eax, [ebp - 0x38]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x44]
mov word [ebp - 0x14], 0x9c
call fcn.10003353
add esp, 0x1c
cmp eax, 1
jne 0x1000afc0
cmp dword [ebp + 0x30], 8
je 0x1000af9d
mov dword [esi], 0x10
mov ecx, dword [ebp + 0x34]
cmp ecx, dword [ebp + 0x38]
mov eax, 0x320
jbe 0x1000afb1
cmp ecx, eax
jae 0x1000afb8
cmp ecx, dword [ebp + 0x38]
jae 0x1000afc0
cmp dword [ebp + 0x38], eax
jb 0x1000afc0
mov dword [edi], eax
mov dword [ebx], 0x258
push 0x58
xor esi, esi
lea eax, [ebp - 0xa8]
push esi
push eax
call fcn.10016e50
mov ecx, dword [ebp - 0x3c]
add esp, 0xc
lea eax, [ebp - 0xa8]
push eax
call fcn.10006043
test eax, eax
jl 0x1000b07b
cmp dword [ebp - 0x94], 1
jne 0x1000b07b
lea eax, [ebp - 0x40]
push eax
push str.SoftwareIntelDisplayigfxcuiigfxdev
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x40], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1000b07b
cmp dword [ebp - 0x40], esi
je 0x1000b07b
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x3c]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push str.MaxSuppXX
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 4
call esi
test eax, eax
jne 0x1000b04b
cmp dword [ebp - 0x3c], 4
jne 0x1000b04b
mov eax, dword [ebp - 0x50]
mov dword [edi], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0
push str.MaxSuppYY
push dword [ebp - 0x40]
call esi
test eax, eax
jne 0x1000b072
cmp dword [ebp - 0x3c], 4
jne 0x1000b072
mov eax, dword [ebp - 0x4c]
mov dword [ebx], eax
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x64]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.10016eca
add ebp, 0x68
leave
ret 0x10
Function at 0x10011b02
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x1002f810]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.IntelCuiXlateMutex
xor ebx, ebx
push ebx
push ebx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
mov dword [esi + 0x24], eax
jne 0x10011b59
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push 0x409
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x10011c6f
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0xb7
je 0x10011c6f
lea eax, [ebp - 0x1c]
push eax
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push 4
push 6
push dword [esi + 0x24]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_GetSecurityInfo]
test eax, eax
je 0x10011ba0
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push 0x409
call edi
jmp 0x10011b3e
push 0x20
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.10016e50
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x40], 0x1fffff
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 1
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x40]
push eax
push 1
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclA]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
jne 0x10011c51
push ebx
push dword [ebp - 0x14]
push ebx
push ebx
push 4
push 6
push dword [esi + 0x24]
call dword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
test eax, eax
je 0x10011c51
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push 0x409
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push dword [ebp - 0x10]
call edi
cmp dword [ebp - 0x14], ebx
je 0x10011c5b
push dword [ebp - 0x14]
call edi
cmp dword [ebp - 0x1c], ebx
je 0x10011c65
push dword [ebp - 0x1c]
call edi
cmp dword [ebp - 0x18], ebx
je 0x10011c6f
push dword [ebp - 0x18]
call edi
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.10016eca
leave
ret

Function at 0x10012770
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8
Function at 0x100127c3
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
test esi, esi
mov ebx, ecx
jne 0x100127d9
push 0x80004005
call fcn.1000270a
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x100127dc
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x100130f0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x1002f810]
xor eax, ebp
mov dword [ebp + 0x94], eax
mov eax, dword [ebp + 0xa0]
push ebx
push esi
push edi
push 0x2001f
mov ebx, ecx
push eax
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
call fcn.1001273b
mov edi, eax
cmp edi, esi
je 0x10013158
lea ecx, [ebp - 0x70]
call fcn.100126d6
mov eax, edi
mov ecx, dword [ebp + 0x94]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10016eca
add ebp, 0x98
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x10013170
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
call fcn.100130f0
cmp eax, esi
jne 0x100131a3
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], pe_nt_image_headers32
call edi
test eax, eax
je 0x10013160
lea ecx, [ebp - 0x70]
call fcn.100126d6
push dword [ebp - 0x78]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.100126d6
mov eax, esi
jmp 0x1001313e