Function at 0x100bf770
Capabilities:
Delete registry key

Disassembly:
push ebp
lea ebp, [esp - 0x50]
sub esp, 0x50
push 0xffffffffffffffff
push 0x1024e390
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
push ebx
push esi
push edi
mov edi, dword [ebp + 0x5c]
lea ecx, [ebp + 0x38]
xor bl, bl
lea esi, [edi + 0x1c]
push esi
call fcn.1001a380
cmp dword [ebp + 0x4c], 8
lea ecx, [ebp + 0x5c]
push ecx
push 0x20019
lea eax, [ebp + 0x38]
cmovae eax, dword [ebp + 0x38]
push 0
push eax
push dword [edi + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
sub eax, 0
je 0x100bf7d9
sub eax, 2
je 0x100bf7d5
mov bh, 1
jmp 0x100bf7e6
xor bl, bl
jmp 0x100bf7e4
push dword [ebp + 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
xor bh, bh
lea ecx, [ebp + 0x38]
call fcn.1001a5a0
push 0
test bh, bh
je 0x100bf84a
xor eax, eax
mov dword [ebp - 0x14], 0
push 0x10255fec
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
call fcn.1001a600
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x58]
push eax
push reloc.WS2_32.dll_accept
call sym.WMCommon.dll_public:_void___thiscall_WM::GMRegKey::constructor_struct_HKEY_____class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
lea ecx, [ebp - 0x24]
call fcn.1001a5a0
mov eax, dword [ebp + 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
lea esp, [ebp + 0x50]
pop ebp
ret
cmp byte [edi + 0x34], 0
mov ecx, edi
je 0x100bf92a
lea eax, [ebp - 0x24]
push eax
call sym.WMCommon.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_WM::GMRegKey::GetRegFullPath_bool_
push eax
lea ecx, [ebp - 0xac]
mov dword [ebp - 4], 1
call sym.WMCommon.dll_public:_void___thiscall_WM::GMRegKey::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.1001a5a0
test bl, bl
je 0x100bf8c3
push dword [ebp + 0x68]
lea eax, [ebp - 0xac]
push dword [ebp + 0x64]
push eax
call sym.WMCommon.dll_public:_static_void___cdecl_WM::GMRegInstall::UpdateFromSystem_class_WM::GMRegKey___bool__enum_WM::GMRegInstallType_
add esp, 0xc
cmp byte [ebp + 0x60], 0
je 0x100bf8c3
push esi
lea ecx, [ebp + 0x38]
call fcn.1001a380
cmp dword [ebp + 0x4c], 8
lea eax, [ebp + 0x38]
cmovae eax, dword [ebp + 0x38]
push eax
push dword [edi + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp + 0x38]
call fcn.1001a5a0
mov esi, dword [ebp + 0x58]
lea eax, [ebp - 0xac]
push eax
mov ecx, esi
call fcn.10027810
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 4
lea ecx, [esi + 0xc]
push eax
call fcn.100278b0
mov byte [ebp - 4], 5
lea ecx, [esi + 0x1c]
mov eax, dword [ebp - 0x94]
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x90]
push eax
call fcn.1001a380
mov cl, byte [ebp - 0x78]
mov byte [esi + 0x34], cl
lea ecx, [ebp - 0x90]
call fcn.1001a5a0
lea ecx, [ebp - 0xa0]
call fcn.100283b0
lea ecx, [ebp - 0xac]
jmp 0x100c0419
lea eax, [ebp - 0x15c]
push eax
call sym.WMCommon.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_WM::GMRegKey::GetRegFullPath_bool_
push eax
lea ecx, [ebp - 0x144]
mov dword [ebp - 4], 6
call sym.WMCommon.dll_public:_void___thiscall_WM::GMRegKey::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 8
call fcn.1001a5a0
test bl, bl
jne 0x100bf9b9
push dword [ebp + 0x68]
mov byte [ebp - 0x110], 1
push dword [ebp + 0x64]
push 1
push edi
call sym.WMCommon.dll_public:_static_void___cdecl_WM::GMRegInstall::Install_class_WM::GMRegKey_const___bool__bool__enum_WM::GMRegInstallType_
mov ecx, dword [ebp + 0x58]
lea eax, [ebp - 0x144]
add esp, 0x10
push eax
call sym.WMCommon.dll_public:_void___thiscall_WM::GMRegKey::constructor_class_WM::GMRegKey_const__
lea ecx, [ebp - 0x128]
call fcn.1001a5a0
lea ecx, [ebp - 0x138]
call fcn.100283b0
lea ecx, [ebp - 0x144]
call fcn.10028290
mov eax, dword [ebp + 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
lea esp, [ebp + 0x50]
pop ebp
ret
mov esi, dword [ebp + 0x68]
test esi, esi
je 0x100bf9c9
cmp esi, 2
jne 0x100bfe47
xor eax, eax
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 7
mov word [ebp + 0xc], ax
mov dword [ebp + 0x24], eax
mov dword [ebp + 0x28], eax
lea eax, [edi + 0x1c]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp + 0x38]
call fcn.1001a380
mov byte [ebp - 4], 0xa
lea eax, [ebp + 0x38]
cmp dword [ebp + 0x4c], 8
lea ecx, [ebp + 0xc]
push 0
cmovae eax, dword [ebp + 0x38]
push 0x2001f
push eax
push dword [edi + 0x18]
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMRegFile::OpenKey_struct_HKEY_____wchar_t_const___unsigned_long_int__bool_
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 9
mov bl, al
call fcn.1001a5a0
test bl, bl
jne 0x100bfa88
cmp dword [ebp + 0x28], 5
je 0x100bfa36
cmp byte [ebp + 0x64], bl
je 0x100c0432
push 0x10255fec
lea ecx, [ebp - 0x74]
call fcn.1001a2f0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp + 0x58]
push eax
push reloc.WS2_32.dll_accept
call sym.WMCommon.dll_public:_void___thiscall_WM::GMRegKey::constructor_struct_HKEY_____class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
lea ecx, [ebp - 0x74]
call fcn.1001a5a0
lea ecx, [ebp + 0xc]
call sym.WMCommon.dll_public:_void___thiscall_WM::GMRegFile::destructor_void_
lea ecx, [ebp - 0x144]
call sym.WMCommon.dll_public:_void___thiscall_WM::GMRegKey::destructor_void_
mov eax, dword [ebp + 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
lea esp, [ebp + 0x50]
pop ebp
ret
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp], 0
mov dword [ebp + 4], 0
mov dword [ebp + 8], 0
lea eax, [ebp]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 0xc]
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMRegFile::EnumKeyValueName_class_std::vector_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_std::allocator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_______class_std::vector_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_std::allocator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______
test al, al
jne 0x100bfb38
cmp byte [ebp + 0x64], al
jne 0x100bfb38
lea ecx, [ebp - 0x15c]
call fcn.1001a360
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x10
call sym.WMCommon.dll_public:_unsigned_long_int___thiscall_WM::GMRegFile::LastError_void_
push eax
lea eax, [ebp - 0x15c]
push str.Operate_registry_failed__d_
push eax
call sym.WMCommon.dll_public:_static_void___cdecl_WM::GMStringUtils::Format_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____wchar_t_const__
add esp, 0xc
lea ecx, [ebp + 0xc]
call sym.WMCommon.dll_public:_unsigned_long_int___thiscall_WM::GMRegFile::LastError_void_
push 0
sub esp, 0x18
mov esi, eax
mov ecx, esp
mov dword [ebp + 0x5c], esp
push 0x10255fec
call fcn.1001a2f0
sub esp, 0x18
mov byte [ebp - 4], 0x11
mov eax, esp
mov ecx, edi
push 0
push eax
call sym.WMCommon.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_WM::GMRegKey::GetRegFullPath_bool_
push 0
push esi
mov byte [ebp - 4], 0x10
jmp 0x100c0496
push 0
lea eax, [ebp - 0x10c]
mov ecx, edi
push eax
call sym.WMCommon.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_WM::GMRegKey::GetRegFullPath_bool_
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x12
call sym.WMCommon.dll_public:_void___thiscall_WM::GMRegKey::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0x14
call fcn.1001a5a0
mov ecx, dword [edi + 0x10]
mov eax, 0x92492493
sub ecx, dword [edi + 0xc]
xor ebx, ebx
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100bfc01
test esi, esi
setne cl
xor esi, esi
mov dword [ebp + 0x5c], ecx
nop
mov eax, dword [edi + 0xc]
push 0
push ecx
push dword [ebp + 0x60]
add eax, esi
push eax
lea eax, [ebp - 0xac]
push eax
call sym.WMCommon.dll_public:_static_class_WM::GMRegKey___cdecl_WM::GMRegInstall::GenerateAntiReg_class_WM::GMRegKey_const___bool__bool__enum_WM::GMRegInstallType_
add esp, 0x14
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x15
call fcn.1003da20
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x14
call fcn.1001a5a0
lea ecx, [ebp - 0xa0]
call fcn.100283b0
lea ecx, [ebp - 0xac]
call fcn.10028290
mov ecx, dword [edi + 0x10]
mov eax, 0x92492493
sub ecx, dword [edi + 0xc]
inc ebx
imul ecx
add esi, 0x38
add edx, ecx
mov ecx, dword [ebp + 0x5c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x100bfb90
mov eax, dword [edi + 4]
mov ecx, dword [edi]
sub eax, ecx
sar eax, 7
mov dword [ebp + 0x5c], 0
test eax, eax
je 0x100bfdf4
xor ebx, ebx
mov dword [ebp + 0x34], ebx
nop
lea eax, [ecx + ebx]
lea ebx, [eax + 0x1c]
mov dword [ebp + 0x30], eax
push ebx
lea ecx, [ebp - 0x74]
call fcn.1001a380
lea edx, [ebp - 0x74]
lea ecx, [ebp]
call fcn.1003dac0
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.1001a5a0
sub esp, 0x18
xor eax, eax
mov ecx, esp
push eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
push 0x10255fec
mov word [ecx], ax
call fcn.1001a600
push 1
lea ecx, [ebp - 0xf4]
call sym.WMCommon.dll_public:_void___thiscall_WM::GMRegValue::constructor_unsigned_int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___
cmp esi, 0xffffffff
je 0x100bfce5
push ebx
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0x16
call fcn.1001a380
mov byte [ebp - 4], 0x17
lea eax, [ebp + 0x38]
cmp dword [ebp + 0x4c], 8
lea ecx, [ebp - 0xd8]
push dword [ebp + 0x48]
cmovae eax, dword [ebp + 0x38]
push eax
call fcn.1001a600
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0x16
call fcn.1001a5a0
push ebx
lea ecx, [ebp + 0x38]
call fcn.1001a380
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xf4]
cmp dword [ebp + 0x4c], 8
lea eax, [ebp + 0x38]
push ecx
cmovae eax, dword [ebp + 0x38]
lea ecx, [ebp + 0xc]
push eax
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMRegFile::GetValue_wchar_t_const___class_WM::GMRegValue__
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0x16
call fcn.1001a5a0
jmp 0x100bfd20
push ebx
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0x19
call fcn.1001a380
mov byte [ebp - 4], 0x1a
lea eax, [ebp + 0x38]
cmp dword [ebp + 0x4c], 8
lea ecx, [ebp - 0xd8]
push dword [ebp + 0x48]
cmovae eax, dword [ebp + 0x38]
push eax
call fcn.1001a600
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0x19
call fcn.1001a5a0
mov byte [ebp - 0x7c], 1
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0xf4]
push ecx
cmp dword [ebp - 0x54], eax
je 0x100bfd3c
mov ecx, eax
call sym.WMCommon.dll_public:_void___thiscall_WM::GMRegValue::constructor_class_WM::GMRegValue_const__
sub dword [ebp - 0x58], 0xffffff80
jmp 0x100bfd45
push eax
lea ecx, [ebp - 0x5c]
call fcn.1003db40
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x8c], vtable.WM::GMBuffer_unsigned_char_.0
test eax, eax
je 0x100bfd70
push eax
call fcn.1006e708
add esp, 4
mov dword [ebp - 0x84], 0
lea ecx, [ebp - 0xb0]
call fcn.1001a5a0
lea ecx, [ebp - 0xbc]
call fcn.1001d100
lea ecx, [ebp - 0xd8]
call fcn.1001a5a0
lea ecx, [ebp - 0xf4]
call fcn.1001a5a0
cmp byte [ebp + 0x60], 0
je 0x100bfdd2
push ebx
lea ecx, [ebp + 0x38]
call fcn.1001a380
push dword [ebp + 0x30]
mov byte [ebp - 4], 0x1b
lea eax, [ebp + 0x38]
cmp dword [ebp + 0x4c], 8
lea ecx, [ebp + 0xc]
cmovae eax, dword [ebp + 0x38]
push eax
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMRegFile::SetValue_wchar_t_const___class_WM::GMRegValue_const__
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0x14
call fcn.1001a5a0
mov eax, dword [edi + 4]
mov edx, dword [ebp + 0x5c]
mov ecx, dword [edi]
inc edx
mov ebx, dword [ebp + 0x34]
sub eax, ecx
sub ebx, 0xffffff80
sar eax, 7
mov dword [ebp + 0x5c], edx
mov dword [ebp + 0x34], ebx
cmp edx, eax
jb 0x100bfc20
lea ecx, [ebp - 0x40]
call fcn.1001a5a0
lea ecx, [ebp - 0x50]
call fcn.100283b0
lea ecx, [ebp - 0x5c]
call fcn.10028290
lea ecx, [ebp]
call fcn.1001d100
lea ecx, [ebp - 0x18]
call fcn.1001d100
mov byte [ebp - 4], 8
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x100bfe35
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0x24], 0
lea ecx, [ebp + 0xc]
mov dword [ebp + 0x28], 0
call fcn.1001a5a0
mov esi, dword [ebp + 0x68]
cmp esi, 1
je 0x100bfe55
cmp esi, 2
jne 0x100c03b4
xor eax, eax
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 7
mov word [ebp + 0xc], ax
mov dword [ebp + 0x24], eax
mov dword [ebp + 0x28], eax
lea eax, [edi + 0x1c]
mov byte [ebp - 4], 0x1c
push eax
lea ecx, [ebp + 0x38]
call fcn.1001a380
mov byte [ebp - 4], 0x1d
lea eax, [ebp + 0x38]
cmp dword [ebp + 0x4c], 8
lea ecx, [ebp + 0xc]
push 0
cmovae eax, dword [ebp + 0x38]
push 0x2011f
push eax
push dword [edi + 0x18]
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMRegFile::OpenKey_struct_HKEY_____wchar_t_const___unsigned_long_int__bool_
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0x1c
mov bl, al
call fcn.1001a5a0
test bl, bl
jne 0x100bff95
cmp dword [ebp + 0x28], 5
je 0x100bff2b
cmp byte [ebp + 0x64], bl
jne 0x100bff2b
lea ecx, [ebp - 0x10c]
call fcn.1001a360
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x1f
call sym.WMCommon.dll_public:_unsigned_long_int___thiscall_WM::GMRegFile::LastError_void_
push eax
lea eax, [ebp - 0x10c]
push str.Operate_registry_failed__d_
push eax
call sym.WMCommon.dll_public:_static_void___cdecl_WM::GMStringUtils::Format_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____wchar_t_const__
add esp, 0xc
lea ecx, [ebp + 0xc]
call sym.WMCommon.dll_public:_unsigned_long_int___thiscall_WM::GMRegFile::LastError_void_
push 0
sub esp, 0x18
mov esi, eax
mov ecx, esp
mov dword [ebp + 0x5c], esp
push 0x10255fec
call fcn.1001a2f0
sub esp, 0x18
mov byte [ebp - 4], 0x20
mov eax, esp
mov ecx, edi
push 0
push eax
call sym.WMCommon.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_WM::GMRegKey::GetRegFullPath_bool_
push 1
push esi
mov byte [ebp - 4], 0x1f
jmp 0x100c0496
xor eax, eax
mov dword [ebp + 0x48], 0
push eax
push 0x10255fec
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x4c], 7
mov word [ebp + 0x38], ax
call fcn.1001a600
lea eax, [ebp + 0x38]
mov byte [ebp - 4], 0x1e
mov esi, dword [ebp + 0x58]
mov ecx, esi
push eax
push reloc.WS2_32.dll_accept
call sym.WMCommon.dll_public:_void___thiscall_WM::GMRegKey::constructor_struct_HKEY_____class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
lea ecx, [ebp + 0x38]
call fcn.1001a5a0
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x100bff81
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0x24], 0
lea ecx, [ebp + 0xc]
mov dword [ebp + 0x28], 0
call fcn.1001a5a0
jmp 0x100c03fd
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp], 0
mov dword [ebp + 4], 0
mov dword [ebp + 8], 0
lea eax, [ebp]
mov byte [ebp - 4], 0x22
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 0xc]
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMRegFile::EnumKeyValueName_class_std::vector_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_std::allocator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_______class_std::vector_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_std::allocator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______
test al, al
jne 0x100c0045
cmp byte [ebp + 0x64], al
jne 0x100c0045
lea ecx, [ebp - 0x10c]
call fcn.1001a360
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x23
call sym.WMCommon.dll_public:_unsigned_long_int___thiscall_WM::GMRegFile::LastError_void_
push eax
lea eax, [ebp - 0x10c]
push str.Operate_registry_failed__d_
push eax
call sym.WMCommon.dll_public:_static_void___cdecl_WM::GMStringUtils::Format_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____wchar_t_const__
add esp, 0xc
lea ecx, [ebp + 0xc]
call sym.WMCommon.dll_public:_unsigned_long_int___thiscall_WM::GMRegFile::LastError_void_
push 0
sub esp, 0x18
mov esi, eax
mov ecx, esp
mov dword [ebp + 0x5c], esp
push 0x10255fec
call fcn.1001a2f0
sub esp, 0x18
mov byte [ebp - 4], 0x24
mov eax, esp
mov ecx, edi
push 0
push eax
call sym.WMCommon.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_WM::GMRegKey::GetRegFullPath_bool_
push 0
push esi
mov byte [ebp - 4], 0x23
jmp 0x100c0496
push 0
lea eax, [ebp - 0x10c]
mov ecx, edi
push eax
call sym.WMCommon.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_WM::GMRegKey::GetRegFullPath_bool_
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x25
call sym.WMCommon.dll_public:_void___thiscall_WM::GMRegKey::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0x27
call fcn.1001a5a0
mov esi, dword [edi + 0xc]
xor ecx, ecx
mov dword [ebp + 0x5c], ecx
mov eax, 0x92492493
mov ecx, dword [edi + 0x10]
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100c016b
cmp dword [ebp + 0x68], 0
setne cl
xor ebx, ebx
mov dword [ebp + 0x30], ecx
mov dword [ebp + 0x34], ebx
push 0
push ecx
push dword [ebp + 0x60]
lea eax, [esi + ebx]
push eax
lea eax, [ebp - 0xac]
push eax
call sym.WMCommon.dll_public:_static_class_WM::GMRegKey___cdecl_WM::GMRegInstall::GenerateAntiReg_class_WM::GMRegKey_const___bool__bool__enum_WM::GMRegInstallType_
add esp, 0x14
mov ebx, eax
mov byte [ebp - 4], 0x28
mov esi, dword [ebp - 0x4c]
push ebx
cmp dword [ebp - 0x48], esi
je 0x100c010a
mov ecx, esi
mov dword [ebp + 0x2c], esi
call fcn.10027810
lea eax, [ebx + 0xc]
mov byte [ebp - 4], 0x29
lea ecx, [esi + 0xc]
push eax
call fcn.100278b0
mov byte [ebp - 4], 0x2a
lea ecx, [esi + 0x1c]
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x18], eax
lea eax, [ebx + 0x1c]
push eax
call fcn.1001a380
mov al, byte [ebx + 0x34]
mov byte [esi + 0x34], al
add dword [ebp - 0x4c], 0x38
jmp 0x100c0113
push esi
lea ecx, [ebp - 0x50]
call fcn.1003dd50
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x27
call fcn.1001a5a0
lea ecx, [ebp - 0xa0]
call fcn.100283b0
lea ecx, [ebp - 0xac]
call fcn.10028290
mov ecx, dword [edi + 0x10]
mov eax, 0x92492493
mov esi, dword [edi + 0xc]
sub ecx, esi
mov ebx, dword [ebp + 0x34]
inc dword [ebp + 0x5c]
add ebx, 0x38
imul ecx
mov dword [ebp + 0x34], ebx
add edx, ecx
mov ecx, dword [ebp + 0x30]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp + 0x5c], eax
jb 0x100c00a6
mov eax, dword [edi + 4]
mov ecx, dword [edi]
sub eax, ecx
sar eax, 7
mov dword [ebp + 0x5c], 0
test eax, eax
je 0x100c0364
xor ebx, ebx
mov dword [ebp + 0x34], ebx
nop dword [eax]
lea eax, [ecx + ebx]
lea ebx, [eax + 0x1c]
mov dword [ebp + 0x30], eax
push ebx
lea ecx, [ebp - 0x74]
call fcn.1001a380
lea edx, [ebp - 0x74]
lea ecx, [ebp]
call fcn.1003dac0
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.1001a5a0
sub esp, 0x18
xor eax, eax
mov ecx, esp
push eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
push 0x10255fec
mov word [ecx], ax
call fcn.1001a600
push 1
lea ecx, [ebp - 0xf4]
call sym.WMCommon.dll_public:_void___thiscall_WM::GMRegValue::constructor_unsigned_int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___
cmp esi, 0xffffffff
je 0x100c0255
push ebx
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0x2b
call fcn.1001a380
mov byte [ebp - 4], 0x2c
lea eax, [ebp + 0x38]
cmp dword [ebp + 0x4c], 8
lea ecx, [ebp - 0xd8]
push dword [ebp + 0x48]
cmovae eax, dword [ebp + 0x38]
push eax
call fcn.1001a600
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0x2b
call fcn.1001a5a0
push ebx
lea ecx, [ebp + 0x38]
call fcn.1001a380
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0xf4]
cmp dword [ebp + 0x4c], 8
lea eax, [ebp + 0x38]
push ecx
cmovae eax, dword [ebp + 0x38]
lea ecx, [ebp + 0xc]
push eax
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMRegFile::GetValue_wchar_t_const___class_WM::GMRegValue__
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0x2b
call fcn.1001a5a0
jmp 0x100c0290
push ebx
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0x2e
call fcn.1001a380
mov byte [ebp - 4], 0x2f
lea eax, [ebp + 0x38]
cmp dword [ebp + 0x4c], 8
lea ecx, [ebp - 0xd8]
push dword [ebp + 0x48]
cmovae eax, dword [ebp + 0x38]
push eax
call fcn.1001a600
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0x2e
call fcn.1001a5a0
mov byte [ebp - 0x7c], 1
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0xf4]
push ecx
cmp dword [ebp - 0x54], eax
je 0x100c02ac
mov ecx, eax
call sym.WMCommon.dll_public:_void___thiscall_WM::GMRegValue::constructor_class_WM::GMRegValue_const__
sub dword [ebp - 0x58], 0xffffff80
jmp 0x100c02b5
push eax
lea ecx, [ebp - 0x5c]
call fcn.1003db40
mov byte [ebp - 4], 0x27
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x8c], vtable.WM::GMBuffer_unsigned_char_.0
test eax, eax
je 0x100c02e0
push eax
call fcn.1006e708
add esp, 4
mov dword [ebp - 0x84], 0
lea ecx, [ebp - 0xb0]
call fcn.1001a5a0
lea ecx, [ebp - 0xbc]
call fcn.1001d100
lea ecx, [ebp - 0xd8]
call fcn.1001a5a0
lea ecx, [ebp - 0xf4]
call fcn.1001a5a0
cmp byte [ebp + 0x60], 0
je 0x100c0342
push ebx
lea ecx, [ebp - 0x74]
call fcn.1001a380
push dword [ebp + 0x30]
mov byte [ebp - 4], 0x30
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 8
lea ecx, [ebp + 0xc]
cmovae eax, dword [ebp - 0x74]
push eax
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMRegFile::SetValue_wchar_t_const___class_WM::GMRegValue_const__
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x27
call fcn.1001a5a0
mov eax, dword [edi + 4]
mov edx, dword [ebp + 0x5c]
mov ecx, dword [edi]
inc edx
mov ebx, dword [ebp + 0x34]
sub eax, ecx
sub ebx, 0xffffff80
sar eax, 7
mov dword [ebp + 0x5c], edx
mov dword [ebp + 0x34], ebx
cmp edx, eax
jb 0x100c0190
lea ecx, [ebp - 0x40]
call fcn.1001a5a0
lea ecx, [ebp - 0x50]
call fcn.100283b0
lea ecx, [ebp - 0x5c]
call fcn.10028290
lea ecx, [ebp]
call fcn.1001d100
lea ecx, [ebp - 0x18]
call fcn.1001d100
mov byte [ebp - 4], 8
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x100c03a5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0x24], 0
lea ecx, [ebp + 0xc]
mov dword [ebp + 0x28], 0
call fcn.1001a5a0
mov esi, dword [ebp + 0x58]
lea eax, [ebp - 0x144]
push eax
mov ecx, esi
call fcn.10027810
lea eax, [ebp - 0x138]
mov byte [ebp - 4], 0x31
lea ecx, [esi + 0xc]
push eax
call fcn.100278b0
mov byte [ebp - 4], 0x32
lea ecx, [esi + 0x1c]
mov eax, dword [ebp - 0x12c]
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x128]
push eax
call fcn.1001a380
mov cl, byte [ebp - 0x110]
mov byte [esi + 0x34], cl
lea ecx, [ebp - 0x128]
call fcn.1001a5a0
lea ecx, [ebp - 0x138]
call fcn.100283b0
lea ecx, [ebp - 0x144]
call fcn.10028290
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
lea esp, [ebp + 0x50]
pop ebp
ret
lea ecx, [ebp - 0x15c]
call fcn.1001a360
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xc
call sym.WMCommon.dll_public:_unsigned_long_int___thiscall_WM::GMRegFile::LastError_void_
push eax
lea eax, [ebp - 0x15c]
push str.Operate_registry_failed__d_
push eax
call sym.WMCommon.dll_public:_static_void___cdecl_WM::GMStringUtils::Format_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____wchar_t_const__
add esp, 0xc
lea ecx, [ebp + 0xc]
call sym.WMCommon.dll_public:_unsigned_long_int___thiscall_WM::GMRegFile::LastError_void_
push 0
sub esp, 0x18
mov esi, eax
mov ecx, esp
mov dword [ebp + 0x5c], esp
push 0x10255fec
call fcn.1001a2f0
sub esp, 0x18
mov byte [ebp - 4], 0xd
mov eax, esp
mov ecx, edi
push 0
push eax
call sym.WMCommon.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_WM::GMRegKey::GetRegFullPath_bool_
push 1
push esi
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xc0]
call sym.WMCommon.dll_public:_void___thiscall_WM::GMRegException::constructor_unsigned_long_int__bool__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____unsigned_long_int_
push 0x1028daa8
lea eax, [ebp - 0xc0]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3