Function at 0x4fb240
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62fdd8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x70a308]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
xor eax, eax
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
lea esi, [edi + 0x15c]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.00424f60
push eax
mov ecx, esi
call fcn.00423910
xor esi, esi
mov dword [ebp - 0x54], esi
mov ecx, dword [edi + 0x88]
cmp esi, dword [ecx + 8]
jge 0x4fb459
push esi
call fcn.00453620
add eax, 4
cmp dword [eax], ebx
je 0x4fb2c3
mov ecx, dword [eax]
jmp 0x4fb2c6
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x4fb2d0
lea eax, [ebp - 0x28]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4fb2f6
cmp dx, bx
je 0x4fb2f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4fb2f6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4fb2d0
xor eax, eax
jmp 0x4fb2fb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4fb453
push esi
mov ecx, dword [edi + 0x88]
call fcn.00453620
add eax, 0x20
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402160
mov bl, 2
mov byte [ebp - 4], bl
cmp dword [0x70f608], 0
je 0x4fb353
mov eax, dword [0x70f784]
test eax, eax
mov ecx, eax
jne 0x4fb33b
mov ecx, 0x70f788
mov eax, dword [0x70f6ec]
test eax, eax
jne 0x4fb349
mov eax, 0x70f6f0
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.0043a8a0
cmp dword [0x70f60c], 0
je 0x4fb384
mov eax, dword [0x70f79c]
test eax, eax
mov ecx, eax
jne 0x4fb36c
mov ecx, 0x70f7a0
mov eax, dword [0x70f790]
test eax, eax
jne 0x4fb37a
mov eax, 0x70f794
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.0043a8a0
push esi
mov ecx, dword [edi + 0x88]
call fcn.00453620
add eax, 0x20
mov eax, dword [eax]
push eax
lea ecx, [edi + 0x8c]
call fcn.004017d0
mov eax, dword [ebp - 0x20]
cmp dword [0x704d14], 0
je 0x4fb3c6
test eax, eax
jne 0x4fb3b4
lea eax, [ebp - 0x1c]
push eax
push 0x408
mov edx, dword [edi + 0x20]
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
jmp 0x4fb3fe
test eax, eax
jne 0x4fb3cd
lea eax, [ebp - 0x1c]
push 0
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00402a50
add esp, 0xc
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x48]
push ecx
push 0x408
mov edx, dword [edi + 0x20]
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x48]
call fcn.00402550
push esi
mov ecx, dword [edi + 0x88]
call fcn.00453620
movzx eax, byte [eax + 0x24]
push eax
lea ecx, [edi + 0x14c]
call fcn.00405350
push esi
mov ecx, dword [edi + 0x88]
call fcn.00453620
add eax, 0x1c
mov eax, dword [eax]
push eax
push 0x40e
mov ecx, edi
call fcn.005d0714
push 1
mov ecx, dword [edi + 0x100]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
jmp 0x4fb5fb
inc esi
jmp 0x4fb2a0
xor al, al
jne 0x4fb602
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x3c], ebx
xor edx, edx
mov word [ebp - 0x40], dx
mov byte [ebp - 4], 4
lea eax, [ebp - 0x44]
push eax
call fcn.0044a2c0
add esp, 4
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
xor ecx, ecx
mov word [ebp - 0x1c], cx
mov bl, 5
mov byte [ebp - 4], bl
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0x20]
call fcn.004017d0
cmp dword [0x70f608], 0
je 0x4fb4cb
mov eax, dword [0x70f784]
test eax, eax
mov ecx, eax
jne 0x4fb4b3
mov ecx, 0x70f788
mov eax, dword [0x70f6ec]
test eax, eax
jne 0x4fb4c1
mov eax, 0x70f6f0
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.0043a8a0
cmp dword [0x70f60c], 0
je 0x4fb4fc
mov eax, dword [0x70f79c]
test eax, eax
mov ecx, eax
jne 0x4fb4e4
mov ecx, 0x70f7a0
mov eax, dword [0x70f790]
test eax, eax
jne 0x4fb4f2
mov eax, 0x70f794
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.0043a8a0
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [edi + 0x8c]
call fcn.004017d0
mov eax, dword [ebp - 0x20]
cmp dword [0x704d14], 0
je 0x4fb530
test eax, eax
jne 0x4fb51e
lea eax, [ebp - 0x1c]
push eax
push 0x408
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
jmp 0x4fb568
test eax, eax
jne 0x4fb537
lea eax, [ebp - 0x1c]
push 0
push eax
lea edx, [ebp - 0x48]
push edx
call fcn.00402a50
add esp, 0xc
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x48]
push eax
push 0x408
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x48]
call fcn.00402550
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 4
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push str.RememberLastSave
mov ecx, dword [0x70f604]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x4c]
push edx
lea ecx, [edi + 0x14c]
call fcn.00405350
mov eax, dword [0x710bcc]
push eax
push 0x40e
mov ecx, dword [edi + 0x20]
push ecx
call fcn.00423840
add esp, 0xc
push 0
push 1
push 0xcf
push 0x40e
mov ecx, edi
call fcn.005d0697
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov eax, dword [edi + 0x100]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.004011f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.004011f0
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
xor ecx, ecx
mov word [ebp - 0x34], cx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x4fb61c
lea eax, [ebp - 0x28]
mov edx, dword [0x70f730]
push edx
push eax
mov eax, dword [0x710660]
push eax
lea ecx, [ebp - 0x38]
call fcn.00402190
mov eax, dword [ebp - 0x38]
cmp eax, ebx
jne 0x4fb63c
lea eax, [ebp - 0x34]
push eax
lea ecx, [edi + 0x13c]
call fcn.004a8360
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x4fb652
lea eax, [ebp - 0x28]
mov ecx, dword [0x70f730]
push ecx
push eax
mov edx, dword [0x710664]
push edx
lea ecx, [ebp - 0x38]
call fcn.00402190
mov eax, dword [ebp - 0x38]
cmp eax, ebx
jne 0x4fb673
lea eax, [ebp - 0x34]
push eax
lea ecx, [edi + 0x14c]
call fcn.004a8360
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x4fb689
lea eax, [ebp - 0x28]
mov ecx, dword [0x70f730]
push ecx
push eax
mov edx, dword [0x710bdc]
push edx
lea ecx, [ebp - 0x38]
call fcn.00402190
mov eax, dword [ebp - 0x38]
cmp eax, ebx
jne 0x4fb6aa
lea eax, [ebp - 0x34]
push eax
lea ecx, [edi + 0x11c]
call fcn.004a8360
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004011f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004011f0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005f85e7
mov esp, ebp
pop ebp
ret