Function at 0x451fa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d1900
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebp
mov ebp, ecx
mov al, byte [ebp + 0x14c]
test al, al
je 0x452ed6
mov eax, dword [ebp + 0x180]
push ebx
xor ebx, ebx
test eax, eax
jge 0x451fe1
push ebx
call fcn.004354d0
add esp, 4
mov ebx, eax
mov edx, dword [ebp + 0x17c]
test edx, edx
push edi
jge 0x452027
mov ecx, edx
neg ecx
shl ecx, 2
lea edi, [ebx + edx*4]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0x17c]
test eax, eax
jge 0x452027
lea ecx, [ebx + eax*4]
neg eax
test ecx, ecx
je 0x452021
mov edx, dword [0x51aa30]
mov dword [ecx], edx
add ecx, 4
dec eax
jne 0x452015
mov eax, dword [ebp + 0x17c]
test eax, eax
push esi
jle 0x45206e
xor edi, edi
mov eax, dword [ebp + 0x178]
lea esi, [eax + edi*4]
mov eax, dword [esi]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x452063
mov edx, ecx
dec edx
mov dword [eax], edx
mov eax, dword [esi]
cmp dword [eax], 0
jg 0x45205b
push eax
call fcn.004352c0
add esp, 4
mov ecx, dword [0x51aa30]
mov dword [esi], ecx
mov eax, dword [ebp + 0x17c]
inc edi
cmp edi, eax
jl 0x452034
mov eax, dword [ebp + 0x178]
test eax, eax
je 0x452081
push eax
call fcn.004352c0
add esp, 4
xor edi, edi
mov dword [ebp + 0x178], ebx
mov dword [ebp + 0x180], 0
mov dword [ebp + 0x17c], edi
mov edx, dword [0x51aa30]
mov dword [esp + 0x18], edx
mov al, byte [esp + 0x74]
test al, al
mov dword [esp + 0x6c], edi
je 0x4520be
mov ecx, dword [ebp + 0x44]
lea eax, [esp + 0x18]
push eax
call fcn.0043ae00
jmp 0x452115
mov ecx, ebp
call fcn.0044afd0
mov esi, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
cmp ecx, 1
jne 0x4520e3
mov esi, dword [esi]
add esi, 4
lea edi, [eax + 4]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
jmp 0x452115
cmp ecx, 0xffffffff
je 0x452105
dec dword [eax]
mov eax, dword [esp + 0x18]
cmp dword [eax], edi
jg 0x4520fb
push eax
call fcn.004352c0
add esp, 4
mov ecx, dword [0x51aa30]
mov dword [esp + 0x18], ecx
mov esi, dword [esi]
mov dword [esp + 0x18], esi
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x452115
inc eax
mov dword [esi], eax
mov ecx, dword [ebp + 0x16c]
mov eax, dword [ebp + 0x164]
mov edx, dword [ebp + 0x168]
mov dword [esp + 0x40], ecx
fld dword [esp + 0x40]
mov dword [esp + 0x38], eax
fadd dword [esp + 0x38]
mov eax, dword [ebp + 0x154]
test eax, eax
mov dword [esp + 0x24], edx
fadd dword [esp + 0x24]
fstp dword [esp + 0x3c]
je 0x452168
add eax, 0xc4
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
jmp 0x4521a0
fld dword [ebp + 0xcc]
mov eax, dword [ebp + 0xc4]
fsub dword [esp + 0x3c]
mov ecx, eax
fld dword [ebp + 0xc8]
mov dword [esp + 0x58], eax
fstp dword [esp + 0x5c]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x4c], ecx
fstp dword [esp + 0x60]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
fld dword [ebp + 0xcc]
mov ecx, dword [ebp + 0x48]
fsub dword [esp + 0x54]
fld dword [ebp + 0xc8]
fsub dword [esp + 0x50]
fld dword [ebp + 0xc4]
fsub dword [esp + 0x4c]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp st(3)
fstp st(0)
fstp st(0)
fsqrt
fstp dword [esp + 0x74]
fld dword [0x4d6344]
fld dword [ecx + 0x34]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4521f7
fld dword [0x4d634c]
jmp 0x452204
fld dword [esp + 0x74]
fsub dword [ecx + 0x38]
fsub dword [ecx + 0x3c]
fdiv dword [ecx + 0x34]
sub esp, 8
fstp qword [esp]
call fcn.0048a3a0
add esp, 8
call fcn.00488808
test eax, eax
mov dword [esp + 0x34], eax
jg 0x452225
xor eax, eax
mov dword [esp + 0x34], eax
test eax, eax
lea ecx, [eax - 1]
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
fmul dword [esp + 0x38]
fadd dword [esp + 0x3c]
fdivr dword [0x4d634c]
fld dword [esp + 0x74]
fmul dword [esp + 0x24]
fmul st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x74]
fmul dword [esp + 0x40]
fmul st(1)
fstp dword [esp + 0x30]
fstp st(0)
jle 0x452276
fld dword [esp + 0x74]
fsub dword [esp + 0x28]
fsub dword [esp + 0x30]
fidiv dword [esp + 0x34]
fstp dword [esp + 0x2c]
jmp 0x45227e
mov dword [esp + 0x2c], 0
mov ecx, dword [0x51aa30]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x10], ecx
fld dword [0x4d634c]
fdiv dword [0x505a74]
mov ecx, dword [ebp + 0x15c]
test ecx, ecx
mov byte [esp + 0x6c], 3
mov dword [esp + 0x20], 0
fmul dword [0x4d7074]
fstp dword [esp + 0x3c]
je 0x45254e
mov ebx, dword [ebp + 0x17c]
inc ebx
jne 0x4522d4
mov dword [esp + 0x1c], 0
jmp 0x452331
mov eax, dword [ebp + 0x180]
cmp eax, ebx
jge 0x45231f
mov ecx, dword [ebp + 0x17c]
lea edx, [ecx + 1]
cmp ebx, edx
jne 0x45230d
test eax, eax
jne 0x4522fb
mov eax, dword [ebp + 0x184]
mov dword [esp + 0x1c], eax
jmp 0x452331
cmp ecx, eax
jne 0x452331
mov ecx, dword [ebp + 0x188]
add ecx, eax
mov dword [esp + 0x1c], ecx
jmp 0x452331
mov ecx, dword [ebp + 0x188]
add eax, ecx
cmp ebx, eax
jg 0x45232d
mov dword [esp + 0x1c], eax
jmp 0x452331
mov edx, dword [ebp + 0x17c]
cmp ebx, edx
jge 0x45245b
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x180]
xor esi, esi
cmp eax, ecx
mov dword [esp + 0x20], esi
jle 0x452381
lea edx, [eax*4]
push edx
call fcn.004354d0
add esp, 4
test ebx, ebx
mov esi, eax
mov dword [esp + 0x20], esi
jle 0x452381
mov eax, dword [ebp + 0x17c]
test eax, eax
jle 0x452381
cmp ebx, eax
jge 0x45236f
mov eax, ebx
mov esi, dword [ebp + 0x178]
mov edi, dword [esp + 0x20]
mov ecx, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x20]
mov edx, dword [ebp + 0x17c]
cmp ebx, edx
jle 0x4523c7
mov ecx, ebx
sub ecx, edx
shl ecx, 2
lea edi, [esi + edx*4]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0x17c]
cmp eax, ebx
jge 0x4523c7
mov ecx, ebx
lea edx, [esi + eax*4]
sub ecx, eax
test edx, edx
je 0x4523c1
mov eax, dword [0x51aa30]
mov dword [edx], eax
add edx, 4
dec ecx
jne 0x4523b6
cmp ebx, dword [ebp + 0x17c]
jge 0x45240c
mov esi, ebx
mov ecx, dword [ebp + 0x178]
mov eax, dword [ecx + esi*4]
lea edi, [ecx + esi*4]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x452401
mov edx, ecx
dec edx
mov dword [eax], edx
mov eax, dword [edi]
cmp dword [eax], 0
jg 0x4523f9
push eax
call fcn.004352c0
add esp, 4
mov edx, dword [0x51aa30]
mov dword [edi], edx
mov eax, dword [ebp + 0x17c]
inc esi
cmp esi, eax
jl 0x4523d1
mov eax, dword [ebp + 0x178]
test eax, eax
je 0x452445
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [ebp + 0x180]
jle 0x45249f
push eax
call fcn.004352c0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add esp, 4
mov dword [ebp + 0x178], edx
mov dword [ebp + 0x180], eax
jmp 0x45249f
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [ebp + 0x178], ecx
mov dword [ebp + 0x180], edx
jmp 0x45249f
mov esi, dword [ebp + 0x178]
mov ecx, ebx
sub ecx, edx
shl ecx, 2
lea edi, [esi + edx*4]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0x17c]
cmp eax, ebx
jge 0x45249f
mov ecx, dword [ebp + 0x178]
lea ecx, [ecx + eax*4]
test ecx, ecx
je 0x45249a
mov edx, dword [0x51aa30]
mov dword [ecx], edx
inc eax
cmp eax, ebx
jl 0x452485
fld dword [esp + 0x28]
mov eax, dword [ebp + 0x178]
fchs
push ecx
mov ecx, dword [esp + 0x40]
fstp dword [esp + 0x24]
fld dword [esp + 0x2c]
mov dword [ebp + 0x17c], ebx
fmul dword [0x4d6578]
lea ebx, [eax + ebx*4 - 4]
fadd dword [esp + 0x24]
fstp dword [esp]
push ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0041d610
push eax
call fcn.00422407
fld dword [esp + 0x28]
fdiv dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x78]
fstp dword [esp]
push 0x3f800000
push 0x3f800000
call fcn.0041d610
push eax
call fcn.00422377
lea ecx, [esp + 0x14]
call fcn.0041d610
push eax
lea ecx, [esp + 0x78]
call fcn.0041d610
push eax
lea ecx, [esp + 0x18]
call fcn.0041d610
push eax
call fcn.00421aaa
lea ecx, [esp + 0x18]
call fcn.0041d610
push eax
lea ecx, [esp + 0x14]
call fcn.0041d610
push eax
mov ecx, ebx
call fcn.0041d610
push eax
call fcn.00421aaa
mov eax, dword [esp + 0x34]
test eax, eax
jle 0x4529c9
fld dword [esp + 0x2c]
mov dword [esp + 0x34], eax
fmul dword [0x4d6578]
fstp dword [esp + 0x44]
fld dword [esp + 0x2c]
fdiv dword [esp + 0x38]
fstp dword [esp + 0x48]
mov ebx, dword [ebp + 0x17c]
inc ebx
jne 0x452585
xor ecx, ecx
mov dword [esp + 0x1c], ecx
jmp 0x4525ec
mov eax, dword [ebp + 0x180]
cmp eax, ebx
jge 0x4525d2
mov ecx, dword [ebp + 0x17c]
lea edx, [ecx + 1]
cmp ebx, edx
jne 0x4525be
test eax, eax
jne 0x4525ac
mov ecx, dword [ebp + 0x184]
mov dword [esp + 0x1c], ecx
jmp 0x4525ec
cmp ecx, eax
jne 0x4525e8
mov ecx, dword [ebp + 0x188]
add ecx, eax
mov dword [esp + 0x1c], ecx
jmp 0x4525ec
mov ecx, dword [ebp + 0x188]
add ecx, eax
cmp ebx, ecx
jle 0x4525e2
mov ecx, ebx
mov dword [esp + 0x1c], ecx
jmp 0x4525ec
mov edx, dword [ebp + 0x17c]
cmp ebx, edx
mov ecx, ebx
jge 0x45271a
mov dword [esp + 0x1c], ecx
jmp 0x4525ec
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x180]
xor esi, esi
cmp ecx, eax
mov dword [esp + 0x24], esi
jle 0x452638
lea edx, [ecx*4]
push edx
call fcn.004354d0
add esp, 4
test ebx, ebx
mov esi, eax
mov dword [esp + 0x24], esi
jle 0x452638
mov eax, dword [ebp + 0x17c]
test eax, eax
jle 0x452638
cmp ebx, eax
jge 0x452626
mov eax, ebx
mov esi, dword [ebp + 0x178]
mov edi, dword [esp + 0x24]
mov ecx, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x24]
mov edx, dword [ebp + 0x17c]
cmp ebx, edx
jle 0x452681
mov ecx, ebx
sub ecx, edx
shl ecx, 2
lea edi, [esi + edx*4]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0x17c]
cmp eax, ebx
jge 0x452681
mov ecx, ebx
lea edx, [esi + eax*4]
sub ecx, eax
lea ecx, [ecx]
test edx, edx
je 0x45267b
mov eax, dword [0x51aa30]
mov dword [edx], eax
add edx, 4
dec ecx
jne 0x452670
cmp ebx, dword [ebp + 0x17c]
jge 0x4526cb
mov esi, ebx
jmp 0x452690
mov ecx, dword [ebp + 0x178]
mov eax, dword [ecx + esi*4]
lea edi, [ecx + esi*4]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4526c0
mov edx, ecx
dec edx
mov dword [eax], edx
mov eax, dword [edi]
cmp dword [eax], 0
jg 0x4526b8
push eax
call fcn.004352c0
add esp, 4
mov edx, dword [0x51aa30]
mov dword [edi], edx
mov eax, dword [ebp + 0x17c]
inc esi
cmp esi, eax
jl 0x452690
mov eax, dword [ebp + 0x178]
test eax, eax
je 0x452704
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [ebp + 0x180]
jle 0x45275c
push eax
call fcn.004352c0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
add esp, 4
mov dword [ebp + 0x178], edx
mov dword [ebp + 0x180], eax
jmp 0x45275c
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov dword [ebp + 0x178], ecx
mov dword [ebp + 0x180], edx
jmp 0x45275c
mov esi, dword [ebp + 0x178]
sub ecx, edx
shl ecx, 2
lea edi, [esi + edx*4]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0x17c]
cmp eax, ebx
jge 0x45275c
mov ecx, dword [ebp + 0x178]
lea ecx, [ecx + eax*4]
test ecx, ecx
je 0x452757
mov edx, dword [0x51aa30]
mov dword [ecx], edx
inc eax
cmp eax, ebx
jl 0x452742
mov eax, dword [ebp + 0x178]
fld dword [esp + 0x20]
mov esi, dword [esp + 0x14]
fsub dword [esp + 0x2c]
lea ecx, [eax + ebx*4 - 4]
mov dword [ebp + 0x17c], ebx
mov eax, dword [esi]
fstp dword [esp + 0x20]
cmp eax, 1
mov dword [esp + 0x38], ecx
je 0x4527b6
cmp eax, 0xffffffff
je 0x45278f
dec eax
mov dword [esi], eax
mov esi, dword [esp + 0x14]
push 0x44
call fcn.004354d0
add esp, 4
add esi, 4
lea edi, [eax + 4]
mov ecx, 0x10
mov dword [eax], 1
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x14], eax
mov esi, eax
fld dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
fadd dword [esp + 0x20]
push ecx
lea eax, [esi + 4]
mov dword [esp + 0x28], eax
fstp dword [esp]
push edx
push 0
push eax
call fcn.00422407
mov edi, dword [esp + 0x74]
mov eax, dword [edi]
cmp eax, 1
je 0x452814
cmp eax, 0xffffffff
je 0x4527e9
dec eax
mov dword [edi], eax
mov esi, dword [esp + 0x74]
push 0x44
call fcn.004354d0
add esp, 4
add esi, 4
lea edi, [eax + 4]
mov ecx, 0x10
mov dword [eax], 1
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x74], eax
mov edi, eax
mov eax, dword [esp + 0x48]
push eax
push 0x3f800000
push 0x3f800000
lea ebx, [edi + 4]
push ebx
call fcn.00422377
mov eax, dword [esi]
cmp eax, 1
je 0x45286a
cmp eax, 0xffffffff
je 0x45283b
dec eax
mov dword [esi], eax
mov esi, dword [esp + 0x14]
push 0x44
call fcn.004354d0
mov dword [eax], 1
mov dword [esp + 0x18], eax
add eax, 4
add esp, 4
add esi, 4
mov ecx, 0x10
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x74]
mov dword [esp + 0x24], eax
mov eax, dword [edi]
cmp eax, 1
je 0x4528a0
cmp eax, 0xffffffff
je 0x452879
dec eax
mov dword [edi], eax
mov esi, dword [esp + 0x74]
push 0x44
call fcn.004354d0
lea ebx, [eax + 4]
add esp, 4
add esi, 4
mov ecx, 0x10
mov edi, ebx
mov dword [eax], 1
mov dword [esp + 0x74], eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
cmp eax, 1
je 0x4528da
cmp eax, 0xffffffff
je 0x4528b3
dec eax
mov dword [esi], eax
mov esi, dword [esp + 0x10]
push 0x44
call fcn.004354d0
add esp, 4
add esi, 4
lea edi, [eax + 4]
mov ecx, 0x10
mov dword [eax], 1
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x10], eax
mov esi, eax
mov ecx, dword [esp + 0x24]
push ecx
lea eax, [esi + 4]
push ebx
push eax
mov dword [esp + 0x34], eax
call fcn.00421aaa
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
cmp eax, 1
je 0x45292d
cmp eax, 0xffffffff
je 0x452900
dec eax
mov dword [ecx], eax
mov esi, dword [esp + 0x18]
push 0x44
call fcn.004354d0
mov dword [esp + 0x1c], eax
mov dword [eax], 1
mov edi, dword [esp + 0x1c]
add esi, 4
add esp, 4
add edi, 4
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
cmp eax, 1
je 0x452967
cmp eax, 0xffffffff
je 0x45293c
dec eax
mov dword [esi], eax
mov esi, dword [esp + 0x10]
push 0x44
call fcn.004354d0
mov dword [eax], 1
mov dword [esp + 0x14], eax
add eax, 4
add esp, 4
add esi, 4
mov ecx, 0x10
mov edi, eax
mov dword [esp + 0x28], eax
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x38]
mov ecx, dword [edx]
mov eax, dword [ecx]
cmp eax, 1
je 0x4529a3
cmp eax, 0xffffffff
je 0x45297c
dec eax
mov dword [ecx], eax
mov edi, dword [esp + 0x38]
mov esi, dword [edi]
push 0x44
call fcn.004354d0
mov dword [edi], eax
mov dword [eax], 1
mov edi, dword [edi]
add esi, 4
add esp, 4
add edi, 4
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
add eax, 4
push eax
mov eax, dword [edx]
push ecx
add eax, 4
push eax
call fcn.00421aaa
dec dword [esp + 0x34]
jne 0x452574
mov eax, dword [ebp + 0x160]
xor esi, esi
cmp eax, esi
je 0x452e36
mov ebx, dword [ebp + 0x17c]
inc ebx
jne 0x4529e8
mov dword [esp + 0x1c], esi
jmp 0x452a45
mov eax, dword [ebp + 0x180]
cmp eax, ebx
jge 0x452a33
mov ecx, dword [ebp + 0x17c]
lea edx, [ecx + 1]
cmp ebx, edx
jne 0x452a21
cmp eax, esi
jne 0x452a0f
mov eax, dword [ebp + 0x184]
mov dword [esp + 0x1c], eax
jmp 0x452a45
cmp ecx, eax
jne 0x452a45
mov ecx, dword [ebp + 0x188]
add ecx, eax
mov dword [esp + 0x1c], ecx
jmp 0x452a45
mov ecx, dword [ebp + 0x188]
add eax, ecx
cmp ebx, eax
jg 0x452a41
mov dword [esp + 0x1c], eax
jmp 0x452a45
mov edx, dword [ebp + 0x17c]
cmp ebx, edx
jge 0x452b5e
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x1c]
cmp eax, dword [ebp + 0x180]
mov dword [esp + 0x2c], esi
jle 0x452a8b
lea edx, [eax*4]
push edx
call fcn.004354d0
add esp, 4
cmp ebx, esi
mov dword [esp + 0x2c], eax
jle 0x452a87
mov ecx, dword [ebp + 0x17c]
cmp ecx, esi
jle 0x452a87
cmp ebx, ecx
jge 0x452a7d
mov ecx, ebx
mov esi, dword [ebp + 0x178]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x2c]
mov edx, dword [ebp + 0x17c]
cmp ebx, edx
jle 0x452ad1
mov ecx, ebx
sub ecx, edx
shl ecx, 2
lea edi, [esi + edx*4]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0x17c]
cmp eax, ebx
jge 0x452ad1
mov ecx, ebx
lea edx, [esi + eax*4]
sub ecx, eax
test edx, edx
je 0x452acb
mov eax, dword [0x51aa30]
mov dword [edx], eax
add edx, 4
dec ecx
jne 0x452ac0
cmp ebx, dword [ebp + 0x17c]
jge 0x452b1f
mov esi, ebx
jmp 0x452ae0
mov ecx, dword [ebp + 0x178]
mov eax, dword [ecx + esi*4]
lea edi, [ecx + esi*4]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x452b10
mov edx, ecx
dec edx
mov dword [eax], edx
mov eax, dword [edi]
cmp dword [eax], 0
jg 0x452b08
push eax
call fcn.004352c0
add esp, 4
mov edx, dword [0x51aa30]
mov dword [edi], edx
mov eax, dword [ebp + 0x17c]
inc esi
cmp esi, eax
jl 0x452ae0
mov esi, dword [esp + 0x2c]
mov eax, dword [ebp + 0x178]
test eax, eax
je 0x452b4c
mov edi, dword [esp + 0x1c]
cmp edi, dword [ebp + 0x180]
jle 0x452baa
push eax
call fcn.004352c0
add esp, 4
mov dword [ebp + 0x180], edi
mov dword [ebp + 0x178], esi
jmp 0x452baa
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x180], eax
mov dword [ebp + 0x178], esi
jmp 0x452baa
mov esi, dword [ebp + 0x178]
mov ecx, ebx
sub ecx, edx
shl ecx, 2
lea edi, [esi + edx*4]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0x17c]
cmp eax, ebx
jge 0x452baa
jmp 0x452b90
mov ecx, dword [ebp + 0x178]
lea ecx, [ecx + eax*4]
test ecx, ecx
je 0x452ba5
mov edx, dword [0x51aa30]
mov dword [ecx], edx
inc eax
cmp eax, ebx
jl 0x452b90
mov eax, dword [ebp + 0x178]
fld dword [esp + 0x20]
mov esi, dword [esp + 0x14]
fsub dword [esp + 0x30]
lea ecx, [eax + ebx*4 - 4]
mov dword [ebp + 0x17c], ebx
mov eax, dword [esi]
fstp dword [esp + 0x20]
cmp eax, 1
mov dword [esp + 0x38], ecx
je 0x452c04
cmp eax, 0xffffffff
je 0x452bdd
dec eax
mov dword [esi], eax
mov esi, dword [esp + 0x14]
push 0x44
call fcn.004354d0
add esp, 4
add esi, 4
lea edi, [eax + 4]
mov ecx, 0x10
mov dword [eax], 1
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x14], eax
mov esi, eax
fld dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
fmul dword [0x4d6578]
push ecx
lea eax, [esi + 4]
mov dword [esp + 0x28], eax
fadd dword [esp + 0x24]
fstp dword [esp]
push edx
push 0
push eax
call fcn.00422407
mov edi, dword [esp + 0x74]
mov eax, dword [edi]
cmp eax, 1
je 0x452c68
cmp eax, 0xffffffff
je 0x452c3d
dec eax
mov dword [edi], eax
mov esi, dword [esp + 0x74]
push 0x44
call fcn.004354d0
add esp, 4
add esi, 4
lea edi, [eax + 4]
mov ecx, 0x10
mov dword [eax], 1
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x74], eax
mov edi, eax
fld dword [esp + 0x30]
push ecx
fdiv dword [esp + 0x44]
lea ebx, [edi + 4]
fstp dword [esp]
push 0x3f800000
push 0x3f800000
push ebx
call fcn.00422377
mov eax, dword [esi]
cmp eax, 1
je 0x452cc5
cmp eax, 0xffffffff
je 0x452c96
dec eax
mov dword [esi], eax
mov esi, dword [esp + 0x14]
push 0x44
call fcn.004354d0
mov dword [eax], 1
mov dword [esp + 0x18], eax
add eax, 4
add esp, 4
add esi, 4
mov ecx, 0x10
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x74]
mov dword [esp + 0x24], eax
mov eax, dword [edi]
cmp eax, 1
je 0x452cfd
cmp eax, 0xffffffff
je 0x452cd4
dec eax
mov dword [edi], eax
mov esi, dword [esp + 0x74]
push 0x44
call fcn.004354d0
lea ebx, [eax + 4]
add esp, 4
add esi, 4
mov ecx, 0x10
mov edi, ebx
mov dword [eax], 1
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x74], eax
mov edi, eax
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
cmp eax, 1
je 0x452d3b
cmp eax, 0xffffffff
je 0x452d10
dec eax
mov dword [esi], eax
mov esi, dword [esp + 0x10]
push 0x44
call fcn.004354d0
add esp, 4
add esi, 4
lea edi, [eax + 4]
mov ecx, 0x10
mov dword [eax], 1
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x74]
mov dword [esp + 0x10], eax
mov esi, eax
mov ecx, dword [esp + 0x24]
push ecx
lea eax, [esi + 4]
push ebx
push eax
mov dword [esp + 0x34], eax
call fcn.00421aaa
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
cmp eax, 1
je 0x452d92
cmp eax, 0xffffffff
je 0x452d61
dec eax
mov dword [ecx], eax
mov esi, dword [esp + 0x18]
push 0x44
call fcn.004354d0
mov dword [esp + 0x1c], eax
mov dword [eax], 1
mov edi, dword [esp + 0x1c]
add esi, 4
add esp, 4
add edi, 4
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
cmp eax, 1
je 0x452dd4
cmp eax, 0xffffffff
je 0x452da1
dec eax
mov dword [esi], eax
mov esi, dword [esp + 0x10]
push 0x44
call fcn.004354d0
mov dword [esp + 0x14], eax
mov dword [eax], 1
add eax, 4
add esp, 4
add esi, 4
mov ecx, 0x10
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x38]
mov ecx, dword [edx]
mov eax, dword [ecx]
cmp eax, 1
je 0x452e18
cmp eax, 0xffffffff
je 0x452de9
dec eax
mov dword [ecx], eax
mov edi, dword [esp + 0x38]
mov esi, dword [edi]
push 0x44
call fcn.004354d0
mov dword [edi], eax
mov dword [eax], 1
mov edi, dword [edi]
add esi, 4
add esp, 4
add edi, 4
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
add eax, 4
push eax
mov eax, dword [edx]
push ecx
add eax, 4
push eax
call fcn.00421aaa
jmp 0x452e3e
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov byte [ebp + 0x170], 0
mov eax, dword [esi]
cmp eax, 0xffffffff
mov byte [esp + 0x6c], 2
je 0x452e69
mov ecx, eax
dec ecx
mov eax, ecx
test eax, eax
mov dword [esi], ecx
jg 0x452e69
push esi
call fcn.004352c0
add esp, 4
mov eax, dword [edi]
cmp eax, 0xffffffff
mov byte [esp + 0x6c], 1
pop esi
je 0x452e8a
mov ecx, eax
dec ecx
mov eax, ecx
test eax, eax
mov dword [edi], ecx
jg 0x452e8a
push edi
call fcn.004352c0
add esp, 4
mov eax, dword [ebx]
cmp eax, 0xffffffff
mov byte [esp + 0x68], 0
pop edi
je 0x452eab
mov ecx, eax
dec ecx
mov eax, ecx
test eax, eax
mov dword [ebx], ecx
jg 0x452eab
push ebx
call fcn.004352c0
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
mov dword [esp + 0x64], 0xffffffff
pop ebx
je 0x452ed6
mov edx, ecx
dec edx
mov dword [eax], edx
mov eax, dword [esp + 0xc]
cmp dword [eax], 0
jg 0x452ed6
push eax
call fcn.004352c0
add esp, 4
mov ecx, dword [esp + 0x58]
pop ebp
mov dword fs:[0], ecx
add esp, 0x60
ret 4