Function at 0x10100ce
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x1008044]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
push eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x118], ebx
call fcn.0101003c
call fcn.0100ffbc
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x11c]
push eax
mov edi, 0x20019
push edi
push ebx
push 0x10011f0
push 0x80000002
call esi
test eax, eax
jne 0x1010196
cmp dword [0x10082cc], ebx
mov eax, 0x1001280
jne 0x1010163
mov eax, 0x1001278
lea ecx, [ebp - 0x10c]
push ecx
push edi
push ebx
push eax
push dword [ebp - 0x11c]
call esi
test eax, eax
jne 0x1010196
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x118]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x118]
lea eax, [eax + eax*4]
shl eax, 2
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
cmp eax, ebx
mov dword [0x10082c0], eax
je 0x10103f0
cmp dword [ebp - 0x118], ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x12c], 0x104
jbe 0x10103fa
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor esi, esi
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x110]
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10103fa
cmp dword [ebp - 0x134], ebx
je 0x101022a
push 0x1001274
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x10103cc
lea eax, [ebp - 0x108]
push eax
call edi
inc eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov ecx, dword [0x10082c0]
mov dword [esi + ecx], eax
mov eax, dword [0x10082c0]
cmp dword [esi + eax], ebx
je 0x10103cc
lea eax, [ebp - 0x108]
push eax
call edi
inc eax
push eax
lea eax, [ebp - 0x108]
push eax
mov eax, dword [0x10082c0]
push dword [esi + eax]
call dword [0x1001020]
lea eax, [ebp - 0x114]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x10103cc
mov eax, dword [0x10082c0]
lea eax, [esi + eax + 4]
push eax
push 0x100117c
push dword [ebp - 0x114]
call fcn.0100f7f2
mov eax, dword [0x10082c0]
lea eax, [esi + eax + 8]
push eax
push 0x1001188
push dword [ebp - 0x114]
call fcn.0100f7f2
mov eax, dword [0x10082c0]
lea eax, [esi + eax + 0xc]
push eax
push 0x100118c
push dword [ebp - 0x114]
call fcn.0100f7f2
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x10082c0]
cmp dword [esi + eax + 4], ebx
jne 0x1010357
lea eax, [ebp - 0x108]
push eax
call edi
inc eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov ecx, dword [0x10082c0]
mov dword [esi + ecx + 4], eax
mov eax, dword [0x10082c0]
mov ecx, dword [esi + eax + 4]
cmp ecx, ebx
je 0x1010357
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov dword [ebp - 0x138], edx
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x101033a
sub eax, dword [ebp - 0x138]
inc eax
push eax
lea eax, [ebp - 0x108]
push eax
push ecx
call dword [0x1001020]
push dword [ebp - 0x120]
mov eax, dword [0x10082c0]
push dword [esi + eax + 4]
push ebx
push 0x180
push dword [ebp - 0x124]
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
push 0x19a
push dword [ebp - 0x124]
call dword [sym.imp.USER32.dll_LoadCursorA]
cmp dword [ebp - 0x130], ebx
je 0x10103c3
push dword [ebp - 0x130]
mov eax, dword [0x10082c0]
push dword [esi + eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10103c3
push ebx
push dword [ebp - 0x110]
push 0x186
push dword [ebp - 0x124]
call dword [sym.imp.USER32.dll_LoadCursorA]
inc dword [ebp - 0x120]
add esi, 0x14
inc dword [ebp - 0x110]
mov eax, dword [ebp - 0x110]
cmp eax, dword [ebp - 0x118]
mov dword [ebp - 0x12c], 0x104
jb 0x10101dc
jmp 0x10103fa
mov dword [ebp - 0x128], 0x8007000e
cmp dword [ebp - 0x10c], ebx
je 0x101040e
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x11c], ebx
pop edi
pop esi
pop ebx
je 0x1010425
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x128]
call 0x101152b
leave
ret 8