Function at 0x410900
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450251
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x467074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
mov esi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
xor eax, eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x410955
mov eax, dword [esi]
mov dword [esi + 0x10], 0
xor esi, esi
mov word [eax], si
mov edi, dword [edx]
mov esi, dword [edi]
cmp esi, edi
je 0x410a78
nop dword [eax]
mov byte [ebp - 4], 1
or ecx, 1
mov eax, dword [esi + 0x20]
xor edx, edx
inc eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x28]
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], dx
call fcn.00402f00
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403070
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
cmp ecx, edx
jae 0x4109cd
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [eax + ecx*2], 0x3b
jmp 0x4109df
push 0x3b
mov byte [ebp - 0x50], 0
push dword [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00402a10
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00403070
and dword [ebp - 0x48], 0xfffffffe
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x410a2d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410a23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410bc3
push edx
push ecx
call fcn.0042b435
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x410a54
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x410a50
nop
cmp esi, dword [eax + 8]
jne 0x410a50
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x410a40
mov esi, eax
jmp 0x410a6c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x410a6c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x410a60
cmp esi, edi
je 0x410a78
mov ecx, dword [ebp - 0x48]
jmp 0x410970
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x2c], 8
lea ecx, [eax*2 + 2]
push ecx
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push 1
push 0
push 0x45ff94
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete byte [ebp - 0x41]
test eax, eax
je 0x410b6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push str.RegSetValueEx_failed_with__i
push eax
call fcn.0040e6a0
mov edi, dword [ebp - 0x58]
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x410b39
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x410b09
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x410aff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410bc3
mov eax, edx
push ecx
push eax
call fcn.0042b435
add esp, 8
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 7
mov word [edi], ax
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x410b6f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410b65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410bc3
push edx
push ecx
call fcn.0042b435
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x410ba5
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410b9b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410bc8
push edx
push ecx
call fcn.0042b435
add esp, 8
mov al, byte [ebp - 0x41]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b3f4
mov esp, ebp
pop ebp
ret
call fcn.0043012a
call fcn.0043012a
int3