Function at 0x432560
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b58c8
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 ebx, 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 edi, edi
mov eax, dword [ebx + 0x5c]
cmp edi, dword [eax + 8]
jge 0x432614
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 8]
lea esi, [edi + edi*2]
mov ecx, dword [ecx]
shl esi, 3
mov eax, dword [eax + esi + 4]
push eax
push ecx
call fcn.00585ec4
add esp, 8
test eax, eax
jne 0x43260f
mov edx, dword [ebx + 0x5c]
mov ecx, dword [ebx + 0x70]
mov eax, dword [edx + 4]
mov edx, dword [eax + esi]
mov dword [ecx + 0x2c4], edx
mov eax, dword [ebx + 0x5c]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0x10]
lea ecx, [ebp - 0x20]
push eax
call fcn.00401ee0
mov edx, dword [ebx + 0x5c]
xor ecx, ecx
push 0
mov eax, dword [edx + 4]
mov edx, dword [ebx + 0x17c]
mov cl, byte [eax + esi + 0x14]
mov eax, ecx
push eax
push 0xf1
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
xor esi, esi
jmp 0x43266c
inc edi
xor esi, esi
jmp 0x43259b
xor al, al
test al, al
jne 0x43266c
mov eax, dword [ebx + 0x70]
lea ecx, [ebp - 0x20]
push ecx
mov dword [eax + 0x2c4], esi
call fcn.00437440
mov ecx, dword [0x6825d4]
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 [ebx + 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 0x432897
mov eax, dword [ebx + 0x90]
cmp eax, esi
jne 0x432687
lea eax, [ebx + 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.005855aa
mov eax, dword [ebp - 0x20]
add esp, 0x14
cmp eax, esi
jne 0x4326b3
lea eax, [ebp - 0x1c]
push eax
call fcn.00584816
mov ecx, dword [ebp - 0x20]
add esp, 4
cmp ecx, esi
mov edx, ecx
jne 0x4326c8
lea edx, [ebp - 0x1c]
cmp word [edx + eax*2 - 2], 0x5c
mov edi, 0x681f7c
je 0x4326da
mov edi, 0x656fe4
cmp ecx, esi
jne 0x4326e1
lea ecx, [ebp - 0x1c]
mov eax, str._s_s_s_s
test eax, eax
je 0x43288e
cmp ecx, esi
je 0x43288e
cmp edi, esi
je 0x43288e
lea edx, [ebp - 0x268]
test edx, edx
je 0x43288e
lea eax, [ebp - 0x468]
test eax, eax
je 0x43288e
push ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], esi
mov word [ebp - 0x2c], si
call fcn.00401ee0
push edi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.00403ad0
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00403ad0
lea edx, [ebp - 0x468]
lea ecx, [ebp - 0x68]
push edx
mov byte [ebp - 4], 4
call fcn.00403ad0
lea ecx, [ebx + 0x90]
mov byte [ebp - 4], 5
call fcn.00401070
push str._s_s_s_s
lea ecx, [ebp - 0x44]
call fcn.00401e50
mov esi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.00401ed0
push eax
call fcn.00584816
add esp, 4
lea ecx, [ebp - 0x5c]
mov edi, eax
call fcn.00401ed0
push eax
call fcn.00584816
add esp, 4
lea ecx, [ebp - 0x50]
add edi, eax
call fcn.00401ed0
push eax
call fcn.00584816
mov dword [ebp + 0xc], edi
mov edi, eax
add esp, 4
lea ecx, [ebp - 0x30]
add edi, esi
call fcn.00401ed0
push eax
call fcn.00584816
mov ecx, dword [ebp + 0xc]
add edi, ecx
lea esi, [eax + edi + 5]
lea eax, [esi + esi]
push eax
call fcn.0059cff9
mov edi, eax
add esp, 8
test edi, edi
mov dword [ebx + 0x90], edi
je 0x432852
lea ecx, [esi + esi]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x68]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x5c]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x50]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x30]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x44]
call fcn.00401ed0
push eax
mov eax, dword [ebx + 0x90]
push esi
push eax
call fcn.005847a6
mov ecx, dword [ebx + 0x90]
push ecx
call fcn.00584816
add esp, 0x20
mov dword [ebx + 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, ebx
call fcn.00430c00
mov edx, dword [0x67da2c]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
mov edx, dword [0x682dbc]
mov byte [ebp - 4], 7
mov ecx, dword [eax]
lea eax, [ebp - 0x14]
push ecx
push edx
push eax
call fcn.00599a28
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push ecx
lea ecx, [ebx + 0x160]
call fcn.005a023e
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.005a0c5d
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