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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x67a31b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push esi
push edi
lea ecx, [esp + 0x30]
call fcn.0064dc20
mov eax, dword [0x7072b0]
test eax, eax
je 0x5707ef
cmp eax, 5
je 0x5707ef
mov eax, dword [0x6fd444]
test eax, eax
je 0x5707ef
mov ecx, dword [0x7072cc]
mov eax, dword [0x7072c8]
mov edx, dword [0x7072d0]
mov dword [esp + 0x34], ecx
mov ecx, dword [0x7072d8]
mov dword [esp + 0x30], eax
mov eax, dword [0x7072d4]
mov dword [esp + 0x38], edx
mov edx, dword [0x7072dc]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], edx
call fcn.00473110
mov esi, 0x69db4c
push 0xa
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0xd0], 0
mov dword [esp + 0x18], esi
call fcn.0048b670
lea eax, [esp + 0x10]
lea edx, [esp + 0x30]
push eax
mov dword [esp + 0xcc], 1
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.0064dc70
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x29c]
call fcn.004a8680
mov edi, eax
test edi, edi
je 0x5703cf
xor esi, esi
test edi, edi
jle 0x57038b
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 0x29c]
push 0
push eax
mov ecx, dword [ecx + esi*4]
call fcn.004933f0
inc esi
cmp esi, edi
jl 0x570371
mov eax, dword [esp + 0x18]
xor esi, esi
test eax, eax
jle 0x5703b0
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + esi*4]
test ecx, ecx
je 0x5703a7
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
jl 0x570395
push 0xa
push 0
lea ecx, [esp + 0x18]
call fcn.0048b670
push 0
push 0
push 0
mov ecx, ebx
call fcn.0065ec30
jmp 0x5704ad
lea ecx, [esp + 0x90]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
call fcn.0064dc20
lea ecx, [esp + 0x78]
call fcn.0064dc20
mov eax, dword [0x6fd444]
test eax, eax
je 0x570453
cmp dword [eax + 0x10], 8
je 0x570482
lea ecx, [esp + 0x10]
mov dword [esp + 0xc8], 0xffffffff
mov dword [esp + 0x10], esi
call fcn.004602f0
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 0x29c]
mov esi, eax
call fcn.0049e390
mov edx, dword [eax + 8]
xor ecx, ecx
test edx, edx
jle 0x5704ad
mov eax, dword [eax + 4]
cmp esi, dword [eax]
je 0x5704a9
inc ecx
add eax, 4
cmp ecx, edx
jl 0x57049b
jmp 0x5704ad
test ecx, ecx
jge 0x5704e0
lea ecx, [esp + 0x10]
mov dword [esp + 0xc8], 0xffffffff
mov dword [esp + 0x10], 0x69db4c
call fcn.004602f0
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
call fcn.004da3a0
sub esp, 0x18
mov esi, eax
lea edx, [esp + 0x48]
mov ecx, esp
mov edi, dword [esi]
mov dword [esp + 0x24], esp
push edx
call fcn.0064dc70
mov ecx, esi
call dword [edi + 0xa0]
fstp qword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov eax, dword [esi]
push edi
lea ecx, [esp + 0xac]
push ebx
push ecx
mov ecx, esi
call dword [eax + 0xe0]
push eax
lea ecx, [esp + 0x4c]
call fcn.006578b0
mov edx, dword [esi]
push edi
lea eax, [esp + 0xac]
push ebx
push eax
mov ecx, esi
call dword [edx + 0xe8]
push eax
lea ecx, [esp + 0x64]
call fcn.006578b0
fld qword [esp + 0x50]
fmul qword [0x69dc68]
push 0
push 0
sub esp, 8
lea ecx, [esp + 0xa0]
fsubr qword [esp + 0x48]
sub esp, 8
fstp qword [esp + 8]
fld qword [esp + 0x60]
fmul qword [0x69dc68]
fsubr qword [esp + 0x48]
fstp qword [esp]
call fcn.0064dd00
fld qword [esp + 0x50]
fmul qword [0x69dc68]
push 0
push 0
sub esp, 8
lea ecx, [esp + 0x88]
fadd qword [esp + 0x48]
sub esp, 8
fstp qword [esp + 8]
fld qword [esp + 0x60]
fmul qword [0x69dc68]
fadd qword [esp + 0x48]
fstp qword [esp]
call fcn.0064dd00
push 0xb8
call fcn.0065e5d0
mov esi, eax
add esp, 4
mov dword [esp + 0xc], esi
test esi, esi
mov byte [esp + 0xc8], 2
je 0x570614
sub esp, 0x18
lea edx, [esp + 0x90]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.0064dc70
sub esp, 0x18
lea eax, [esp + 0xc0]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.0064dc70
mov ecx, esi
call fcn.004c79e0
jmp 0x570616
xor eax, eax
mov edi, dword [ebp + 8]
mov byte [esp + 0xc8], 1
mov ecx, dword [edi + 0x29c]
push ecx
push eax
call fcn.004937b0
mov esi, eax
add esp, 8
test esi, esi
je 0x57067c
push 1
push 4
mov ecx, esi
call fcn.0048ed30
push 1
push 1
mov ecx, esi
call fcn.0048ed80
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x58]
mov edx, dword [0x6fd2c8]
sub esp, 0xc
mov ecx, esp
mov eax, dword [esi]
mov dword [ecx], edx
mov edx, dword [0x6fd2cc]
mov dword [ecx + 4], edx
mov edx, dword [0x6fd2d0]
mov dword [ecx + 8], edx
mov ecx, esi
call dword [eax + 0x3c]
fld qword [esp + 0x68]
fmul qword [0x69dc68]
push 0
push 0
sub esp, 8
lea ecx, [esp + 0xa0]
fsubr qword [esp + 0x48]
sub esp, 8
fstp qword [esp + 8]
fld qword [esp + 0x78]
fmul qword [0x69dc68]
fsubr qword [esp + 0x48]
fstp qword [esp]
call fcn.0064dd00
fld qword [esp + 0x68]
fmul qword [0x69dc68]
push 0
push 0
sub esp, 8
lea ecx, [esp + 0x88]
fadd qword [esp + 0x48]
sub esp, 8
fstp qword [esp + 8]
fld qword [esp + 0x78]
fmul qword [0x69dc68]
fadd qword [esp + 0x48]
fstp qword [esp]
call fcn.0064dd00
push 0xb8
call fcn.0065e5d0
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
test esi, esi
mov byte [esp + 0xc8], 3
je 0x570742
sub esp, 0x18
lea eax, [esp + 0x90]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0064dc70
sub esp, 0x18
lea edx, [esp + 0xc0]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.0064dc70
mov ecx, esi
call fcn.004c79e0
jmp 0x570744
xor eax, eax
mov ecx, dword [edi + 0x29c]
mov byte [esp + 0xc8], 1
push ecx
push eax
call fcn.004937b0
mov esi, eax
add esp, 8
test esi, esi
je 0x5707a7
push 1
push 4
mov ecx, esi
call fcn.0048ed30
push 1
push 1
mov ecx, esi
call fcn.0048ed80
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x58]
mov edx, dword [0x6fd2c8]
sub esp, 0xc
mov ecx, esp
mov eax, dword [esi]
mov dword [ecx], edx
mov edx, dword [0x6fd2cc]
mov dword [ecx + 4], edx
mov edx, dword [0x6fd2d0]
mov dword [ecx + 8], edx
mov ecx, esi
call dword [eax + 0x3c]
push 0
push 0
push 0
mov ecx, edi
call fcn.0065ec30
mov dword [esp + 0x10], 0x69db38
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc8], 4
test eax, eax
je 0x57080a
push eax
call fcn.0065e732
add esp, 4
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x29c]
call fcn.004a8750
push 0
push 0
push 0
mov ecx, esi
call fcn.0065ec30
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4