Function at 0x428840
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e3f0
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 0x42887d
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.0054fba9
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 [0x639ad4]
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.00571ee0
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov eax, dword [edi + 0x5c]
cmp ecx, dword [eax + 8]
jge 0x428a88
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.0054f4a2
add esp, 8
test eax, eax
jne 0x428a78
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 0x428939
test bl, bl
je 0x428c0d
test bl, bl
mov byte [eax], bl
je 0x428a53
mov eax, dword [edi + 0x5c]
mov edx, 0x615f14
test edx, edx
mov ecx, dword [eax + 4]
lea ebx, [ecx + esi + 0x10]
mov dword [ebp - 0x34], ebx
je 0x428a53
lea eax, [ebp - 0x3c]
test eax, eax
je 0x428a53
lea ecx, [ebp - 0x254]
test ecx, ecx
je 0x428a53
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.004024c0
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 2
call fcn.004034d0
lea eax, [ebp - 0x254]
lea ecx, [ebp - 0x48]
push eax
mov byte [ebp - 4], 3
call fcn.004034d0
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.00401070
mov ebx, dword [ebp - 0x2c]
cmp ebx, esi
jne 0x4289c4
lea ebx, [ebp - 0x28]
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x48]
call fcn.00403580
push eax
call fcn.0054e46e
mov edx, eax
push ebx
mov dword [ebp - 0x20], edx
call fcn.0054e46e
mov ecx, dword [ebp - 0x20]
add esi, ecx
add eax, esi
lea edx, [eax + eax + 2]
push edx
call fcn.0056649c
mov esi, dword [ebp - 0x34]
add esp, 0xc
test eax, eax
mov dword [esi], eax
je 0x428a2f
lea ecx, [ebp - 0x48]
call fcn.00403580
push eax
lea ecx, [ebp - 0x2c]
call fcn.00403580
push eax
lea ecx, [ebp - 0x1c]
call fcn.00403580
push eax
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [esi]
push ecx
call fcn.0054e46e
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.00472d80
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.0056a100
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 0x4288f2
xor al, al
test al, al
jne 0x428c0d
mov ecx, dword [0x63e518]
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 0x428c0d
xor eax, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], si
mov edx, 0x615f14
mov byte [ebp - 4], 5
test edx, edx
je 0x428bd5
lea ecx, [ebp - 0x3c]
test ecx, ecx
je 0x428bd5
lea edx, [ebp - 0x254]
test edx, edx
je 0x428bd5
push esi
push 0x615f14
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], esi
mov word [ebp - 0x28], si
call fcn.004024c0
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x54]
push eax
mov byte [ebp - 4], 6
call fcn.004034d0
lea ecx, [ebp - 0x254]
mov bl, 7
push ecx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.004034d0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.00401070
mov edi, dword [ebp - 0x24]
lea ecx, [ebp - 0x48]
call fcn.00403580
push eax
call fcn.0054e46e
add esp, 4
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.00403580
push eax
call fcn.0054e46e
add edi, esi
add eax, edi
lea edx, [eax + eax + 2]
push edx
call fcn.0056649c
xor esi, esi
add esp, 8
cmp eax, esi
mov dword [ebp - 0x1c], eax
je 0x428baf
lea ecx, [ebp - 0x48]
call fcn.00403580
push eax
lea ecx, [ebp - 0x54]
call fcn.00403580
push eax
lea ecx, [ebp - 0x2c]
call fcn.00403580
push eax
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0054e46e
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 0x428c2a
lea eax, [ebp - 0x18]
lea edi, [ebp - 0x18]
push eax
call fcn.0054e46e
add esp, 4
lea edx, [eax + eax + 2]
mov eax, dword [0x63e518]
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.0056a100
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 0x428bdf