Function at 0x10079410
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100f4875
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov al, byte [0x1011edd0]
push ebx
push ebp
mov ebp, ecx
push esi
push edi
test al, 1
mov dword [esp + 0x30], ebp
jne 0x10079460
mov dl, al
mov ecx, 0x1011ede0
or dl, 1
mov byte [0x1011edd0], dl
call fcn.10077500
push 0x1002f2b0
call fcn.100dca65
add esp, 4
mov dword [esp + 0x24], 0x1011ede0
mov eax, 0x1011ede0
xor esi, esi
test eax, eax
mov dword [esp + 0x138], esi
je 0x10079536
mov ecx, dword [esp + 0x140]
call fcn.1006b070
mov edx, dword [0x10116664]
mov ecx, eax
mov ebx, edx
mov dword [esp + 0x34], eax
and ebx, 0x3f
lea ebx, [ebx + ebx*2]
shl ebx, 4
add ebx, 0x1011b2a8
inc edx
mov dword [0x10116664], edx
call fcn.100107a0
mov ecx, 9
mov esi, eax
mov edi, ebx
mov eax, dword [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
fld dword [eax + 0x2c]
fchs
push ecx
fstp dword [esp]
fld dword [eax + 0x28]
push ecx
fchs
fstp dword [esp]
fld dword [eax + 0x24]
push ecx
lea ecx, [esp + 0x68]
fchs
fstp dword [esp]
call fcn.1000d370
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0x20], edx
lea edx, [esp + 0x54]
mov eax, dword [eax + 8]
push edx
mov ecx, ebx
mov dword [esp + 0x28], eax
call fcn.100108c0
mov edx, dword [eax]
lea ecx, [ebx + 0x24]
push ebx
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x148]
add ecx, 0x30
push ecx
mov ecx, 0x1011ede0
call fcn.10077780
xor esi, esi
fld dword [0x1011eea4]
fcomp dword [0x100f73b8]
mov dword [esp + 0x138], 0xffffffff
fnstsw ax
test ah, 0x41
jne 0x10079bfd
mov ecx, dword [esp + 0x140]
call fcn.1006b070
mov ecx, dword [ebp + 8]
xor edi, edi
cmp ecx, esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x10], ecx
jl 0x10079736
mov dword [esp + 0x14], 0x1011c8a0
fild dword [esp + 0x2c]
xor eax, eax
cmp ecx, esi
mov dword [esp + 0x28], eax
fidiv dword [esp + 0x10]
fld dword [0x1011ee7c]
fsub dword [0x1011ee70]
fld dword [0x1011ee80]
fsub dword [0x1011ee74]
fstp dword [esp + 0x98]
fld dword [0x1011ee84]
fsub dword [0x1011ee78]
fstp dword [esp + 0x9c]
fmul st(1)
fld dword [esp + 0x98]
fmul st(2)
fstp dword [esp + 0x8c]
fld dword [esp + 0x9c]
fmul st(2)
fstp dword [esp + 0x90]
fadd dword [0x1011ee70]
fstp dword [esp + 0x44]
fld dword [esp + 0x8c]
fadd dword [0x1011ee74]
fstp dword [esp + 0x48]
fld dword [esp + 0x90]
fadd dword [0x1011ee78]
fstp dword [esp + 0x4c]
fld dword [0x1011ee88]
fsub dword [0x1011ee94]
fld dword [0x1011ee8c]
fsub dword [0x1011ee98]
fstp dword [esp + 0xa4]
fld dword [0x1011ee90]
fsub dword [0x1011ee9c]
fstp dword [esp + 0xa8]
fmul st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0xa4]
fmul st(1)
fstp dword [esp + 0x54]
fmul dword [esp + 0xa8]
fld dword [esp + 0x50]
fadd dword [0x1011ee94]
fstp dword [esp + 0x38]
fld dword [esp + 0x54]
fadd dword [0x1011ee98]
fstp dword [esp + 0x3c]
fld dword [0x1011ee9c]
fadd st(1)
fstp dword [esp + 0x40]
fstp st(0)
jl 0x10079714
fld dword [esp + 0x38]
fsub dword [esp + 0x44]
fld dword [esp + 0x3c]
fsub dword [esp + 0x48]
fld dword [esp + 0x40]
fsub dword [esp + 0x4c]
mov ecx, dword [esp + 0x14]
fild dword [esp + 0x28]
mov edx, ecx
inc eax
add ecx, 0xc
mov dword [esp + 0x28], eax
fidiv dword [esp + 0x10]
fld st(3)
fmul st(1)
fstp dword [esp + 0x5c]
fld st(2)
fmul st(1)
fstp dword [esp + 0x60]
fld st(1)
fmulp st(1)
fld dword [esp + 0x5c]
fadd dword [esp + 0x44]
fstp dword [esp + 0x18]
fld dword [esp + 0x60]
fadd dword [esp + 0x48]
mov ebx, dword [esp + 0x18]
mov dword [edx], ebx
fstp dword [esp + 0x1c]
mov ebx, dword [esp + 0x1c]
fadd dword [esp + 0x4c]
mov dword [edx + 4], ebx
fstp dword [esp + 0x20]
mov ebx, dword [esp + 0x20]
mov dword [edx + 8], ebx
mov edx, dword [ebp + 8]
cmp eax, edx
mov dword [esp + 0x10], edx
jle 0x100796a9
fstp st(0)
fstp st(0)
fstp st(0)
mov ecx, dword [esp + 0x14]
inc edi
add ecx, 0xcc
mov dword [esp + 0x2c], edi
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 8]
cmp edi, ecx
mov dword [esp + 0x10], ecx
jle 0x10079581
mov dword [esp + 0x1c], 0x3f800000
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], 0
mov edx, dword [esp + 0x20]
mov dword [esp + 0x7c], ecx
mov ecx, dword [ebp + 4]
push 1
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], 0
call fcn.10055230
mov eax, dword [ebp + 8]
xor edi, edi
cmp eax, esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
jle 0x10079bd8
mov dword [esp + 0x14], esi
xor edx, edx
cmp eax, esi
mov dword [esp + 0x34], edx
jle 0x10079bb5
jmp 0x100797ad
xor esi, esi
lea eax, [esp + 0xcc]
mov ecx, 4
mov dword [eax - 8], esi
mov dword [eax - 4], esi
mov dword [eax], esi
add eax, 0xc
dec ecx
jne 0x100797b9
lea eax, [esp + 0xfc]
mov ecx, 5
mov dword [eax - 8], esi
mov dword [eax - 4], esi
mov dword [eax], esi
add eax, 0xc
dec ecx
jne 0x100797d3
mov eax, dword [esp + 0x14]
xor ebp, ebp
add eax, edx
lea ebx, [esp + 0xf4]
lea edi, [esp + 0xc8]
lea eax, [eax + eax*2]
shl eax, 2
lea ecx, [eax + 0x1011c8a0]
mov edx, dword [eax + 0x1011c8a0]
mov dword [esp + 0xc4], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0xc8], edx
lea edx, [eax + 0x1011c96c]
mov ecx, dword [ecx + 8]
mov dword [esp + 0xcc], ecx
mov ecx, dword [edx]
mov dword [esp + 0xd0], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0xd4], ecx
lea ecx, [eax + 0x1011c978]
mov edx, dword [edx + 8]
mov dword [esp + 0xd8], edx
mov edx, dword [ecx]
mov dword [esp + 0xdc], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0xe0], edx
lea edx, [eax + 0x1011c8ac]
mov ecx, dword [ecx + 8]
mov eax, dword [edx]
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0xec], ecx
xor ecx, ecx
mov edx, dword [edx + 8]
mov dword [esp + 0x24], ecx
mov dword [esp + 0xf0], edx
fld dword [edi]
fcomp dword [0x100f73b8]
lea eax, [ecx - 1]
and eax, 3
lea eax, [eax + eax*2]
fld dword [esp + eax*4 + 0xc8]
lea esi, [esp + eax*4 + 0xc4]
fnstsw ax
fcomp dword [0x100f73b8]
test ah, 0x41
fnstsw ax
jne 0x10079939
test ah, 0x41
je 0x10079a88
fld dword [esi + 4]
fsub dword [edi]
mov edx, ebx
inc ebp
add ebx, 0xc
fdivr dword [esi + 4]
fld dword [edi - 4]
fsub dword [esi]
fld dword [edi]
fsub dword [esi + 4]
fstp dword [esp + 0x60]
fld dword [edi + 4]
fsub dword [esi + 8]
fstp dword [esp + 0x64]
fmul st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x60]
fmul st(1)
fstp dword [esp + 0x54]
fmul dword [esp + 0x64]
fld dword [esp + 0x50]
fadd dword [esi]
fstp dword [esp + 0x18]
fld dword [esp + 0x54]
fadd dword [esi + 4]
mov eax, dword [esp + 0x18]
mov dword [edx], eax
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
fadd dword [esi + 8]
mov dword [edx + 4], eax
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov dword [edx + 8], eax
jmp 0x10079a88
test ah, 0x41
jne 0x100799d0
fld dword [esi + 4]
fsub dword [edi]
push ecx
fdivr dword [esi + 4]
fld dword [edi - 4]
fsub dword [esi]
fld dword [edi]
fsub dword [esi + 4]
fld dword [edi + 4]
fsub dword [esi + 8]
fmul st(3)
fstp dword [esp]
push ecx
fmul st(2)
fstp dword [esp]
push ecx
lea ecx, [esp + 0xac]
fmul st(1)
fstp dword [esp]
fstp st(0)
call fcn.1000d370
mov ecx, dword [eax]
push ecx
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x40], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x44], eax
fld dword [esp + 0x44]
fadd dword [esi + 8]
fstp dword [esp]
fld dword [esp + 0x40]
fadd dword [esi + 4]
push ecx
fstp dword [esp]
fld dword [esp + 0x40]
fadd dword [esi]
push ecx
lea ecx, [esp + 0x94]
fstp dword [esp]
call fcn.1000d370
mov edx, dword [eax]
mov ecx, ebx
inc ebp
add ebx, 0xc
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
fld dword [edi + 4]
fsub dword [0x1011eea8]
push ecx
fstp dword [esp]
fld dword [edi]
fsub dword [0x1011eea4]
push ecx
fstp dword [esp]
fld dword [edi - 4]
fsub dword [0x1011eea0]
push ecx
lea ecx, [esp + 0xa0]
fstp dword [esp]
call fcn.1000d370
mov edx, eax
mov esi, dword [0x1011eea0]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0xac], esi
mov esi, dword [0x1011eea4]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xb0], esi
mov esi, dword [0x1011eea8]
lea eax, [esp + 0xac]
mov dword [esp + 0xbc], ecx
push eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0xb8], esi
mov dword [esp + 0xc4], edx
call fcn.10079c20
push ecx
lea ecx, [esp + 0x48]
fstp dword [esp]
push ecx
lea ecx, [esp + 0xb4]
call fcn.10064080
mov ecx, dword [eax]
mov edx, ebx
inc ebp
add ebx, 0xc
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [edx + 8], eax
inc ecx
add edi, 0xc
cmp ecx, 4
mov dword [esp + 0x24], ecx
jl 0x10079893
cmp ebp, 3
jl 0x10079b99
cmp ebp, 5
jg 0x10079b99
test ebp, ebp
jle 0x10079b59
mov edx, dword [esp + 0x10]
mov dword [esp + 0x24], ebp
lea ecx, [edx + edx*4]
lea edx, [edx + ecx*2]
lea ecx, [esp + 0xf4]
shl edx, 2
mov eax, dword [ecx]
mov esi, ecx
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx]
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x30]
mov ebx, dword [esi]
add ecx, 0xc
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x18]
add eax, edx
add edx, 0x2c
mov edi, eax
mov dword [edi], ebx
mov ebx, dword [esi + 4]
mov esi, dword [esi + 8]
mov dword [edi + 4], ebx
mov dword [edi + 8], esi
mov edi, dword [esp + 0x78]
lea esi, [eax + 0xc]
add eax, 0x1c
mov dword [esi], edi
mov edi, dword [esp + 0x7c]
mov dword [esi + 4], edi
mov edi, dword [esp + 0x80]
mov dword [eax - 4], 0xffffffff
mov dword [esi + 8], edi
mov esi, dword [esp + 0x68]
mov dword [eax], esi
mov esi, dword [esp + 0x6c]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x70]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x74]
mov dword [eax + 0xc], esi
mov eax, dword [esp + 0x24]
dec eax
mov dword [esp + 0x24], eax
jne 0x10079acb
mov ebx, dword [esp + 0x10]
cmp ebp, 2
jle 0x10079b93
mov edi, 1
lea eax, [ebx + 1]
sub edi, ebx
mov edx, dword [esp + 0x28]
lea esi, [eax + 1]
push esi
mov ecx, edx
push eax
push ebx
push ecx
mov ecx, dword [esp + 0x40]
inc edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x38], edx
call fcn.10075f40
mov eax, esi
lea edx, [edi + eax]
cmp edx, ebp
jl 0x10079b6c
add ebx, ebp
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
inc edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x34], edx
cmp edx, ecx
jl 0x100797ab
mov ebp, eax
xor esi, esi
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
mov eax, dword [ebp + 8]
inc ecx
add edi, 0x11
cmp ecx, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], edi
jl 0x1007979b
mov edi, dword [esp + 0x10]
mov ecx, dword [ebp + 4]
call fcn.100552c0
cmp edi, 3
jl 0x10079bfd
mov ecx, dword [esp + 0x28]
mov edx, dword [ebp + 4]
push ecx
mov ecx, dword [esp + 0x144]
push esi
push edi
push esi
push edx
call fcn.10081b20
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x12c
ret 8