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

Disassembly:
push 0xffffffffffffffff
push 0x4ff523
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x1c]
lea eax, [esp + 0x78]
push eax
push ecx
call dword [0x506934]
mov ebp, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x60], eax
mov dword [esp + 0x18], ecx
sub ecx, eax
mov ebx, ebp
sub ebx, esi
mov eax, 0x2aaaaaab
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x30], esi
add esi, eax
mov eax, 0x66666667
imul ebx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x2c], esi
mov dword [edi + 0x90], esi
mov esi, ebp
sub esi, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x7c]
lea ebx, [eax + edx]
mov eax, 0x88888889
imul ecx
mov eax, dword [esp + 0x84]
add edx, ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
mov dword [edi + 0x9c], eax
sub eax, ebx
mov dword [esp + 0x88], ebp
mov ebp, dword [esp + 0x2c]
mov dword [edi + 0x94], esi
sub esi, ebp
mov dword [edi + 0xa4], eax
mov eax, dword [edi + 0x50]
cmp eax, 0xa
mov dword [edi + 0x98], ebx
mov dword [edi + 0xa0], esi
mov edx, dword [eax*4 + 0x548a90]
mov dword [esp + 0x20], edx
ja case.0x45297d.6
jmp dword [eax*4 + 0x453288]
mov dword [esp + 0x14], 0x28
jmp case.0x45297d.6
mov dword [esp + 0x14], 0x3c
jmp case.0x45297d.6
mov dword [esp + 0x14], 0x46
jmp case.0x45297d.6
mov dword [esp + 0x14], 0x2d
jmp case.0x45297d.6
mov dword [esp + 0x14], 0x32
mov eax, dword [edi + 0x6c]
mov ecx, dword [eax + 0x4e8]
xor ebp, ebp
cmp ecx, ebp
jne 0x4529e8
mov eax, dword [edi + 0x54]
cmp eax, 0x14
jge 0x4529d5
mov dword [esp + 0x28], 2
jmp 0x4529e8
xor ecx, ecx
cmp eax, 0x24
setge cl
lea ecx, [ecx*4 + 4]
mov dword [esp + 0x28], ecx
mov esi, dword [esp + 0x10c]
mov edx, dword [esi]
push 0x11
mov ecx, esi
call dword [edx + 0x24]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], 0x516130
mov ebx, dword [0x5061f8]
push 0xffffff
mov dword [esp + 0x108], ebp
call ebx
push eax
lea ecx, [esp + 0x5c]
call fcn.004dd139
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], 0x516130
mov ebp, dword [0x506930]
push 0xf
mov byte [esp + 0x108], 1
call ebp
push eax
call ebx
push eax
lea ecx, [esp + 0x4c]
call fcn.004dd139
mov eax, dword [esi + 4]
push 0xf
mov dword [esp + 0x30], eax
call ebp
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call dword [0x506200]
push 0xf
call ebp
push eax
push 1
push 0
lea ecx, [esp + 0x74]
call fcn.004dd5ff
mov edx, dword [esp + 0x6c]
mov eax, dword [esi + 4]
mov ebp, dword [0x5061ec]
push edx
push eax
call ebp
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 4]
push ecx
push eax
call ebp
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov dword [esp + 0x28], eax
mov eax, dword [esi + 4]
push ecx
push eax
call dword [0x5061e8]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 4]
push edx
push eax
call ebp
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 4]
push ecx
push eax
call ebp
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0x516130
mov byte [esp + 0x104], 3
push 0xffffff
call ebx
push eax
lea ecx, [esp + 0x3c]
call fcn.004dd139
push 0xffffff
push 1
push 0
lea ecx, [esp + 0x7c]
call fcn.004dd5ff
mov edx, dword [esp + 0x74]
mov eax, dword [esi + 4]
push edx
push eax
mov byte [esp + 0x10c], 4
call ebp
mov ecx, dword [esp + 0x3c]
mov ebx, eax
mov eax, dword [esi + 4]
push ecx
push eax
call ebp
mov edx, dword [edi + 0x9c]
mov ecx, dword [edi + 0x94]
push edx
mov edx, dword [edi + 0x98]
push ecx
mov ecx, dword [edi + 0x90]
push edx
mov dword [esp + 0x28], eax
mov eax, dword [esi + 4]
push ecx
push eax
call dword [0x5061e8]
mov eax, dword [esi + 4]
push ebx
push eax
call ebp
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 4]
push edx
push eax
call ebp
mov eax, dword [esi + 4]
lea ecx, [esp + 0x90]
push ecx
push 2
push 0x5098a8
push eax
call dword [0x5061dc]
mov edx, dword [esp + 0x94]
push 0xe0e0e0
push 1
push 0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x38], edx
call fcn.004dd5ff
push 0xc0c0c0
push 1
push 0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x110], 5
call fcn.004dd5ff
mov eax, dword [esi + 4]
push 6
push eax
mov byte [esp + 0x10c], 6
call dword [0x5061e0]
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
jl 0x452d1d
mov dword [esp + 0x1c], ebx
mov edi, edi
mov eax, dword [edi + 0xa0]
imul eax, ebx
cdq
idiv dword [esp + 0x14]
add eax, dword [edi + 0x90]
mov dword [esp + 0x18], eax
mov eax, ebx
cdq
mov ecx, 5
idiv ecx
mov eax, dword [esi + 4]
test edx, edx
jne 0x452cbd
mov edx, dword [esp + 0x44]
push edx
push eax
call ebp
fld qword [0x507010]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x50]
fld qword [eax*8 + 0x548ac0]
fucompp
fnstsw ax
test ah, 0x44
mov eax, dword [esp + 0x1c]
cdq
jp 0x452c53
idiv dword [esp + 0x14]
push eax
lea eax, [esp + 0x9c]
push 0x507020
push eax
call fcn.004b00c6
add esp, 0xc
jmp 0x452c84
idiv dword [esp + 0x14]
sub esp, 8
lea ecx, [esp + 0xa0]
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
mov eax, dword [edi + 0x50]
fdiv qword [eax*8 + 0x548ac0]
fstp qword [esp]
push 0x509d30
push ecx
call fcn.004b00c6
add esp, 0x10
lea eax, [esp + 0x98]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x452c90
mov ecx, dword [esi + 4]
sub eax, edx
push eax
mov eax, dword [edi + 0x9c]
lea edx, [esp + 0x9c]
push edx
mov edx, dword [esp + 0x20]
add eax, 5
push eax
push edx
push ecx
call dword [0x5061e4]
jmp 0x452cc9
mov ecx, dword [esp + 0x54]
push ecx
push eax
call ebp
mov dword [esp + 0x10], eax
mov edx, dword [edi + 0x98]
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
call fcn.004dcaa7
mov edx, dword [edi + 0x9c]
mov eax, dword [esp + 0x18]
add edx, 2
push edx
push eax
mov ecx, esi
call fcn.004dc4f4
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 4]
push ecx
push eax
call ebp
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
inc ebx
add ecx, edx
cmp ebx, eax
mov dword [esp + 0x1c], ecx
jle 0x452be0
mov eax, dword [esi + 4]
push 2
push eax
call dword [0x5061e0]
mov eax, dword [edi + 0x54]
xor ebx, ebx
test eax, eax
jl 0x452e1a
mov eax, dword [edi + 0xa4]
imul eax, ebx
cdq
idiv dword [edi + 0x54]
mov ecx, dword [edi + 0x9c]
sub ecx, eax
mov eax, ebx
cdq
idiv dword [esp + 0x28]
mov eax, dword [esi + 4]
mov dword [esp + 0x18], ecx
test edx, edx
jne 0x452dc9
mov ecx, dword [esp + 0x44]
push ecx
push eax
call ebp
test ebx, ebx
mov dword [esp + 0x10], eax
je 0x452dd5
lea edx, [edi + 0x61]
push edx
push ebx
lea eax, [esp + 0xa0]
push 0x508000
push eax
call fcn.004b00c6
lea eax, [esp + 0xa8]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x452d91
mov ecx, dword [esi + 4]
sub eax, edx
push eax
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x9c]
push edx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
sub edx, eax
mov eax, dword [edi + 0x90]
push edx
sub eax, 7
push eax
push ecx
call dword [0x5061e4]
jmp 0x452dd5
mov ecx, dword [esp + 0x54]
push ecx
push eax
call ebp
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x90]
push edx
sub eax, 2
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.004dcaa7
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x94]
push edx
push eax
mov ecx, esi
call fcn.004dc4f4
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 4]
push ecx
push eax
call ebp
mov eax, dword [edi + 0x54]
inc ebx
cmp ebx, eax
jle 0x452d36
mov eax, dword [edi + 0x58]
test eax, eax
je 0x452ffd
mov ebx, dword [edi + 0x6c]
mov eax, dword [ebx + 0x1660]
cmp eax, 2
je 0x452e4d
cmp eax, 0x10
jge 0x452e4d
mov eax, dword [ebx + 0x4e8]
fild dword [edi + 0x54]
test eax, eax
jne 0x452e62
fmul qword [0x50d538]
jmp 0x452e68
mov eax, dword [ebx + 0x4e8]
fild dword [edi + 0x54]
test eax, eax
jne 0x452e62
fmul qword [0x50d530]
jmp 0x452e68
fmul qword [0x50d528]
call fcn.004afb60
push eax
push 0
add ebx, 0x1638
push ebx
call fcn.00442bb0
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
shl eax, 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
add esp, 0xc
cmp eax, 0x10
fild dword [esp + 0x1c]
mov dword [edi + 0x5c], ecx
mov dword [esp + 0x28], 4
fst qword [esp + 0x30]
fmul qword [0x509d80]
fidiv dword [esp + 0x20]
fstp qword [esp + 0x60]
jge 0x452ecc
mov dword [esp + 0x28], 2
jmp 0x452ed9
cmp eax, 8
jge 0x452ed9
mov dword [esp + 0x28], 1
mov eax, dword [esi + 4]
push 0
push eax
call dword [0x5061e0]
mov eax, dword [esp + 0x1c]
xor ebx, ebx
test eax, eax
jl 0x452ffd
jmp 0x452f00
mov edx, dword [edi + 0xa4]
fild dword [edi + 0x9c]
imul edx, ebx
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fmul qword [esp + 0x60]
fdiv qword [esp + 0x30]
fsubp st(1)
call fcn.004afb60
mov dword [esp + 0x18], eax
mov eax, ebx
cdq
idiv dword [esp + 0x28]
mov eax, dword [esi + 4]
test edx, edx
jne 0x452fa8
mov ecx, dword [esp + 0x44]
push ecx
push eax
call ebp
test ebx, ebx
mov dword [esp + 0x10], eax
je 0x452fb4
lea edx, [edi + 0x61]
push edx
push ebx
lea eax, [esp + 0xa0]
push 0x507020
push eax
call fcn.004b00c6
lea eax, [esp + 0xa8]
add esp, 0x10
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x452f70
mov ecx, dword [esi + 4]
sub eax, edx
push eax
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x9c]
push edx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
sub edx, eax
mov eax, dword [edi + 0x94]
push edx
add eax, 4
push eax
push ecx
call dword [0x5061e4]
jmp 0x452fb4
mov ecx, dword [esp + 0x54]
push ecx
push eax
call ebp
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x94]
push edx
push eax
lea ecx, [esp + 0x90]
push ecx
mov ecx, esi
call fcn.004dcaa7
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x94]
push edx
add eax, 2
push eax
mov ecx, esi
call fcn.004dc4f4
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 4]
push ecx
push eax
call ebp
mov eax, dword [esp + 0x1c]
inc ebx
cmp ebx, eax
jle 0x452f00
mov eax, dword [edi + 0x80]
test eax, eax
mov dword [edi + 0x8c], eax
mov dword [edi + 0x84], 0
je 0x453083
jmp 0x453020
mov eax, dword [edi + 0x8c]
test byte [eax + 0x162c], 1
je 0x45306b
mov ecx, dword [eax + 0x3740]
test ecx, ecx
je 0x45306b
mov ecx, dword [eax + 0x1670]
xor ebx, ebx
test ecx, ecx
jle 0x453065
mov edx, dword [edi + 0x84]
push edx
push ebx
mov ecx, edi
call fcn.00452520
mov eax, dword [edi + 0x8c]
mov ecx, dword [eax + 0x1670]
inc ebx
cmp ebx, ecx
jl 0x453045
inc dword [edi + 0x84]
mov ecx, dword [edi + 0x8c]
mov edx, dword [ecx + 0x3744]
mov eax, edx
test eax, eax
mov dword [edi + 0x8c], edx
jne 0x453020
mov eax, dword [edi + 0x74]
test eax, eax
jle 0x453128
push 0xff
push 1
push 0
lea ecx, [esp + 0x2c]
call fcn.004dd5ff
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 4]
push ecx
push eax
mov byte [esp + 0x10c], 7
call ebp
mov edx, dword [edi + 0x50]
mov ecx, dword [edx*4 + 0x548b18]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x74]
imul dword [edi + 0xa0]
push 0
push ecx
push edx
push eax
call fcn.004b0210
mov ecx, dword [edi + 0x90]
mov edx, dword [edi + 0x98]
mov ebx, eax
add ebx, ecx
push edx
push ebx
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.004dcaa7
mov ecx, dword [edi + 0x9c]
push ecx
push ebx
mov ecx, esi
call fcn.004dc4f4
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 4]
push edx
push eax
call ebp
mov ebx, 0x515f20
lea ecx, [esp + 0x20]
mov byte [esp + 0x104], 6
mov dword [esp + 0x20], ebx
call fcn.004dd190
jmp 0x45312d
mov ebx, 0x515f20
mov eax, dword [edi + 0x78]
test eax, eax
jle 0x4531d4
push 0xff00ff
push 1
push 0
lea ecx, [esp + 0x2c]
call fcn.004dd5ff
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 4]
push ecx
push eax
mov byte [esp + 0x10c], 8
call ebp
mov edx, dword [edi + 0x50]
mov ecx, dword [edx*4 + 0x548b18]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0xa0]
imul dword [edi + 0x78]
push 0
push ecx
push edx
push eax
call fcn.004b0210
mov ecx, dword [edi + 0x90]
mov edx, dword [edi + 0x98]
mov ebx, eax
add ebx, ecx
push edx
push ebx
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.004dcaa7
mov ecx, dword [edi + 0x9c]
push ecx
push ebx
mov ecx, esi
call fcn.004dc4f4
mov edx, dword [esp + 0x10]
mov esi, dword [esi + 4]
push edx
push esi
call ebp
lea ecx, [esp + 0x20]
mov byte [esp + 0x104], 6
mov dword [esp + 0x20], 0x515f20
call fcn.004dd190
mov ebx, 0x515f20
lea ecx, [esp + 0x40]
mov byte [esp + 0x104], 5
mov dword [esp + 0x40], ebx
call fcn.004dd190
lea ecx, [esp + 0x50]
mov byte [esp + 0x104], 4
mov dword [esp + 0x50], ebx
call fcn.004dd190
lea ecx, [esp + 0x70]
mov byte [esp + 0x104], 3
mov dword [esp + 0x70], ebx
call fcn.004dd190
lea ecx, [esp + 0x38]
mov byte [esp + 0x104], 2
mov dword [esp + 0x38], ebx
call fcn.004dd190
lea ecx, [esp + 0x68]
mov byte [esp + 0x104], 1
mov dword [esp + 0x68], ebx
call fcn.004dd190
lea ecx, [esp + 0x48]
mov byte [esp + 0x104], 0
mov dword [esp + 0x48], ebx
call fcn.004dd190
lea ecx, [esp + 0x58]
mov dword [esp + 0x104], 0xffffffff
mov dword [esp + 0x58], ebx
call fcn.004dd190
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xf8
ret 4