joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1880157b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
lea eax, [ebp - 0xc]
push eax
push 1
xor ebx, ebx
push ebx
push str.SoftwareMicrosoftWindows_NTCurrentVersion
push 0x80000002
mov byte [ebp - 1], bl
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x188016a8
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
push 4
pop edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push str.CurrentMajorVersionNumber
push dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], edi
call esi
test eax, eax
jne 0x18801611
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push str.CurrentMinorVersionNumber
push dword [ebp - 0xc]
mov dword [ebp - 8], edi
call esi
cmp dword [ebp + 0x10], ebx
je 0x18801685
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 8], 0x64
push ebx
push ebx
push str.ReleaseId
push dword [ebp - 0xc]
call esi
jmp 0x18801685
push 9
pop ecx
xor eax, eax
mov word [ebp - 0x3c], ax
lea edi, [ebp - 0x3a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x3c]
push eax
push ebx
push ebx
push str.CurrentVersion
push dword [ebp - 0xc]
mov dword [ebp - 8], 0x28
call esi
test eax, eax
jne 0x18801685
lea eax, [ebp - 0x3c]
push 0x2e
push eax
call fcn.188191d9
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x18801685
xor eax, eax
mov word [esi], ax
add esi, 2
cmp word [esi], bx
je 0x18801685
push 0xa
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.1881943c
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp eax, ebx
jbe 0x1880169d
push 0xa
push ebx
push esi
call fcn.1881943c
add esp, 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jbe 0x1880169d
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov byte [ebp - 1], 1
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov al, byte [ebp - 1]
pop ebx
leave
ret
Function at 0x18801742
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x1882be80
call fcn.1882a764
push ecx
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
push esi
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebp - 4], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov byte [ebp - 4], 1
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
mov byte [ebp - 4], 2
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], eax
mov byte [ebp - 4], 3
lea esi, [ebx + 0x48]
mov dword [ebp - 0x10], esi
mov dword [esi + 8], eax
call fcn.188031a0
mov dword [esi + 4], eax
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov eax, dword [esi + 4]
mov byte [eax + 0x2c], 1
mov eax, dword [esi + 4]
mov byte [eax + 0x2d], 1
mov byte [ebp - 4], 6
call fcn.1880189d
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x18808336
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, eax
cmp dword [esi], 0
je 0x1880837f
cmp byte [esi + 0x5b], 0
je 0x1880837f
mov eax, dword [esi + 0x70]
cmp dword [eax + 0x246c], 1
jbe 0x1880837f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1880837f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x1880837f
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
mov byte [esi + 0x5b], 0
call fcn.1880847f
pop esi
ret

