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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45df2f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], 0
call fcn.0045bc96
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0xb0], 1
fld dword [ebp + 0x10]
lea eax, [ecx + ecx*4]
fstp qword [esp + 0x44]
shl eax, 3
fld dword [ebp + 0x14]
sub eax, ecx
mov ecx, dword [ebx + 0x4e0]
fmul qword [0x4640b8]
lea eax, [eax + eax*8]
mov edx, dword [ecx + eax*4 + 0x58]
lea edi, [ecx + eax*4]
fstp qword [esp + 0x4c]
mov eax, dword [edi + 0x3c]
mov esi, dword [edi + 0x54]
shl eax, 2
push eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edx
call dword [0x460774]
mov edx, dword [edi + 0x3c]
mov ecx, eax
add esp, 4
xor eax, eax
test edx, edx
mov dword [esp + 0x30], ecx
jle 0x42ba4c
mov dword [ecx], 0xffffffff
mov edx, dword [edi + 0x3c]
inc eax
add ecx, 4
cmp eax, edx
jl 0x42ba3b
xor edi, edi
mov dword [esp + 0x14], edi
mov eax, dword [ebp + 0x20]
test eax, eax
jne 0x42ba7b
xor ecx, ecx
cmp edi, 5
sete cl
xor edx, edx
cmp edi, 3
sete dl
or ecx, edx
xor eax, eax
cmp edi, 1
sete al
or ecx, eax
jne 0x42bfb1
mov eax, dword [ebp + 0x24]
test eax, eax
jne 0x42ba8b
cmp edi, 6
je 0x42bfb1
mov eax, dword [ebp + 0xc]
lea eax, [eax + eax*4]
lea eax, [eax + eax*8]
lea ecx, [eax + edi]
add eax, edi
shl eax, 2
lea edx, [ecx*4 + 0x38]
mov ecx, dword [ebx + 0x4e4]
mov dword [esp + 0x28], edx
mov dword [esp + 0x5c], eax
mov edx, dword [ecx + edx]
mov ecx, dword [eax + ecx]
test ecx, ecx
mov dword [esp + 0x10], edx
jle 0x42bcf3
mov dword [esp + 0x24], ecx
mov edi, edx
mov dword [esp + 0x18], 4
movsx eax, word [edi]
mov edx, dword [esp + 0x30]
cmp dword [edx + eax*4], 0xffffffff
jne 0x42bcc3
mov edx, dword [esp + 0x20]
xor ecx, ecx
cmp byte [edx + eax*4 + 3], 0xff
mov edx, dword [ebp + 0x28]
sete cl
xor eax, eax
test edx, edx
sete al
or ecx, eax
je 0x42bcc3
movsx eax, word [edi]
mov ecx, dword [ebp + 0xc]
push eax
lea edx, [esp + 0x94]
push ecx
push edx
mov ecx, ebx
call fcn.00424380
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x3c], eax
movsx eax, word [edi]
lea ecx, [eax + eax*2]
fld dword [esi + ecx*4]
fld dword [esp + 0x34]
fmul dword [0x4640b4]
xor ecx, ecx
mov dword [esp + 0xc], ecx
faddp st(1)
fstp qword [esp + 0x60]
movsx eax, word [edi]
lea edx, [eax + eax*2]
fld dword [esi + edx*4 + 8]
fld dword [esp + 0x3c]
fmul dword [0x4640b4]
mov edx, dword [esp + 0x1c]
faddp st(1)
fstp qword [esp + 0x68]
movsx eax, word [edi]
lea eax, [eax + eax*2]
fld dword [esi + eax*4 + 4]
fld dword [esp + 0x38]
fmul dword [0x4640b4]
xor eax, eax
faddp st(1)
fstp qword [esp + 0x70]
fld qword [esp + 0x4c]
fsin
fld qword [esp + 0x44]
fcos
fmul st(1)
fstp qword [esp + 0x78]
fld qword [esp + 0x44]
fsin
fmul st(1)
fstp qword [esp + 0x80]
fstp st(0)
fld qword [esp + 0x4c]
fcos
fstp qword [esp + 0x88]
cmp word [edx + 0x5c], 0xffff
je 0x42bc0e
jmp 0x42bbc3
mov ecx, dword [esp + 0xc]
cmp ecx, 0x12c
jge 0x42bc09
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x78]
movsx eax, word [eax + ecx*4 + 0x5c]
mov ecx, dword [ebp + 0x30]
push ecx
push eax
lea eax, [esp + 0x68]
push edx
push eax
mov ecx, ebx
call fcn.0042c700
cmp eax, 1
mov ecx, 0x12c
je 0x42bbf8
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0xc], ecx
cmp word [edx + ecx*4 + 0x5c], 0xffff
jne 0x42bbbf
cmp eax, 1
je 0x42bc2a
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebx + 0x4dc]
push eax
lea edx, [esp + 0x7c]
push ecx
lea eax, [esp + 0x68]
push edx
push eax
mov ecx, ebx
call fcn.0042c700
movsx ecx, word [edi]
mov edx, dword [esp + 0x30]
cmp eax, 1
mov dword [edx + ecx*4], eax
jne 0x42bc7d
movsx eax, word [edi]
mov edx, dword [esp + 0x20]
mov ecx, dword [ebp + 0x1c]
push 0x3f800000
mov dword [edx + eax*4], ecx
sub esp, 0xc
movsx eax, word [edi]
mov edx, esp
lea eax, [eax + eax*2]
lea ecx, [esi + eax*4]
mov eax, dword [esi + eax*4]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
movsx eax, word [edi]
mov ecx, dword [ecx + 8]
push eax
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], ecx
mov edx, dword [esp + 0x28]
push 0
push edx
push 0
push eax
jmp 0x42bcbc
movsx ecx, word [edi]
mov eax, dword [esp + 0x20]
mov edx, dword [ebp + 0x18]
push 0
mov dword [eax + ecx*4], edx
sub esp, 0xc
movsx eax, word [edi]
lea ecx, [eax + eax*2]
mov eax, esp
lea edx, [esi + ecx*4]
mov ecx, dword [esi + ecx*4]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [edx + 8]
mov dword [eax + 8], edx
movsx eax, word [edi]
push eax
mov eax, dword [esp + 0x28]
push 0
push eax
push 0
push ecx
mov ecx, ebx
call fcn.0042dfe0
mov eax, dword [esp + 0x18]
add edi, 2
dec eax
mov dword [esp + 0x18], eax
jne 0x42bad1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
add edx, 0xe
dec eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], eax
jne 0x42bac7
mov edi, dword [esp + 0x14]
cmp dword [ebp + 0x2c], 1
jne 0x42bfb1
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
and eax, 0xff
and edx, 0xff
add eax, edx
mov ecx, dword [ebp + 0x1a]
cdq
sub eax, edx
and ecx, 0xff
sar eax, 1
mov byte [esp + 0x2c], al
mov eax, dword [ebp + 0x1e]
and eax, 0xff
mov byte [esp + 0x2f], 0xff
add eax, ecx
mov ecx, dword [esp + 0x28]
cdq
sub eax, edx
mov edx, dword [ebp + 0x19]
sar eax, 1
mov byte [esp + 0x2e], al
mov eax, dword [ebp + 0x1d]
and eax, 0xff
and edx, 0xff
add eax, edx
cdq
sub eax, edx
sar eax, 1
mov byte [esp + 0x2d], al
mov eax, dword [ebx + 0x4e4]
mov edx, dword [eax + ecx]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x10], edx
mov eax, dword [ecx + eax]
test eax, eax
jle 0x42bfad
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x10]
mov edi, 1
mov dword [esp + 0x24], edi
mov dword [esp + 0xc], edx
cmp edi, 3
mov dword [esp + 0x18], edi
jle 0x42bda0
mov dword [esp + 0x18], 0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
movsx ecx, word [eax]
cmp dword [edx + ecx*4], 0
jne 0x42bf73
mov eax, dword [esp + 0x10]
movsx eax, word [eax + edi*2]
shl eax, 2
cmp dword [eax + edx], 0
jne 0x42bf73
mov edx, dword [esp + 0x20]
cmp byte [edx + ecx*4 + 3], 0xff
jne 0x42bde3
cmp byte [eax + edx + 3], 0xff
jne 0x42bde3
mov eax, 1
jmp 0x42bde5
xor eax, eax
xor edx, edx
cmp dword [ebp + 0x28], edx
sete dl
or edx, eax
je 0x42bf73
mov eax, dword [ebp + 0xc]
push ecx
lea ecx, [esp + 0xa0]
push eax
push ecx
mov ecx, ebx
call fcn.00424380
mov edx, dword [eax]
mov dword [esp + 0x34], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + 8]
movsx eax, word [ecx + edi*2]
mov dword [esp + 0x3c], edx
lea edx, [eax + eax*2]
mov eax, dword [esp + 0xc]
movsx eax, word [eax]
fld dword [esi + edx*4]
lea eax, [eax + eax*2]
fadd dword [esi + eax*4]
fmul dword [0x464078]
fld dword [esp + 0x34]
fmul dword [0x4640b4]
faddp st(1)
fstp qword [esp + 0x60]
movsx eax, word [ecx + edi*2]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0xc]
movsx eax, word [eax]
fld dword [esi + edx*4 + 8]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax*2]
fadd dword [esi + eax*4 + 8]
fmul dword [0x464078]
fld dword [esp + 0x3c]
fmul dword [0x4640b4]
faddp st(1)
fstp qword [esp + 0x68]
movsx eax, word [ecx + edi*2]
xor edi, edi
lea ecx, [eax + eax*2]
movsx eax, word [edx]
fld dword [esi + ecx*4 + 4]
mov ecx, dword [esp + 0x1c]
lea eax, [eax + eax*2]
fadd dword [esi + eax*4 + 4]
xor eax, eax
fmul dword [0x464078]
fld dword [esp + 0x38]
fmul dword [0x4640b4]
faddp st(1)
fstp qword [esp + 0x70]
fld qword [esp + 0x4c]
fsin
fld qword [esp + 0x44]
fcos
fmul st(1)
fstp qword [esp + 0x78]
fld qword [esp + 0x44]
fsin
fmul st(1)
fstp qword [esp + 0x80]
fstp st(0)
fld qword [esp + 0x4c]
fcos
fstp qword [esp + 0x88]
cmp word [ecx + 0x5c], 0xffff
je 0x42bf31
cmp edi, 0x12c
jge 0x42bf2c
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x30]
push ecx
mov ecx, ebx
movsx eax, word [edx + edi*4 + 0x5c]
push eax
lea edx, [esp + 0x80]
lea eax, [esp + 0x68]
push edx
push eax
call fcn.0042c700
cmp eax, 1
jne 0x42bf1f
mov edi, 0x12c
mov ecx, dword [esp + 0x1c]
inc edi
cmp word [ecx + edi*4 + 0x5c], 0xffff
jne 0x42beeb
cmp eax, 1
je 0x42bf52
mov edx, dword [ebp + 0x30]
mov eax, dword [ebx + 0x4dc]
push edx
lea ecx, [esp + 0x7c]
push eax
lea edx, [esp + 0x68]
push ecx
push edx
mov ecx, ebx
call fcn.0042c700
cmp eax, 1
jne 0x42bf73
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
movsx edx, word [eax]
mov eax, dword [esp + 0x2c]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x10]
movsx edx, word [edx + edi*2]
mov dword [ecx + edx*4], eax
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0xc]
inc edi
add edx, 2
mov dword [esp + 0x24], edi
mov dword [esp + 0xc], edx
lea eax, [edi - 1]
cmp eax, 4
jl 0x42bd8b
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
add ecx, 0xe
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], eax
jne 0x42bd7a
mov edi, dword [esp + 0x14]
inc edi
cmp edi, 7
mov dword [esp + 0x14], edi
jl 0x42ba52
mov ecx, dword [esp + 0x30]
push ecx
call dword [0x46076c]
mov esi, dword [ebp + 8]
add esp, 4
lea edx, [esp + 0x40]
mov ecx, esi
push edx
call fcn.0045be88
mov dword [esp + 0x58], 1
lea ecx, [esp + 0x40]
mov byte [esp + 0xb0], 0
call fcn.0045bc84
mov ecx, dword [esp + 0xa8]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x2c