Function at 0x42b3a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59cb40
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 0x42b3dd
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.0056e216
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 [0x65ec1c]
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.005904a0
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov eax, dword [edi + 0x5c]
cmp ecx, dword [eax + 8]
jge 0x42b5e7
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.0056dad2
add esp, 8
test eax, eax
jne 0x42b5d7
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 0x42b499
test bl, bl
je 0x42b76b
test bl, bl
mov byte [eax], bl
je 0x42b5b2
mov eax, dword [edi + 0x5c]
mov edx, 0x639028
test edx, edx
mov ecx, dword [eax + 4]
lea ebx, [ecx + esi + 0x10]
mov dword [ebp - 0x34], ebx
je 0x42b5b2
lea eax, [ebp - 0x3c]
test eax, eax
je 0x42b5b2
lea ecx, [ebp - 0x254]
test ecx, ecx
je 0x42b5b2
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.00402600
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 2
call fcn.004039b0
lea eax, [ebp - 0x254]
lea ecx, [ebp - 0x48]
push eax
mov byte [ebp - 4], 3
call fcn.004039b0
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.00401070
mov ebx, dword [ebp - 0x2c]
cmp ebx, esi
jne 0x42b524
lea ebx, [ebp - 0x28]
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x48]
call fcn.00403a60
push eax
call fcn.0056ca2e
mov edx, eax
push ebx
mov dword [ebp - 0x20], edx
call fcn.0056ca2e
mov ecx, dword [ebp - 0x20]
add esi, ecx
add eax, esi
lea edx, [eax + eax + 2]
push edx
call fcn.00584a5c
mov esi, dword [ebp - 0x34]
add esp, 0xc
test eax, eax
mov dword [esi], eax
je 0x42b58e
lea ecx, [ebp - 0x48]
call fcn.00403a60
push eax
lea ecx, [ebp - 0x2c]
call fcn.00403a60
push eax
lea ecx, [ebp - 0x1c]
call fcn.00403a60
push eax
mov eax, dword [esi]
push eax
call fcn.0056ca74
mov ecx, dword [esi]
push ecx
call fcn.0056ca2e
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.0047c4f0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.005886c0
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 0x42b452
xor al, al
test al, al
jne 0x42b76b
mov ecx, dword [0x663680]
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 0x42b76b
xor eax, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], si
mov edx, 0x639028
mov byte [ebp - 4], 5
test edx, edx
je 0x42b733
lea ecx, [ebp - 0x3c]
test ecx, ecx
je 0x42b733
lea edx, [ebp - 0x254]
test edx, edx
je 0x42b733
push esi
push 0x639028
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], esi
mov word [ebp - 0x28], si
call fcn.00402600
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x54]
push eax
mov byte [ebp - 4], 6
call fcn.004039b0
lea ecx, [ebp - 0x254]
mov bl, 7
push ecx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.004039b0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.00401070
mov edi, dword [ebp - 0x24]
lea ecx, [ebp - 0x48]
call fcn.00403a60
push eax
call fcn.0056ca2e
add esp, 4
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.00403a60
push eax
call fcn.0056ca2e
add edi, esi
add eax, edi
lea edx, [eax + eax + 2]
push edx
call fcn.00584a5c
xor esi, esi
add esp, 8
cmp eax, esi
mov dword [ebp - 0x1c], eax
je 0x42b70d
lea ecx, [ebp - 0x48]
call fcn.00403a60
push eax
lea ecx, [ebp - 0x54]
call fcn.00403a60
push eax
lea ecx, [ebp - 0x2c]
call fcn.00403a60
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0056ca74
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0056ca2e
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 0x42b788
lea eax, [ebp - 0x18]
lea edi, [ebp - 0x18]
push eax
call fcn.0056ca2e
add esp, 4
lea edx, [eax + eax + 2]
mov eax, dword [0x663680]
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.005886c0
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 0x42b73d