Function at 0x18808381
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi]
test eax, eax
je 0x1880839a
cmp byte [esi + 0x5b], 0
jne 0x1880839a
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0x5b], 1
ret
Function at 0x1880a371
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push edi
xor ebx, ebx
push ebx
mov dword [esi + 0x2478], eax
lea eax, [esi + 0x2470]
push eax
push ebx
push 0x2004
mov dword [eax], ebx
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 4]
push eax
push 1
push ebx
push str.Control_PanelDesktop
mov edi, 0x1f4
push 0x80000001
mov dword [ebp - 8], edi
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1880a40c
push 9
pop ecx
mov word [ebp - 0x34], ax
lea edi, [ebp - 0x32]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x34]
push eax
push ebx
push ebx
push str.CursorBlinkRate
push dword [ebp - 4]
mov dword [ebp - 0xc], 0x28
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1880a400
push 0xa
lea eax, [ebp - 0x34]
push ebx
push eax
call fcn.18819422
add esp, 0xc
mov dword [ebp - 8], eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 8]
shr edi, 3
mov dword [esi + 0x2474], edi
pop edi
pop ebx
leave
ret
Function at 0x1880b344
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push esi
push edi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x1880b486
cmp word [edi], bx
je 0x1880b486
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x1880b486
cmp word [eax], bx
je 0x1880b486
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push ebx
push eax
call fcn.18819090
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.18819090
add esp, 0xc
add esi, 2
push edi
mov eax, esi
lea ecx, [ebp - 0x418]
call fcn.188014a8
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp - 0x418]
push eax
call edi
cmp word [ebp + eax*2 - 0x41a], 0x5c
je 0x1880b3f1
push 0x18833484
mov eax, esi
lea ebx, [ebp - 0x418]
call fcn.188014dd
xor ebx, ebx
push dword [ebp + 8]
mov eax, esi
lea ecx, [ebp - 0x210]
call fcn.188014a8
lea eax, [ebp - 0x210]
push eax
call edi
cmp word [ebp + eax*2 - 0x212], 0x5c
je 0x1880b429
push 0x18833484
mov eax, esi
lea ebx, [ebp - 0x210]
call fcn.188014dd
xor ebx, ebx
push ebx
push dword [ebp + 8]
mov byte [ebp - 1], bl
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp eax, ebx
je 0x1880b44d
cmp eax, 0x50
je 0x1880b44d
cmp eax, 0xb7
je 0x1880b44d
mov byte [ebp - 1], 1
jmp 0x1880b47c
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x1880b459
cmp word [eax], bx
jne 0x1880b45b
xor eax, eax
lea ecx, [ebp - 1]
push ecx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.1880af15
add esp, 0x18
xor eax, eax
cmp byte [ebp - 1], bl
sete al
jmp 0x1880b488
xor al, al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1880b48d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push dword [ebp + 8]
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1880b4ad
shr eax, 4
and al, 1
mov bl, al
jmp 0x1880b4f8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
je 0x1880b4f7
cmp eax, 3
je 0x1880b4f7
cmp eax, 5
je 0x1880b4f7
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], str.....Library11Files.cpp
mov dword [ebp - 0xc], 0xb5
mov dword [ebp - 8], ebx
call esi
push 5
pop ecx
mov dword [ebp - 4], eax
push 0x18836bec
lea eax, [ebp - 0x28]
lea esi, [ebp - 0x14]
lea edi, [ebp - 0x28]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.1881d33f
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x1880bb6a
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbb8
push ebx
xor eax, eax
push 0xbb6
push eax
mov word [ebp - 0xbb8], ax
lea eax, [ebp - 0xbb6]
push eax
call fcn.18819090
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xbb8]
push eax
call fcn.1880b8eb
add esp, 0x10
push 0x18833ec8
mov eax, 0xbb8
lea ebx, [ebp - 0xbb8]
call fcn.188014dd
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop ebx
leave
ret

Function at 0x1880bbc2
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbb8
push ebx
xor eax, eax
push 0xbb6
push eax
mov word [ebp - 0xbb8], ax
lea eax, [ebp - 0xbb6]
push eax
call fcn.18819090
push dword [ebp + 8]
lea eax, [ebp - 0xbb8]
push eax
push dword [ebp + 0xc]
call fcn.1880b597
add esp, 0x18
push 0x18833ec8
mov eax, 0xbb8
lea ebx, [ebp - 0xbb8]
call fcn.188014dd
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop ebx
leave
ret

Function at 0x1880bc1d
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbb8
push ebx
push edi
xor eax, eax
push 0xbb6
push eax
mov word [ebp - 0xbb8], ax
lea eax, [ebp - 0xbb6]
push eax
call fcn.18819090
add esp, 0xc
lea edi, [ebp - 0xbb8]
call fcn.1880ba08
push 0x18833ec8
mov eax, 0xbb8
mov ebx, edi
call fcn.188014dd
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
pop ebx
leave
ret

