Function at 0x100695d4
Capabilities:
Delete registry value
Get keyboard layout
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
xor ecx, ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x1006990b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
push 0
call sub.advapi32.dll_RegEnumKeyExA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x100698e8
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, 0x24024
call fcn.100026dc
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x24024
mov eax, dword [ebp - 0x1c]
push eax
push 3
push ebx
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegDeleteValueA
cmp dword [ebp - 0x14], 0
je 0x100698e8
mov dl, 1
mov eax, dword [0x1001562c]
call fcn.10003318
mov dword [ebp - 0x30], eax
xor edx, edx
push ebp
push 0x100698cb
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x14]
dec eax
test eax, eax
jl 0x100698aa
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 8], 0
mov ebx, dword [ebp - 8]
lea ebx, [ebx + ebx*8]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + ebx*4]
lea edx, [ebp - 0x54]
call fcn.10008ffc
push dword [ebp - 0x54]
push 0x10069920
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + ebx*4 + 4]
lea edx, [ebp - 0x58]
call fcn.10008ffc
push dword [ebp - 0x58]
push 0x10069920
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
mov edx, dword [ebp - 0x1c]
mov edx, dword [edx + ebx*4]
call fcn.100042fc
mov eax, dword [ebp - 0x60]
xor ecx, ecx
mov edx, 0x1006992c
call fcn.100692f0
push dword [ebp - 0x5c]
push 0x10069920
lea eax, [ebp - 0x2c]
mov edx, 6
call fcn.10004484
push 5
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + ebx*4]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegEnumValueA
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x1006988a
lea eax, [ebp - 0x24]
push eax
push 0
push 0
mov eax, dword [ebp - 0x28]
push eax
call sub.advapi32.dll_RegFlushKey
test eax, eax
jne 0x1006988a
call sub.user32.dll_GetKeyboardLayout
cmp eax, 0x7a
jne 0x1006988a
mov eax, dword [ebp - 0x24]
inc eax
call fcn.100026dc
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x10069883
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.advapi32.dll_RegFlushKey
test eax, eax
je 0x1006986d
push dword [ebp - 0x2c]
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
call fcn.10008ffc
push dword [ebp - 0x64]
push 0x10069920
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x1c]
call fcn.10008ffc
push dword [ebp - 0x68]
push 0x10069920
lea eax, [ebp - 0x2c]
mov edx, 5
call fcn.10004484
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
cmp eax, 4
jne 0x100697da
push dword [ebp - 0x2c]
push 0x10069940
push 0x10069920
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.10004484
jmp 0x10069815
cmp eax, 3
jne 0x100697fb
push dword [ebp - 0x2c]
push 0x10069950
push 0x10069920
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.10004484
jmp 0x10069815
push dword [ebp - 0x2c]
push 0x10069960
push 0x10069920
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.10004484
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
je 0x10069860
mov eax, dword [ebp - 0x4c]
cmp eax, 7
jne 0x1006983d
lea eax, [ebp - 0x2c]
mov edx, 0x10069970
call fcn.100043cc
jmp 0x1006986d
cmp eax, 4
jne 0x10069851
lea eax, [ebp - 0x2c]
mov edx, 0x10069980
call fcn.100043cc
jmp 0x1006986d
lea eax, [ebp - 0x2c]
mov edx, 0x10069990
call fcn.100043cc
jmp 0x1006986d
lea eax, [ebp - 0x2c]
mov edx, 0x100699a0
call fcn.100043cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1006988a
mov eax, dword [ebp - 0x20]
call fcn.100026fc
ret
mov eax, dword [ebp - 0x28]
push eax
call sub.advapi32.dll_RegCloseKey
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 8]
dec dword [ebp - 0x34]
jne 0x10069691
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x100698d2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x30]
call fcn.10003348
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10069912
lea eax, [ebp - 0x68]
mov edx, 6
call fcn.10004128
lea eax, [ebp - 0x2c]
call fcn.10004104
ret