Function at 0x45d680
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x52e338
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x56b1dc]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56b1dc]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x68]
xor ebx, ebx
mov esi, ecx
mov edi, edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x60], ebx
call fcn.0045cc30
test eax, eax
jne 0x45d76b
call fcn.0045ccd0
test eax, eax
jne 0x45d76b
lea eax, [esp + 0x18]
push eax
push 0x2001f
push ebx
push esi
push 0x80000001
mov dword [esp + 0x2c], ebx
call dword [section..rdata]
cmp eax, ebx
jne 0x45d707
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], esi
jmp 0x45d724
push esi
push 0x80000001
xor edx, edx
lea esi, [esp + 0x1c]
call fcn.0041a060
test eax, eax
jne 0x45d85d
mov esi, dword [esp + 0x14]
cmp edi, ebx
jne 0x45d732
push 0x80004005
call fcn.004026a0
push edi
call dword [0x531368]
add eax, 1
lea ecx, [eax + eax]
push ecx
push edi
push 1
push ebx
push ebp
push esi
call dword [0x531010]
cmp esi, ebx
mov ebp, dword [0x531004]
mov edi, eax
je 0x45d75d
push esi
call ebp
xor esi, esi
xor edx, edx
cmp edi, ebx
sete dl
mov edi, edx
jmp 0x45d8da
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 1
call fcn.0045cd50
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 2
call fcn.00414870
mov byte [esp + 0x60], 1
cmp dword [esp + 0x34], 8
jb 0x45d7b4
mov eax, dword [esp + 0x20]
push eax
call fcn.004ffbbe
add esp, 4
push 1
push 0x542460
lea ecx, [esp + 0x40]
call fcn.00450b90
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x45d7d0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x40]
call fcn.00450b90
mov eax, dword [esp + 0x3c]
mov esi, 8
cmp dword [esp + 0x50], esi
jae 0x45d7fd
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x18]
push ecx
push 0x2001f
push ebx
push eax
push 0x80000003
mov dword [esp + 0x2c], ebx
call dword [section..rdata]
cmp eax, ebx
jne 0x45d826
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], esi
jmp 0x45d874
cmp dword [esp + 0x50], esi
mov eax, dword [esp + 0x3c]
jae 0x45d834
lea eax, [esp + 0x3c]
push eax
push 0x80000003
xor edx, edx
lea esi, [esp + 0x1c]
call fcn.0041a060
test eax, eax
je 0x45d870
cmp dword [esp + 0x50], 8
jb 0x45d85d
mov edx, dword [esp + 0x3c]
push edx
call fcn.004ffbbe
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x45d86c
push eax
call dword [0x531004]
xor eax, eax
jmp 0x45d8e3
mov esi, dword [esp + 0x14]
cmp edi, ebx
jne 0x45d882
push 0x80004005
call fcn.004026a0
push edi
call dword [0x531368]
add eax, 1
add eax, eax
push eax
push edi
push 1
push ebx
push ebp
push esi
call dword [0x531010]
cmp esi, ebx
mov ebp, dword [0x531004]
mov edi, eax
je 0x45d8ac
push esi
call ebp
xor esi, esi
xor ecx, ecx
cmp edi, ebx
sete cl
cmp dword [esp + 0x50], 8
mov edi, ecx
jb 0x45d8c9
mov edx, dword [esp + 0x3c]
push edx
call fcn.004ffbbe
add esp, 4
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
cmp esi, ebx
je 0x45d8e1
push esi
call ebp
mov eax, edi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004ff939
add esp, 0x50
ret