Function at 0x1880bc6f
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbb8
push ebx
push edi
xor eax, eax
push 0xbb6
push eax
mov word [ebp - 0xbb8], ax
lea eax, [ebp - 0xbb6]
push eax
call fcn.18819090
add esp, 0xc
lea edi, [ebp - 0xbb8]
call fcn.1880bab9
push 0x18833ec8
mov eax, 0xbb8
mov ebx, edi
call fcn.188014dd
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
pop ebx
leave
ret
Function at 0x1880d913
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x660
push ebx
push esi
push edi
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x454], ax
xor esi, esi
lea eax, [ebp - 0x452]
push esi
push eax
call fcn.18819090
add esp, 0xc
lea eax, [ebp - 0x454]
push eax
push esi
push esi
push 0x801a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, esi
jge 0x1880d996
cmp eax, 0x80070005
je 0x1880d996
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], str...UMSettings.cpp
mov dword [ebp - 0x14], 0x26b
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop ecx
mov dword [ebp - 0xc], eax
push 0x18836bec
lea eax, [ebp - 0x30]
lea esi, [ebp - 0x1c]
lea edi, [ebp - 0x30]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.1881d33f
cmp word [ebp - 0x454], si
je 0x1880dacc
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp + eax*2 - 0x456]
cmp word [eax], 0x5c
jne 0x1880d9c2
xor ecx, ecx
mov word [eax], cx
xor eax, eax
push edi
mov word [ebp - 0x24c], ax
lea eax, [ebp - 0x24a]
push esi
push eax
call fcn.18819090
add esp, 0xc
lea eax, [ebp - 0x454]
push eax
mov esi, 0x208
mov eax, esi
lea ecx, [ebp - 0x24c]
call fcn.188014a8
push 0x18833484
mov eax, esi
lea ebx, [ebp - 0x24c]
call fcn.188014dd
push str.Realtime_SoftUltraMon
mov eax, esi
call fcn.188014dd
xor eax, eax
push edi
mov word [ebp - 0x65c], ax
xor ebx, ebx
lea eax, [ebp - 0x65a]
push ebx
push eax
call fcn.18819090
add esp, 0xc
push 1
push 4
push 3
lea eax, [ebp - 0x24c]
push eax
push str._s_u._u._u
mov eax, esi
lea edi, [ebp - 0x65c]
call fcn.188016e6
mov eax, edi
add esp, 0x14
push eax
call fcn.1880b48d
pop ecx
test al, al
jne 0x1880da98
xor eax, eax
push 9
mov word [ebp - 0x44], ax
pop ecx
lea edi, [ebp - 0x42]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 8], bl
call fcn.18812fe6
push dword [ebp - 8]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x65c]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.18812328
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x65c]
push eax
mov esi, 0x104
mov ecx, edi
call fcn.1880c781
push edi
call fcn.1880b48d
pop ecx
test al, al
jne 0x1880dacc
push ebx
push edi
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp eax, 5
jne 0x1880dad3
xor eax, eax
mov word [edi], ax
pop edi
pop esi
pop ebx
leave
ret 4
cmp eax, ebx
je 0x1880dacc
cmp eax, 0x50
je 0x1880dacc
cmp eax, 0xb7
je 0x1880dacc
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], str...UMSettings.cpp
mov dword [ebp - 0x14], 0x2aa
jmp 0x1880d971
Function at 0x18811903
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
xor esi, esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
push dword [ebp + 0xc]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x18811940
cmp dword [ebp - 4], esi
mov ecx, dword [ebp + 0x10]
setne al
mov byte [ecx], al
pop esi
leave
ret 0xc
cmp eax, 2
je 0x1881193b
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], str...UMSettings.cpp
mov dword [ebp - 0x14], 0x8d8
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop ecx
mov dword [ebp - 0xc], eax
push 0x18836bec
lea eax, [ebp - 0x30]
lea esi, [ebp - 0x1c]
lea edi, [ebp - 0x30]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.1881d33f
int3

Function at 0x1881199f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
xor esi, esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], 4
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
je 0x18811a03
cmp eax, 2
je 0x18811a03
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], str...UMSettings.cpp
mov dword [ebp - 0x10], 0x8e7
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop ecx
mov dword [ebp - 8], eax
push 0x18836bec
lea eax, [ebp - 0x2c]
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x2c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.1881d33f
pop esi
leave
ret 0xc

