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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x102c22c]
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 0x101afc0
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x9c
call esi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x1006ee4
mov dword [0x102dddc], 0x1027ab4
mov dword [0x102ddd8], 0x1027aa8
mov dword [0x102ddd4], 0x1027a9c
mov dword [0x102dde8], 0x1027a90
mov dword [0x102dde0], 0x1027a84
mov dword [0x102ddec], 0x1027a78
mov dword [0x102dde4], 0x1027a6c
mov dword [0x102ddf0], 0x1027a60
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ebx, ebx
cmp eax, ebx
mov dword [0x102dd6c], eax
je 0x101b114
cmp dword [ebp - 0x9c], 5
jne 0x101b04a
cmp dword [ebp - 0x98], ebx
ja 0x101b04c
cmp dword [ebp - 0x9c], 5
jbe 0x101b0a3
push 0x1006ecc
push eax
call esi
push 0x1006eb4
push dword [0x102dd6c]
mov dword [0x102ddb8], eax
call esi
push 0x1006ea0
push dword [0x102dd6c]
mov dword [0x102ddbc], eax
call esi
push 0x1006e88
push dword [0x102dd6c]
mov dword [0x102ddd0], eax
call esi
push 0x1006e74
push dword [0x102dd6c]
mov dword [0x102ddc0], eax
call esi
mov dword [0x102ddc4], eax
jmp 0x101b0d4
push 0x1006e60
push eax
call esi
push 0x1006e50
push dword [0x102dd6c]
mov dword [0x102ddb8], eax
call esi
push 0x1006e40
push dword [0x102dd6c]
mov dword [0x102ddbc], eax
call esi
mov dword [0x102ddd0], eax
push 0x1006e2c
push dword [0x102dd6c]
call esi
push 0x1006e14
push dword [0x102dd6c]
mov dword [0x102ddb4], eax
call esi
push 0x1006dfc
push dword [0x102dd6c]
mov dword [0x102ddc8], eax
call esi
mov dword [0x102ddcc], eax
call fcn.0101649e
mov dword [0x102de50], eax
push 0x1006df0
call edi
cmp eax, ebx
mov dword [0x102dd70], eax
je 0x101b19d
push 0x1006de4
push eax
call esi
push 0x1006dd4
push dword [0x102dd70]
mov dword [0x102ddf4], eax
call esi
push 0x1006dc8
push dword [0x102dd70]
mov dword [0x102ddf8], eax
call esi
push 0x1006dbc
push dword [0x102dd70]
mov dword [0x102ddfc], eax
call esi
push 0x1006db0
push dword [0x102dd70]
mov dword [0x102de00], eax
call esi
push 0x1006da8
push dword [0x102dd70]
mov dword [0x102de04], eax
call esi
push 0x1006d9c
push dword [0x102dd70]
mov dword [0x102de08], eax
call esi
mov dword [0x102de0c], eax
push 0x1006d90
call edi
cmp eax, ebx
mov dword [0x102dd74], eax
je 0x101b1de
push 0x1006d7c
push eax
call esi
push 0x1006d68
push dword [0x102dd74]
mov dword [0x106e3c0], eax
call esi
push 0x1006d58
push dword [0x102dd74]
mov dword [0x106d3a4], eax
call esi
mov dword [0x108f9a4], eax
push 0x1005128
call edi
cmp eax, ebx
mov dword [0x102dd78], eax
je 0x101b383
push 0x1005118
push eax
call esi
push 0x1005108
push dword [0x102dd78]
mov dword [0x108f9a8], eax
call esi
push 0x10050f0
push dword [0x102dd78]
mov dword [0x108f9b4], eax
call esi
push 0x10050d8
push dword [0x102dd78]
mov dword [0x106e3cc], eax
call esi
push 0x10050c0
push dword [0x102dd78]
mov dword [0x106e3d0], eax
call esi
push 0x10050a4
push dword [0x102dd78]
mov dword [0x106e3dc], eax
call esi
push 0x1005088
push dword [0x102dd78]
mov dword [0x102de18], eax
call esi
push 0x100506c
push dword [0x102dd78]
mov dword [0x102de14], eax
call esi
push 0x1005048
push dword [0x102dd78]
mov dword [0x102de1c], eax
call esi
push 0x1005024
push dword [0x102dd78]
mov dword [0x102de20], eax
call esi
push 0x1005004
push dword [0x102dd78]
mov dword [0x102de24], eax
call esi
push 0x1004fe0
push dword [0x102dd78]
mov dword [0x102de28], eax
call esi
push 0x1004fc0
push dword [0x102dd78]
mov dword [0x102de2c], eax
call esi
push 0x1004fa0
push dword [0x102dd78]
mov dword [0x102de34], eax
call esi
push 0x1004f80
push dword [0x102dd78]
mov dword [0x102de38], eax
call esi
push 0x1004f70
push dword [0x102dd78]
mov dword [0x102de3c], eax
call esi
push 0x1004f58
push dword [0x102dd78]
mov dword [0x102de40], eax
call esi
cmp dword [0x102de14], ebx
mov dword [0x102de44], eax
je 0x101b37d
cmp dword [0x102de1c], ebx
je 0x101b37d
cmp dword [0x102de20], ebx
je 0x101b37d
cmp dword [0x102de24], ebx
je 0x101b37d
cmp dword [0x102de28], ebx
je 0x101b37d
cmp dword [0x102de2c], ebx
je 0x101b37d
cmp dword [0x102de34], ebx
je 0x101b37d
cmp dword [0x102de38], ebx
je 0x101b37d
cmp dword [0x102de3c], ebx
je 0x101b37d
cmp dword [0x102de40], ebx
je 0x101b37d
cmp eax, ebx
mov dword [0x102de4c], 1
jne 0x101b383
mov dword [0x102de4c], ebx
push 0x1006d4c
call edi
cmp eax, ebx
mov dword [0x102dd94], eax
je 0x101b3bc
push 0x1006d34
push eax
call esi
cmp dword [0x102de4c], ebx
mov dword [0x102de30], eax
jne 0x101b3b2
cmp eax, ebx
mov dword [0x102de4c], ebx
je 0x101b3bc
mov dword [0x102de4c], 1
push 0x1006d28
call edi
cmp eax, ebx
mov dword [0x102dd7c], eax
je 0x101b3d9
push 0x1006d04
push eax
call esi
mov dword [0x106e624], eax
push 0x1006cf4
call edi
cmp eax, ebx
mov dword [0x102dd80], eax
je 0x101b3f6
push 0x1006cd8
push eax
call esi
mov dword [0x106f770], eax
push 0x1006cd0
call edi
cmp eax, ebx
mov dword [0x102dd84], eax
je 0x101b425
push 0x1005394
push eax
call esi
push 0x1006cc0
push dword [0x102dd84]
mov dword [0x108f9ac], eax
call esi
mov dword [0x106d3ac], eax
push 0x1006cb0
call edi
cmp eax, ebx
mov dword [0x102dd88], eax
je 0x101b45d
push 0x1006c90
push eax
call esi
cmp dword [ebp - 0x9c], 5
mov dword [0x106e3e4], eax
jne 0x101b45d
push 0x1006c74
push dword [0x102dd88]
call esi
jmp 0x109cfa0
push 0x1006c68
call edi
cmp eax, ebx
mov dword [0x102dd8c], eax
je 0x101b47a
push 0x1006c54
push eax
call esi
mov dword [0x106f774], eax
push 0x1006c48
call edi
cmp eax, ebx
mov dword [0x102dd90], eax
je 0x101b497
push 0x1006c3c
push eax
call esi
mov dword [0x106e3ec], eax
cmp dword [ebp - 0x9c], 5
ja 0x101b4ab
jne 0x101b4c8
cmp dword [ebp - 0x98], 1
jb 0x101b4c8
push 0x1006c30
call edi
cmp eax, ebx
mov dword [0x102dd9c], eax
je 0x101b4c8
push 0x1006c1c
push eax
call esi
mov dword [0x102de48], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0101439a
leave
ret