Function at 0x43b220
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f61a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x658
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x90]
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], edi
jne 0x43b25b
lea eax, [ebx + 0x94]
lea ecx, [ebp - 0x464]
lea edx, [ebp - 0x664]
push ecx
push edx
lea ecx, [ebp - 0x264]
lea edx, [ebp - 0x38]
push ecx
push edx
push eax
call fcn.005c5908
add esp, 0x14
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x24], edi
mov word [ebp - 0x28], di
mov eax, 0x6a0048
mov byte [ebp - 4], 1
test eax, eax
je 0x43b396
lea ecx, [ebp - 0x38]
test ecx, ecx
je 0x43b396
lea edx, [ebp - 0x264]
test edx, edx
je 0x43b396
push eax
lea ecx, [ebp - 0x50]
call fcn.00401ed0
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x20]
push eax
mov byte [ebp - 4], 2
call fcn.0040d680
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0x44]
call fcn.0040d680
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00401070
mov esi, dword [ebp - 0x48]
lea ecx, [ebp - 0x44]
call fcn.00401f50
push eax
call fcn.005c4b4a
add esp, 4
lea ecx, [ebp - 0x20]
mov edi, eax
call fcn.00401f50
push eax
call fcn.005c4b4a
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005dd58d
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x2c], edx
je 0x43b370
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 - 0x44]
call fcn.00401f50
push eax
lea ecx, [ebp - 0x20]
call fcn.00401f50
push eax
lea ecx, [ebp - 0x50]
call fcn.00401f50
push eax
mov eax, dword [ebp - 0x2c]
push esi
push eax
call fcn.005c4ada
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.005c4b4a
add esp, 0x18
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00401070
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00401070
xor edi, edi
mov edx, dword [ebx + 0x17c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push edi
push 0xf0
push edx
mov byte [ebp - 0x11], 1
call esi
cmp eax, edi
mov eax, dword [0x6ca27c]
setne byte [ebp - 0x12]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebx + 0x1b8]
push edi
push edi
push 0x147
push ecx
mov byte [ebp - 4], 5
call esi
lea edx, [ebp - 0x30]
lea ecx, [ebx + 0x19c]
push edx
push eax
call fcn.005e8dda
mov eax, dword [ebx + 0x5c]
cmp edi, dword [eax + 8]
jge 0x43b4d6
mov eax, dword [eax + 4]
lea esi, [edi*8]
mov ecx, dword [ebp - 0x30]
sub esi, edi
shl esi, 2
mov eax, dword [eax + esi + 4]
push eax
push ecx
call fcn.005c62fc
add esp, 8
test eax, eax
jne 0x43b4d0
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
jne 0x43b420
lea ecx, [ebp - 0x28]
mov edx, dword [ebx + 0x5c]
push ecx
mov eax, dword [edx + 4]
mov eax, dword [eax + esi + 0x10]
push eax
call fcn.005c722c
add esp, 8
test eax, eax
je 0x43b43c
mov byte [ebp - 0x11], 0
mov ecx, dword [ebx + 0x5c]
mov edx, dword [ecx + 4]
mov cl, byte [ebp - 0x12]
lea eax, [edx + esi + 0x14]
mov dl, byte [edx + esi + 0x14]
cmp dl, cl
jne 0x43b455
test cl, cl
je 0x43b48b
test cl, cl
mov byte [eax], cl
je 0x43b483
mov edi, dword [ebp - 0x2c]
test edi, edi
jne 0x43b465
lea edi, [ebp - 0x28]
mov eax, dword [ebx + 0x5c]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + esi + 0x10]
lea esi, [ecx + esi + 0x10]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
mov ecx, dword [ebx + 0x5c]
call fcn.004a2a10
mov al, byte [ebp - 0x11]
test al, al
jne 0x43b4a7
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x43b49c
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x6ce898
call fcn.005007b0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.005e118c
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc edi
jmp 0x43b3e2
xor al, al
test al, al
jne 0x43b48b
mov bl, byte [ebp - 0x12]
mov edx, dword [0x6cee7c]
xor eax, eax
lea ecx, [ebp - 0x58]
test bl, bl
setne al
push 4
push ecx
xor esi, esi
push 4
push esi
push str.RememberLastSave
push edx
mov dword [ebp - 0x58], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test bl, bl
je 0x43b492
xor eax, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], eax
mov word [ebp - 0x1c], si
mov ecx, 0x6a0048
mov byte [ebp - 4], 6
test ecx, ecx
je 0x43b62f
lea edx, [ebp - 0x38]
test edx, edx
je 0x43b62f
lea ecx, [ebp - 0x264]
test ecx, ecx
je 0x43b62f
push 0x6a0048
lea ecx, [ebp - 0x64]
call fcn.00401ed0
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x44]
push edx
mov byte [ebp - 4], 7
call fcn.0040d680
lea eax, [ebp - 0x264]
mov bl, 8
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.0040d680
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call fcn.00401070
mov edi, dword [ebp - 0x44]
test edi, edi
jne 0x43b587
lea edi, [ebp - 0x40]
mov esi, dword [ebp - 0x5c]
lea ecx, [ebp - 0x50]
call fcn.00401f50
push eax
call fcn.005c4b4a
mov edx, eax
push edi
mov dword [ebp - 0x54], edx
call fcn.005c4b4a
mov ecx, dword [ebp - 0x54]
add esi, ecx
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005dd58d
mov edx, eax
add esp, 0xc
test edx, edx
mov dword [ebp - 0x20], edx
je 0x43b609
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 - 0x50]
call fcn.00401f50
push eax
lea ecx, [ebp - 0x44]
call fcn.00401f50
push eax
lea ecx, [ebp - 0x64]
call fcn.00401f50
push eax
mov eax, dword [ebp - 0x20]
push esi
push eax
call fcn.005c4ada
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.005c4b4a
add esp, 0x18
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.00401070
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call fcn.00401070
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x43b66e
lea eax, [ebp - 0x1c]
lea esi, [ebp - 0x1c]
push eax
call fcn.005c4b4a
add esp, 4
lea edx, [eax + eax + 2]
mov eax, dword [0x6cee7c]
push edx
push esi
push 0
push 0
push str.LocalPathW
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00401070
jmp 0x43b492
mov esi, eax
jmp 0x43b639