Function at 0x419e70
Capabilities:
Check os version
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0211
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x50d174]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 4], 0
call fcn.00417970
lea esi, [ebx + 4]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CGNServiceCallback.0
lea eax, [ebp + 8]
push eax
lea ecx, [ebx + 0xc]
mov dword [ebx], vtable.CGNSupportProxyService.0
mov dword [esi], vtable.CGNSupportProxyService.1.0
mov byte [ebx + 8], 0
call fcn.00404370
lea ecx, [ebx + 0x2c]
mov byte [ebp - 4], 2
call fcn.00413c10
push esi
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.00417b90
push 0x3c
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
call fcn.00429ffe
mov edi, eax
add esp, 4
mov dword [ebp - 0xbc], edi
mov byte [ebp - 4], 4
test edi, edi
je 0x41a067
cmp dword [0x50d030], 0x10
lea esi, [edi + 0x20]
push 1
mov ebx, 0x50d01c
cmovae ebx, dword [0x50d01c]
push esi
mov dword [edi + 0x38], 0
mov dword [edi], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov dword [edi + 0x34], 0xffffffff
mov byte [edi + 0x10], 0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [edi + 0x18], esi
xor esi, esi
mov dword [edi + 0x14], 0xc
mov dword [edi + 0x1c], 0
test ebx, ebx
je 0x41a03f
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x419fa4
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.0042a03c
mov esi, eax
add esp, 4
mov dword [ebp - 0xb8], esi
test esi, esi
je 0x41a03f
mov ecx, ebx
xor edx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0xb0], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x419fd2
sub ecx, dword [ebp - 0xb0]
test ecx, ecx
jle 0x41a03b
mov eax, ebx
mov edi, esi
sub eax, esi
xor esi, esi
mov dword [ebp - 0xb0], eax
movsx eax, byte [eax + edi]
push eax
call fcn.004a3801
mov ecx, ebx
mov byte [edi], al
add esp, 4
lea edi, [edi + 1]
inc esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41a010
mov eax, dword [ebp - 0xb0]
sub ecx, edx
cmp esi, ecx
jl 0x419ff1
mov edi, dword [ebp - 0xbc]
mov dword [ebp - 0xb0], esi
mov esi, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xb0]
mov byte [edx + esi], 0
push 0
test esi, esi
mov ecx, edi
push 0x40
cmovne ebx, esi
push ebx
push 2
call fcn.00415c30
test esi, esi
je 0x41a05f
push esi
call fcn.0042a045
add esp, 4
mov ebx, dword [ebp - 0xb4]
jmp 0x41a069
xor edi, edi
mov dword [ebx + 0x3c], edi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.iphlpapi.dll
mov byte [ebp - 4], 3
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x41a0a7
push str.GetTcpTable2
push edi
call esi
mov dword [0x51ed08], eax
test eax, eax
jne 0x41a0a7
push str.AllocateAndGetTcpExTableFromStack
push edi
call esi
mov dword [0x51ed0c], eax
push 0x98
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.0049d330
add esp, 0xc
mov dword [ebp - 0xac], 0x9c
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0xa8]
push eax
push str.os_Version_:__d__n
mov dword [0x51ecf8], eax
call fcn.00427f40
add esp, 8
cmp dword [0x51ecf8], 6
jl 0x41a12a
push str.Wtsapi32.dll
call ebx
mov edi, eax
test edi, edi
je 0x41a12a
push str.WTSFreeMemory
push edi
call esi
push str.WTSEnumerateProcesses
push edi
mov dword [0x51ecfc], eax
call esi
push str.WTSQueryUserToken
push edi
mov dword [0x51ed00], eax
call esi
mov dword [0x51ed04], eax
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x41a15a
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a150
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a17e
push edx
push ecx
call fcn.0042a02e
add esp, 8
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042a04a
mov esp, ebp
pop ebp
ret 0x18
call fcn.004a0469
int3