Function at 0x4fca20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x626188
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [0x6cd768]
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.0060b68a
xor edi, edi
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x38], edi
mov eax, dword [ebx + 0x8c]
cmp edi, dword [eax + 8]
jge 0x4fcf7c
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.005e897a
add esp, 8
test eax, eax
jne 0x4fd04f
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 [0x6d2358]
mov byte [ebp - 4], 2
cmp eax, edi
je 0x4fccc1
mov eax, dword [0x6d21c0]
cmp eax, edi
je 0x4fcb00
mov dword [ebp - 0x1c], eax
jmp 0x4fcb0a
mov dword [ebp - 0x1c], 0x6d21c4
mov eax, dword [ebp - 0x1c]
mov esi, dword [0x6d21d0]
cmp esi, edi
jne 0x4fcb19
mov esi, 0x6d21d4
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x34], esi
cmp ecx, edi
je 0x4fccc1
cmp esi, edi
je 0x4fccc1
cmp eax, edi
je 0x4fccc1
push eax
push esi
call fcn.005e77e4
add esp, 8
test eax, eax
je 0x4fccc1
mov ecx, dword [ebp - 0x44]
push esi
push ecx
call fcn.005e7a20
add esp, 8
mov ebx, eax
mov dword [ebp - 0x30], edi
test ebx, ebx
je 0x4fcb7a
inc edi
push esi
mov dword [ebp - 0x30], edi
call fcn.005e71bf
lea eax, [ebx + eax*2]
push esi
push eax
call fcn.005e7a20
add esp, 0xc
mov ebx, eax
jmp 0x4fcb5b
test edi, edi
je 0x4fccc1
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x50]
push edx
call fcn.0040e580
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
push edi
call fcn.005e71bf
push esi
mov ebx, eax
call fcn.005e71bf
add esp, 8
cmp ebx, eax
jbe 0x4fcbf3
lea ecx, [ebp - 0x44]
call fcn.00401070
lea ecx, [ebp - 0x50]
call fcn.00402400
push eax
call fcn.005e71bf
push edi
mov ebx, eax
call fcn.005e71bf
push esi
mov edi, eax
call fcn.005e71bf
sub edi, eax
imul edi, dword [ebp - 0x30]
add ebx, edi
lea eax, [ebx + ebx + 2]
push eax
call fcn.005ffe3f
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [ebp - 0x44], ebx
jne 0x4fcbf6
jmp 0x4fccb5
mov ebx, dword [ebp - 0x44]
lea ecx, [ebp - 0x50]
call fcn.00402400
push esi
push eax
mov dword [ebp - 0x2c], eax
call fcn.005e7a20
add esp, 8
test eax, eax
mov dword [ebp - 0x28], eax
je 0x4fcc78
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.005e71bf
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.005e71bf
mov esi, dword [ebp - 0x34]
lea ebx, [ebx + eax*2]
push esi
call fcn.005e71bf
mov ecx, dword [ebp - 0x28]
push esi
lea eax, [ecx + eax*2]
push eax
mov dword [ebp - 0x2c], eax
call fcn.005e7a20
add esp, 0x14
jmp 0x4fcc0b
mov esi, dword [ebp - 0x2c]
push esi
call fcn.005e71bf
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.005e71bf
lea ebx, [ebx + eax*2]
mov word [ebx], 0
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.005e71bf
add esp, 0xc
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.00401070
mov eax, dword [0x6d235c]
test eax, eax
je 0x4fce9e
mov eax, dword [0x6d21a0]
test eax, eax
je 0x4fccdc
mov dword [ebp - 0x1c], eax
jmp 0x4fcce6
mov dword [ebp - 0x1c], 0x6d21a4
mov eax, dword [ebp - 0x1c]
mov esi, dword [0x6d21b0]
test esi, esi
jne 0x4fccf5
mov esi, 0x6d21b4
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x30], esi
test ecx, ecx
je 0x4fce9e
test esi, esi
je 0x4fce9e
test eax, eax
je 0x4fce9e
push eax
push esi
call fcn.005e77e4
add esp, 8
test eax, eax
je 0x4fce9e
mov edx, dword [ebp - 0x44]
push esi
push edx
call fcn.005e7a20
add esp, 8
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x4fcd52
push esi
inc ebx
call fcn.005e71bf
lea eax, [edi + eax*2]
push esi
push eax
call fcn.005e7a20
add esp, 0xc
mov edi, eax
jmp 0x4fcd36
test ebx, ebx
je 0x4fce9e
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x50]
push eax
call fcn.0040e580
push esi
mov byte [ebp - 4], 4
call fcn.005e71bf
mov ecx, dword [ebp - 0x1c]
mov edi, eax
push ecx
call fcn.005e71bf
add esp, 8
cmp eax, edi
jbe 0x4fcdcd
lea ecx, [ebp - 0x44]
call fcn.00401070
lea ecx, [ebp - 0x50]
call fcn.00402400
push eax
call fcn.005e71bf
push esi
mov edi, eax
call fcn.005e71bf
mov edx, dword [ebp - 0x1c]
mov esi, eax
push edx
call fcn.005e71bf
sub eax, esi
imul eax, ebx
add edi, eax
lea eax, [edi + edi + 2]
push eax
call fcn.005ffe3f
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [ebp - 0x44], ebx
jne 0x4fcdd0
jmp 0x4fce92
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.005e7a20
add esp, 8
test eax, eax
mov dword [ebp - 0x2c], eax
je 0x4fce55
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.005e71bf
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.005e71bf
mov esi, dword [ebp - 0x30]
lea ebx, [ebx + eax*2]
push esi
call fcn.005e71bf
mov ecx, dword [ebp - 0x2c]
push esi
lea eax, [ecx + eax*2]
push eax
mov dword [ebp - 0x28], eax
call fcn.005e7a20
add esp, 0x14
jmp 0x4fcde8
mov esi, dword [ebp - 0x28]
push esi
call fcn.005e71bf
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.005e71bf
lea ebx, [ebx + eax*2]
mov word [ebx], 0
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.005e71bf
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 [0x6a55ac]
test eax, eax
mov eax, dword [ebp - 0x44]
je 0x4fceee
test eax, eax
jne 0x4fcedc
lea eax, [ebp - 0x40]
mov ecx, dword [esi + 0x1c]
push eax
push 0x408
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
jmp 0x4fcf1d
test eax, eax
jne 0x4fcef5
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.00603a3c
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.00603022
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 0x4fd10f
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.00447780
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 [0x6d2358], esi
je 0x4fcfeb
mov eax, dword [0x6d21c0]
cmp eax, esi
mov ecx, eax
jne 0x4fcfd3
mov ecx, 0x6d21c4
mov eax, dword [0x6d21d0]
cmp eax, esi
jne 0x4fcfe1
mov eax, 0x6d21d4
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0043e560
cmp dword [0x6d235c], esi
je 0x4fd01b
mov eax, dword [0x6d21a0]
cmp eax, esi
mov ecx, eax
jne 0x4fd003
mov ecx, 0x6d21a4
mov eax, dword [0x6d21b0]
cmp eax, esi
jne 0x4fd011
mov eax, 0x6d21b4
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0043e560
mov edx, dword [ebp - 0x50]
lea ecx, [ebx + 0x90]
push edx
call fcn.00402410
mov eax, dword [0x6a55ac]
cmp eax, esi
mov eax, dword [ebp - 0x44]
je 0x4fd05a
cmp eax, esi
jne 0x4fd03d
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebx + 0x1c]
push 0x408
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
jmp 0x4fd089
inc edi
xor esi, esi
mov dword [ebp - 0x38], edi
jmp 0x4fca84
cmp eax, esi
jne 0x4fd061
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.00603a3c
mov eax, dword [0x6d2354]
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 [0x6d2e04]
lea ecx, [ebx + 0x9c]
push eax
call fcn.00603022
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 [0x6cd768]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [0x6d3370]
push ecx
lea eax, [ebp - 0x18]
push edx
push eax
mov byte [ebp - 4], 7
call fcn.005fc86b
mov eax, dword [ebx + 0x168]
mov edi, dword [ebp - 0x18]
add esp, 0xc
cmp eax, esi
je 0x4fd15b
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4fd15b
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 [0x6d336c]
push edx
lea ecx, [ebp - 0x18]
push eax
push ecx
call fcn.005fc86b
mov eax, dword [ebx + 0x178]
mov edi, dword [ebp - 0x18]
add esp, 0xc
cmp eax, esi
je 0x4fd19a
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4fd19a
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 [0x6d2df4]
push eax
lea edx, [ebp - 0x18]
push ecx
push edx
call fcn.005fc86b
mov eax, dword [ebp - 0x18]
add esp, 0xc
lea ecx, [ebx + 0x144]
push eax
call fcn.004fd1f0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00603a3c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.00603a3c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret