Function at 0x76312bd8
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [0x76316184]
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x18]
push eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x140], edi
call fcn.76312af8
xor ebx, ebx
push ebx
push dword [ebp - 0x138]
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x13c], edi
call fcn.76314608
mov edi, eax
cmp edi, ebx
je 0x76312d9f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, eax
je 0x76312bbd
cmp dword [ebp + 0x20], ebx
jne 0x76312d9f
push dword [ebp + 0x1c]
push dword [ebp - 0x140]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x138]
call fcn.76312795
jmp 0x76312da1
cmp dword [ebp - 0x138], ebx
je 0x76312d9f
push dword [ebp - 0x138]
call sym.IMM32.dll_ImmLockIMC
test eax, eax
je 0x76312d9f
push 1
push dword [ebp - 0x138]
call fcn.76314608
cmp eax, ebx
je 0x76312d8c
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
call sym.IMM32.dll_ImmLockImeDpi
cmp eax, ebx
mov dword [ebp - 0x150], eax
je 0x76312d8c
cmp dword [eax + 0x90], ebx
je 0x76312d81
mov edi, dword [ebp + 0x20]
cmp dword [ebp - 0x144], edi
mov dword [ebp - 0x148], ebx
je 0x76312cbf
cmp edi, ebx
je 0x76312c85
cmp esi, ebx
je 0x76312c4b
push 1
lea eax, [ebp - 0x134]
push ebx
push eax
push esi
mov dword [ebp - 0x14c], eax
call fcn.763124a1
cmp dword [ebp - 0x140], ebx
je 0x76312cbf
mov eax, dword [ebp + 0x1c]
push 0x70
xor edx, edx
pop ecx
div ecx
lea esi, [eax + eax*2]
shl esi, 6
je 0x76312d81
push esi
push ebx
call fcn.76309949
cmp eax, ebx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x13c], eax
jne 0x76312cc2
jmp 0x76312d81
cmp esi, ebx
je 0x76312c9e
push dword [eax + 0x28]
lea ecx, [ebp - 0x74]
mov eax, ecx
push eax
push esi
mov dword [ebp - 0x14c], ecx
call fcn.76312513
cmp dword [ebp - 0x140], ebx
je 0x76312cbf
mov eax, dword [ebp + 0x1c]
xor edx, edx
mov ecx, 0xc0
div ecx
push 0x70
xor edx, edx
pop ecx
div ecx
mov esi, eax
cmp esi, ebx
jmp 0x76312c63
mov esi, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x150]
push esi
push dword [ebp - 0x13c]
push dword [ebp - 0x14c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x138]
call dword [eax + 0x90]
cmp eax, ebx
mov dword [ebp - 0x154], eax
je 0x76312d66
cmp dword [ebp - 0x144], edi
je 0x76312d66
cmp dword [ebp - 0x13c], ebx
je 0x76312d66
cmp edi, ebx
je 0x76312d36
cmp eax, ebx
mov esi, dword [ebp - 0x13c]
mov edi, dword [ebp - 0x140]
jbe 0x76312d66
mov dword [ebp - 0x144], eax
push ebx
push edi
push esi
call fcn.76312513
add esi, 0xc0
add edi, 0x70
dec dword [ebp - 0x144]
je 0x76312d66
jmp 0x76312d1b
test esi, esi
mov edi, dword [ebp - 0x13c]
mov ebx, dword [ebp - 0x140]
jbe 0x76312d64
mov eax, dword [ebp - 0x150]
push 1
push dword [eax + 0x28]
push ebx
push edi
call fcn.763124a1
add edi, 0x70
add ebx, 0xc0
dec esi
jne 0x76312d46
xor ebx, ebx
cmp dword [ebp - 0x148], ebx
je 0x76312d81
push dword [ebp - 0x148]
push ebx
push dword [0x76316888]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x150]
call sym.IMM32.dll_ImmUnlockImeDpi
push dword [ebp - 0x138]
call sym.IMM32.dll_ImmUnlockIMC
mov eax, dword [ebp - 0x154]
jmp 0x76312da1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.76314432
leave
ret 0x1c