Function at 0x42bd60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59cc08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x65c
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], esi
mov word [ebp - 0x1c], si
mov byte [ebp - 4], 1
xor ebx, ebx
mov eax, dword [edi + 0x5c]
cmp ebx, dword [eax + 8]
jge 0x42be21
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 8]
mov esi, ebx
mov ecx, dword [ecx]
shl esi, 5
mov eax, dword [eax + esi + 4]
push eax
push ecx
call fcn.0056dad2
add esp, 8
test eax, eax
jne 0x42be19
mov edx, dword [edi + 0x5c]
mov ecx, dword [edi + 0x70]
mov eax, dword [edx + 4]
mov edx, dword [eax + esi]
mov dword [ecx + 0x2c4], edx
mov eax, dword [edi + 0x5c]
mov ecx, dword [eax + 4]
lea eax, [ecx + esi + 0x10]
mov ecx, dword [ecx + esi + 0x10]
test ecx, ecx
jne 0x42bde9
lea ecx, [eax + 4]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00402e10
mov edx, dword [edi + 0x5c]
xor ecx, ecx
push 0
mov eax, dword [edx + 4]
mov edx, dword [edi + 0x17c]
mov cl, byte [eax + esi + 0x1c]
mov eax, ecx
push eax
push 0xf1
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
xor esi, esi
jmp 0x42be79
inc ebx
xor esi, esi
jmp 0x42bd9b
xor al, al
test al, al
jne 0x42be79
mov eax, dword [edi + 0x70]
lea ecx, [ebp - 0x20]
push ecx
mov dword [eax + 0x2c4], esi
call fcn.00430400
mov ecx, dword [0x663680]
add esp, 4
lea edx, [ebp - 0x38]
lea eax, [ebp - 0x24]
push edx
push eax
push esi
push esi
push str.RememberLastSave
push ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x38], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x24]
mov eax, dword [edi + 0x17c]
push esi
push edx
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov al, byte [ebp + 0xc]
test al, al
je 0x42c08d
mov eax, dword [edi + 0x90]
cmp eax, esi
jne 0x42be94
lea eax, [edi + 0x94]
lea ecx, [ebp - 0x468]
lea edx, [ebp - 0x268]
push ecx
push edx
lea ecx, [ebp - 0x668]
lea edx, [ebp - 0x38]
push ecx
push edx
push eax
call fcn.0056e216
mov eax, dword [ebp - 0x20]
add esp, 0x14
cmp eax, esi
jne 0x42bec0
lea eax, [ebp - 0x1c]
push eax
call fcn.0056ca2e
mov ecx, dword [ebp - 0x20]
add esp, 4
cmp ecx, esi
mov edx, ecx
jne 0x42bed5
lea edx, [ebp - 0x1c]
cmp word [edx + eax*2 - 2], 0x5c
mov ebx, 0x66318c
je 0x42bee7
mov ebx, 0x639030
cmp ecx, esi
jne 0x42beee
lea ecx, [ebp - 0x1c]
mov eax, str._s_s_s_s
test eax, eax
je 0x42c084
cmp ecx, esi
je 0x42c084
cmp ebx, esi
je 0x42c084
lea edx, [ebp - 0x268]
test edx, edx
je 0x42c084
lea eax, [ebp - 0x468]
test eax, eax
je 0x42c084
push ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], esi
mov word [ebp - 0x2c], si
call fcn.00402e10
push ebx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.004039b0
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0x5c]
call fcn.004039b0
lea edx, [ebp - 0x468]
lea ecx, [ebp - 0x68]
push edx
mov byte [ebp - 4], 4
call fcn.004039b0
lea ecx, [edi + 0x90]
mov byte [ebp - 4], 5
call fcn.00401070
push str._s_s_s_s
lea ecx, [ebp - 0x44]
call fcn.004039e0
mov esi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.00403a60
push eax
call fcn.0056ca2e
add esp, 4
lea ecx, [ebp - 0x5c]
mov ebx, eax
call fcn.00403a60
push eax
call fcn.0056ca2e
add esp, 4
lea ecx, [ebp - 0x50]
add ebx, eax
call fcn.00403a60
push eax
call fcn.0056ca2e
mov dword [ebp + 0xc], ebx
mov ebx, eax
add esp, 4
lea ecx, [ebp - 0x30]
add ebx, esi
call fcn.00403a60
push eax
call fcn.0056ca2e
mov ecx, dword [ebp + 0xc]
add ebx, ecx
add eax, ebx
lea edx, [eax + eax + 2]
push edx
call fcn.00584a5c
add esp, 8
mov dword [edi + 0x90], eax
test eax, eax
je 0x42c048
lea ecx, [ebp - 0x68]
call fcn.00403a60
push eax
lea ecx, [ebp - 0x5c]
call fcn.00403a60
push eax
lea ecx, [ebp - 0x50]
call fcn.00403a60
push eax
lea ecx, [ebp - 0x30]
call fcn.00403a60
push eax
lea ecx, [ebp - 0x44]
call fcn.00403a60
push eax
mov eax, dword [edi + 0x90]
push eax
call fcn.0056ca74
mov ecx, dword [edi + 0x90]
push ecx
call fcn.0056ca2e
add esp, 0x1c
mov dword [edi + 0x98], eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call fcn.00401070
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00401070
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.00401070
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00401070
push 1
mov ecx, edi
call fcn.0042ace0
mov edx, dword [0x65ec1c]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
mov edx, dword [0x663e14]
mov byte [ebp - 4], 7
mov ecx, dword [eax]
lea eax, [ebp - 0x14]
push ecx
push edx
push eax
call fcn.0058148b
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push ecx
lea ecx, [edi + 0x160]
call fcn.00587ca4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.005886c0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8