Function at 0x100281d0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084781
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100ac1c4]
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.100085e0
mov ecx, eax
test ecx, ecx
je 0x1002865a
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 [0x100ab09c], 0
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x20], 1
je 0x100282d1
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 0x100282c2
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1002829d
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 0x100282c2
cmp dword [ebp - 0x18], 5
jne 0x100282c2
mov eax, dword [0x100ad9c0]
mov ecx, 1
cmp dword [ebp - 0x1c], 1
cmove eax, ecx
mov dword [0x100ad9c0], eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x100ab09c], 0
cmp dword [0x100ad9c0], 0
je 0x100282e6
push 2
push 0x1008bf74
jmp 0x1002863f
cmp dword [0x100ab0e0], 0
je 0x10028377
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 0x1002836d
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10028348
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 0x1002836d
cmp dword [ebp - 0x18], 6
jne 0x1002836d
mov eax, dword [0x100ada04]
mov ecx, 1
cmp dword [ebp - 0x14], 0
cmove eax, ecx
mov dword [0x100ada04], eax
mov dword [0x100ab0e0], 0
cmp dword [0x100ada04], 0
je 0x1002838c
push 5
push str.vista
jmp 0x1002863f
cmp dword [0x100ab0e4], 0
je 0x10028421
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 0x10028417
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100283f2
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 0x10028417
cmp dword [ebp - 0x18], 6
jne 0x10028417
mov eax, dword [0x100ada08]
mov ecx, 1
cmp dword [ebp - 0x14], 1
cmove eax, ecx
mov dword [0x100ada08], eax
mov dword [0x100ab0e4], 0
cmp dword [0x100ada08], 0
je 0x10028436
push 4
push str.win7
jmp 0x1002863f
cmp dword [0x100ab0e8], 0
je 0x100284cb
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 0x100284c1
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1002849c
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 0x100284c1
cmp dword [ebp - 0x18], 6
jne 0x100284c1
mov eax, dword [0x100ada0c]
mov ecx, 1
cmp dword [ebp - 0x14], 2
cmove eax, ecx
mov dword [0x100ada0c], eax
mov dword [0x100ab0e8], 0
cmp dword [0x100ada0c], 0
je 0x100284e0
push 4
push str.win8
jmp 0x1002863f
cmp dword [0x100ab0ec], 0
je 0x10028575
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 0x1002856b
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10028546
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 0x1002856b
cmp dword [ebp - 0x18], 6
jne 0x1002856b
mov eax, dword [0x100ada10]
mov ecx, 1
cmp dword [ebp - 0x14], 3
cmove eax, ecx
mov dword [0x100ada10], eax
mov dword [0x100ab0ec], 0
cmp dword [0x100ada10], 0
je 0x1002858a
push 6
push str.win8.1
jmp 0x1002863f
cmp dword [0x100ab0f0], 0
je 0x10028628
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 0x1002861e
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100285f0
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 0x1002861e
mov eax, dword [ebp - 0x18]
cmp eax, 6
jne 0x10028609
cmp dword [ebp - 0x14], 4
je 0x10028614
jmp 0x1002861e
cmp eax, 0xa
jne 0x1002861e
cmp dword [ebp - 0x14], 0
jne 0x1002861e
mov dword [0x100ada14], 1
mov dword [0x100ab0f0], 0
cmp dword [0x100ada14], 0
push 5
je 0x1002863a
push str.win10
jmp 0x1002863f
push str.other
mov ecx, esi
call fcn.1000ffb0
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.100079c0
int3