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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x1099a38]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x94
call esi
cmp dword [ebp - 0x9c], 4
jbe 0x10789e4
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x9c
call esi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x10095ac
mov dword [0x10bd03c], 0x10940d1
mov dword [0x10bd038], 0x10940cb
mov dword [0x10bd034], 0x10940c5
mov dword [0x10bd048], 0x10940bf
mov dword [0x10bd040], 0x10940b9
mov dword [0x10bd04c], 0x10940b3
mov dword [0x10bd044], 0x10940ad
mov dword [0x10bd050], 0x10940a7
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ebx, ebx
cmp eax, ebx
mov dword [0x10bcfd4], eax
je 0x1078b38
cmp dword [ebp - 0x9c], 5
jne 0x1078a6e
cmp dword [ebp - 0x98], ebx
ja 0x1078a70
cmp dword [ebp - 0x9c], 5
jbe 0x1078ac7
push 0x1026c10
push eax
call esi
push 0x1026bf8
push dword [0x10bcfd4]
mov dword [0x10bd018], eax
call esi
push 0x1026be4
push dword [0x10bcfd4]
mov dword [0x10bd01c], eax
call esi
push 0x1026bcc
push dword [0x10bcfd4]
mov dword [0x10bd030], eax
call esi
push 0x1026bb8
push dword [0x10bcfd4]
mov dword [0x10bd020], eax
call esi
mov dword [0x10bd024], eax
jmp 0x1078af8
push 0x1026ba4
push eax
call esi
push 0x1026b94
push dword [0x10bcfd4]
mov dword [0x10bd018], eax
call esi
push 0x1026b84
push dword [0x10bcfd4]
mov dword [0x10bd01c], eax
call esi
mov dword [0x10bd030], eax
push 0x1026b70
push dword [0x10bcfd4]
call esi
push 0x1026b58
push dword [0x10bcfd4]
mov dword [0x10bd014], eax
call esi
push 0x1026b40
push dword [0x10bcfd4]
mov dword [0x10bd028], eax
call esi
mov dword [0x10bd02c], eax
call fcn.01072ab3
mov dword [0x10bd0b0], eax
push 0x1026b34
call edi
cmp eax, ebx
mov dword [0x10bcfd8], eax
je 0x1078bc1
push 0x1026b28
push eax
call esi
push 0x1026b18
push dword [0x10bcfd8]
mov dword [0x10bd054], eax
call esi
push 0x1026b0c
push dword [0x10bcfd8]
mov dword [0x10bd058], eax
call esi
push 0x1026b00
push dword [0x10bcfd8]
mov dword [0x10bd05c], eax
call esi
push 0x1026af4
push dword [0x10bcfd8]
mov dword [0x10bd060], eax
call esi
push 0x1026aec
push dword [0x10bcfd8]
mov dword [0x10bd064], eax
call esi
push 0x1026ae0
push dword [0x10bcfd8]
mov dword [0x10bd068], eax
call esi
mov dword [0x10bd06c], eax
push 0x1026ad4
call edi
cmp eax, ebx
mov dword [0x10bcfdc], eax
je 0x1078c02
push 0x1026ac0
push eax
call esi
push 0x1026aac
push dword [0x10bcfdc]
mov dword [0x10f5480], eax
call esi
push 0x1026a9c
push dword [0x10bcfdc]
mov dword [0x10f446c], eax
call esi
mov dword [0x1116a64], eax
push 0x1024a48
call edi
cmp eax, ebx
mov dword [0x10bcfe0], eax
je 0x1078da7
push 0x1024a38
push eax
call esi
push 0x1024a28
push dword [0x10bcfe0]
mov dword [0x1116a68], eax
call esi
push 0x1024a10
push dword [0x10bcfe0]
mov dword [0x1116a74], eax
call esi
push 0x10249f8
push dword [0x10bcfe0]
mov dword [0x10f5490], eax
call esi
push 0x10249e0
push dword [0x10bcfe0]
mov dword [0x10f5494], eax
call esi
push 0x10249c4
push dword [0x10bcfe0]
mov dword [0x10f54a0], eax
call esi
push 0x10249a8
push dword [0x10bcfe0]
mov dword [0x10bd078], eax
call esi
push 0x102498c
push dword [0x10bcfe0]
mov dword [0x10bd074], eax
call esi
push 0x1024968
push dword [0x10bcfe0]
mov dword [0x10bd07c], eax
call esi
push 0x1024944
push dword [0x10bcfe0]
mov dword [0x10bd080], eax
call esi
push 0x1024924
push dword [0x10bcfe0]
mov dword [0x10bd084], eax
call esi
push 0x1024900
push dword [0x10bcfe0]
mov dword [0x10bd088], eax
call esi
push 0x10248e0
push dword [0x10bcfe0]
mov dword [0x10bd08c], eax
call esi
push 0x10248c0
push dword [0x10bcfe0]
mov dword [0x10bd094], eax
call esi
push 0x10248a0
push dword [0x10bcfe0]
mov dword [0x10bd098], eax
call esi
push 0x1024890
push dword [0x10bcfe0]
mov dword [0x10bd09c], eax
call esi
push 0x1024878
push dword [0x10bcfe0]
mov dword [0x10bd0a0], eax
call esi
cmp dword [0x10bd074], ebx
mov dword [0x10bd0a4], eax
je 0x1078da1
cmp dword [0x10bd07c], ebx
je 0x1078da1
cmp dword [0x10bd080], ebx
je 0x1078da1
cmp dword [0x10bd084], ebx
je 0x1078da1
cmp dword [0x10bd088], ebx
je 0x1078da1
cmp dword [0x10bd08c], ebx
je 0x1078da1
cmp dword [0x10bd094], ebx
je 0x1078da1
cmp dword [0x10bd098], ebx
je 0x1078da1
cmp dword [0x10bd09c], ebx
je 0x1078da1
cmp dword [0x10bd0a0], ebx
je 0x1078da1
cmp eax, ebx
mov dword [0x10bd0ac], 1
jne 0x1078da7
mov dword [0x10bd0ac], ebx
push 0x1026a90
call edi
cmp eax, ebx
mov dword [0x10bcffc], eax
je 0x1078de0
push 0x1026a78
push eax
call esi
cmp dword [0x10bd0ac], ebx
mov dword [0x10bd090], eax
jne 0x1078dd6
cmp eax, ebx
mov dword [0x10bd0ac], ebx
je 0x1078de0
mov dword [0x10bd0ac], 1
push 0x1026a6c
call edi
cmp eax, ebx
mov dword [0x10bcfe4], eax
je 0x1078dfd
push 0x1026a48
push eax
call esi
mov dword [0x10f56e4], eax
push 0x1026a38
call edi
cmp eax, ebx
mov dword [0x10bcfe8], eax
je 0x1078e1a
push 0x1026a1c
push eax
call esi
mov dword [0x10f6830], eax
push 0x1026a14
call edi
cmp eax, ebx
mov dword [0x10bcfec], eax
je 0x1078e49
push 0x1024d04
push eax
call esi
push 0x1026a04
push dword [0x10bcfec]
mov dword [0x1116a6c], eax
call esi
mov dword [0x10f4474], eax
push 0x10269f4
call edi
cmp eax, ebx
mov dword [0x10bcff0], eax
je 0x1078e81
push 0x10269d4
push eax
call esi
cmp dword [ebp - 0x9c], 5
mov dword [0x10f54a8], eax
jne 0x1078e81
push 0x10269b8
push dword [0x10bcff0]
call esi
mov dword [0x10bd070], eax
push 0x10269ac
call edi
cmp eax, ebx
mov dword [0x10bcff4], eax
je 0x1078e9e
push 0x1026998
push eax
call esi
mov dword [0x10f6834], eax
push 0x102698c
call edi
cmp eax, ebx
mov dword [0x10bcff8], eax
je 0x1078ebb
push 0x1026980
push eax
call esi
mov dword [0x10f54b0], eax
cmp dword [ebp - 0x9c], 5
ja 0x1078ecf
jne 0x1078eec
cmp dword [ebp - 0x98], 1
jb 0x1078eec
push 0x1026974
call edi
cmp eax, ebx
mov dword [0x10bd000], eax
je 0x1078eec
push 0x1026960
push eax
call esi
mov dword [0x10bd0a8], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0106bc50
leave
ret