Function at 0x4fbcb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6252b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [0x6f175c]
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x24], eax
mov ecx, dword [edi + 0x298]
push esi
push esi
push 0x147
push ecx
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [ebp - 0x24]
lea ecx, [edi + 0x27c]
push edx
push eax
call fcn.0060951a
xor ebx, ebx
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x38], ebx
mov eax, dword [edi + 0x8c]
cmp ebx, dword [eax + 8]
jge 0x4fc206
mov eax, dword [eax + 4]
lea esi, [ebx*8]
mov ecx, dword [ebp - 0x24]
sub esi, ebx
shl esi, 2
mov eax, dword [eax + esi + 4]
push eax
push ecx
call fcn.005e695a
add esp, 8
test eax, eax
jne 0x4fc2ea
mov edx, dword [edi + 0x8c]
xor edi, edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x11], 1
mov eax, dword [edx + 4]
mov esi, dword [eax + esi + 0x10]
mov dword [ebp - 0x48], edi
push esi
mov dword [ebp - 0x40], edi
mov word [ebp - 0x44], di
call fcn.004023c0
mov eax, dword [0x6f6364]
mov byte [ebp - 4], 2
cmp eax, edi
je 0x4fbf53
mov eax, dword [0x6f61d8]
cmp eax, edi
je 0x4fbd90
mov dword [ebp - 0x1c], eax
jmp 0x4fbd9a
mov dword [ebp - 0x1c], 0x6f61dc
mov eax, dword [ebp - 0x1c]
mov esi, dword [0x6f61e8]
cmp esi, edi
jne 0x4fbda9
mov esi, 0x6f61ec
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x34], esi
cmp ecx, edi
je 0x4fbf53
cmp esi, edi
je 0x4fbf53
cmp eax, edi
je 0x4fbf53
push eax
push esi
call fcn.005e56c4
add esp, 8
test eax, eax
je 0x4fbf53
mov ecx, dword [ebp - 0x48]
push esi
push ecx
call fcn.005e5a05
add esp, 8
xor edi, edi
mov ebx, eax
mov dword [ebp - 0x30], edi
test ebx, ebx
je 0x4fbe0c
inc edi
push esi
mov dword [ebp - 0x30], edi
call fcn.005e519b
lea eax, [ebx + eax*2]
push esi
push eax
call fcn.005e5a05
add esp, 0xc
mov ebx, eax
jmp 0x4fbded
test edi, edi
je 0x4fbf53
mov edx, dword [ebp - 0x48]
lea ecx, [ebp - 0x54]
push edx
call fcn.0040e5b0
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
push edi
call fcn.005e519b
push esi
mov ebx, eax
call fcn.005e519b
add esp, 8
cmp ebx, eax
jbe 0x4fbe85
lea ecx, [ebp - 0x48]
call fcn.00401070
lea ecx, [ebp - 0x54]
call fcn.004023b0
push eax
call fcn.005e519b
push edi
mov ebx, eax
call fcn.005e519b
push esi
mov edi, eax
call fcn.005e519b
sub edi, eax
imul edi, dword [ebp - 0x30]
add ebx, edi
lea eax, [ebx + ebx + 2]
push eax
call fcn.005fdccd
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [ebp - 0x48], ebx
jne 0x4fbe88
jmp 0x4fbf47
mov ebx, dword [ebp - 0x48]
lea ecx, [ebp - 0x54]
call fcn.004023b0
push esi
push eax
mov dword [ebp - 0x2c], eax
call fcn.005e5a05
add esp, 8
test eax, eax
mov dword [ebp - 0x18], eax
je 0x4fbf0a
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.005e519b
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.005e519b
mov esi, dword [ebp - 0x34]
lea ebx, [ebx + eax*2]
push esi
call fcn.005e519b
mov ecx, dword [ebp - 0x18]
push esi
lea eax, [ecx + eax*2]
push eax
mov dword [ebp - 0x2c], eax
call fcn.005e5a05
add esp, 0x14
jmp 0x4fbe9d
mov esi, dword [ebp - 0x2c]
push esi
call fcn.005e519b
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.005e519b
lea ebx, [ebx + eax*2]
mov word [ebx], 0
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.005e519b
add esp, 0xc
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.00401070
mov eax, dword [0x6f6368]
test eax, eax
je 0x4fc130
mov eax, dword [0x6f61b8]
test eax, eax
je 0x4fbf6e
mov dword [ebp - 0x1c], eax
jmp 0x4fbf78
mov dword [ebp - 0x1c], 0x6f61bc
mov eax, dword [ebp - 0x1c]
mov esi, dword [0x6f61c8]
test esi, esi
jne 0x4fbf87
mov esi, 0x6f61cc
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x30], esi
test ecx, ecx
je 0x4fc130
test esi, esi
je 0x4fc130
test eax, eax
je 0x4fc130
push eax
push esi
call fcn.005e56c4
add esp, 8
test eax, eax
je 0x4fc130
mov edx, dword [ebp - 0x48]
push esi
push edx
call fcn.005e5a05
add esp, 8
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x4fbfe4
push esi
inc ebx
call fcn.005e519b
lea eax, [edi + eax*2]
push esi
push eax
call fcn.005e5a05
add esp, 0xc
mov edi, eax
jmp 0x4fbfc8
test ebx, ebx
je 0x4fc130
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x54]
push eax
call fcn.0040e5b0
push esi
mov byte [ebp - 4], 4
call fcn.005e519b
mov ecx, dword [ebp - 0x1c]
mov edi, eax
push ecx
call fcn.005e519b
add esp, 8
cmp eax, edi
jbe 0x4fc05f
lea ecx, [ebp - 0x48]
call fcn.00401070
lea ecx, [ebp - 0x54]
call fcn.004023b0
push eax
call fcn.005e519b
push esi
mov edi, eax
call fcn.005e519b
mov edx, dword [ebp - 0x1c]
mov esi, eax
push edx
call fcn.005e519b
sub eax, esi
imul eax, ebx
add edi, eax
lea eax, [edi + edi + 2]
push eax
call fcn.005fdccd
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [ebp - 0x48], ebx
jne 0x4fc062
jmp 0x4fc124
mov ebx, dword [ebp - 0x48]
lea ecx, [ebp - 0x54]
call fcn.004023b0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
push ecx
push eax
call fcn.005e5a05
add esp, 8
test eax, eax
mov dword [ebp - 0x2c], eax
je 0x4fc0e7
mov esi, dword [ebp - 0x18]
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.005e519b
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.005e519b
mov esi, dword [ebp - 0x30]
lea ebx, [ebx + eax*2]
push esi
call fcn.005e519b
mov ecx, dword [ebp - 0x2c]
push esi
lea eax, [ecx + eax*2]
push eax
mov dword [ebp - 0x18], eax
call fcn.005e5a05
add esp, 0x14
jmp 0x4fc07a
mov esi, dword [ebp - 0x18]
push esi
call fcn.005e519b
mov ecx, eax
mov edi, ebx
shl ecx, 1
mov edx, ecx
mov eax, dword [ebp - 0x18]
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.005e519b
lea ebx, [ebx + eax*2]
mov word [ebx], 0
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.005e519b
add esp, 0xc
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.00401070
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x28]
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.004023c0
mov eax, dword [0x6c95a4]
test eax, eax
mov eax, dword [ebp - 0x48]
je 0x4fc180
test eax, eax
jne 0x4fc16e
lea eax, [ebp - 0x44]
mov ecx, dword [esi + 0x1c]
push eax
push 0x408
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
jmp 0x4fc1ab
test eax, eax
jne 0x4fc187
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x34]
call fcn.0060198c
mov edx, dword [ebp - 0x34]
mov eax, dword [esi + 0x1c]
push edx
push 0x408
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea ecx, [ebp - 0x34]
call fcn.006018cc
mov ecx, dword [esi + 0x8c]
xor eax, eax
push 0
mov edx, dword [ecx + 4]
mov al, byte [edx + edi + 0x14]
push eax
mov eax, dword [esi + 0x25c]
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x8c]
mov edx, dword [ecx + 4]
lea ecx, [esi + 0x150]
mov edi, dword [edx + edi + 0xc]
push edi
call fcn.006013c8
push 1
lea ecx, [esi + 0xd8]
call fcn.00601526
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00401070
mov edi, dword [ebp - 0x28]
xor esi, esi
mov al, byte [ebp - 0x11]
test al, al
jne 0x4fc56d
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x4c], esi
mov word [ebp - 0x50], si
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 5
push eax
call fcn.004472d0
add esp, 4
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x40], esi
mov word [ebp - 0x44], si
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 4], 6
push ecx
lea ecx, [ebp - 0x48]
call fcn.004023c0
cmp dword [0x6f6364], esi
je 0x4fc45c
mov eax, dword [0x6f61d8]
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x4fc264
mov dword [ebp - 0x18], 0x6f61dc
mov eax, dword [0x6f61e8]
test eax, eax
mov dword [ebp - 0x1c], eax
jne 0x4fc277
mov dword [ebp - 0x1c], 0x6f61ec
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x4fc45c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4fc45c
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4fc45c
mov edx, eax
mov eax, dword [ebp - 0x1c]
push edx
push eax
call fcn.005e56c4
add esp, 8
test eax, eax
je 0x4fc45c
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x48]
push ebx
push ecx
call fcn.005e5a05
add esp, 8
mov esi, eax
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x4fc2f5
inc eax
push ebx
mov dword [ebp - 0x2c], eax
call fcn.005e519b
lea esi, [esi + eax*2]
push ebx
push esi
call fcn.005e5a05
add esp, 0xc
mov esi, eax
jmp 0x4fc2c8
inc ebx
xor esi, esi
mov dword [ebp - 0x38], ebx
jmp 0x4fbd14
test eax, eax
je 0x4fc45c
mov edx, dword [ebp - 0x48]
lea ecx, [ebp - 0x60]
push edx
call fcn.0040e5b0
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 7
push eax
call fcn.005e519b
mov esi, dword [ebp - 0x1c]
mov ebx, eax
push esi
call fcn.005e519b
add esp, 8
cmp ebx, eax
jbe 0x4fc386
lea ecx, [ebp - 0x48]
call fcn.00401070
lea ecx, [ebp - 0x60]
call fcn.004023b0
push eax
call fcn.005e519b
mov ecx, dword [ebp - 0x18]
mov ebx, eax
push ecx
call fcn.005e519b
mov dword [ebp - 0x38], ebx
push esi
mov ebx, eax
call fcn.005e519b
sub ebx, eax
mov edx, dword [ebp - 0x38]
imul ebx, dword [ebp - 0x2c]
add edx, ebx
lea eax, [edx + edx + 2]
push eax
call fcn.005fdccd
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [ebp - 0x48], ebx
jne 0x4fc38b
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 6
call fcn.00401070
jmp 0x4fc45c
mov ebx, dword [ebp - 0x48]
jmp 0x4fc38e
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x60]
call fcn.004023b0
push esi
push eax
mov dword [ebp - 0x30], eax
call fcn.005e5a05
add esp, 8
test eax, eax
mov dword [ebp - 0x2c], eax
je 0x4fc410
mov esi, dword [ebp - 0x30]
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 - 0x18]
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.005e519b
mov ecx, eax
mov eax, dword [ebp - 0x18]
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.005e519b
mov esi, dword [ebp - 0x1c]
lea ebx, [ebx + eax*2]
push esi
call fcn.005e519b
mov ecx, dword [ebp - 0x2c]
push esi
lea eax, [ecx + eax*2]
push eax
mov dword [ebp - 0x30], eax
call fcn.005e5a05
add esp, 0x14
jmp 0x4fc3a3
mov esi, dword [ebp - 0x30]
push esi
call fcn.005e519b
mov ecx, eax
mov edi, ebx
shl ecx, 1
mov edx, ecx
mov eax, dword [ebp - 0x30]
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.005e519b
lea ebx, [ebx + eax*2]
mov word [ebx], 0
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.005e519b
add esp, 0xc
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 6
call fcn.00401070
mov edi, dword [ebp - 0x28]
mov eax, dword [0x6f6368]
test eax, eax
je 0x4fc483
mov ecx, 0x6f61b8
call fcn.004023b0
push eax
mov ecx, 0x6f61c8
call fcn.004023b0
push eax
lea ecx, [ebp - 0x48]
call fcn.0043e0f0
mov edx, dword [ebp - 0x54]
lea ecx, [edi + 0x90]
push edx
call fcn.004023c0
mov eax, dword [0x6c95a4]
lea ecx, [ebp - 0x48]
test eax, eax
je 0x4fc4b5
call fcn.004023b0
push eax
mov eax, dword [edi + 0x1c]
push 0x408
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
jmp 0x4fc4de
call fcn.004023b0
push eax
lea ecx, [ebp - 0x38]
call fcn.0060198c
mov ecx, dword [ebp - 0x38]
mov edx, dword [edi + 0x1c]
push ecx
push 0x408
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea ecx, [ebp - 0x38]
call fcn.006018cc
mov edx, dword [0x6f6360]
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x34]
push eax
push ecx
push 0
push 0
push str.RememberLastSave
push edx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x34]
mov ecx, dword [edi + 0x25c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0xf1
push ecx
call esi
mov edx, dword [0x6f6de4]
lea ecx, [edi + 0x150]
push edx
call fcn.006013c8
mov eax, dword [edi + 0x16c]
push 0
push 1
push 0xcf
push eax
call esi
push 0
lea ecx, [edi + 0xd8]
call fcn.00601526
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.00401070
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00401070
mov ecx, dword [0x6f175c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [0x6f7350]
push edx
lea ecx, [ebp - 0x20]
push eax
push ecx
mov byte [ebp - 4], 8
call fcn.005fa6fb
mov edx, dword [ebp - 0x20]
add esp, 0xc
lea ecx, [edi + 0x204]
push edx
call fcn.006013c8
mov eax, dword [ebp - 0x24]
mov ecx, dword [0x6f734c]
push eax
lea edx, [ebp - 0x20]
push ecx
push edx
call fcn.005fa6fb
mov eax, dword [ebp - 0x20]
add esp, 0xc
lea ecx, [edi + 0x240]
push eax
call fcn.006013c8
mov ecx, dword [ebp - 0x24]
mov edx, dword [0x6f6dd4]
push ecx
lea eax, [ebp - 0x20]
push edx
push eax
call fcn.005fa6fb
mov ecx, dword [ebp - 0x20]
add esp, 0xc
push ecx
lea ecx, [edi + 0x18c]
call fcn.006013c8
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.006018cc
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.006018cc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret