Function at 0x430b90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b29a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov eax, dword [edi + 0x90]
mov dword [ebp - 4], 0
test eax, eax
jne 0x430bd0
lea eax, [edi + 0x94]
lea ecx, [ebp - 0x458]
lea edx, [ebp - 0x658]
push ecx
push edx
lea ecx, [ebp - 0x258]
lea edx, [ebp - 0x30]
push ecx
push edx
push eax
call fcn.005828aa
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 [0x679a04]
test eax, eax
setne bl
mov dword [ebp - 0x28], ecx
mov edx, dword [edi + 0x1b8]
push 0
push 0
push 0x147
push edx
mov byte [ebp - 4], 1
call esi
lea ecx, [ebp - 0x28]
push ecx
push eax
lea ecx, [edi + 0x19c]
call fcn.005a5b8e
xor esi, esi
mov eax, dword [edi + 0x5c]
cmp esi, dword [eax + 8]
jge 0x430e23
mov edx, dword [eax + 4]
lea edi, [esi + esi*2]
shl edi, 3
mov dword [ebp - 0x24], edi
mov eax, dword [edx + edi + 4]
push eax
mov eax, dword [ebp - 0x28]
push eax
call fcn.005831c4
add esp, 8
test eax, eax
jne 0x430e1a
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x5c]
mov eax, dword [edx + 4]
mov cl, byte [eax + edi + 0x14]
lea eax, [eax + edi + 0x14]
cmp cl, bl
jne 0x430c8e
test bl, bl
je 0x430fb5
test bl, bl
mov byte [eax], bl
je 0x430df2
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], esi
mov word [ebp - 0x18], si
mov ecx, 0x653050
mov byte [ebp - 4], 2
test ecx, ecx
je 0x430dbe
lea edx, [ebp - 0x30]
test edx, edx
je 0x430dbe
lea eax, [ebp - 0x258]
test eax, eax
je 0x430dbe
push ecx
lea ecx, [ebp - 0x48]
call fcn.00401f30
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00403bb0
lea edx, [ebp - 0x258]
lea ecx, [ebp - 0x54]
push edx
mov byte [ebp - 4], 4
call fcn.00403bb0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.00401070
mov ebx, dword [ebp - 0x3c]
cmp ebx, esi
jne 0x430d12
lea ebx, [ebp - 0x38]
mov esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x54]
call fcn.00401fb0
push eax
call fcn.00581b1a
mov edx, eax
push ebx
mov dword [ebp - 0x58], edx
call fcn.00581b1a
mov ecx, dword [ebp - 0x58]
add esi, ecx
lea esi, [eax + esi + 3]
lea ebx, [esi + esi]
push ebx
call fcn.0059a2da
mov edx, eax
add esp, 0xc
test edx, edx
mov dword [ebp - 0x1c], edx
je 0x430d97
mov ecx, ebx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x54]
call fcn.00401fb0
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401fb0
push eax
lea ecx, [ebp - 0x48]
call fcn.00401fb0
push eax
mov eax, dword [ebp - 0x1c]
push esi
push eax
call fcn.00581aaa
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00581b1a
mov edi, dword [ebp - 0x24]
add esp, 0x18
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
call fcn.00401070
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.00401070
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
jne 0x430dc5
lea ebx, [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x5c]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + edi + 0x10]
lea esi, [ecx + edi + 0x10]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea ecx, [ebp - 0x1c]
mov dword [esi], eax
mov byte [ebp - 4], 1
call fcn.00401070
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x5c]
call fcn.004859b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0059df40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x20]
inc esi
jmp 0x430c40
xor al, al
test al, al
jne 0x430fb5
mov eax, dword [0x67e58c]
xor ecx, ecx
test bl, bl
lea edx, [ebp - 0x24]
push 4
setne cl
push edx
xor esi, esi
push 4
push esi
push str.RememberLastSave
push eax
mov dword [ebp - 0x24], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test bl, bl
je 0x430fb5
xor eax, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], si
mov ecx, 0x653050
mov byte [ebp - 4], 6
test ecx, ecx
je 0x430f7b
lea edx, [ebp - 0x30]
test edx, edx
je 0x430f7b
lea ecx, [ebp - 0x258]
test ecx, ecx
je 0x430f7b
push 0x653050
lea ecx, [ebp - 0x3c]
call fcn.00401f30
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x54]
push edx
mov byte [ebp - 4], 7
call fcn.00403bb0
lea eax, [ebp - 0x258]
mov bl, 8
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.00403bb0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.00401070
mov edi, dword [ebp - 0x34]
lea ecx, [ebp - 0x48]
call fcn.00401fb0
push eax
call fcn.00581b1a
add esp, 4
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.00401fb0
push eax
call fcn.00581b1a
add edi, esi
lea esi, [eax + edi + 3]
lea edi, [esi + esi]
push edi
call fcn.0059a2da
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x1c], edx
je 0x430f55
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x48]
call fcn.00401fb0
push eax
lea ecx, [ebp - 0x54]
call fcn.00401fb0
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401fb0
push eax
mov eax, dword [ebp - 0x1c]
push esi
push eax
call fcn.00581aaa
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00581b1a
add esp, 0x18
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], 7
call fcn.00401070
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 6
call fcn.00401070
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x430fd2
lea eax, [ebp - 0x18]
lea esi, [ebp - 0x18]
push eax
call fcn.00581b1a
add esp, 4
lea edx, [eax + eax + 2]
mov eax, dword [0x67e58c]
push edx
push esi
push 0
push 0
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 - 0x28]
mov byte [ebp - 4], 0
call fcn.0059df40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, eax
jmp 0x430f85