Function at 0x415cd0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a135
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5f0a00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], esi
push eax
push 0xf003f
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
test ecx, ecx
jne 0x415d34
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test ecx, ecx
mov byte [ebp - 4], 0
cmovne eax, ecx
test eax, eax
jne 0x415f03
call fcn.0040d9d0
cmp dword [eax + 0x7c], 7
lea edx, [eax + 0x68]
jbe 0x415d5d
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415d77
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0040b6c0
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x415eb8
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x415dee
call fcn.0040d9d0
add eax, 0xc8
push 0x59a6e4
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004154a0
add esp, 0xc
mov edx, eax
cmp dword [edx + 0x14], 7
mov byte [ebp - 4], 3
jbe 0x415ddc
mov edx, dword [edx]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415de1
jmp 0x415e3b
push 1
push 0x59a5d0
lea ecx, [ebp - 0x28]
call fcn.00410b40
call fcn.0040d9d0
add eax, 0xc8
push 0x59a6e4
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004154a0
add esp, 0xc
mov edx, eax
cmp dword [edx + 0x14], 7
mov byte [ebp - 4], 4
jbe 0x415e27
mov edx, dword [edx]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415e30
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00410b40
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0040bf90
call fcn.0040d9d0
cmp dword [eax + 0x2a4], 7
lea edx, [eax + 0x290]
jbe 0x415e6b
mov edx, dword [edx]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415e70
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00410b40
cmp dword [ebp - 0x14], 7
lea edi, [ebp - 0x28]
cmova edi, dword [ebp - 0x28]
call fcn.0040d9d0
add eax, 0xb0
cmp dword [eax + 0x14], 7
jbe 0x415ea6
mov eax, dword [eax]
push 0x104
push edi
push 1
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x415ec7
push esi
call edi
xor esi, esi
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x415efd
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x415ef3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415f32
push ecx
push edx
call fcn.0055241f
add esp, 8
mov byte [ebp - 0x41], 1
jmp 0x415f0d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 0x41], 0
test esi, esi
je 0x415f14
push esi
call edi
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.00551e44
mov esp, ebp
pop ebp
ret
call fcn.0055bf8b
int3