Function at 0x410530
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x120
mov eax, dword [0x46a68c]
push ebx
push ebp
push esi
shl eax, 2
push edi
xor ebp, ebp
push eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], eax
call fcn.004470fc
mov ecx, dword [esp + 0x18]
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov ebx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x134]
push edi
call dword [0x458284]
push eax
push edi
push ebp
call fcn.0041bfa0
mov ecx, dword [0x46a6d4]
mov edi, eax
lea eax, [esp + 0x38]
push 0x104
push eax
push 0x25
push ecx
call fcn.0040b8a0
lea edx, [esp + 0x30]
lea eax, [esp + 0x48]
push edx
push esi
push eax
push 0x46b0ac
push 0x80000002
call fcn.00419270
add esp, 0x30
test eax, eax
jne 0x4105f6
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov dword [esp + 0x18], ecx
je 0x4105f6
mov eax, dword [ebx]
cmp eax, edi
je 0x4105ee
test eax, eax
jne 0x4105e0
mov ebp, ebx
add ebx, 4
sub ecx, 4
mov dword [esp + 0x14], ecx
jne 0x4105d4
jmp 0x4105f6
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x13c]
test eax, eax
je 0x41061f
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x41061f
push esi
call fcn.00447013
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret
test ebp, ebp
jne 0x41062e
test eax, eax
je 0x41062c
add dword [esp + 0x18], 4
mov ebp, ebx
lea ecx, [esp + 0x10]
neg eax
push ecx
push 0x2001f
sbb eax, eax
push 0
and eax, edi
push 0x46b2b4
push 0x80000002
mov dword [ebp], eax
call dword [0x458020]
test eax, eax
je 0x41066d
push esi
call fcn.00447013
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret
mov edi, dword [esp + 0x138]
test edi, edi
jne 0x41067c
lea edi, [esp + 0x28]
mov ebx, dword [esp + 0x134]
lea edx, [esp + 0x20]
lea eax, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x28]
push eax
push ecx
push 0
push ebx
push edx
mov dword [esp + 0x38], 0x104
call dword [0x45801c]
test eax, eax
jne 0x41075a
mov eax, dword [esp + 0x24]
dec eax
cmp eax, 4
ja case.0x4106be.2
jmp dword [eax*4 + 0x410850]
mov ecx, dword [esp + 0x2c]
mov dword [edi], ecx
jmp 0x41075a
lea edx, [esp + 0x2c]
push edx
call fcn.00446ac4
add esp, 4
mov dword [edi], eax
jmp 0x41075a
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x2d]
mov edx, dword [esp + 0x2e]
and eax, 0xff
shl eax, 8
and ecx, 0xff
and edx, 0xff
add eax, ecx
mov ecx, dword [esp + 0x2f]
shl eax, 8
add eax, edx
and ecx, 0xff
shl eax, 8
add eax, ecx
mov dword [edi], eax
jmp 0x41075a
mov edx, dword [esp + 0x2f]
mov eax, dword [esp + 0x2e]
mov ecx, dword [esp + 0x2d]
and edx, 0xff
shl edx, 8
and eax, 0xff
and ecx, 0xff
add edx, eax
mov eax, dword [esp + 0x2c]
shl edx, 8
add edx, ecx
and eax, 0xff
shl edx, 8
add edx, eax
mov dword [edi], edx
jmp 0x41075a
mov dword [edi], 0
mov eax, dword [esp + 0x13c]
test eax, eax
jne 0x41078e
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x410795
push esi
call fcn.00447013
mov ecx, dword [esp + 0x14]
add esp, 4
push ecx
call dword [0x458018]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x120
ret
cmp eax, 1
jne 0x410795
jmp 0x41079b
mov eax, dword [edi]
neg eax
sbb eax, eax
mov ebp, dword [edi]
mov edx, dword [esp + 0x10]
push 4
push edi
push 4
push 0
add ebp, eax
push ebx
push edx
mov dword [edi], ebp
call dword [section..rdata]
cmp dword [edi], 0
jne 0x4107c5
mov eax, dword [esp + 0x10]
push ebx
push eax
call dword [0x45802c]
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x458018]
lea edx, [esp + 0x2c]
push 0x46b0ac
push edx
call dword [0x4582e4]
lea eax, [esp + 0x2c]
push 0x45da58
push eax
call dword [0x458270]
mov ebx, dword [0x458284]
mov edi, dword [0x46a6d4]
lea ecx, [esp + 0x2c]
push ecx
call ebx
mov edx, 0x104
sub edx, eax
lea eax, [esp + 0x2c]
push edx
push eax
call ebx
lea ecx, [esp + eax + 0x30]
push ecx
push 0x25
push edi
call fcn.0040b8a0
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x3c]
neg eax
push eax
push esi
push edx
push 0x80000002
call fcn.00419340
push esi
call fcn.00447013
add esp, 0x24
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret