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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d5fbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x80], ebx
je 0x45cedc
cmp dword [esi + 0x88], ebx
jle 0x45cedc
xor edi, edi
mov dword [esp + 0x14], 0x49742400
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0x49742400
mov dword [esp + 0x1c], 0x49742400
lea eax, [esp + 0x14]
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0xa8], ebx
call fcn.004051b0
lea edx, [esp + 0x14]
lea ecx, [esp + 0x44]
push edx
mov dword [esp + 0xa4], 0xffffffff
mov dword [esp + 0x18], 0xc9742400
call fcn.00417d40
push eax
lea ebp, [esi + 0xc]
lea eax, [esp + 0x6c]
mov ecx, ebp
push eax
mov dword [esp + 0xa8], 1
call fcn.004051b0
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov al, byte [esi + 0x74]
mov dword [esp + 0xa0], 2
test al, al
je 0x45cc97
cmp word [esi + 0x84], bx
mov edi, dword [esi + 0x80]
jle 0x45cc8e
xor edx, edx
cmp word [esi + 0x86], dx
jle 0x45cc73
lea ecx, [edi + 0xc]
mov al, byte [ecx]
test al, al
je 0x45cc62
cmp al, 5
jae 0x45cb9d
inc al
mov byte [ecx], al
jmp 0x45cc62
jne 0x45cbab
mov eax, dword [esp + 0x10]
mov byte [ecx], 0xa
inc eax
mov dword [esp + 0x10], eax
cmp byte [ecx], 5
jbe 0x45cc62
fld dword [ecx - 0xc]
fadd qword [esp + 0x24]
fstp qword [esp + 0x24]
fld dword [ecx - 8]
fadd qword [esp + 0x2c]
fstp qword [esp + 0x2c]
fld dword [ecx - 4]
fadd qword [esp + 0x34]
fstp qword [esp + 0x34]
fld dword [esi]
fcomp dword [ecx - 0xc]
fnstsw ax
test ah, 1
je 0x45cbe5
fld dword [esi]
jmp 0x45cbe8
fld dword [ecx - 0xc]
fstp dword [esi]
fld dword [esi + 4]
fcomp dword [ecx - 8]
fnstsw ax
test ah, 1
je 0x45cbfc
fld dword [esi + 4]
jmp 0x45cbff
fld dword [ecx - 8]
fstp dword [esi + 4]
fld dword [esi + 8]
fcomp dword [ecx - 4]
fnstsw ax
test ah, 1
je 0x45cc14
fld dword [esi + 8]
jmp 0x45cc17
fld dword [ecx - 4]
fstp dword [esi + 8]
fld dword [ebp]
fcomp dword [ecx - 0xc]
fnstsw ax
test ah, 0x41
jne 0x45cc2c
fld dword [ebp]
jmp 0x45cc2f
fld dword [ecx - 0xc]
fstp dword [ebp]
fld dword [esi + 0x10]
fcomp dword [ecx - 8]
fnstsw ax
test ah, 0x41
jne 0x45cc44
fld dword [esi + 0x10]
jmp 0x45cc47
fld dword [ecx - 8]
fstp dword [esi + 0x10]
fld dword [esi + 0x14]
fcomp dword [ecx - 4]
fnstsw ax
test ah, 0x41
jne 0x45cc5c
fld dword [esi + 0x14]
jmp 0x45cc5f
fld dword [ecx - 4]
fstp dword [esi + 0x14]
inc edx
add ecx, 0x18
cmp dx, word [esi + 0x86]
jl 0x45cb86
movsx eax, word [esi + 0x86]
inc ebx
cmp bx, word [esi + 0x84]
lea ecx, [eax + eax*2]
lea edi, [edi + ecx*8]
jl 0x45cb74
mov edi, dword [esp + 0x10]
jmp 0x45cdcc
mov ecx, dword [esi + 0x80]
cmp word [esi + 0x84], 0
mov dword [esp + 0x14], ecx
jle 0x45cdcc
xor edx, edx
cmp word [esi + 0x86], dx
jle 0x45cda6
add ecx, 0xc
mov al, byte [ecx]
test al, al
je 0x45cd95
cmp al, 5
jae 0x45ccd8
inc al
mov byte [ecx], al
jmp 0x45cd95
jne 0x45ccde
inc edi
mov byte [ecx], 0xa
cmp byte [ecx], 5
jbe 0x45cd95
fld dword [ecx - 0xc]
fadd qword [esp + 0x24]
fstp qword [esp + 0x24]
fld dword [ecx - 8]
fadd qword [esp + 0x2c]
fstp qword [esp + 0x2c]
fld dword [ecx - 4]
fadd qword [esp + 0x34]
fstp qword [esp + 0x34]
fld dword [esi]
fcomp dword [ecx - 0xc]
fnstsw ax
test ah, 1
je 0x45cd18
fld dword [esi]
jmp 0x45cd1b
fld dword [ecx - 0xc]
fstp dword [esi]
fld dword [esi + 4]
fcomp dword [ecx - 8]
fnstsw ax
test ah, 1
je 0x45cd2f
fld dword [esi + 4]
jmp 0x45cd32
fld dword [ecx - 8]
fstp dword [esi + 4]
fld dword [esi + 8]
fcomp dword [ecx - 4]
fnstsw ax
test ah, 1
je 0x45cd47
fld dword [esi + 8]
jmp 0x45cd4a
fld dword [ecx - 4]
fstp dword [esi + 8]
fld dword [ebp]
fcomp dword [ecx - 0xc]
fnstsw ax
test ah, 0x41
jne 0x45cd5f
fld dword [ebp]
jmp 0x45cd62
fld dword [ecx - 0xc]
fstp dword [ebp]
fld dword [esi + 0x10]
fcomp dword [ecx - 8]
fnstsw ax
test ah, 0x41
jne 0x45cd77
fld dword [esi + 0x10]
jmp 0x45cd7a
fld dword [ecx - 8]
fstp dword [esi + 0x10]
fld dword [esi + 0x14]
fcomp dword [ecx - 4]
fnstsw ax
test ah, 0x41
jne 0x45cd8f
fld dword [esi + 0x14]
jmp 0x45cd92
fld dword [ecx - 4]
fstp dword [esi + 0x14]
inc edx
add ecx, 0x10
cmp dx, word [esi + 0x86]
jl 0x45ccc1
movsx edx, word [esi + 0x86]
mov ecx, dword [esp + 0x14]
inc ebx
shl edx, 4
add ecx, edx
cmp bx, word [esi + 0x84]
mov dword [esp + 0x14], ecx
jl 0x45ccaf
mov dword [esp + 0x10], edi
mov ecx, dword [esi + 0x88]
lea eax, [esi + 0x88]
add ecx, edi
push eax
mov dword [eax], ecx
lea eax, [esp + 0x28]
lea ecx, [esp + 0x84]
push eax
push ecx
call fcn.00429a10
fld qword [esp + 0x30]
add esp, 0xc
lea edx, [esp + 0x5c]
fstp dword [esi + 0x40]
fld qword [esp + 0x2c]
push ebp
push edx
fstp dword [esi + 0x44]
fld qword [esp + 0x3c]
mov ecx, esi
fstp dword [esi + 0x48]
call fcn.004051f0
lea eax, [esp + 0x50]
push esi
push eax
mov ecx, ebp
mov byte [esp + 0xa8], 3
call fcn.00405230
lea ecx, [esp + 0x14]
lea edx, [esp + 0x5c]
push ecx
lea eax, [esp + 0x6c]
mov bl, 4
push edx
push eax
mov byte [esp + 0xac], bl
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0x40000000
call fcn.0041a080
add esp, 0xc
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0xa8], 5
call fcn.004051b0
lea edx, [esp + 0x3c]
lea eax, [esp + 0x50]
push edx
lea ecx, [esp + 0x78]
push eax
push ecx
mov byte [esp + 0xac], bl
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0x40000000
call fcn.0041a080
add esp, 0xc
lea edx, [esp + 0x80]
push eax
push edx
mov ecx, ebp
mov byte [esp + 0xa8], 6
call fcn.004051b0
mov ecx, ebp
mov byte [esp + 0xa0], bl
call fcn.00426bc0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x98]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret