Function at 0x43d7a0
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x630]
sub esp, 0x630
push 0xffffffffffffffff
push 0x646db8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x62c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [ebx + 0xa8], edi
je 0x43d7f3
mov eax, dword [ebx + 0xa8]
jmp 0x43d7f9
lea eax, [ebx + 0xac]
push 0x100
lea ecx, [ebp + 0x24]
push ecx
push 0x100
lea edx, [ebp + 0x224]
push edx
push 0x100
lea ecx, [ebp + 0x424]
push ecx
push 3
lea edx, [ebp + 0x624]
push edx
push eax
call fcn.00623107
add esp, 0x24
test eax, eax
jne 0x43d9b7
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x20], edi
mov word [ebp + 0x1c], ax
mov byte [ebp - 4], 1
push edi
lea ecx, [ebp + 0x424]
push ecx
lea edx, [ebp + 0x624]
push edx
push 0x678de0
lea ecx, [ebp + 0x18]
call fcn.00402320
mov byte [ebp - 0x11], 1
lea ecx, [ebx + 0x30c]
call fcn.00405460
test eax, eax
setne byte [ebp - 0x12]
mov dword [ebp], edi
mov dword [ebp + 8], edi
xor eax, eax
mov word [ebp + 4], ax
mov byte [ebp - 4], 2
lea esi, [ebx + 0x32c]
lea ecx, [ebp]
push ecx
mov ecx, esi
call fcn.00425d80
push eax
mov ecx, esi
call fcn.00424730
mov dword [ebp - 0x18], edi
mov ecx, dword [ebx + 0x74]
cmp edi, dword [ecx + 8]
jge 0x43d9e2
push edi
call fcn.00459c40
add eax, 4
cmp dword [eax], 0
je 0x43d8bd
mov ecx, dword [eax]
jmp 0x43d8c0
lea ecx, [eax + 4]
mov eax, dword [ebp]
test eax, eax
jne 0x43d8d0
lea eax, [ebp + 4]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43d8f6
test dx, dx
je 0x43d8f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43d8f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x43d8d0
xor eax, eax
jmp 0x43d8fb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x43d9dc
mov esi, dword [ebp + 0x18]
test esi, esi
jne 0x43d90d
lea esi, [ebp + 0x1c]
push edi
mov ecx, dword [ebx + 0x74]
call fcn.00459c40
add eax, 0x20
mov eax, dword [eax]
push esi
push eax
call fcn.0062567a
add esp, 8
test eax, eax
je 0x43d92d
mov byte [ebp - 0x11], 0
push edi
mov ecx, dword [ebx + 0x74]
call fcn.00459c40
mov edx, eax
mov al, byte [ebp - 0x12]
cmp byte [edx + 0x24], al
jne 0x43d944
test al, al
je 0x43d97d
push edi
mov ecx, dword [ebx + 0x74]
call fcn.00459c40
mov cl, byte [ebp - 0x12]
mov byte [eax + 0x24], cl
test cl, cl
je 0x43d975
mov eax, dword [ebp + 0x18]
test eax, eax
jne 0x43d961
lea eax, [ebp + 0x1c]
push eax
push edi
mov ecx, dword [ebx + 0x74]
call fcn.00459c40
mov ecx, eax
add ecx, 0x20
call fcn.00411630
mov ecx, dword [ebx + 0x74]
call fcn.004c4c00
cmp byte [ebp - 0x11], 0
jne 0x43d998
mov eax, dword [ebp + 0x18]
test eax, eax
jne 0x43d98d
lea eax, [ebp + 0x1c]
push eax
mov ecx, 0x75db58
call fcn.005239f0
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.00401210
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x18]
call fcn.00401210
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x62c]
xor ecx, ebp
call fcn.0062016f
add ebp, 0x630
mov esp, ebp
pop ebp
ret
inc edi
jmp 0x43d89c
xor al, al
jne 0x43d97d
xor eax, eax
mov bl, byte [ebp - 0x12]
test bl, bl
setne al
mov dword [ebp - 0x1c], eax
push 4
lea ecx, [ebp - 0x1c]
push ecx
push 4
xor edi, edi
push edi
push str.RememberLastSave
mov edx, dword [0x75dbe4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test bl, bl
je 0x43da8e
mov dword [ebp + 0xc], edi
mov dword [ebp + 0x14], edi
xor eax, eax
mov word [ebp + 0x10], ax
mov byte [ebp - 4], 3
push edi
lea ecx, [ebp + 0x424]
push ecx
lea edx, [ebp + 0x624]
push edx
push 0x678de0
lea ecx, [ebp + 0xc]
call fcn.00402320
mov edx, dword [ebp + 0xc]
cmp edx, edi
mov eax, edx
jne 0x43da4c
lea eax, [ebp + 0x10]
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x43da50
sub eax, esi
sar eax, 1
cmp edx, edi
mov ecx, edx
jne 0x43da68
lea ecx, [ebp + 0x10]
lea eax, [eax + eax + 2]
push eax
push ecx
push edi
push edi
push 0x681410
mov ecx, dword [0x75dbe4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.00401210
mov byte [ebp - 0x11], 0
jmp 0x43d983