Function at 0x4028b0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x26c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x250], eax
mov ebx, eax
mov eax, dword [0x409090]
and ebx, 0x100
test eax, eax
je 0x402900
mov edx, dword [ebp + 8]
test ebx, ebx
mov dword [esp + 0xc], edx
mov edx, 0x408207
jne 0x4028eb
mov edx, 0x40820a
mov dword [esp + 8], edx
mov ecx, str._s_bit_search:_t_s..._n
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
or ebx, 0x20019
xor esi, esi
lea edi, [ebp - 0x23c]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov ebx, dword [ebp + 8]
mov dword [esp], 0x80000002
mov dword [esp + 4], ebx
call sub.ADVAPI32.DLL_RegOpenKeyExA
sub esp, 0x14
test eax, eax
je 0x40293c
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, 0x104
xor ecx, ecx
mov esi, 0x104
mov dword [ebp - 0x24c], ebx
lea ebx, [ebp - 0x128]
xor edi, edi
mov dword [esp + 8], esi
lea esi, [ebp - 0x238]
mov dword [esp + 4], ecx
mov dword [esp], ebx
call sub.msvcrt.dll_memset
mov dword [esp], esi
mov edx, 0x104
xor eax, eax
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memset
jmp 0x4029b6
mov dword [esp], esi
mov eax, 0x411260
mov dword [esp + 4], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jle 0x402a61
mov eax, dword [0x409090]
test eax, eax
jne 0x402b00
mov eax, 0x104
mov dword [ebp - 0x24c], eax
mov dword [esp + 4], edi
xor ecx, ecx
lea eax, [ebp - 0x248]
mov dword [esp + 0x1c], eax
xor edx, edx
xor eax, eax
mov dword [esp + 0x18], ecx
lea ecx, [ebp - 0x24c]
inc edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], esi
mov edx, dword [ebp - 0x23c]
mov dword [esp], edx
call sub.ADVAPI32.DLL_RegEnumKeyExA
sub esp, 0x20
test eax, eax
jne 0x402b1a
mov eax, dword [ebp + 8]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_strcpy
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
cmp byte [eax + ebx - 1], 0x5c
je 0x402a22
mov word [eax + ebx], 0x5c
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_strcat
mov eax, dword [0x409090]
test eax, eax
jne 0x402ae0
mov dword [esp], esi
mov ecx, 0x4111e0
mov dword [esp + 4], ecx
call sub.msvcrt.dll_strcmp
test eax, eax
js 0x40299e
cmp byte [0x411260], 0
jne 0x402985
mov dword [esp], esi
mov edx, 0x4112e0
mov dword [esp + 4], edx
call sub.msvcrt.dll_strcmp
test eax, eax
jle 0x40299e
mov dword [esp], ebx
mov ecx, dword [ebp - 0x250]
mov dword [esp + 4], ecx
call fcn.00402730
test eax, eax
je 0x40299e
mov dword [esp + 4], esi
mov dword [esp], 0x4112e0
call sub.msvcrt.dll_strcpy
mov dword [esp + 4], ebx
mov dword [esp], 0x411360
call sub.msvcrt.dll_strcpy
mov eax, dword [ebp - 0x250]
mov dword [0x4111d4], eax
mov eax, dword [0x409090]
test eax, eax
je 0x4029ab
mov dword [esp + 8], esi
mov edx, str.Match:_t_t_s_n
mov dword [esp + 4], edx
jmp 0x402b0d
mov dword [esp + 8], ebx
mov edx, str.Check:_t_t_s_n
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x402a3b
mov dword [esp + 8], esi
mov ecx, str.Ignore:_t_t_s_n
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x4029ab
mov edi, dword [ebp - 0x23c]
mov dword [esp], edi
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret