Function at 0x1003b0b
Capabilities:
Enumerate gui resources
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push ebx
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push esi
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x28]
push 0x10014b0
push eax
call ebx
add esp, 0xc
call fcn.01002ab2
xor esi, esi
test eax, eax
lea eax, [ebp - 4]
push eax
push 0xf003f
push esi
push 0x1001514
push dword [ebp + 8]
je 0x1003cbc
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp dword [ebp - 4], esi
je 0x1003ee4
push esi
push esi
push esi
push esi
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0xc], esi
mov dword [ebp + 8], esi
mov edi, 0x1001544
jbe 0x1003bdb
mov eax, dword [ebp + 8]
inc eax
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x12c]
push edi
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x230]
push eax
push esi
push esi
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1003bdb
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
jb 0x1003b82
mov eax, dword [ebp + 8]
cmp dword [ebp - 0xc], eax
jne 0x1003c18
inc eax
push eax
lea eax, [ebp - 0x12c]
push edi
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x28]
push eax
push 1
push esi
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
inc dword [ebp - 0xc]
cmp dword [ebp + 0x10], esi
je 0x1003edb
mov eax, dword [ebp + 8]
cmp eax, esi
mov dword [ebp + 8], eax
jle 0x1003c96
push dword [ebp + 8]
lea eax, [ebp - 0x12c]
push edi
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x230]
push eax
push esi
push esi
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp + 8]
inc eax
push eax
lea eax, [ebp - 0x12c]
push edi
push eax
call ebx
add esp, 0xc
push dword [ebp - 0x10]
lea eax, [ebp - 0x230]
push eax
push 1
push esi
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
dec dword [ebp + 8]
cmp dword [ebp + 8], esi
jg 0x1003c2b
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x28]
push eax
push 1
push esi
push 0x1001328
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x1003edb
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp dword [ebp - 4], esi
je 0x1003ee4
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0xc], esi
mov dword [ebp + 8], esi
mov edi, 0x1001544
jbe 0x1003d69
mov eax, dword [ebp + 8]
inc eax
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x12c]
push edi
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0xf003f
push esi
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x230]
push eax
push esi
push esi
push 0x10014f6
push dword [ebp - 8]
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1003d69
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
jb 0x1003cef
mov eax, dword [ebp + 8]
cmp dword [ebp - 0xc], eax
jne 0x1003dcb
inc eax
push eax
lea eax, [ebp - 0x12c]
push edi
push eax
call ebx
add esp, 0xc
push esi
lea eax, [ebp - 8]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x28]
push eax
push 1
push esi
push 0x10014f6
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0xc]
cmp dword [ebp + 0x10], esi
je 0x1003edb
mov eax, dword [ebp + 8]
cmp eax, esi
mov dword [ebp + 8], eax
jle 0x1003e99
push dword [ebp + 8]
lea eax, [ebp - 0x12c]
push edi
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0xf003f
push esi
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x230]
push eax
push esi
push esi
push 0x10014f6
push dword [ebp - 8]
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
inc eax
push eax
lea eax, [ebp - 0x12c]
push edi
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0xf003f
push esi
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, 0x104
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x230]
push eax
push 1
push esi
push 0x10014f6
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
dec dword [ebp + 8]
cmp dword [ebp + 8], esi
jg 0x1003de2
lea eax, [ebp - 8]
push eax
push 0xf003f
push esi
push 0x1001328
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x28]
push eax
push 1
push esi
push 0x10014f6
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x101
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_LoadKeyboardLayoutA]
cmp dword [ebp + 0x10], esi
je 0x1003f3f
push 2
lea eax, [ebp + 0xc]
push eax
push esi
push 0x5a
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 0x1001488
call fcn.01003122
mov edi, eax
cmp edi, esi
je 0x1003f3f
push esi
push 0x1001548
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, esi
je 0x1003f33
push edi
push 1
push 0x50
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push edi
push 0x1003921
call dword [sym.imp.USER32.dll_EnumWindows]
pop edi
pop esi
pop ebx
leave
ret 0xc