Function at 0x4fbc20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6251d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [0x6cc708]
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], eax
mov ecx, dword [ebx + 0xf4]
push esi
push esi
push 0x147
push ecx
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [ebp - 0x20]
lea ecx, [ebx + 0xd8]
push edx
push eax
call fcn.0060a72a
xor edi, edi
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x38], edi
mov eax, dword [ebx + 0x8c]
cmp edi, dword [eax + 8]
jge 0x4fc17c
mov eax, dword [eax + 4]
lea esi, [edi*8]
mov ecx, dword [ebp - 0x20]
sub esi, edi
shl esi, 2
mov eax, dword [eax + esi + 4]
push eax
push ecx
call fcn.005e7b5a
add esp, 8
test eax, eax
jne 0x4fc24f
mov edx, dword [ebx + 0x8c]
xor edi, edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x11], 1
mov eax, dword [edx + 4]
mov esi, dword [eax + esi + 0x10]
mov dword [ebp - 0x44], edi
push esi
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x40], di
call fcn.00402410
mov eax, dword [0x6d12f8]
mov byte [ebp - 4], 2
cmp eax, edi
je 0x4fbec1
mov eax, dword [0x6d1160]
cmp eax, edi
je 0x4fbd00
mov dword [ebp - 0x1c], eax
jmp 0x4fbd0a
mov dword [ebp - 0x1c], 0x6d1164
mov eax, dword [ebp - 0x1c]
mov esi, dword [0x6d1170]
cmp esi, edi
jne 0x4fbd19
mov esi, 0x6d1174
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x34], esi
cmp ecx, edi
je 0x4fbec1
cmp esi, edi
je 0x4fbec1
cmp eax, edi
je 0x4fbec1
push eax
push esi
call fcn.005e69c4
add esp, 8
test eax, eax
je 0x4fbec1
mov ecx, dword [ebp - 0x44]
push esi
push ecx
call fcn.005e6c00
add esp, 8
mov ebx, eax
mov dword [ebp - 0x30], edi
test ebx, ebx
je 0x4fbd7a
inc edi
push esi
mov dword [ebp - 0x30], edi
call fcn.005e639f
lea eax, [ebx + eax*2]
push esi
push eax
call fcn.005e6c00
add esp, 0xc
mov ebx, eax
jmp 0x4fbd5b
test edi, edi
je 0x4fbec1
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x50]
push edx
call fcn.0040e5a0
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
push edi
call fcn.005e639f
push esi
mov ebx, eax
call fcn.005e639f
add esp, 8
cmp ebx, eax
jbe 0x4fbdf3
lea ecx, [ebp - 0x44]
call fcn.00401070
lea ecx, [ebp - 0x50]
call fcn.00402400
push eax
call fcn.005e639f
push edi
mov ebx, eax
call fcn.005e639f
push esi
mov edi, eax
call fcn.005e639f
sub edi, eax
imul edi, dword [ebp - 0x30]
add ebx, edi
lea eax, [ebx + ebx + 2]
push eax
call fcn.005feedc
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [ebp - 0x44], ebx
jne 0x4fbdf6
jmp 0x4fbeb5
mov ebx, dword [ebp - 0x44]
lea ecx, [ebp - 0x50]
call fcn.00402400
push esi
push eax
mov dword [ebp - 0x2c], eax
call fcn.005e6c00
add esp, 8
test eax, eax
mov dword [ebp - 0x28], eax
je 0x4fbe78
mov esi, dword [ebp - 0x2c]
mov edi, ebx
sub eax, esi
sar eax, 1
shl eax, 1
mov ecx, eax
add ebx, eax
mov edx, ecx
mov eax, dword [ebp - 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.005e639f
mov ecx, eax
mov eax, dword [ebp - 0x1c]
shl ecx, 1
mov edx, ecx
mov esi, eax
mov edi, ebx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.005e639f
mov esi, dword [ebp - 0x34]
lea ebx, [ebx + eax*2]
push esi
call fcn.005e639f
mov ecx, dword [ebp - 0x28]
push esi
lea eax, [ecx + eax*2]
push eax
mov dword [ebp - 0x2c], eax
call fcn.005e6c00
add esp, 0x14
jmp 0x4fbe0b
mov esi, dword [ebp - 0x2c]
push esi
call fcn.005e639f
mov ecx, eax
mov edi, ebx
shl ecx, 1
mov edx, ecx
mov eax, dword [ebp - 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.005e639f
lea ebx, [ebx + eax*2]
mov word [ebx], 0
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.005e639f
add esp, 0xc
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.00401070
mov eax, dword [0x6d12fc]
test eax, eax
je 0x4fc09e
mov eax, dword [0x6d1140]
test eax, eax
je 0x4fbedc
mov dword [ebp - 0x1c], eax
jmp 0x4fbee6
mov dword [ebp - 0x1c], 0x6d1144
mov eax, dword [ebp - 0x1c]
mov esi, dword [0x6d1150]
test esi, esi
jne 0x4fbef5
mov esi, 0x6d1154
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x30], esi
test ecx, ecx
je 0x4fc09e
test esi, esi
je 0x4fc09e
test eax, eax
je 0x4fc09e
push eax
push esi
call fcn.005e69c4
add esp, 8
test eax, eax
je 0x4fc09e
mov edx, dword [ebp - 0x44]
push esi
push edx
call fcn.005e6c00
add esp, 8
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x4fbf52
push esi
inc ebx
call fcn.005e639f
lea eax, [edi + eax*2]
push esi
push eax
call fcn.005e6c00
add esp, 0xc
mov edi, eax
jmp 0x4fbf36
test ebx, ebx
je 0x4fc09e
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x50]
push eax
call fcn.0040e5a0
push esi
mov byte [ebp - 4], 4
call fcn.005e639f
mov ecx, dword [ebp - 0x1c]
mov edi, eax
push ecx
call fcn.005e639f
add esp, 8
cmp eax, edi
jbe 0x4fbfcd
lea ecx, [ebp - 0x44]
call fcn.00401070
lea ecx, [ebp - 0x50]
call fcn.00402400
push eax
call fcn.005e639f
push esi
mov edi, eax
call fcn.005e639f
mov edx, dword [ebp - 0x1c]
mov esi, eax
push edx
call fcn.005e639f
sub eax, esi
imul eax, ebx
add edi, eax
lea eax, [edi + edi + 2]
push eax
call fcn.005feedc
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [ebp - 0x44], ebx
jne 0x4fbfd0
jmp 0x4fc092
mov ebx, dword [ebp - 0x44]
lea ecx, [ebp - 0x50]
call fcn.00402400
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
push ecx
push eax
call fcn.005e6c00
add esp, 8
test eax, eax
mov dword [ebp - 0x2c], eax
je 0x4fc055
mov esi, dword [ebp - 0x28]
mov edi, ebx
sub eax, esi
sar eax, 1
shl eax, 1
mov ecx, eax
add ebx, eax
mov edx, ecx
mov eax, dword [ebp - 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.005e639f
mov ecx, eax
mov eax, dword [ebp - 0x1c]
shl ecx, 1
mov edx, ecx
mov esi, eax
mov edi, ebx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.005e639f
mov esi, dword [ebp - 0x30]
lea ebx, [ebx + eax*2]
push esi
call fcn.005e639f
mov ecx, dword [ebp - 0x2c]
push esi
lea eax, [ecx + eax*2]
push eax
mov dword [ebp - 0x28], eax
call fcn.005e6c00
add esp, 0x14
jmp 0x4fbfe8
mov esi, dword [ebp - 0x28]
push esi
call fcn.005e639f
mov ecx, eax
mov edi, ebx
shl ecx, 1
mov edx, ecx
mov eax, dword [ebp - 0x28]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.005e639f
lea ebx, [ebx + eax*2]
mov word [ebx], 0
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.005e639f
add esp, 0xc
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.00401070
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x24]
mov edx, dword [esi + 0x8c]
lea edi, [eax*8]
sub edi, eax
lea ecx, [esi + 0x90]
mov eax, dword [edx + 4]
shl edi, 2
mov eax, dword [eax + edi + 0x10]
push eax
call fcn.00402410
mov eax, dword [0x6a45ac]
test eax, eax
mov eax, dword [ebp - 0x44]
je 0x4fc0ee
test eax, eax
jne 0x4fc0dc
lea eax, [ebp - 0x40]
mov ecx, dword [esi + 0x1c]
push eax
push 0x408
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
jmp 0x4fc11d
test eax, eax
jne 0x4fc0f5
lea eax, [ebp - 0x40]
lea edx, [ebp - 0x34]
push eax
push edx
call fcn.00402500
mov eax, dword [ebp - 0x34]
mov ecx, dword [esi + 0x1c]
add esp, 8
push eax
push 0x408
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea ecx, [ebp - 0x34]
call fcn.00602ad6
mov edx, dword [esi + 0x8c]
xor ecx, ecx
push 0
mov eax, dword [edx + 4]
mov edx, dword [esi + 0x178]
mov cl, byte [eax + edi + 0x14]
mov eax, ecx
push eax
push 0xf1
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x8c]
mov ecx, dword [eax + 4]
mov edi, dword [ecx + edi + 0xc]
lea ecx, [esi + 0x9c]
push edi
call fcn.006020be
mov edx, dword [esi + 0x128]
push 1
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00401070
mov ebx, dword [ebp - 0x24]
xor esi, esi
mov al, byte [ebp - 0x11]
test al, al
jne 0x4fc30f
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x48], esi
mov word [ebp - 0x4c], si
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 5
push eax
call fcn.004473e0
add esp, 4
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x3c], esi
mov word [ebp - 0x40], si
mov ecx, dword [ebp - 0x50]
mov byte [ebp - 4], 6
push ecx
lea ecx, [ebp - 0x44]
call fcn.00402410
cmp dword [0x6d12f8], esi
je 0x4fc1eb
mov eax, dword [0x6d1160]
cmp eax, esi
mov ecx, eax
jne 0x4fc1d3
mov ecx, 0x6d1164
mov eax, dword [0x6d1170]
cmp eax, esi
jne 0x4fc1e1
mov eax, 0x6d1174
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0043e1c0
cmp dword [0x6d12fc], esi
je 0x4fc21b
mov eax, dword [0x6d1140]
cmp eax, esi
mov ecx, eax
jne 0x4fc203
mov ecx, 0x6d1144
mov eax, dword [0x6d1150]
cmp eax, esi
jne 0x4fc211
mov eax, 0x6d1154
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0043e1c0
mov edx, dword [ebp - 0x50]
lea ecx, [ebx + 0x90]
push edx
call fcn.00402410
mov eax, dword [0x6a45ac]
cmp eax, esi
mov eax, dword [ebp - 0x44]
je 0x4fc25a
cmp eax, esi
jne 0x4fc23d
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebx + 0x1c]
push 0x408
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
jmp 0x4fc289
inc edi
xor esi, esi
mov dword [ebp - 0x38], edi
jmp 0x4fbc84
cmp eax, esi
jne 0x4fc261
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x38]
push eax
push ecx
call fcn.00402500
mov edx, dword [ebp - 0x38]
mov eax, dword [ebx + 0x1c]
add esp, 8
push edx
push 0x408
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea ecx, [ebp - 0x38]
call fcn.00602ad6
mov eax, dword [0x6d12f4]
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x34]
push ecx
push edx
push esi
push esi
push str.RememberLastSave
push eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebx + 0x178]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push ecx
push 0xf1
push edx
call edi
mov eax, dword [0x6d1d9c]
lea ecx, [ebx + 0x9c]
push eax
call fcn.006020be
mov ecx, dword [ebx + 0xb8]
push esi
push 1
push 0xcf
push ecx
call edi
mov edx, dword [ebx + 0x128]
push esi
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call fcn.00401070
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00401070
mov eax, dword [0x6cc708]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [0x6d2308]
push ecx
lea eax, [ebp - 0x18]
push edx
push eax
mov byte [ebp - 4], 7
call fcn.005fb90b
mov eax, dword [ebx + 0x168]
mov edi, dword [ebp - 0x18]
add esp, 0xc
cmp eax, esi
je 0x4fc35b
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4fc35b
mov ecx, dword [ebx + 0x168]
push edi
push esi
push 0xc
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp - 0x20]
mov eax, dword [0x6d2304]
push edx
lea ecx, [ebp - 0x18]
push eax
push ecx
call fcn.005fb90b
mov eax, dword [ebx + 0x178]
mov edi, dword [ebp - 0x18]
add esp, 0xc
cmp eax, esi
je 0x4fc39a
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4fc39a
mov edx, dword [ebx + 0x178]
push edi
push esi
push 0xc
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x20]
mov ecx, dword [0x6d1d8c]
push eax
lea edx, [ebp - 0x18]
push ecx
push edx
call fcn.005fb90b
mov eax, dword [ebp - 0x18]
add esp, 0xc
lea ecx, [ebx + 0x144]
push eax
call fcn.004fc3f0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00602ad6
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.00602ad6
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret