Function at 0x4ec080
Capabilities:
Check os version
Persist via run registry key

Disassembly:
sub esp, 0x834
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x830], eax
mov eax, dword [esp + 0x844]
push ebx
push ebp
mov ebp, dword [esp + 0x840]
push esi
mov esi, dword [esp + 0x84c]
push edi
mov edi, dword [esp + 0x84c]
xor ebx, ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
cmp dword [0x74aff0], ebx
jne 0x4ec0ee
mov dword [0x74aff0], 1
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
js 0x4ec0ee
cmp al, 6
jb 0x4ec0ee
mov dword [0x74afec], 1
jmp 0x4ec0fa
cmp dword [0x74afec], ebx
je 0x4ec371
cmp dword [0x74b398], ebx
jne 0x4ec325
cmp dword [esp + 0x85c], ebx
jne 0x4ec325
cmp dword [0x74ac80], ebx
jne 0x4ec325
push 0x103
lea ecx, [esp + 0x23d]
push ebx
push ecx
mov byte [esp + 0x244], bl
call fcn.005dfd60
push 0x103
lea edx, [esp + 0x34d]
push ebx
push edx
mov byte [esp + 0x354], bl
call fcn.005dfd60
push 0x103
lea eax, [esp + 0x151]
push ebx
push eax
mov dword [esp + 0x3c], 0x104
mov byte [esp + 0x158], bl
call fcn.005dfd60
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0x24
push 0x6489f4
lea ecx, [esp + 0x23c]
push ecx
call esi
lea edx, [esp + 0x238]
push edx
call fcn.004e0670
add esp, 4
push 0x6489e4
lea eax, [esp + 0x23c]
push eax
call esi
lea ecx, [esp + 0x238]
push ecx
call fcn.004e0670
lea edx, [esp + 0x138]
push 0x104
push edx
call fcn.004ebf90
add esp, 0xc
cmp byte [esp + 0x134], bl
je 0x4ec1e7
lea eax, [esp + 0x134]
push eax
call fcn.004e24e0
add esp, 4
mov dword [0x74b398], 1
cmp byte [esp + 0x134], bl
je 0x4ec321
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x340]
push edx
call fcn.004e7c90
add esp, 8
test eax, eax
je 0x4ec321
push 0x3ff
lea eax, [esp + 0x445]
push ebx
push eax
mov byte [esp + 0x44c], bl
call fcn.005dfd60
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x444]
push edx
push 0x631e40
push 0x612808
push connect
mov dword [esp + 0x30], 0x400
call fcn.004d5770
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp byte [esp + 0x440], bl
jne 0x4ec2ee
push 0x103
lea eax, [esp + 0x35]
push ebx
push eax
mov byte [esp + 0x3c], bl
call fcn.005dfd60
push 2
lea ecx, [esp + 0x144]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.005e1e30
add esp, 0x18
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x2e], bl
call esi
lea edx, [esp + 0x30]
push edx
call fcn.004e24e0
add esp, 4
push 0x629898
lea eax, [esp + 0x34]
push eax
call edi
lea ecx, [esp + 0x33c]
push ecx
lea edx, [esp + 0x34]
push edx
call edi
push 0x6489d4
lea eax, [esp + 0x34]
push eax
call edi
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x444]
push edx
call esi
lea eax, [esp + 0x440]
push eax
call fcn.004e24e0
add esp, 4
push 0x6489b4
lea ecx, [esp + 0x444]
push ecx
call edi
lea edx, [esp + 0x440]
push edx
call fcn.004e0670
mov edi, dword [esp + 0x24]
add esp, 4
mov esi, dword [esp + 0x14]
mov eax, dword [0x74b394]
cmp eax, ebx
jne 0x4ec34e
push 0x6489a0
push 0x61bed4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x74b394], eax
cmp eax, ebx
je 0x4ec362
mov ecx, dword [esp + 0x858]
mov edx, dword [esp + 0x10]
push ecx
push edx
push esi
push edi
push ebp
call eax
jmp 0x4ec387
mov eax, dword [esp + 0x858]
mov ecx, dword [esp + 0x10]
push eax
push ecx
jmp 0x4ec37e
mov edx, dword [esp + 0x858]
mov eax, dword [esp + 0x10]
push edx
push eax
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetProfileStringA]
mov ecx, dword [esp + 0x840]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005dfbbe
add esp, 0x834
ret