Function at 0x407d2d
Capabilities:
Set registry value

Disassembly:
push 0x634
mov eax, 0x4e2f5c
call fcn.004c2a93
xor ebx, ebx
inc ebx
cmp dword [0x541bfc], 0
mov dword [ebp - 4], ebx
mov edi, 0x5401f0
je 0x407e56
cmp dword [0x541c00], 0
je 0x407e56
lea eax, [ebp + 8]
push eax
mov esi, 0x541c70
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.00401e15
add esp, 0xc
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00401ced
mov ecx, dword [ebp - 0x61c]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00404fef
push edi
lea ecx, [ebp - 0x624]
call fcn.00401718
mov ecx, dword [0x541c00]
push 0
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 3
call fcn.00415ca3
push dword [ebp - 0x624]
lea ecx, [ebp + 8]
call fcn.00401d90
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.00401e15
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
call fcn.00401ced
mov ecx, dword [ebp - 0x61c]
mov byte [ebp - 4], 3
lea ecx, [ecx - 0x10]
call fcn.00404fef
push edi
lea ecx, [ebp - 0x620]
call fcn.00401718
mov ecx, dword [0x541c00]
push 0
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 5
call fcn.00415ca3
push dword [ebp - 0x620]
lea ecx, [ebp + 0xc]
call fcn.00401d90
mov ecx, dword [ebp - 0x620]
lea ecx, [ecx - 0x10]
call fcn.00404fef
mov ecx, dword [ebp - 0x624]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00404fef
xor ebx, ebx
cmp byte [0x541c04], bl
push edi
sete bl
lea ecx, [ebp - 0x620]
add ebx, 0x80000001
call fcn.00401718
mov byte [ebp - 4], 6
call fcn.00408456
test al, al
jne 0x407ee6
xor esi, esi
call fcn.004c2f1b
movd xmm0, eax
cvtdq2pd xmm0, xmm0
inc esi
movsd qword [ebp + esi*8 - 0x620], xmm0
cmp esi, 0xc1
jb 0x407e82
xor ecx, ecx
mov edx, 0xc0
mov eax, edx
cmp ecx, edx
jge 0x407edd
movsd xmm0, qword [ebp + eax*8 - 0x618]
movsd xmm1, qword [ebp + eax*8 - 0x620]
comisd xmm0, xmm1
jbe 0x407ed8
movsd qword [ebp + eax*8 - 0x618], xmm1
movsd qword [ebp + eax*8 - 0x620], xmm0
dec eax
cmp eax, ecx
jg 0x407eae
inc ecx
cmp ecx, 0xc1
jl 0x407ea8
cmp byte [ebp + 0x14], 0
mov esi, 0x4f6850
je 0x407f44
cmp byte [0x53b03c], 0
jne 0x407f44
mov eax, dword [0x541d0c]
cmp dword [eax - 0xc], 0
jne 0x407f0c
mov ebx, SysReAllocStringLen
jmp 0x407f44
push esi
lea eax, [ebp - 0x61c]
push 0x541d0c
push eax
mov ebx, SysReAllocStringLen
call fcn.00401e6a
add esp, 0xc
push eax
lea ecx, [ebp - 0x620]
mov byte [ebp - 4], 7
call fcn.00401ced
mov ecx, dword [ebp - 0x61c]
lea ecx, [ecx - 0x10]
call fcn.00404fef
xor eax, eax
mov dword [ebp - 0x640], eax
mov dword [ebp - 0x63c], eax
mov dword [ebp - 0x638], eax
push edi
lea ecx, [ebp - 0x624]
mov byte [ebp - 4], 8
call fcn.00401718
mov eax, dword [0x541ad4]
push 0xb
lea ecx, [eax + 1]
imul eax, ecx
cdq
pop ecx
idiv ecx
mov byte [ebp - 4], 9
cmp edx, 5
jne 0x407f88
dec dword [0x541d6c]
mov edi, str.Software_
push edi
lea ecx, [ebp - 0x628]
call fcn.004017e3
push eax
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x630]
push eax
mov byte [ebp - 4], 0xa
call fcn.00401e15
push 0x541c94
push eax
lea eax, [ebp - 0x62c]
push eax
mov byte [ebp - 4], 0xb
call fcn.00401e15
push esi
push eax
lea eax, [ebp - 0x634]
push eax
mov byte [ebp - 4], 0xc
call fcn.00401e6a
lea ecx, [ebp + 8]
push ecx
push eax
lea eax, [ebp - 0x61c]
push eax
mov byte [ebp - 4], 0xd
call fcn.00401e15
add esp, 0x30
push eax
lea ecx, [ebp - 0x624]
mov byte [ebp - 4], 0xe
call fcn.00401ced
mov ecx, dword [ebp - 0x61c]
lea ecx, [ecx - 0x10]
call fcn.00404fef
mov ecx, dword [ebp - 0x634]
lea ecx, [ecx - 0x10]
call fcn.00404fef
mov ecx, dword [ebp - 0x62c]
lea ecx, [ecx - 0x10]
call fcn.00404fef
mov ecx, dword [ebp - 0x630]
lea ecx, [ecx - 0x10]
call fcn.00404fef
mov ecx, dword [ebp - 0x628]
mov byte [ebp - 4], 9
lea ecx, [ecx - 0x10]
call fcn.00404fef
call fcn.004084b6
test al, al
jne 0x40805c
push 0
call dword [sym.imp.KERNEL32.dll_GetFileType]
push edi
lea ecx, [ebp - 0x61c]
call fcn.004017e3
push eax
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x634]
push eax
mov byte [ebp - 4], 0xf
call fcn.00401e15
push 0x541c94
push eax
lea eax, [ebp - 0x62c]
push eax
mov byte [ebp - 4], 0x10
call fcn.00401e15
push esi
push eax
lea eax, [ebp - 0x630]
push eax
mov byte [ebp - 4], 0x11
call fcn.00401e6a
lea ecx, [ebp + 8]
push ecx
push eax
lea eax, [ebp - 0x628]
push eax
mov byte [ebp - 4], 0x12
call fcn.00401e15
add esp, 0x30
xor ecx, ecx
push ecx
push ecx
push 0x20006
push ecx
push ecx
push dword [eax]
lea ecx, [ebp - 0x640]
push ebx
call fcn.00406e78
mov ecx, dword [ebp - 0x628]
test eax, eax
lea ecx, [ecx - 0x10]
setne bl
call fcn.00404fef
mov ecx, dword [ebp - 0x630]
lea ecx, [ecx - 0x10]
call fcn.00404fef
mov ecx, dword [ebp - 0x62c]
lea ecx, [ecx - 0x10]
call fcn.00404fef
mov ecx, dword [ebp - 0x634]
lea ecx, [ecx - 0x10]
call fcn.00404fef
mov ecx, dword [ebp - 0x61c]
lea ecx, [ecx - 0x10]
call fcn.00404fef
test bl, bl
jne 0x40815c
mov eax, dword [ebp + 0x10]
push 4
mov dword [ebp - 0x628], eax
lea eax, [ebp - 0x628]
push eax
push 4
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x640]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x640]
test eax, eax
je 0x4081a3
call fcn.00406e5e
xor bl, bl
mov ecx, dword [ebp - 0x624]
lea ecx, [ecx - 0x10]
call fcn.00404fef
lea ecx, [ebp - 0x640]
call fcn.00406e5e
mov ecx, dword [ebp - 0x620]
lea ecx, [ecx - 0x10]
call fcn.00404fef
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00404fef
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00404fef
mov al, bl
call fcn.004c2a42
ret
call fcn.00406e5e
xor ebx, ebx
inc ebx
jmp 0x40815e