Function at 0x42b260
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59af80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x648
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x90]
test eax, eax
jne 0x42b29d
lea eax, [edi + 0x94]
lea ecx, [ebp - 0x454]
lea edx, [ebp - 0x654]
push ecx
push edx
lea ecx, [ebp - 0x254]
lea edx, [ebp - 0x3c]
push ecx
push edx
push eax
call fcn.0056c696
mov eax, dword [edi + 0x17c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x14
push 0
push 0
push 0xf0
push eax
call esi
mov ecx, dword [0x65ca8c]
test eax, eax
setne bl
mov dword [ebp - 0x30], ecx
mov edx, dword [edi + 0x1b8]
push 0
push 0
push 0x147
push edx
mov byte [ebp - 4], 1
call esi
lea ecx, [ebp - 0x30]
push ecx
push eax
lea ecx, [edi + 0x19c]
call fcn.0058e910
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov eax, dword [edi + 0x5c]
cmp ecx, dword [eax + 8]
jge 0x42b4a7
mov edx, dword [eax + 4]
mov esi, ecx
shl esi, 5
mov eax, dword [edx + esi + 4]
push eax
mov eax, dword [ebp - 0x30]
push eax
call fcn.0056bf52
add esp, 8
test eax, eax
jne 0x42b497
mov ecx, dword [edi + 0x5c]
mov edx, dword [ecx + 4]
mov cl, byte [edx + esi + 0x1c]
cmp cl, bl
lea eax, [edx + esi + 0x1c]
jne 0x42b359
test bl, bl
je 0x42b62b
test bl, bl
mov byte [eax], bl
je 0x42b472
mov eax, dword [edi + 0x5c]
mov edx, 0x637020
test edx, edx
mov ecx, dword [eax + 4]
lea ebx, [ecx + esi + 0x10]
mov dword [ebp - 0x34], ebx
je 0x42b472
lea eax, [ebp - 0x3c]
test eax, eax
je 0x42b472
lea ecx, [ebp - 0x254]
test ecx, ecx
je 0x42b472
xor esi, esi
lea ecx, [ebp - 0x1c]
push esi
push edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], esi
mov word [ebp - 0x18], si
call fcn.00402610
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 2
call fcn.004039c0
lea eax, [ebp - 0x254]
lea ecx, [ebp - 0x48]
push eax
mov byte [ebp - 4], 3
call fcn.004039c0
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.00401070
mov ebx, dword [ebp - 0x2c]
cmp ebx, esi
jne 0x42b3e4
lea ebx, [ebp - 0x28]
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x48]
call fcn.00403a70
push eax
call fcn.0056aeae
mov edx, eax
push ebx
mov dword [ebp - 0x20], edx
call fcn.0056aeae
mov ecx, dword [ebp - 0x20]
add esi, ecx
add eax, esi
lea edx, [eax + eax + 2]
push edx
call fcn.00582ecc
mov esi, dword [ebp - 0x34]
add esp, 0xc
test eax, eax
mov dword [esi], eax
je 0x42b44e
lea ecx, [ebp - 0x48]
call fcn.00403a70
push eax
lea ecx, [ebp - 0x2c]
call fcn.00403a70
push eax
lea ecx, [ebp - 0x1c]
call fcn.00403a70
push eax
mov eax, dword [esi]
push eax
call fcn.0056aef4
mov ecx, dword [esi]
push ecx
call fcn.0056aeae
add esp, 0x14
mov dword [esi + 8], eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00401070
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00401070
mov ecx, dword [edi + 0x5c]
call fcn.0047b710
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.00586b33
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
inc eax
xor esi, esi
mov dword [ebp - 0x20], eax
mov ecx, eax
jmp 0x42b312
xor al, al
test al, al
jne 0x42b62b
mov ecx, dword [0x6614e8]
lea eax, [ebp - 0x34]
push 4
xor edx, edx
push eax
push 4
test bl, bl
push esi
push str.RememberLastSave
setne dl
push ecx
mov dword [ebp - 0x34], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test bl, bl
je 0x42b62b
xor eax, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], si
mov edx, 0x637020
mov byte [ebp - 4], 5
test edx, edx
je 0x42b5f3
lea ecx, [ebp - 0x3c]
test ecx, ecx
je 0x42b5f3
lea edx, [ebp - 0x254]
test edx, edx
je 0x42b5f3
push esi
push 0x637020
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], esi
mov word [ebp - 0x28], si
call fcn.00402610
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x54]
push eax
mov byte [ebp - 4], 6
call fcn.004039c0
lea ecx, [ebp - 0x254]
mov bl, 7
push ecx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.004039c0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.00401070
mov edi, dword [ebp - 0x24]
lea ecx, [ebp - 0x48]
call fcn.00403a70
push eax
call fcn.0056aeae
add esp, 4
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.00403a70
push eax
call fcn.0056aeae
add edi, esi
add eax, edi
lea edx, [eax + eax + 2]
push edx
call fcn.00582ecc
xor esi, esi
add esp, 8
cmp eax, esi
mov dword [ebp - 0x1c], eax
je 0x42b5cd
lea ecx, [ebp - 0x48]
call fcn.00403a70
push eax
lea ecx, [ebp - 0x54]
call fcn.00403a70
push eax
lea ecx, [ebp - 0x2c]
call fcn.00403a70
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0056aef4
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0056aeae
add esp, 0x14
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 6
call fcn.00401070
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00401070
mov eax, dword [ebp - 0x1c]
cmp eax, esi
jne 0x42b648
lea eax, [ebp - 0x18]
lea edi, [ebp - 0x18]
push eax
call fcn.0056aeae
add esp, 4
lea edx, [eax + eax + 2]
mov eax, dword [0x6614e8]
push edx
push edi
push esi
push esi
push str.LocalPathW
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.00586b33
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, eax
jmp 0x42b5fd