Function at 0x18811a08
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
xor esi, esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
je 0x18811a6a
cmp eax, 2
je 0x18811a6a
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], str...UMSettings.cpp
mov dword [ebp - 0x10], 0x8ef
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop ecx
mov dword [ebp - 8], eax
push 0x18836bec
lea eax, [ebp - 0x2c]
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x2c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.1881d33f
pop esi
leave
ret 0xc
Function at 0x18811a6f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
mov esi, ecx
cmp esi, 0x3e
je 0x18811a8f
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
mov dword [ebp - 4], esi
call fcn.188135f9
test al, al
je 0x18811afc
xor eax, eax
cmp byte [ebp + 0x14], al
push edi
setne al
push 4
mov dword [ebp + 0x14], eax
lea eax, [ebp + 0x14]
push eax
push 4
push 0
push dword [ebp + 8]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x18811aec
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], str...UMSettings.cpp
mov dword [ebp - 0x14], 0x8fa
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop ecx
mov dword [ebp - 0xc], eax
push 0x18836bec
lea eax, [ebp - 0x30]
lea esi, [ebp - 0x1c]
lea edi, [ebp - 0x30]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.1881d33f
cmp esi, 0x3e
je 0x18811afb
mov edi, dword [ebp + 0xc]
mov ecx, esi
call fcn.188133d4
pop edi
pop esi
leave
ret 0x10

Function at 0x18811b01
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
mov esi, ecx
cmp esi, 0x3e
je 0x18811b21
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
mov dword [ebp - 4], esi
call fcn.188135f9
test al, al
je 0x18811b83
push edi
push 4
lea eax, [ebp + 0x14]
push eax
push 4
push 0
push dword [ebp + 8]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x18811b73
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], str...UMSettings.cpp
mov dword [ebp - 0x14], 0x90d
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop ecx
mov dword [ebp - 0xc], eax
push 0x18836bec
lea eax, [ebp - 0x30]
lea esi, [ebp - 0x1c]
lea edi, [ebp - 0x30]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.1881d33f
cmp esi, 0x3e
je 0x18811b82
mov edi, dword [ebp + 0xc]
mov ecx, esi
call fcn.188133d4
pop edi
pop esi
leave
ret 0x10

