Function at 0x434240
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c2718
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 0x4342f4
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.00592db4
add esp, 8
test eax, eax
jne 0x4342ef
mov edx, dword [ebx + 0x5c]
mov ecx, dword [ebx + 0x70]
mov eax, dword [edx + 4]
mov edx, dword [eax + esi]
mov dword [ecx + 0x2e4], 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 0x43434c
inc edi
xor esi, esi
jmp 0x43427b
xor al, al
test al, al
jne 0x43434c
mov eax, dword [ebx + 0x70]
lea ecx, [ebp - 0x20]
push ecx
mov dword [eax + 0x2e4], esi
call fcn.004391e0
mov ecx, dword [0x691b84]
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 0x434577
mov eax, dword [ebx + 0x90]
cmp eax, esi
jne 0x434367
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.0059249a
mov eax, dword [ebp - 0x20]
add esp, 0x14
cmp eax, esi
jne 0x434393
lea eax, [ebp - 0x1c]
push eax
call fcn.00591712
mov ecx, dword [ebp - 0x20]
add esp, 4
cmp ecx, esi
mov edx, ecx
jne 0x4343a8
lea edx, [ebp - 0x1c]
cmp word [edx + eax*2 - 2], 0x5c
mov edi, 0x69156c
je 0x4343ba
mov edi, 0x665ffc
cmp ecx, esi
jne 0x4343c1
lea ecx, [ebp - 0x1c]
mov eax, str._s_s_s_s
test eax, eax
je 0x43456e
cmp ecx, esi
je 0x43456e
cmp edi, esi
je 0x43456e
lea edx, [ebp - 0x268]
test edx, edx
je 0x43456e
lea eax, [ebp - 0x468]
test eax, eax
je 0x43456e
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.00403af0
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00403af0
lea edx, [ebp - 0x468]
lea ecx, [ebp - 0x68]
push edx
mov byte [ebp - 4], 4
call fcn.00403af0
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.00591712
add esp, 4
lea ecx, [ebp - 0x5c]
mov edi, eax
call fcn.00401ed0
push eax
call fcn.00591712
add esp, 4
lea ecx, [ebp - 0x50]
add edi, eax
call fcn.00401ed0
push eax
call fcn.00591712
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.00591712
mov ecx, dword [ebp + 0xc]
add edi, ecx
lea esi, [eax + edi + 5]
lea eax, [esi + esi]
push eax
call fcn.005a9fe9
mov edi, eax
add esp, 8
test edi, edi
mov dword [ebx + 0x90], edi
je 0x434532
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.005916a2
mov ecx, dword [ebx + 0x90]
push ecx
call fcn.00591712
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.004328e0
mov edx, dword [0x68d01c]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
mov edx, dword [0x6923a8]
mov byte [ebp - 4], 7
mov ecx, dword [eax]
lea eax, [ebp - 0x14]
push ecx
push edx
push eax
call fcn.005a6a18
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push ecx
lea ecx, [ebx + 0x160]
call fcn.005ad235
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.005adc4d
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