Function at 0x106d3a8
Capabilities:
Delete registry key
Delete registry value
Get common file path
Persist via contextmenuhandlers registry key
Persist via default file association registry key
Query or enumerate registry value
Read .ini file
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xcc0
mov eax, dword [0x107fa78]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x34]
mov edx, dword [edi]
xor ebx, ebx
push edx
mov dword [ebp - 0xc88], ecx
mov dword [ebp - 0xc78], ebx
mov dword [ebp - 0xc80], ebx
mov dword [ebp - 0xc7c], 1
mov dword [ebp - 0xc84], eax
mov dword [ebp - 0xc94], ebx
mov dword [ebp - 0xcc0], ebx
mov dword [ebp - 0xcac], ebx
mov dword [ebp - 0xcb4], ebx
mov dword [ebp - 0xcbc], ebx
call fcn.01068ddd
test eax, eax
je 0x106f54c
push dword [edi + 8]
call fcn.01068ddd
test eax, eax
je 0x106f54c
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0xc90], eax
mov eax, dword [ecx]
mov dword [ebp - 0xca0], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0xcb0], eax
mov eax, dword [ecx + 8]
push edx
mov dword [ebp - 0xc98], eax
call fcn.01069026
mov ecx, dword [edi + 0x30]
push ecx
mov dword [ebp - 0xcb8], eax
call fcn.01068ddd
test eax, eax
je 0x106d46c
mov dword [ebp - 0xc90], ecx
mov eax, dword [edi + 0x2c]
cmp eax, ebx
je 0x106d479
mov dword [ebp - 0xc98], eax
mov ecx, dword [edi + 0x28]
push ecx
call fcn.01068ddd
test eax, eax
je 0x106d48c
mov dword [ebp - 0xcb0], ecx
mov ecx, dword [edi + 0x24]
push ecx
call fcn.01068ddd
test eax, eax
je 0x106d49f
mov dword [ebp - 0xca0], ecx
push esi
push dword [edi + 0x20]
call fcn.01068ddd
test eax, eax
je 0x106d668
push 0x122
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x106d668
push 0x100f388
push 0x122
lea eax, [ebp - 0x824]
push eax
call fcn.01034cee
push dword [edi + 0x20]
push 0x100fa8c
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x824]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [0x107fddc]
neg esi
push dword [edi + 0x20]
sbb esi, esi
push 0x100f368
neg esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x106d573
lea eax, [ebp - 0x20c]
push 0x100f34c
push eax
call dword [sym.imp.msvcrt.dll_wcsstr]
test eax, eax
pop ecx
pop ecx
jne 0x106d570
push dword [edi + 0x20]
push 0x100fa8c
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x106d668
lea eax, [ebp - 0x20c]
push eax
push dword [0x107fddc]
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x106d668
xor esi, esi
inc esi
cmp esi, ebx
je 0x106d668
push dword [edi + 0x20]
push 0x100fa8c
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x106d5c1
push 0x100f34c
push 0x103
lea eax, [ebp - 0x20c]
push eax
call fcn.01034c79
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [edi + 0x20]
push 0x100f368
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [edi]
inc eax
inc eax
push eax
push 0x103
lea eax, [ebp - 0x20c]
push eax
call fcn.01034c79
push 0x122
lea eax, [ebp - 0x450]
push eax
push dword [0x107fddc]
lea eax, [ebp - 0x20c]
push eax
mov esi, 0x100f2ec
push esi
call dword [sym.imp.KERNEL32.dll_GetProfileStringW]
test eax, eax
je 0x106d644
lea eax, [ebp - 0x450]
push eax
push dword [0x107fddc]
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x106d644
lea eax, [ebp - 0x450]
push eax
push 0x100f334
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x106d668
push dword [edi + 0x20]
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteProfileStringW]
jmp 0x106d668
push dword [edi + 0x20]
lea eax, [ebp - 0x20c]
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileStringW]
call esi
push dword [edi + 0x20]
lea eax, [ebp - 0x20c]
push eax
push 0x100f30c
call esi
push ebx
push ebx
push ebx
push 6
call fcn.0105989e
test eax, eax
jne 0x106d6ca
push dword [0x107fde8]
lea eax, [ebp - 0x5e0]
push dword [edi]
push 0x100fa64
push 0xc7
push eax
call fcn.01034d76
add esp, 0x14
push ebx
lea eax, [ebp - 0xc78]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
lea eax, [ebp - 0x5e0]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x106d6ca
push dword [ebp - 0xc78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [edi]
lea eax, [ebp - 0x5e0]
push 0x100fa3c
push 0xc7
push eax
call fcn.01034d76
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add esp, 0x10
test eax, eax
jl 0x106d731
push ebx
lea eax, [ebp - 0xc78]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
lea eax, [ebp - 0x5e0]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x106d731
push ebx
push ebx
push ebx
push ebx
push dword [edi + 8]
push dword [ebp - 0xc78]
call esi
push dword [ebp - 0xc78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
lea eax, [ebp - 0xc78]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push 0x100f9e8
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x106d776
push 2
push 0x1001e8c
push 1
push ebx
push dword [edi]
push dword [ebp - 0xc78]
call esi
push dword [ebp - 0xc78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
lea eax, [ebp - 0xc78]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push 0x100f990
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x106d7bb
push 2
push 0x1001e8c
push 1
push ebx
push dword [edi]
push dword [ebp - 0xc78]
call esi
push dword [ebp - 0xc78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
lea eax, [ebp - 0xc78]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push 0x100f918
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x106d800
push 2
push 0x1001e8c
push 1
push ebx
push dword [edi]
push dword [ebp - 0xc78]
call esi
push dword [ebp - 0xc78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
lea eax, [ebp - 0xc78]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push 0x100f8a0
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x106d845
push 2
push 0x1001e8c
push 1
push ebx
push dword [edi]
push dword [ebp - 0xc78]
call esi
push dword [ebp - 0xc78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
lea eax, [ebp - 0xc78]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push dword [edi]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x106f54b
push dword [edi + 0xc]
mov dword [ebp - 0xc8c], ebx
call fcn.01068ddd
test eax, eax
je 0x106d8f1
lea eax, [ebp - 0xc80]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0xc7c]
push eax
push ebx
push 0x100f884
push dword [ebp - 0xc78]
mov dword [ebp - 0xc80], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x106d8bb
cmp dword [ebp - 0xc7c], 1
je 0x106d8f1
mov ecx, dword [edi + 0xc]
mov eax, ecx
lea edx, [eax + 2]
mov dword [ebp - 0xca8], edx
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x106d8c9
sub eax, dword [ebp - 0xca8]
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push ecx
push 1
push ebx
push 0x100f884
push dword [ebp - 0xc78]
call esi
push dword [edi + 0x10]
call fcn.01068ddd
test eax, eax
je 0x106d971
lea eax, [ebp - 0xc80]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0xc7c]
push eax
push ebx
push 0x100f3b0
push dword [ebp - 0xc78]
mov dword [ebp - 0xc80], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x106d93b
cmp dword [ebp - 0xc7c], 1
je 0x106d971
mov ecx, dword [edi + 0x10]
mov eax, ecx
lea edx, [eax + 2]
mov dword [ebp - 0xca8], edx
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x106d949
sub eax, dword [ebp - 0xca8]
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push ecx
push 1
push ebx
push 0x100f3b0
push dword [ebp - 0xc78]
call esi
cmp dword [ebp - 0xcb8], ebx
je 0x106da51
call fcn.01068dff
test eax, eax
je 0x106da51
push dword [edi + 8]
lea eax, [ebp - 0x20c]
push 0x100f820
push 0x103
push eax
call fcn.01034d76
add esp, 0x10
push ebx
lea eax, [ebp - 0xc8c]
push eax
push ebx
push 2
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x106d9e9
push 0x4e
push 0x100e988
push 1
push ebx
push ebx
push dword [ebp - 0xc8c]
call esi
push dword [ebp - 0xc8c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [edi + 8]
lea eax, [ebp - 0x20c]
push 0x100f7c0
push 0x103
push eax
call fcn.01034d76
add esp, 0x10
push ebx
lea eax, [ebp - 0xc8c]
push eax
push ebx
push 2
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x106dadb
push 0x4e
push 0x100f770
push 1
push ebx
push ebx
push dword [ebp - 0xc8c]
call esi
push dword [ebp - 0xc8c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x106dadb
push dword [edi + 8]
lea eax, [ebp - 0x20c]
push 0x100f820
push 0x103
push eax
call fcn.01034d76
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [edi + 8]
lea eax, [ebp - 0x20c]
push 0x100f7c0
push 0x103
push eax
call fcn.01034d76
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [edi + 8]
lea eax, [ebp - 0x20c]
push 0x100f708
push 0x103
push eax
call fcn.01034d76
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [ebp - 0xc80]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0xc7c]
push eax
push ebx
push ebx
push dword [ebp - 0xc78]
mov dword [ebp - 0xc80], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x106df64
cmp dword [ebp - 0xc7c], 1
jne 0x106df64
lea eax, [ebp - 0x450]
push eax
call fcn.01068ddd
test eax, eax
je 0x106df64
push dword [edi]
call fcn.01069f4b
test eax, eax
jne 0x106db72
push dword [edi + 8]
lea eax, [ebp - 0x450]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x106db5b
push 0x10
push 0x100f3cc
jmp 0x106db62
push 0xe
push 0x100f6f8
push 1
push ebx
push 0x100f3dc
push dword [ebp - 0xc78]
call esi
cmp dword [ebp - 0xc84], ebx
jne 0x106df9c
lea eax, [ebp - 0x450]
push eax
push 0x100eda0
lea eax, [ebp - 0x20c]
push 0x103
push eax
mov dword [ebp - 0xc9c], 1
mov dword [ebp - 0xca8], ebx
call fcn.01034d76
add esp, 0x10
lea eax, [ebp - 0xc8c]
push eax
push 0x2001f
push ebx
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x106dc4d
lea eax, [ebp - 0xc80]
push eax
lea eax, [ebp - 0xa68]
push eax
lea eax, [ebp - 0xc7c]
push eax
push ebx
push ebx
push dword [ebp - 0xc8c]
mov dword [ebp - 0xc80], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x106dc42
cmp dword [ebp - 0xc7c], 1
je 0x106dc14
cmp dword [ebp - 0xc7c], 2
jne 0x106dc42
lea eax, [ebp - 0xa68]
push eax
call fcn.01068ddd
test eax, eax
je 0x106dc42
lea ecx, [ebp - 0xa68]
push ecx
push dword [edi]
xor eax, eax
inc eax
push eax
mov dword [ebp - 0xca8], eax
call fcn.01069928
mov dword [ebp - 0xc9c], eax
push dword [ebp - 0xc8c]
jmp 0x106dd03
push dword [edi]
lea eax, [ebp - 0xc74]
push dword [0x107fde4]
mov dword [ebp - 0xca4], ebx
push 0x100bde0
push 0x104
push eax
call fcn.01034d76
add esp, 0x14
test eax, eax
jl 0x106dd15
lea eax, [ebp - 0xca4]
push eax
push 1
push ebx
lea eax, [ebp - 0xc74]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x106dd15
lea eax, [ebp - 0xc80]
push eax
lea eax, [ebp - 0xc74]
push eax
lea eax, [ebp - 0xc7c]
push eax
push ebx
push 0x100ec5c
push dword [ebp - 0xca4]
mov dword [ebp - 0xc80], 0x20a
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x106dcfd
cmp dword [ebp - 0xc7c], 1
jne 0x106dcfd
lea eax, [ebp - 0xc74]
push 0x10040f0
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x106dcfd
push dword [ebp - 0xca4]
jmp 0x106f545
push dword [ebp - 0xca4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc9c], ebx
je 0x106dea9
lea eax, [ebp - 0x450]
push eax
push 0x100ed2c
lea eax, [ebp - 0x20c]
push 0x103
push eax
call fcn.01034d76
add esp, 0x10
lea eax, [ebp - 0xc8c]
push eax
push 1
push ebx
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x106dea1
lea eax, [ebp - 0xc80]
push eax
lea eax, [ebp - 0xa68]
push eax
lea eax, [ebp - 0xc7c]
push eax
push ebx
push ebx
push dword [ebp - 0xc8c]
mov dword [ebp - 0xc80], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x106de95
cmp dword [ebp - 0xc7c], 1
jne 0x106de95
lea eax, [ebp - 0xa68]
push eax
call fcn.01068ddd
test eax, eax
je 0x106de95
lea eax, [ebp - 0xa68]
push 0x100edf4
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x106de95
lea eax, [ebp - 0xa68]
push eax
lea eax, [ebp - 0x450]
push eax
push 0x100edcc
lea eax, [ebp - 0x20c]
push 0x103
push eax
mov dword [ebp - 0xca4], ebx
call fcn.01034d76
add esp, 0x14
lea eax, [ebp - 0xca4]
push eax
push 1
push ebx
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x106de95
lea eax, [ebp - 0xc80]
push eax
lea eax, [ebp - 0xa68]
push eax
lea eax, [ebp - 0xc7c]
push eax
push ebx
push ebx
push dword [ebp - 0xca4]
mov dword [ebp - 0xc80], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x106de89
cmp dword [ebp - 0xc7c], 1
je 0x106de5b
cmp dword [ebp - 0xc7c], 2
jne 0x106de89
lea eax, [ebp - 0xa68]
push eax
call fcn.01068ddd
test eax, eax
je 0x106de89
lea ecx, [ebp - 0xa68]
push ecx
push dword [edi]
xor eax, eax
inc eax
push eax
mov dword [ebp - 0xca8], eax
call fcn.01069928
mov dword [ebp - 0xc9c], eax
push dword [ebp - 0xca4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xc8c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc9c], ebx
jne 0x106dec0
cmp dword [ebp - 0xca8], ebx
je 0x106dec0
mov dword [ebp - 0xc84], 1
jmp 0x106df4f
push dword [edi + 8]
lea eax, [ebp - 0x450]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x106df09
lea eax, [ebp - 0x450]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x106dedf
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x450]
push eax
push 1
push ebx
push 0x100ebb4
push dword [ebp - 0xc78]
call esi
mov ecx, dword [edi + 8]
mov eax, ecx
lea edx, [eax + 2]
mov dword [ebp - 0xca4], edx
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x106df17
sub eax, dword [ebp - 0xca4]
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push ecx
push 1
push ebx
push ebx
push dword [ebp - 0xc78]
call esi
push dword [edi + 8]
lea eax, [ebp - 0x450]
push 0x121
push eax
call fcn.01034c79
cmp dword [ebp - 0xc9c], ebx
jne 0x106df9c
cmp dword [ebp - 0xca8], ebx
je 0x106df9c
jmp 0x106f53f
mov ecx, dword [edi + 8]
mov eax, ecx
lea edx, [eax + 2]
mov dword [ebp - 0xc84], edx
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x106df72
sub eax, dword [ebp - 0xc84]
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push ecx
push 1
push ebx
push ebx
push dword [ebp - 0xc78]
call esi
mov dword [ebp - 0xc84], ebx
push dword [ebp - 0xc78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc84], ebx
lea eax, [ebp - 0x450]
jne 0x106dfb9
mov eax, dword [edi + 8]
push eax
push 0xc7
lea eax, [ebp - 0x5e0]
push eax
call fcn.01034c79
push ebx
lea eax, [ebp - 0xc78]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
lea eax, [ebp - 0x5e0]
push eax
push SysReAllocString
mov dword [ebp - 0xc9c], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x106f402
push 4
lea eax, [ebp - 0xc80]
push eax
push 4
push ebx
push 0x100f6c8
push dword [ebp - 0xc78]
mov dword [ebp - 0xc80], 1
call esi
push dword [edi]
call fcn.01068ff7
test eax, eax
je 0x106e05e
push 4
lea eax, [ebp - 0xc84]
push eax
push 3
push ebx
push 0x100efa8
push dword [ebp - 0xc78]
mov byte [ebp - 0xc84], bl
mov byte [ebp - 0xc83], bl
mov byte [ebp - 0xc82], 1
mov byte [ebp - 0xc81], bl
call esi
jmp 0x106e06f
push 0x100efa8
push dword [ebp - 0xc78]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0xc78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x5e0]
push eax
push 0x100eda0
lea eax, [ebp - 0x20c]
push 0x103
push eax
call fcn.01034d76
add esp, 0x10
push ebx
lea eax, [ebp - 0xc78]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x106e670
lea eax, [ebp - 0xc80]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0xc7c]
push eax
push ebx
push ebx
push dword [ebp - 0xc78]
mov dword [ebp - 0xc84], ebx
mov dword [ebp - 0xc80], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x106e1d6
cmp dword [ebp - 0xc7c], 1
je 0x106e117
cmp dword [ebp - 0xc7c], 2
jne 0x106e1d6
lea eax, [ebp - 0x450]
push eax
call fcn.01068ddd
test eax, eax
je 0x106e1d6
lea ecx, [ebp - 0x450]
push ecx
push dword [edi]
xor eax, eax
inc eax
push eax
mov dword [ebp - 0xc84], eax
call fcn.01069928
test eax, eax
je 0x106e282
lea eax, [ebp - 0x450]
push eax
push 0x121
lea eax, [ebp - 0x824]
push eax
call fcn.01034c79
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.msvcrt.dll__wcslwr]
pop ecx
lea eax, [ebp - 0x824]
push eax
call fcn.01068e7c
test eax, eax
jne 0x106e1ba
lea eax, [ebp - 0x450]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x106e18a
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x450]
push eax
push dword [ebp - 0xc7c]
push ebx
push 0x100ebb4
push dword [ebp - 0xc78]
call esi
jmp 0x106e1d6
lea eax, [ebp - 0x824]
push eax
call fcn.01068e30
mov dword [ebp - 0xc9c], eax
mov dword [ebp - 0xcc0], 1
cmp dword [edi + 0x38], ebx
mov dword [ebp - 0xcb4], 1
je 0x106e236
push dword [ebp - 0xc98]
call fcn.01068ddd
test eax, eax
je 0x106e236
cmp dword [ebp - 0xc84], ebx
je 0x106e212
push dword [ebp - 0xc98]
lea eax, [ebp - 0x450]
push eax
call fcn.0106911c
test eax, eax
jne 0x106e282
mov eax, dword [ebp - 0xc98]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x106e21b
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0xc98]
jmp 0x106e276
cmp dword [ebp - 0xc84], ebx
je 0x106e254
push dword [ebp - 0xc90]
lea eax, [ebp - 0x450]
push eax
call fcn.0106911c
test eax, eax
jne 0x106e282
mov eax, dword [ebp - 0xc90]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x106e25d
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0xc90]
push 1
push ebx
push ebx
push dword [ebp - 0xc78]
call esi
push dword [ebp - 0xc78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xcb4], ebx
je 0x106e670
lea eax, [ebp - 0x5e0]
push eax
push 0x100ed74
lea eax, [ebp - 0x20c]
push 0x103
push eax
mov dword [ebp - 0xc84], ebx
call fcn.01034d76
add esp, 0x10
lea eax, [ebp - 0xc78]
push eax
push 0x2001f
push ebx
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x106e39c
lea eax, [ebp - 0x5e0]
push eax
push 0x100ed40
lea eax, [ebp - 0x20c]
push 0x103
push eax
mov dword [ebp - 0xc90], ebx
call fcn.01034d76
add esp, 0x10
push ebx
lea eax, [ebp - 0xc90]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x106e357
push dword [ebp - 0xc90]
push dword [ebp - 0xc78]
call fcn.01058036
push dword [ebp - 0xc90]
mov dword [ebp - 0xc84], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xc78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc84], ebx
je 0x106e39c
lea eax, [ebp - 0x5e0]
push eax
push 0x100ed74
lea eax, [ebp - 0x20c]
push 0x103
push eax
call fcn.01034d76
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call fcn.01058684
lea eax, [ebp - 0x5e0]
push eax
push 0x100f198
lea eax, [ebp - 0x20c]
push 0x103
push eax
call fcn.01034d76
add esp, 0x10
lea eax, [ebp - 0xc78]
push eax
push 0x2001f
push ebx
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x106e52b
test byte [0x1082a5c], 1
jne 0x106e402
or dword [0x1082a5c], 1
push ebx
push ebx
push ebx
push 6
call fcn.0105989e
mov dword [0x1082a58], eax
cmp dword [0x1082a58], ebx
je 0x106e428
mov eax, dword [ebp - 0xc88]
push dword [eax + 0x10]
push 0x100f6bc
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x106e4e5
cmp dword [ebp - 0xcc0], ebx
mov dword [ebp - 0xc80], 0x244
jne 0x106e4ad
lea eax, [ebp - 0xc80]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0xc7c]
push eax
push ebx
push ebx
push dword [ebp - 0xc78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x106e4ad
cmp dword [ebp - 0xc7c], 1
jne 0x106e4ad
lea eax, [ebp - 0x450]
push eax
call fcn.01068ddd
test eax, eax
je 0x106e4ad
lea eax, [ebp - 0x450]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x106e483
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x450]
push eax
push 1
push ebx
push 0x100ebb4
push dword [ebp - 0xc78]
call esi
mov eax, dword [ebp - 0xc88]
mov ecx, dword [eax + 0x10]
mov eax, ecx
lea edx, [eax + 2]
mov dword [ebp - 0xc88], edx
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x106e4c1
sub eax, dword [ebp - 0xc88]
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push ecx
push 1
push ebx
push ebx
push dword [ebp - 0xc78]
call esi
cmp dword [ebp - 0xcb8], ebx
je 0x106e50e
cmp dword [ebp - 0xc9c], ebx
je 0x106e50e
push 2
push 0x1001e8c
push 1
push ebx
push 0x100f17c
push dword [ebp - 0xc78]
call esi
jmp 0x106e51f
push 0x100f17c
push dword [ebp - 0xc78]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0xc78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xcb8], ebx
je 0x106e670
call fcn.0105e7ec
test eax, eax
jne 0x106e670
lea eax, [ebp - 0x5e0]
push eax
push 0x100f1c0
lea eax, [ebp - 0x20c]
push 0x103
push eax
call fcn.01034d76
add esp, 0x10
push ebx
lea eax, [ebp - 0xc78]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x106e670
lea eax, [ebp - 0xc80]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0xc7c]
push eax
push ebx
push 0x100f1b4
push dword [ebp - 0xc78]
mov dword [ebp - 0xc80], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x106e62b
cmp dword [ebp - 0xc7c], 1
jne 0x106e62b
lea eax, [ebp - 0x450]
push eax
call dword [sym.imp.msvcrt.dll__wcsupr]
lea eax, [ebp - 0x450]
push eax
push dword [0x107fdec]
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 0xc
test eax, eax
je 0x106e62b
lea eax, [ebp - 0x450]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x106e5fd
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x450]
push eax
push dword [ebp - 0xc7c]
push ebx
push 0x100f1f4
push dword [ebp - 0xc78]
call esi
mov ecx, dword [0x107fdec]
mov eax, ecx
lea edx, [eax + 2]
mov dword [ebp - 0xc88], edx
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x106e63c
sub eax, dword [ebp - 0xc88]
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push ecx
push 1
push ebx
push 0x100f1b4
push dword [ebp - 0xc78]
call esi
push dword [ebp - 0xc78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xc98]
mov dword [ebp - 0xc9c], ebx
call fcn.01068ddd
test eax, eax
jne 0x106e694
mov dword [ebp - 0xca0], 0x100edf4
jmp 0x106ed0b
push dword [ebp - 0xca0]
lea eax, [ebp - 0x5e0]
push eax
push 0x100edcc
lea eax, [ebp - 0x20c]
push 0x103
push eax
call fcn.01034d76
add esp, 0x14
push ebx
lea eax, [ebp - 0xc78]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x106ed0b
lea eax, [ebp - 0xc80]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0xc7c]
push eax
push ebx
push ebx
push dword [ebp - 0xc78]
mov dword [ebp - 0xc80], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x106e81e
cmp dword [ebp - 0xc7c], 1
je 0x106e730
cmp dword [ebp - 0xc7c], 2
jne 0x106e81e
lea eax, [ebp - 0x450]
push eax
call fcn.01068ddd
test eax, eax
je 0x106e81e
lea eax, [ebp - 0x450]
push eax
push 0x121
lea eax, [ebp - 0x824]
push eax
call fcn.01034c79
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.msvcrt.dll__wcslwr]
pop ecx
lea eax, [ebp - 0x824]
push eax
push dword [edi]
push 1
call fcn.01069928
test eax, eax
je 0x106e856
lea eax, [ebp - 0x824]
push eax
mov dword [ebp - 0xcbc], 1
call fcn.01068e7c
test eax, eax
jne 0x106e7d5
lea eax, [ebp - 0x450]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x106e7a5
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x450]
push eax
push dword [ebp - 0xc7c]
push ebx
push 0x100ebb4
push dword [ebp - 0xc78]
call esi
jmp 0x106e7f1
lea eax, [ebp - 0x824]
push eax
call fcn.01068e30
mov dword [ebp - 0xc9c], eax
mov dword [ebp - 0xc94], 1
push dword [ebp - 0xc98]
lea eax, [ebp - 0x450]
push eax
call fcn.0106911c
test eax, eax
jne 0x106e856
mov eax, dword [ebp - 0xc98]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x106e810
sub eax, edx
jmp 0x106e83d
mov eax, dword [ebp - 0xc98]
mov dword [ebp - 0xcbc], 1
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x106e831
sub eax, ecx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0xc98]
push 1
push ebx
push ebx
push dword [ebp - 0xc78]
call esi
push dword [ebp - 0xc78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xcbc], ebx
je 0x106ed0b
push dword [ebp - 0xca0]
lea eax, [ebp - 0x5e0]
push eax
push 0x100f694
lea eax, [ebp - 0x20c]
push 0x103
push eax
mov dword [ebp - 0xc88], ebx
call fcn.01034d76
add esp, 0x14
lea eax, [ebp - 0xc78]
push eax
push 0x2001f
push ebx
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x106e982
push dword [ebp - 0xca0]
lea eax, [ebp - 0x5e0]
push eax
push 0x100f104
lea eax, [ebp - 0x20c]
push 0x103
push eax
mov dword [ebp - 0xc90], ebx
call fcn.01034d76
add esp, 0x14
push ebx
lea eax, [ebp - 0xc90]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x106e937
push dword [ebp - 0xc90]
push dword [ebp - 0xc78]
call fcn.01058036
push dword [ebp - 0xc90]
mov dword [ebp - 0xc88], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xc78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc88], ebx
je 0x106e982
push dword [ebp - 0xca0]
lea eax, [ebp - 0x5e0]
push eax
push 0x100f694
lea eax, [ebp - 0x20c]
push 0x103
push eax
call fcn.01034d76
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call fcn.01058684
push dword [ebp - 0xca0]
lea eax, [ebp - 0x5e0]
push eax
push 0x100f164
lea eax, [ebp - 0x20c]
push 0x103
push eax
call fcn.01034d76
add esp, 0x14
lea eax, [ebp - 0xc78]
push eax
push 0x2001f
push ebx
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x106ebc0
cmp dword [ebp - 0xc94], ebx
mov dword [ebp - 0xc80], 0x244
jne 0x106ea65
lea eax, [ebp - 0xc80]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0xc7c]
push eax
push ebx
push ebx
push dword [ebp - 0xc78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x106ea65
cmp dword [ebp - 0xc7c], 1
je 0x106ea1e
cmp dword [ebp - 0xc7c], 2
jne 0x106ea65
lea eax, [ebp - 0x450]
push eax
call fcn.01068ddd
test eax, eax
je 0x106ea65
lea eax, [ebp - 0x450]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x106ea37
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x450]
push eax
push dword [ebp - 0xc7c]
push ebx
push 0x100ebb4
push dword [ebp - 0xc78]
call esi
push 0x105
lea eax, [ebp - 0xa30]
push eax
call fcn.010590be
test eax, eax
je 0x106eb4c
lea eax, [ebp - 0xa30]
push eax
push 0x100ef94
lea eax, [ebp - 0xc74]
push 0x105
push eax
call fcn.01034d76
add esp, 0x10
test eax, eax
jl 0x106eb4c
lea eax, [ebp - 0xc80]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0xc7c]
push eax
push ebx
push 0x100eb8c
push dword [ebp - 0xc78]
mov dword [ebp - 0xc80], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x106eb19
cmp dword [ebp - 0xc7c], 1
je 0x106eaed
cmp dword [ebp - 0xc7c], 2
jne 0x106eb19
lea eax, [ebp - 0xc74]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.0106911c
test eax, eax
jne 0x106eb4c
lea eax, [ebp - 0xc74]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x106eb0d
jmp 0x106eb2c
lea eax, [ebp - 0xc74]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x106eb22
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0xc74]
push eax
push 2
push ebx
push 0x100eb8c
push dword [ebp - 0xc78]
call esi
mov eax, dword [ebp - 0xcb0]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x106eb55
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0xcb0]
push 1
push ebx
push ebx
push dword [ebp - 0xc78]
call esi
cmp dword [ebp - 0xcb8], ebx
je 0x106eba3
cmp dword [ebp - 0xc9c], ebx
je 0x106eba3
push 2
push 0x1001e8c
push 1
push ebx
push 0x100f17c
push dword [ebp - 0xc78]
call esi
jmp 0x106ebb4
push 0x100f17c
push dword [ebp - 0xc78]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0xc78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xcb8], ebx
je 0x106ed0b
call fcn.0105e7ec
test eax, eax
jne 0x106ed0b
push dword [ebp - 0xca0]
lea eax, [ebp - 0x5e0]
push eax
push 0x100f134
lea eax, [ebp - 0x20c]
push 0x103
push eax
call fcn.01034d76
add esp, 0x14
push ebx
lea eax, [ebp - 0xc78]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x106ed0b
lea eax, [ebp - 0xc80]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0xc7c]
push eax
push ebx
push 0x100f1b4
push dword [ebp - 0xc78]
mov dword [ebp - 0xc80], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x106ecc6
cmp dword [ebp - 0xc7c], 1
jne 0x106ecc6
lea eax, [ebp - 0x450]
push eax
call dword [sym.imp.msvcrt.dll__wcsupr]
lea eax, [ebp - 0x450]
push eax
push dword [0x107fdec]
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 0xc
test eax, eax
je 0x106ecc6
lea eax, [ebp - 0x450]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x106ec98
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x450]
push eax
push dword [ebp - 0xc7c]
push ebx
push 0x100f1f4
push dword [ebp - 0xc78]
call esi
mov ecx, dword [0x107fdec]
mov eax, ecx
lea edx, [eax + 2]
mov dword [ebp - 0xc88], edx
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x106ecd7
sub eax, dword [ebp - 0xc88]
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push ecx
push 1
push ebx
push 0x100f1b4
push dword [ebp - 0xc78]
call esi
push dword [ebp - 0xc78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x5e0]
push eax
push 0x100ed2c
lea eax, [ebp - 0x20c]
push 0x103
push eax
call fcn.01034d76
add esp, 0x10
lea eax, [ebp - 0xc78]
push eax
push 0x2001f
push ebx
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x106f402
lea eax, [ebp - 0xc80]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0xc7c]
push eax
push ebx
push ebx
push dword [ebp - 0xc78]
mov dword [ebp - 0xcb0], ebx
mov dword [ebp - 0xc80], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x106ef39
cmp dword [ebp - 0xc7c], 1
jne 0x106ef39
lea eax, [ebp - 0x450]
push eax
call fcn.01068ddd
test eax, eax
je 0x106ef39
lea eax, [ebp - 0x450]
push 0x100edf4
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x106ee28
cmp dword [ebp - 0xcb4], ebx
je 0x106ee28
cmp dword [ebp - 0xcc0], ebx
je 0x106ede2
mov dword [ebp - 0xcb0], 1
jmp 0x106ee19
lea eax, [ebp - 0x450]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x106edeb
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x450]
push eax
push dword [ebp - 0xc7c]
push ebx
push 0x100ebb4
push dword [ebp - 0xc78]
call esi
mov dword [ebp - 0xcac], 1
jmp 0x106ef51
cmp dword [ebp - 0xcbc], ebx
je 0x106ee66
push dword [ebp - 0xca0]
lea eax, [ebp - 0x450]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x106ee66
cmp dword [ebp - 0xc94], ebx
jne 0x106edd6
lea eax, [ebp - 0x450]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x106ee5a
jmp 0x106edf5
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x5e0]
push eax
push 0x100edcc
lea eax, [ebp - 0x20c]
push 0x103
push eax
mov dword [ebp - 0xc94], ebx
call fcn.01034d76
add esp, 0x14
lea eax, [ebp - 0xc94]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x106f0a4
lea eax, [ebp - 0xc80]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xc7c]
push eax
push ebx
push ebx
push dword [ebp - 0xc94]
mov dword [ebp - 0xc80], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x106ef2b
cmp dword [ebp - 0xc7c], 1
je 0x106eefd
cmp dword [ebp - 0xc7c], 2
jne 0x106ef2b
lea eax, [ebp - 0x20c]
push eax
call fcn.01068ddd
test eax, eax
je 0x106ef2b
lea eax, [ebp - 0x20c]
push eax
push dword [edi]
push 1
call fcn.01069928
test eax, eax
je 0x106ef2b
mov dword [ebp - 0xcac], 1
push dword [ebp - 0xc94]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x106ef45
mov eax, dword [ebp - 0xcb4]
mov dword [ebp - 0xcac], eax
cmp dword [ebp - 0xcac], ebx
je 0x106f0a4
mov eax, dword [ebp - 0xca0]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x106ef5a
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0xca0]
push 1
push ebx
push ebx
push dword [ebp - 0xc78]
call esi
mov ecx, dword [edi + 0xc]
push ecx
call fcn.01068ddd
test eax, eax
je 0x106f0a4
push 0x100f674
push ecx
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x106f0a4
push 0x100f65c
push dword [edi + 0xc]
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x106f0a4
push 0x100f640
push dword [edi + 0xc]
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x106f0a4
push 0x100f614
push dword [edi + 0xc]
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x106f0a4
push dword [edi]
lea eax, [ebp - 0x20c]
push 0x100f598
push 0x103
push eax
call fcn.01034d76
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [edi + 0xc]
lea eax, [ebp - 0x20c]
push 0x100f510
push 0x103
push eax
call fcn.01034d76
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [edi]
lea eax, [ebp - 0x20c]
push 0x100f490
push 0x103
push eax
call fcn.01034d76
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [edi + 0xc]
lea eax, [ebp - 0x20c]
push 0x100f408
push 0x103
push eax
call fcn.01034d76
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0xc78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xcac], ebx
je 0x106f402
push dword [edi + 0x1c]
call fcn.01068ddd
test eax, eax
je 0x106f201
lea eax, [ebp - 0x5e0]
push eax
push 0x100ee50
lea eax, [ebp - 0x20c]
push 0x103
push eax
call fcn.01034d76
add esp, 0x10
push ebx
lea eax, [ebp - 0xc78]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x106f201
cmp dword [ebp - 0xcb0], ebx
mov dword [ebp - 0xc80], 0x244
jne 0x106f1c3
lea eax, [ebp - 0xc80]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0xc7c]
push eax
push ebx
push ebx
push dword [ebp - 0xc78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x106f1c3
cmp dword [ebp - 0xc7c], 1
je 0x106f166
cmp dword [ebp - 0xc7c], 2
jne 0x106f1c3
lea eax, [ebp - 0x450]
push eax
call fcn.01068ddd
test eax, eax
je 0x106f1c3
push dword [edi + 0x1c]
lea eax, [ebp - 0x450]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x106f1c3
lea eax, [ebp - 0x450]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x106f195
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x450]
push eax
push dword [ebp - 0xc7c]
push ebx
push 0x100ebb4
push dword [ebp - 0xc78]
call esi
mov ecx, dword [edi + 0x1c]
mov eax, ecx
lea edx, [eax + 2]
mov dword [ebp - 0xc88], edx
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x106f1d1
sub eax, dword [ebp - 0xc88]
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push ecx
push 1
push ebx
push ebx
push dword [ebp - 0xc78]
call esi
push dword [ebp - 0xc78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [edi + 0x14]
call fcn.01068ddd
test eax, eax
je 0x106f402
lea eax, [ebp - 0xc78]
push eax
push 0x2001f
push ebx
lea eax, [ebp - 0x5e0]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x106f402
lea eax, [ebp - 0xc80]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0xc7c]
push eax
push ebx
push ebx
push dword [ebp - 0xc78]
mov dword [ebp - 0xc88], 1
mov dword [ebp - 0xc80], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x106f30f
cmp dword [ebp - 0xc7c], 1
jne 0x106f30f
lea eax, [ebp - 0x450]
push eax
call fcn.01068ddd
test eax, eax
je 0x106f30f
push dword [edi + 0x14]
lea eax, [ebp - 0x450]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x106f2e1
lea eax, [ebp - 0x450]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x106f2b3
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x450]
push eax
push dword [ebp - 0xc7c]
push ebx
push 0x100ebb4
push dword [ebp - 0xc78]
call esi
push dword [edi]
push 0x100f3fc
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x106f307
push dword [edi]
push 0x100f3f0
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x106f30f
mov dword [ebp - 0xc88], ebx
jmp 0x106f341
mov ecx, dword [edi + 0x14]
mov eax, ecx
lea edx, [eax + 2]
mov dword [ebp - 0xc94], edx
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x106f31d
sub eax, dword [ebp - 0xc94]
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push ecx
push 1
push ebx
push ebx
push dword [ebp - 0xc78]
call esi
mov edx, dword [edi + 0x18]
push edx
call fcn.01068ddd
test eax, eax
je 0x106f385
mov eax, edx
lea ecx, [eax + 2]
mov dword [ebp - 0xc94], ecx
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x106f359
sub eax, dword [ebp - 0xc94]
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
push 1
push ebx
push 0x1004ed0
push dword [ebp - 0xc78]
push ebx
call fcn.0105878c
push dword [ebp - 0xc78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc88], ebx
je 0x106f402
push dword [edi + 0xc]
call fcn.01068ddd
test eax, eax
je 0x106f402
lea eax, [ebp - 0xc78]
push eax
push 2
push ebx
push dword [edi]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x106f402
mov ecx, dword [edi + 0xc]
mov eax, ecx
lea edx, [eax + 2]
mov dword [ebp - 0xc88], edx
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x106f3ce
sub eax, dword [ebp - 0xc88]
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push ecx
push 1
push ebx
push 0x100f884
push dword [ebp - 0xc78]
call esi
push dword [ebp - 0xc78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [edi + 0xc]
push ecx
call fcn.01068ddd
test eax, eax
je 0x106f54b
push 0x100f614
push ecx
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x106f54b
push dword [edi]
lea eax, [ebp - 0x20c]
push 0x100f268
push 0x103
push eax
call fcn.01034d76
add esp, 0x10
push ebx
lea eax, [ebp - 0xc78]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x106f54b
lea eax, [ebp - 0xc80]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0xc7c]
push eax
push ebx
push ebx
push dword [ebp - 0xc78]
mov dword [ebp - 0xc80], 0x244
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov edi, 0x100f210
jne 0x106f511
cmp dword [ebp - 0xc7c], 1
jne 0x106f511
lea eax, [ebp - 0x450]
push eax
call fcn.01068ddd
test eax, eax
je 0x106f511
lea eax, [ebp - 0x450]
push edi
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x106f511
cmp dword [ebp - 0xcac], ebx
je 0x106f53f
lea eax, [ebp - 0x450]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x106f4e3
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x450]
push eax
push dword [ebp - 0xc7c]
push ebx
push 0x100ebb4
push dword [ebp - 0xc78]
call esi
cmp dword [ebp - 0xcac], ebx
je 0x106f53f
push 0x56
push edi
push 1
push ebx
push ebx
push dword [ebp - 0xc78]
call esi
push 8
push 0x10040f0
push 1
push ebx
push 0x100f0e8
push dword [ebp - 0xc78]
call esi
push dword [ebp - 0xc78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.01047417
leave
ret 8