Function at 0x18811b88
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
mov esi, ecx
cmp esi, 0x3e
je 0x18811ba8
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
mov dword [ebp - 4], esi
call fcn.188135f9
test al, al
je 0x18811c15
push edi
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x14]
push 1
push 0
push dword [ebp + 8]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x18811c05
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], str...UMSettings.cpp
mov dword [ebp - 0x14], 0x91a
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop ecx
mov dword [ebp - 0xc], eax
push 0x18836bec
lea eax, [ebp - 0x30]
lea esi, [ebp - 0x1c]
lea edi, [ebp - 0x30]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.1881d33f
cmp esi, 0x3e
je 0x18811c14
mov edi, dword [ebp + 0xc]
mov ecx, esi
call fcn.188133d4
pop edi
pop esi
leave
ret 0x10
Function at 0x18811c1a
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
mov edi, eax
mov esi, ecx
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
call fcn.188135f9
test al, al
je 0x18811cab
cmp byte [ebp + 0x14], 0
je 0x18811c55
push dword [ebp + 0x14]
mov ecx, edi
push dword [ebp + 0x10]
mov eax, esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.18811a6f
jmp 0x18811cab
push dword [ebp + 8]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x18811ca1
cmp eax, 2
je 0x18811ca1
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], str...UMSettings.cpp
mov dword [ebp - 0x14], 0x92e
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop ecx
mov dword [ebp - 0xc], eax
push 0x18836bec
lea eax, [ebp - 0x30]
lea esi, [ebp - 0x1c]
lea edi, [ebp - 0x30]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.1881d33f
mov ecx, edi
mov edi, dword [ebp + 0xc]
call fcn.188133d4
pop edi
pop esi
leave
ret 0x10
Function at 0x18811f20
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1882b8a5
call fcn.1882a764
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push esi
mov ebx, str.Mirror_Monitors
push ebx
push dword [ebp + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call edi
cmp dword [ebp - 0x14], esi
jbe 0x1881209f
add dword [ebp - 0x14], 2
mov eax, dword [ebp - 0x14]
shr eax, 1
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.18819abb
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, esi
jne 0x18811fb4
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], str...UMSettings.cpp
mov dword [ebp - 0x28], 0x971
mov dword [ebp - 0x24], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
push 5
pop ecx
lea esi, [ebp - 0x30]
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
push 0x18836bec
lea eax, [ebp - 0x44]
push eax
call fcn.1881d33f
push dword [ebp - 0x14]
push esi
push eax
call fcn.18819090
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
push esi
push esi
push ebx
push dword [ebp + 8]
call edi
mov ecx, dword [ebp - 0x18]
cmp word [ecx], si
je 0x18812096
mov eax, 0x18835198
mov dword [ebp - 0x1c], esi
lea edx, [ebp - 0x1c]
push edx
push eax
push ecx
call fcn.1881b1cf
add esp, 0xc
cmp eax, esi
je 0x18812096
mov dword [ebp + 8], esi
lea ecx, [ebp + 8]
push ecx
push 0x188351d8
push eax
call fcn.1881b1ad
add esp, 0xc
cmp eax, 1
jne 0x18812052
mov dword [ebp - 4], esi
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebx]
lea eax, [ebp + 8]
push eax
push dword [edi + 4]
push edi
call fcn.188178d6
mov ecx, dword [ebx + 4]
mov edx, 0x3ffffffe
sub edx, ecx
cmp edx, 1
jae 0x18812042
push str.list_T__too_long
call fcn.1882a294
inc ecx
mov dword [ebx + 4], ecx
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x18835198
push eax
push esi
jmp 0x18811fea
push dword [ebp - 0x18]
call fcn.18819a19
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x1881218e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
xor esi, esi
push esi
push esi
push str.SettingsVersion
push dword [ebp + 8]
mov dword [ebp - 4], esi
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
je 0x188121f8
cmp eax, 2
je 0x188121f8
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], str...UMSettings.cpp
mov dword [ebp - 0x14], 0x9c8
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop ecx
mov dword [ebp - 0xc], eax
push 0x18836bec
lea eax, [ebp - 0x30]
lea esi, [ebp - 0x1c]
lea edi, [ebp - 0x30]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.1881d33f
mov eax, dword [ebp - 4]
pop esi
leave
ret
Function at 0x188121fe
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
push esi
push edi
lea eax, [ebp - 8]
push eax
push 0x10009
xor esi, esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 8], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x18812300
xor eax, eax
push 0x1fe
mov word [ebp - 0x234], ax
lea eax, [ebp - 0x232]
push esi
push eax
call fcn.18819090
add esp, 0xc
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
push dword [ebp - 8]
mov dword [ebp - 0xc], pe_nt_image_headers32
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x1881228f
push dword [ebp + 0x10]
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 8]
call fcn.188121fe
add esp, 0xc
mov dword [ebp - 0xc], pe_nt_image_headers32
dec dword [ebp - 4]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
call edi
test eax, eax
je 0x18812273
push 0x18832f00
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, esi
je 0x188122f5
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], str...UMSettings.cpp
mov dword [ebp - 0x18], 0x9e2
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop ecx
mov dword [ebp - 0x10], eax
push 0x18836bec
lea eax, [ebp - 0x34]
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x34]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.1881d33f
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x18812324
lea ecx, [eax - 1]
dec ecx
je 0x18812324
sub ecx, 3
je 0x1881231e
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], str...UMSettings.cpp
mov dword [ebp - 0x18], 0x9f4
jmp 0x188122d0
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
pop edi
pop esi
leave
ret