Function at 0x100013c0
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1468
call fcn.1000b990
mov eax, dword [0x10026484]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
and eax, 1
je 0x100013e6
xor eax, eax
jmp 0x100016a7
mov dword [ebp - 0x21c], 0x208
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x428]
push edx
lea eax, [ebp - 0x218]
push eax
push 0x1001f3bc
push 0x1001f3c8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x1000145d
push 0x104
lea ecx, [ebp - 0x428]
push ecx
mov ecx, 0x10027798
call fcn.10008380
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea edx, [ebp - 0x428]
push edx
call fcn.10002010
add esp, 8
mov dword [ebp - 0x142c], eax
xor eax, eax
mov ecx, dword [ebp - 0x142c]
mov word [ecx], ax
lea edx, [ebp - 0x428]
push edx
push str._suser.dat
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.1000ba18
add esp, 0x10
lea ecx, [ebp - 0x210]
push ecx
push 1
push str.shellext
push 0x1001f428
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x100014ac
xor eax, eax
jmp 0x100016a7
mov dword [ebp - 0x214], 0
lea ecx, [ebp - 0x1434]
call fcn.10002410
mov dword [ebp - 0x1438], 0
lea edx, [ebp - 0x1458]
push edx
mov ecx, dword [ebp + 8]
add ecx, 8
call fcn.10002110
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x1434], ecx
mov dword [ebp - 0x1430], edx
jmp 0x10001504
push 0
lea eax, [ebp - 0x1460]
push eax
lea ecx, [ebp - 0x1434]
call fcn.10002450
lea ecx, [ebp - 0x1468]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 8
call fcn.10002140
push eax
lea ecx, [ebp - 0x1434]
call fcn.10002490
movzx edx, al
test edx, edx
je 0x10001590
lea ecx, [ebp - 0x1434]
call fcn.10002430
mov ecx, eax
call fcn.100020f0
mov ax, word [eax]
mov word [ebp - 0x143c], ax
movzx ecx, word [ebp - 0x143c]
cmp ecx, 0x61
jl 0x1000156e
movzx edx, word [ebp - 0x143c]
cmp edx, 0x7a
jg 0x1000156e
movzx eax, word [ebp - 0x143c]
sub eax, 0x20
mov word [ebp - 0x143c], ax
movzx ecx, word [ebp - 0x143c]
sub ecx, 0x43
mov edx, 1
shl edx, cl
or edx, dword [ebp - 0x1438]
mov dword [ebp - 0x1438], edx
jmp 0x100014f0
mov eax, 0x43
mov word [ebp - 0x1440], ax
jmp 0x100015b0
mov cx, word [ebp - 0x1440]
add cx, 1
mov word [ebp - 0x1440], cx
movzx edx, word [ebp - 0x1440]
cmp edx, 0x5a
jg 0x10001604
movzx ecx, word [ebp - 0x1440]
sub ecx, 0x43
mov eax, 1
shl eax, cl
and eax, dword [ebp - 0x1438]
je 0x10001602
lea ecx, [ebp - 0x1450]
push ecx
movzx edx, word [ebp - 0x1440]
push edx
call fcn.1001a010
test eax, eax
je 0x10001602
cmp dword [ebp - 0x144c], 1
jne 0x10001602
mov dword [ebp - 0x214], 1
jmp 0x10001604
jmp 0x1000159e
cmp dword [ebp - 0x214], 0
jne 0x10001614
xor eax, eax
jmp 0x100016a7
lea eax, [ebp - 0x428]
push eax
push 0x1001f438
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.1000ba18
add esp, 0x10
lea edx, [ebp - 0x210]
push edx
push 0x1000
lea eax, [ebp - 0x1428]
push eax
push 0x1001f450
push 0x1001f454
push 0x1001f460
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp + 0x1c]
and ecx, 2
je 0x10001684
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 0x400
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_InsertMenuW]
jmp 0x100016a2
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0x400
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_InsertMenuW]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000b972
mov esp, ebp
pop ebp
ret 0x18