Function at 0x1027126
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov dword [ebp - 8], ecx
push edi
mov edi, dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.01025673
mov esi, dword [edi]
mov eax, dword [reloc.msvcrt.dll___p__fmode]
cmp esi, eax
lea ebx, [edi + 8]
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], ebx
jne 0x102702d
mov esi, dword [ebx]
jmp 0x1027044
mov ecx, dword [ebx]
cmp ecx, eax
je 0x1027044
push ecx
call fcn.010255fa
mov dword [ebp - 4], eax
add eax, 8
mov esi, dword [eax]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x10270b4
mov ecx, dword [edi]
mov dword [ecx + 4], eax
mov ecx, dword [edi]
mov dword [eax], ecx
cmp eax, dword [ebx]
jne 0x1027066
mov dword [esi + 4], eax
jmp 0x102707d
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0xc]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [ebx]
mov dword [edx], ecx
mov ecx, dword [ebx]
mov dword [ecx + 4], eax
mov ebx, dword [ebp - 8]
mov ecx, dword [ebx + 4]
cmp dword [ecx + 4], edi
jne 0x102708d
mov dword [ecx + 4], eax
jmp 0x102709b
mov ecx, dword [edi + 4]
cmp dword [ecx], edi
jne 0x1027098
mov dword [ecx], eax
jmp 0x102709b
mov dword [ecx + 8], eax
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov ecx, dword [eax + 0x10]
mov edx, dword [edi + 0x10]
mov dword [eax + 0x10], edx
mov dword [edi + 0x10], ecx
mov dword [ebp - 4], edi
mov eax, edi
jmp 0x102712d
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 8]
mov dword [esi + 4], ecx
mov ecx, dword [edx + 4]
cmp dword [ecx + 4], edi
jne 0x10270ca
mov dword [ecx + 4], esi
jmp 0x10270d8
mov ecx, dword [edi + 4]
cmp dword [ecx], edi
jne 0x10270d5
mov dword [ecx], esi
jmp 0x10270d8
mov dword [ecx + 8], esi
mov ecx, dword [edx + 4]
cmp dword [ecx], edi
mov dword [ebp - 0xc], ecx
jne 0x1027104
mov ebx, dword [ebx]
cmp ebx, dword [reloc.msvcrt.dll___p__fmode]
jne 0x10270f3
mov ebx, dword [edi + 4]
mov dword [ecx], ebx
jmp 0x1027104
push esi
call fcn.010255fa
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
mov ebx, dword [edx + 4]
cmp dword [ebx + 8], edi
jne 0x102712a
mov ecx, dword [edi]
cmp ecx, dword [reloc.msvcrt.dll___p__fmode]
jne 0x102711e
mov ecx, dword [edi + 4]
mov dword [ebx + 8], ecx
jmp 0x102712a
push esi
call fcn.010255d8
mov dword [ebx + 8], eax
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 8]
xor edi, edi
inc edi
cmp dword [eax + 0x10], edi
jne 0x1027244
jmp 0x10271f7
cmp dword [esi + 0x10], edi
jne 0x1027241
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
cmp esi, eax
jne 0x10271c2
mov eax, dword [ecx + 8]
cmp dword [eax + 0x10], 0
jne 0x1027173
mov dword [eax + 0x10], edi
mov eax, dword [esi + 4]
and dword [eax + 0x10], 0
push dword [esi + 4]
mov ecx, ebx
call fcn.0102646e
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
cmp dword [ecx + 0x10], edi
jne 0x1027182
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x10], edi
je 0x10271f0
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x10], edi
jne 0x10271a1
mov ecx, dword [eax]
mov dword [ecx + 0x10], edi
and dword [eax + 0x10], 0
push eax
mov ecx, ebx
call fcn.010264bc
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x10]
mov dword [eax + 0x10], ecx
mov ecx, dword [esi + 4]
mov dword [ecx + 0x10], edi
mov eax, dword [eax + 8]
mov dword [eax + 0x10], edi
push dword [esi + 4]
mov ecx, ebx
call fcn.0102646e
jmp 0x1027241
cmp dword [eax + 0x10], 0
jne 0x10271e1
mov dword [eax + 0x10], edi
mov eax, dword [esi + 4]
and dword [eax + 0x10], 0
push dword [esi + 4]
mov ecx, ebx
call fcn.010264bc
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x10], edi
jne 0x1027205
mov ecx, dword [eax]
cmp dword [ecx + 0x10], edi
jne 0x1027205
and dword [eax + 0x10], 0
mov esi, dword [esi + 4]
mov eax, dword [ebx + 4]
cmp esi, dword [eax + 4]
jne 0x102713e
jmp 0x1027241
mov ecx, dword [eax]
cmp dword [ecx + 0x10], edi
jne 0x1027223
mov ecx, dword [eax + 8]
mov dword [ecx + 0x10], edi
and dword [eax + 0x10], 0
push eax
mov ecx, ebx
call fcn.0102646e
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x10]
mov dword [eax + 0x10], ecx
mov ecx, dword [esi + 4]
mov dword [ecx + 0x10], edi
mov eax, dword [eax]
mov dword [eax + 0x10], edi
push dword [esi + 4]
mov ecx, ebx
call fcn.010264bc
mov dword [esi + 0x10], edi
lea ecx, [ebp - 0x10]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
push dword [ebp - 4]
call fcn.0103228c
dec dword [ebx + 0xc]
mov eax, dword [ebp + 8]
pop ecx
mov ecx, dword [ebp + 0xc]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
leave
ret 8