Function at 0x10028dc0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084d91
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100ae254]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
call fcn.10008b70
mov ecx, eax
test ecx, ecx
je 0x1002924a
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
cmp dword [0x100ad09c], 0
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x20], 1
je 0x10028ec1
push str.ntdll.dll
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
call eax
mov edi, eax
test edi, edi
je 0x10028eb2
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10028e8d
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
push ecx
call eax
movzx eax, word [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 1
push edi
call ebx
cmp dword [ebp - 0x14], 0
je 0x10028eb2
cmp dword [ebp - 0x18], 5
jne 0x10028eb2
mov eax, dword [0x100af9c4]
mov ecx, 1
cmp dword [ebp - 0x1c], 1
cmove eax, ecx
mov dword [0x100af9c4], eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x100ad09c], 0
cmp dword [0x100af9c4], 0
je 0x10028ed6
push 2
push 0x1008d674
jmp 0x1002922f
cmp dword [0x100ad0e0], 0
je 0x10028f67
push str.ntdll.dll
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
call eax
mov edi, eax
test edi, edi
je 0x10028f5d
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10028f38
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
push ecx
call eax
movzx eax, word [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 1
push edi
call ebx
cmp dword [ebp - 0x1c], 0
je 0x10028f5d
cmp dword [ebp - 0x18], 6
jne 0x10028f5d
mov eax, dword [0x100afa08]
mov ecx, 1
cmp dword [ebp - 0x14], 0
cmove eax, ecx
mov dword [0x100afa08], eax
mov dword [0x100ad0e0], 0
cmp dword [0x100afa08], 0
je 0x10028f7c
push 5
push str.vista
jmp 0x1002922f
cmp dword [0x100ad0e4], 0
je 0x10029011
push str.ntdll.dll
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x10029007
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10028fe2
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
push ecx
call eax
movzx eax, word [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 1
push edi
call ebx
cmp dword [ebp - 0x1c], 0
je 0x10029007
cmp dword [ebp - 0x18], 6
jne 0x10029007
mov eax, dword [0x100afa0c]
mov ecx, 1
cmp dword [ebp - 0x14], 1
cmove eax, ecx
mov dword [0x100afa0c], eax
mov dword [0x100ad0e4], 0
cmp dword [0x100afa0c], 0
je 0x10029026
push 4
push str.win7
jmp 0x1002922f
cmp dword [0x100ad0e8], 0
je 0x100290bb
push str.ntdll.dll
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x100290b1
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1002908c
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
push ecx
call eax
movzx eax, word [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 1
push edi
call ebx
cmp dword [ebp - 0x1c], 0
je 0x100290b1
cmp dword [ebp - 0x18], 6
jne 0x100290b1
mov eax, dword [0x100afa10]
mov ecx, 1
cmp dword [ebp - 0x14], 2
cmove eax, ecx
mov dword [0x100afa10], eax
mov dword [0x100ad0e8], 0
cmp dword [0x100afa10], 0
je 0x100290d0
push 4
push str.win8
jmp 0x1002922f
cmp dword [0x100ad0ec], 0
je 0x10029165
push str.ntdll.dll
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x1002915b
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10029136
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
push ecx
call eax
movzx eax, word [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 1
push edi
call ebx
cmp dword [ebp - 0x1c], 0
je 0x1002915b
cmp dword [ebp - 0x18], 6
jne 0x1002915b
mov eax, dword [0x100afa14]
mov ecx, 1
cmp dword [ebp - 0x14], 3
cmove eax, ecx
mov dword [0x100afa14], eax
mov dword [0x100ad0ec], 0
cmp dword [0x100afa14], 0
je 0x1002917a
push 6
push str.win8.1
jmp 0x1002922f
cmp dword [0x100ad0f0], 0
je 0x10029218
push str.ntdll.dll
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x1002920e
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100291e0
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
push ecx
call eax
movzx eax, word [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 1
push edi
call ebx
cmp dword [ebp - 0x1c], 0
je 0x1002920e
mov eax, dword [ebp - 0x18]
cmp eax, 6
jne 0x100291f9
cmp dword [ebp - 0x14], 4
je 0x10029204
jmp 0x1002920e
cmp eax, 0xa
jne 0x1002920e
cmp dword [ebp - 0x14], 0
jne 0x1002920e
mov dword [0x100afa18], 1
mov dword [0x100ad0f0], 0
cmp dword [0x100afa18], 0
push 5
je 0x1002922a
push str.win10
jmp 0x1002922f
push str.other
mov ecx, esi
call fcn.10010000
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10007a30
int3