Function at 0x100e26f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102507e1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
mov dword [ebp - 0x14], 0
xor eax, eax
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
push 0xb
push str.::Enabled:
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
call fcn.1001a600
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x100e2774
mov eax, dword [eax]
push esi
push 1
push 3
push eax
push reloc.WS2_32.dll_bind
lea ecx, [ebp - 0x38]
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMRegFile::OpenKey_struct_HKEY_____wchar_t_const___unsigned_long_int__bool_
test al, al
je 0x100e28f0
mov esi, dword [ebp + 8]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x100e279c
mov eax, dword [esi]
lea ecx, [ebp - 0x50]
push ecx
push eax
lea ecx, [ebp - 0x38]
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMRegFile::GetValue_wchar_t_const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____
test al, al
jne 0x100e28ec
push edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
mov edi, dword [ebp - 0x58]
xor eax, eax
mov word [ebp - 0x80], ax
mov eax, dword [esi + 0x10]
add eax, edi
mov dword [ebp - 0x70], 0
push eax
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x14], 1
call fcn.1001cf30
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100e27ec
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x80]
push eax
call fcn.1001a7c0
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
push edi
cmovae eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x80]
push eax
call fcn.1001a7c0
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x100e281b
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.1001a7c0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa8], xmm0
movups xmmword [ebp - 0x98], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x50]
movq qword [ebp - 0x18], xmm0
movq qword [ebp - 0x88], xmm0
call fcn.1001a5a0
movups xmm0, xmmword [ebp - 0xa8]
xor eax, eax
mov dword [ebp - 0x88], 0
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x84], 7
movups xmmword [ebp - 0x50], xmm0
mov word [ebp - 0x98], ax
movq xmm0, qword [ebp - 0x18]
movq qword [ebp - 0x40], xmm0
call fcn.1001a5a0
lea ecx, [ebp - 0x80]
call fcn.1001a5a0
cmp dword [ebp - 0x3c], 8
lea edx, [ebp - 0x50]
cmovae edx, dword [ebp - 0x50]
cmp dword [esi + 0x14], 8
jb 0x100e28bb
mov esi, dword [esi]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e28c0
sub ecx, edi
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push 1
push 0
push esi
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
test eax, eax
je 0x100e28ec
mov dword [ebp - 0x1c], eax
jmp 0x100e28f0
mov byte [ebp - 0xd], 1
mov eax, dword [ebp - 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x100e2907
push eax
call esi
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x1c], 0
call fcn.1001a5a0
lea ecx, [ebp - 0x50]
call fcn.1001a5a0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x100e292f
push eax
call esi
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x1c], 0
call fcn.1001a5a0
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret