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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x7724a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
push ebx
push ebp
push esi
push edi
mov ebp, ecx
fldz
push 0x2c
fst dword [esp + 0x98]
xor esi, esi
fst dword [esp + 0x9c]
lea eax, [esp + 0xf8]
fst dword [esp + 0xa0]
push esi
fst dword [esp + 0xa8]
push eax
fst dword [esp + 0xb0]
fst dword [esp + 0xb4]
fst dword [esp + 0x104]
fst dword [esp + 0x108]
fst dword [esp + 0x10c]
fst dword [esp + 0x110]
fst dword [esp + 0x114]
fstp dword [esp + 0x118]
call fcn.0074d440
fldz
mov eax, dword [ebp + 0x3e4]
fstp dword [esp + 0x12c]
fld dword [0x7c4904]
add esp, 0xc
cmp eax, esi
fst dword [esp + 0x70]
fst dword [esp + 0x74]
fstp dword [esp + 0x78]
fld dword [0x7bb45c]
fst dword [esp + 0x7c]
fst dword [esp + 0x80]
fstp dword [esp + 0x84]
je 0x452909
cmp byte [eax], 0
je 0x452909
cmp byte [ebp + 0x460], 0
jne 0x4518a4
cmp byte [ebp + 0x461], 0
jne 0x4518a4
cmp byte [ebp + 0x462], 0
jne 0x4518a4
cmp byte [ebp + 0x463], 0
jne 0x4518a4
push str.CGrassObject___Could_not_place_Grass__All_alloweds_are_off_
push esi
call fcn.00677e10
add esp, 8
mov ecx, dword [esp + 0x1b4]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x2d0], esi
je 0x4518b3
mov ecx, ebp
call fcn.00451450
cmp byte [ebp + 0x41d], 0
jne 0x4518c9
push 0x7c4bb8
call fcn.00421880
add esp, 4
mov eax, dword [ebp + 0x3fc]
mov ecx, dword [ebp + 0x400]
cmp eax, ecx
ja 0x4518db
mov eax, ecx
lea ecx, [eax + eax]
test ecx, ecx
mov dword [esp + 0x5c], ecx
fild dword [esp + 0x5c]
jge 0x4518f0
fadd dword [0x7bb540]
mov ecx, dword [ebp + 0x420]
fstp dword [esp + 0x58]
fld dword [esp + 0x58]
mov edx, ecx
test edx, edx
fmul qword [0x795858]
mov dword [esp + 0x5c], edx
fst qword [esp + 0xe8]
fild dword [esp + 0x5c]
jge 0x45191f
fadd dword [0x7bb540]
fcompp
fnstsw ax
test ah, 0x41
je 0x4528e6
cmp ecx, 2
jb 0x4528e6
call fcn.0067baa0
test eax, eax
mov dword [esp + 0x5c], eax
fild dword [esp + 0x5c]
jge 0x45194c
fadd dword [0x7bb540]
mov eax, dword [ebp + 0x420]
fstp dword [esp + 0x5c]
test eax, eax
fld dword [esp + 0x58]
fild dword [ebp + 0x420]
jge 0x45196a
fadd dword [0x7bb540]
fdivp st(1)
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
call fcn.00750100
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fstp dword [esp + 0x48]
fld qword [0x795878]
call fcn.00750100
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
sub esp, 8
fstp dword [esp + 0x4c]
fld dword [esp + 0x50]
fdiv dword [esp + 0x4c]
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
fstp qword [esp]
call fcn.00750210
fnstcw word [esp + 0x60]
fstp dword [esp + 0x4c]
add esp, 8
movzx eax, word [esp + 0x58]
fld dword [esp + 0x44]
or eax, 0xc00
mov dword [esp + 0x44], eax
mov dword [ebp + 0x3cc], esi
fldcw word [esp + 0x44]
fistp qword [esp + 0x50]
mov ecx, dword [esp + 0x50]
mov dword [ebp + 0x3c8], ecx
fldcw word [esp + 0x58]
mov edx, esi
test edx, edx
mov dword [esp + 0x50], edx
fild dword [esp + 0x50]
jge 0x451a04
fadd dword [0x7bb540]
fld qword [0x795870]
fxch st(1)
call fcn.00750370
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
sub esp, 8
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
fstp qword [esp]
call fcn.00750210
mov eax, dword [ebp + 0x3cc]
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
add esp, 8
test eax, eax
fstp dword [esp + 0x44]
fild dword [ebp + 0x3cc]
jge 0x451a51
fadd dword [0x7bb540]
fadd dword [esp + 0x44]
add esi, 1
fnstcw word [esp + 0x58]
movzx eax, word [esp + 0x58]
or eax, 0xc00
mov dword [esp + 0x44], eax
fldcw word [esp + 0x44]
fistp qword [esp + 0x50]
mov ecx, dword [esp + 0x50]
mov dword [ebp + 0x3cc], ecx
cmp esi, dword [ebp + 0x3c8]
fldcw word [esp + 0x58]
jbe 0x4519f0
mov edx, dword [ebp + 0x3a0]
mov eax, dword [ebp + 0x3e0]
mov edx, dword [edx]
lea ecx, [ebp + 0x3a0]
push eax
call edx
cmp byte [0x997309], 0
jne 0x451b02
fldz
xor esi, esi
fstp dword [esp + 0x58]
fld dword [esp + 0x58]
call fcn.0074fa10
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fstp dword [esi + 0x997310]
fld dword [esp + 0x58]
call fcn.0074fb40
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
add esi, 4
cmp esi, 0xb40
fstp dword [esi + 0x997e4c]
fld dword [esp + 0x58]
fadd qword [0x7c4bb0]
fstp dword [esp + 0x58]
jb 0x451ab4
mov byte [0x997309], 1
cmp dword [ebp + 0x3ec], 0
mov dword [esp + 0x44], 0
jbe 0x45241e
fld qword [0x7ab5d8]
fsub qword [0x795890]
fstp qword [esp + 0xe8]
jmp 0x451b32
fstp st(0)
mov eax, dword [ebp + 0x3f0]
mov dword [esp + 0x58], eax
mov ecx, dword [ebp + 0x3f4]
fild dword [ebp + 0x3f4]
test ecx, ecx
jge 0x451b52
fadd dword [0x7bb540]
mov edx, dword [ebp + 0x3fc]
fstp dword [esp + 0x4c]
test edx, edx
fild dword [ebp + 0x3fc]
jge 0x451b6c
fadd dword [0x7bb540]
fstp dword [esp + 0x60]
fld dword [esp + 0x4c]
fld dword [esp + 0x60]
fcompp
fnstsw ax
test ah, 1
jne 0x451ba6
mov eax, dword [ebp + 0x3a0]
mov edx, dword [eax + 8]
lea ecx, [ebp + 0x3a0]
call edx
fld dword [esp + 0x60]
fld dword [esp + 0x4c]
fld st(0)
fsubp st(2)
fxch st(2)
fmulp st(1)
faddp st(1)
jmp 0x451ba8
fld1
mov eax, dword [ebp + 0x3f8]
fstp dword [esp + 0x48]
test eax, eax
fild dword [ebp + 0x3f8]
jge 0x451bc2
fadd dword [0x7bb540]
mov ecx, dword [ebp + 0x400]
fstp dword [esp + 0x60]
test ecx, ecx
fild dword [ebp + 0x400]
jge 0x451bdc
fadd dword [0x7bb540]
fstp dword [esp + 0x4c]
fld dword [esp + 0x60]
fld dword [esp + 0x4c]
fcompp
fnstsw ax
test ah, 1
jne 0x451c16
mov edx, dword [ebp + 0x3a0]
mov eax, dword [edx + 8]
lea ecx, [ebp + 0x3a0]
call eax
fld dword [esp + 0x4c]
fld dword [esp + 0x60]
fld st(0)
fsubp st(2)
fxch st(2)
fmulp st(1)
faddp st(1)
jmp 0x451c18
fld1
mov edx, dword [ebp + 0x3a0]
fstp dword [esp + 0x60]
mov eax, dword [edx + 8]
lea ecx, [ebp + 0x3a0]
call eax
fmul qword [esp + 0xe8]
fadd qword [0x795890]
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
call fcn.0074fa10
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fmul dword [esp + 0x48]
fstp dword [esp + 0x124]
fld dword [esp + 0x4c]
call fcn.0074fb40
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
mov ecx, 0x10
fmul dword [esp + 0x60]
lea esi, [ebp + 0x198]
lea edi, [esp + 0x130]
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x128]
fld dword [esp + 0x134]
fld dword [esp + 0x128]
fld st(0)
fmulp st(2)
fld dword [esp + 0x130]
fld dword [esp + 0x124]
fld st(0)
fmulp st(2)
fxch st(3)
push 0
faddp st(1)
fld dword [esp + 0x13c]
fldz
fmul st(1), st(0)
fxch st(2)
faddp st(1)
fadd dword [esp + 0x140]
fstp dword [esp + 0xc8]
mov eax, dword [esp + 0xc8]
fld dword [esp + 0x148]
mov dword [esp + 0xa4], eax
fmul st(2)
mov dword [esp + 0x98], eax
fld dword [esp + 0x144]
lea eax, [esp + 0x98]
fmul st(4)
faddp st(1)
fld dword [esp + 0x14c]
fmul st(2)
faddp st(1)
fadd dword [esp + 0x150]
fstp dword [esp + 0xcc]
mov ecx, dword [esp + 0xcc]
fld dword [esp + 0x158]
mov dword [esp + 0xa8], ecx
fmulp st(2)
mov dword [esp + 0x9c], ecx
fld dword [esp + 0x154]
lea ecx, [esp + 0xf8]
fmulp st(3)
push ecx
fxch st(1)
push 0x1d
faddp st(2)
fmul dword [esp + 0x164]
faddp st(1)
fadd dword [esp + 0x168]
fstp dword [esp + 0xd8]
mov edx, dword [esp + 0xd8]
fld dword [0x7c4bac]
mov dword [esp + 0xa8], edx
fstp dword [esp + 0xa8]
mov dword [esp + 0xb4], edx
fld dword [0x7c4ba8]
lea edx, [esp + 0xac]
fstp dword [esp + 0xb4]
push edx
push eax
push 0
mov ecx, 0x1b01d58
call fcn.00582e70
mov bl, al
test bl, bl
je 0x451e41
mov ecx, dword [esp + 0xf4]
mov eax, dword [ecx + 0x28]
test al, 4
je 0x451dcf
cmp byte [ebp + 0x460], 0
je 0x451e92
test al, 8
je 0x451de0
cmp byte [ebp + 0x461], 0
je 0x451e92
test eax, 0x4000000
je 0x451df4
cmp byte [ebp + 0x462], 0
je 0x451e92
and eax, 0x10
je 0x451e06
cmp byte [ebp + 0x463], 0
je 0x451e92
test eax, eax
je 0x451e3f
cmp byte [ebp + 0x464], 0
jne 0x451e3f
push 0
lea edx, [esp + 0xf8]
push edx
push 0xd
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0xa4]
push ecx
push 0
mov ecx, 0x1b01d58
call fcn.00582e70
test al, al
je 0x451e92
mov bl, 1
fild dword [ebp + 0x468]
fsubr qword [0x7bc4f8]
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fmul qword [0x7ab5c8]
fdiv qword [0x7bb4b8]
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
call fcn.0074fb40
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp dword [esp + 0x50]
fld dword [esp + 0x10c]
fld dword [esp + 0x50]
fcompp
fnstsw ax
test ah, 0x41
je 0x451e92
test bl, bl
jne 0x451e9d
sub dword [esp + 0x58], 1
jne 0x451b3c
cmp dword [esp + 0x58], 0
jbe 0x4523f4
fld dword [ebp + 0x418]
mov edx, dword [esp + 0xf8]
fadd dword [esp + 0x100]
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x64], edx
lea edx, [esp + 0x174]
fstp dword [esp + 0x100]
mov ecx, dword [esp + 0x100]
mov dword [esp + 0x6c], ecx
push edx
mov ecx, ebp
mov dword [esp + 0x6c], eax
call fcn.0057eab0
fld dword [esp + 0x64]
fsub dword [eax]
fstp dword [esp + 0x50]
fld dword [esp + 0x68]
fsub dword [eax + 4]
fstp dword [esp + 0x48]
fld dword [esp + 0x6c]
fsub dword [eax + 8]
fstp dword [esp + 0x4c]
fld dword [esp + 0x50]
fld dword [esp + 0x70]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x451f21
fst dword [esp + 0x70]
fld dword [esp + 0x48]
fld dword [esp + 0x74]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x451f36
fst dword [esp + 0x74]
fld dword [esp + 0x4c]
fld dword [esp + 0x78]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x451f4b
fst dword [esp + 0x78]
fld dword [esp + 0x7c]
fcomp st(3)
fnstsw ax
test ah, 5
jp 0x451f60
fxch st(2)
fstp dword [esp + 0x7c]
jmp 0x451f62
fstp st(2)
fld dword [esp + 0x80]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x451f7b
fstp dword [esp + 0x80]
jmp 0x451f7d
fstp st(0)
fld dword [esp + 0x84]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x451f96
fstp dword [esp + 0x84]
jmp 0x451f98
fstp st(0)
push 0x88
call fcn.0074caae
mov esi, eax
add esp, 4
test esi, esi
je 0x451fd7
push 0x40
push 0
push esi
call fcn.0074d440
fldz
fst dword [esi + 0x40]
add esp, 0xc
fst dword [esi + 0x44]
fst dword [esi + 0x48]
fst dword [esi + 0x58]
fst dword [esi + 0x5c]
fst dword [esi + 0x60]
fst dword [esi + 0x64]
fst dword [esi + 0x68]
fst dword [esi + 0x6c]
jmp 0x451fdb
fldz
xor esi, esi
fld1
mov dword [esi + 0x84], 0
fst dword [esi]
fst dword [esi + 0x14]
fst dword [esi + 0x28]
fst dword [esi + 0x3c]
fxch st(1)
fst dword [esi + 4]
fst dword [esi + 8]
fst dword [esi + 0xc]
fst dword [esi + 0x10]
fst dword [esi + 0x18]
fst dword [esi + 0x1c]
fst dword [esi + 0x20]
fst dword [esi + 0x24]
fst dword [esi + 0x2c]
fst dword [esi + 0x30]
fst dword [esi + 0x34]
fst dword [esi + 0x38]
fld dword [esp + 0x64]
fst dword [esi + 0xc]
fld dword [esp + 0x68]
fst dword [esi + 0x1c]
fld dword [esp + 0x6c]
fst dword [esi + 0x2c]
cmp byte [ebp + 0x415], 0
je 0x452063
fstp st(4)
fld dword [ebp + 0x410]
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fst dword [esi + 0x50]
cmp byte [ebp + 0x414], 0
jne 0x45214b
fstp st(0)
fld dword [ebp + 0x408]
jmp 0x45214b
fld dword [ebp + 0x40c]
fstp dword [esp + 0x4c]
fld dword [ebp + 0x410]
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fld dword [esp + 0x48]
fcompp
fnstsw ax
test ah, 1
jne 0x45219d
mov eax, dword [ebp + 0x3a0]
fstp st(3)
mov edx, dword [eax + 8]
fstp st(1)
fstp st(0)
lea ecx, [ebp + 0x3a0]
fstp st(0)
fstp st(0)
call edx
fld dword [esp + 0x48]
fld dword [esp + 0x4c]
fld st(0)
fsubp st(2)
fxch st(2)
fmulp st(1)
faddp st(1)
fstp dword [esp + 0x48]
fld dword [esp + 0x6c]
fld dword [esp + 0x68]
fld dword [esp + 0x64]
fldz
fxch st(2)
fld dword [esp + 0x48]
fst dword [esi + 0x50]
cmp byte [ebp + 0x414], 0
jne 0x45214b
fstp st(0)
fld dword [ebp + 0x404]
fstp dword [esp + 0x4c]
fld dword [ebp + 0x408]
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fld dword [esp + 0x48]
fcompp
fnstsw ax
test ah, 1
jne 0x4521a8
mov eax, dword [ebp + 0x3a0]
fstp st(2)
mov edx, dword [eax + 8]
fstp st(0)
lea ecx, [ebp + 0x3a0]
fstp st(0)
fstp st(0)
call edx
fld dword [esp + 0x48]
fld dword [esp + 0x4c]
fld st(0)
fsubp st(2)
fxch st(2)
fmulp st(1)
faddp st(1)
fstp dword [esp + 0x48]
fld dword [esp + 0x6c]
fld dword [esp + 0x68]
fld dword [esp + 0x64]
fldz
fxch st(2)
fld dword [esp + 0x48]
fstp dword [esi + 0x4c]
cmp byte [ebp + 0x41c], 0
je 0x4522dc
mov eax, dword [ebp + 0x3a0]
fstp st(2)
mov edx, dword [eax + 8]
fstp st(0)
lea ecx, [ebp + 0x3a0]
fstp st(0)
fstp st(0)
call edx
fld qword [0x7bd240]
fldz
fsub st(1), st(0)
fxch st(2)
fmulp st(1)
faddp st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fcomp qword [0x7c1f10]
fnstsw ax
test ah, 5
jp 0x4521b0
xor al, al
jmp 0x4521b2
fxch st(4)
fstp dword [esp + 0x48]
jmp 0x4520cd
fld1
fstp dword [esp + 0x48]
jmp 0x452147
mov al, 1
fld dword [esp + 0x6c]
mov byte [esi + 0x70], al
fld dword [esp + 0x68]
fld dword [esp + 0x64]
fldz
fxch st(2)
cmp byte [ebp + 0x43c], 0
fld dword [esi + 0x4c]
fchs
fld qword [0x795858]
fmul st(1), st(0)
je 0x4522e5
fld dword [ebp + 0x440]
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x50]
fld dword [ebp + 0x444]
fsubr qword [0x7be5a8]
fstp dword [esp + 0x48]
fld dword [esi + 0x50]
fstp dword [esp + 0x4c]
fld dword [esp + 0x50]
fadd st(3)
fstp dword [esp + 0x50]
fld st(1)
fadd dword [esp + 0x48]
fstp dword [esp + 0x48]
fld st(4)
fadd dword [esp + 0x4c]
fstp dword [esp + 0x4c]
fld dword [esp + 0x50]
fstp dword [esp + 0xdc]
mov eax, dword [esp + 0xdc]
fld dword [esp + 0x48]
mov dword [esi + 0x58], eax
fstp dword [esp + 0xe0]
mov ecx, dword [esp + 0xe0]
fld dword [esp + 0x4c]
mov dword [esi + 0x5c], ecx
fstp dword [esp + 0xe4]
mov edx, dword [esp + 0xe4]
fld dword [esi + 0x4c]
mov dword [esi + 0x60], edx
fmul st(1)
fadd dword [ebp + 0x440]
fstp dword [esp + 0x50]
fadd dword [ebp + 0x444]
fstp dword [esp + 0x48]
fld dword [esi + 0x50]
fstp dword [esp + 0x4c]
fld dword [esp + 0x50]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x50]
fadd dword [esp + 0x48]
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x50]
fstp dword [esp + 0xac]
mov eax, dword [esp + 0xac]
fld dword [esp + 0x48]
fstp dword [esp + 0xb0]
mov ecx, dword [esp + 0xb0]
fld dword [esp + 0x4c]
fstp dword [esp + 0xb4]
mov edx, dword [esp + 0xb4]
jmp 0x4523b1
mov byte [esi + 0x70], 0
jmp 0x4521c5
fxch st(1)
fstp dword [esp + 0x50]
fld dword [esi + 0x50]
fstp dword [esp + 0x48]
fld dword [esp + 0x50]
fadd st(3)
fstp dword [esp + 0x50]
fld st(1)
fsub st(1)
fstp dword [esp + 0x4c]
fld st(4)
fadd dword [esp + 0x48]
fstp dword [esp + 0x48]
fld dword [esp + 0x50]
fstp dword [esp + 0xd0]
mov eax, dword [esp + 0xd0]
fld dword [esp + 0x4c]
mov dword [esi + 0x58], eax
fstp dword [esp + 0xd4]
mov ecx, dword [esp + 0xd4]
fld dword [esp + 0x48]
mov dword [esi + 0x5c], ecx
fstp dword [esp + 0xd8]
mov edx, dword [esp + 0xd8]
fld dword [esi + 0x4c]
mov dword [esi + 0x60], edx
fmul st(1)
fstp dword [esp + 0x50]
fld dword [esi + 0x50]
fstp dword [esp + 0x48]
fld dword [esp + 0x50]
faddp st(3)
fxch st(2)
fstp dword [esp + 0x50]
faddp st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x48]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x48]
fld dword [esp + 0x50]
fstp dword [esp + 0xb8]
mov eax, dword [esp + 0xb8]
fld dword [esp + 0x4c]
fstp dword [esp + 0xbc]
mov ecx, dword [esp + 0xbc]
fld dword [esp + 0x48]
fstp dword [esp + 0xc0]
mov edx, dword [esp + 0xc0]
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], ecx
lea edi, [ebp + 0x2e0]
mov dword [esi + 0x6c], edx
add dword [edi], 1
mov eax, dword [edi]
cmp eax, dword [edi + 4]
lea ecx, [edi + 4]
jbe 0x4523e2
push 4
fstp st(0)
push eax
lea eax, [edi + 8]
push eax
push edi
push ecx
call fcn.0040e110
fldz
add esp, 0x14
mov ecx, dword [edi]
mov edx, dword [edi + 8]
mov dword [edx + ecx*4 - 4], esi
add dword [ebp + 0x2d0], 1
jmp 0x452405
push 0x7c4b68
push 0
call fcn.00677e10
fldz
add esp, 8
mov eax, dword [esp + 0x44]
add eax, 1
cmp eax, dword [ebp + 0x3ec]
mov dword [esp + 0x44], eax
jb 0x451b30
jmp 0x452420
fldz
cmp byte [ebp + 0x450], 0
fld qword [0x7c4b60]
je 0x4524bc
xor edi, edi
cmp dword [ebp + 0x2d0], edi
jbe 0x4524bc
mov eax, dword [ebp + 0x2e8]
mov esi, dword [eax + edi*4]
test esi, esi
je 0x4524b1
cmp byte [ebp + 0x451], 0
je 0x45246b
fxch st(1)
fst dword [ebp + 0x3bc]
fld dword [ebp + 0x45c]
fdivr st(2)
fstp dword [ebp + 0x3c0]
jmp 0x4524af
mov edx, dword [ebp + 0x3a0]
fstp st(1)
mov eax, dword [edx + 8]
fstp st(0)
lea ecx, [ebp + 0x3a0]
call eax
fld qword [0x7c4b60]
fld st(0)
fldz
fsub st(1), st(0)
fxch st(3)
fmulp st(1)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp dword [esi + 0x7c]
fld dword [ebp + 0x45c]
fdivr st(1)
fstp dword [esi + 0x80]
fldz
fxch st(1)
add edi, 1
cmp edi, dword [ebp + 0x2d0]
jb 0x45243d
cmp byte [ebp + 0x43c], 0
je 0x452623
xor ebx, ebx
cmp dword [ebp + 0x2d0], ebx
jbe 0x452623
mov ecx, dword [ebp + 0x2e8]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x452614
cmp byte [ebp + 0x43d], 0
je 0x45257d
fxch st(1)
fst dword [ebp + 0x3b4]
fld dword [ebp + 0x448]
fstp dword [esp + 0x48]
fld dword [ebp + 0x44c]
fstp dword [esp + 0x44]
fld dword [esp + 0x48]
fld dword [esp + 0x44]
fcompp
fnstsw ax
test ah, 1
jne 0x452566
mov edx, dword [ebp + 0x3a0]
fstp st(0)
mov eax, dword [edx + 8]
fstp st(0)
lea ecx, [ebp + 0x3a0]
call eax
fld dword [esp + 0x44]
fld dword [esp + 0x48]
fld st(0)
fsubp st(2)
fxch st(2)
fmulp st(1)
faddp st(1)
fstp dword [esp + 0x44]
fld qword [0x7c4b60]
fldz
fld dword [esp + 0x44]
fdivr st(2)
fstp dword [ebp + 0x3b8]
jmp 0x452612
fld1
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fdivr st(2)
fstp dword [ebp + 0x3b8]
jmp 0x452612
mov edx, dword [ebp + 0x3a0]
fstp st(1)
mov eax, dword [edx + 8]
fstp st(0)
lea esi, [ebp + 0x3a0]
mov ecx, esi
call eax
fld qword [0x7c4b60]
fld st(0)
fldz
fsub st(1), st(0)
fxch st(3)
fmulp st(1)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp dword [edi + 0x74]
fld dword [ebp + 0x448]
fstp dword [esp + 0x48]
fld dword [ebp + 0x44c]
fstp dword [esp + 0x44]
fld dword [esp + 0x48]
fld dword [esp + 0x44]
fcompp
fnstsw ax
test ah, 1
jne 0x452601
mov edx, dword [esi]
fstp st(0)
mov eax, dword [edx + 8]
mov ecx, esi
call eax
fld dword [esp + 0x44]
fld dword [esp + 0x48]
fld st(0)
fsubp st(2)
fxch st(2)
fmulp st(1)
faddp st(1)
fstp dword [esp + 0x44]
fld qword [0x7c4b60]
jmp 0x452607
fld1
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fdivr st(1)
fstp dword [edi + 0x78]
fldz
fxch st(1)
add ebx, 1
cmp ebx, dword [ebp + 0x2d0]
jb 0x4524d7
fstp st(1)
lea eax, [ebp + 0xcc]
fstp st(0)
push eax
fld dword [esp + 0x74]
mov ecx, ebp
fstp dword [ebp + 0x158]
fld dword [esp + 0x78]
fstp dword [ebp + 0x15c]
fld dword [esp + 0x7c]
fstp dword [ebp + 0x160]
fld dword [esp + 0x80]
fstp dword [ebp + 0x164]
fld dword [esp + 0x84]
fstp dword [ebp + 0x168]
fld dword [esp + 0x88]
fstp dword [ebp + 0x16c]
mov edx, dword [ebp]
mov edx, dword [edx + 0x70]
call edx
push 0x38
mov dword [ebp + 0x3d0], 0
call fcn.0074caae
add esp, 4
test eax, eax
je 0x4526b8
fldz
xor ebx, ebx
fst dword [eax + 4]
mov esi, eax
fst dword [eax + 8]
fst dword [eax + 0xc]
fst dword [eax + 0x10]
fst dword [eax + 0x14]
fstp dword [eax + 0x18]
mov dword [eax + 0x34], ebx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x30], ebx
jmp 0x4526bc
xor esi, esi
xor ebx, ebx
add dword [ebp + 0x2d4], 1
mov eax, dword [ebp + 0x2d4]
lea edi, [ebp + 0x2d4]
cmp eax, dword [edi + 4]
lea ecx, [edi + 4]
mov dword [esp + 0x1bc], 0xffffffff
jbe 0x4526f3
push 4
push eax
lea eax, [edi + 8]
push eax
push edi
push ecx
call fcn.0040e110
add esp, 0x14
mov ecx, dword [edi]
mov edx, dword [edi + 8]
mov dword [edx + ecx*4 - 4], esi
mov eax, dword [ebp + 0x3c8]
mov dword [esi], eax
mov ecx, dword [ebp + 0x170]
mov dword [esi + 4], ecx
mov edx, dword [ebp + 0x174]
mov dword [esi + 8], edx
mov eax, dword [ebp + 0x178]
mov dword [esi + 0xc], eax
mov ecx, dword [ebp + 0x17c]
mov dword [esi + 0x10], ecx
mov edx, dword [ebp + 0x180]
mov dword [esi + 0x14], edx
mov eax, dword [ebp + 0x184]
mov dword [esi + 0x18], eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov eax, dword [ebp + 0x2e0]
push 4
push eax
lea ecx, [esp + 0x98]
push ecx
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0x9c]
push eax
mov dword [esp + 0x1d0], 1
call fcn.0040e110
add esp, 0x14
cmp dword [ebp + 0x2e0], ebx
je 0x4527bd
mov ecx, dword [esp + 0x88]
mov eax, dword [ebp + 0x2e8]
lea edx, [ecx*4]
mov ecx, dword [esp + 0x90]
push edx
push eax
push ecx
call fcn.0074dfc0
add esp, 0xc
add dword [ebp + 0x3d0], 1
xor edi, edi
push edi
lea edx, [esp + 0x8c]
push edx
push esi
mov ecx, ebp
call fcn.00451280
add edi, 1
cmp edi, 4
jb 0x4527c6
call fcn.0067baa0
test eax, eax
mov dword [esp + 0x50], eax
fild dword [esp + 0x50]
jge 0x4527f6
fadd dword [0x7bb540]
fsub dword [esp + 0x5c]
mov eax, dword [ebp + 0x3d4]
mov ecx, dword [ebp + 0x3d0]
mov edx, dword [ebp + 0x3cc]
fmul qword [0x7c0c30]
sub esp, 8
sub ecx, 1
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fstp qword [esp]
push eax
mov eax, dword [ebp + 0x3c8]
push ecx
push edx
push eax
push 0x7c4b18
call fcn.00421880
mov eax, dword [ebp + 0x3d0]
mov ecx, dword [ebp + 0x2d0]
sub eax, 1
lea edx, [eax*8]
sub edx, eax
add edx, edx
add edx, edx
add edx, edx
test edx, edx
mov dword [esp + 0x78], edx
fild dword [esp + 0x78]
jge 0x452867
fadd dword [0x7bb540]
mov eax, ecx
imul eax, eax, 0x88
test eax, eax
mov dword [esp + 0x78], eax
fild dword [esp + 0x78]
jge 0x452881
fadd dword [0x7bb540]
faddp st(1)
add ecx, ecx
add ecx, ecx
test ecx, ecx
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
mov dword [esp + 0x78], ecx
fild dword [esp + 0x78]
jge 0x4528a1
fadd dword [0x7bb540]
faddp st(1)
add esp, 0x14
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fmul qword [0x7c4b10]
fstp qword [esp]
push str.CGrassObject___Approx.__0.2fMb_allocated.
call fcn.00421880
call fcn.0067bab0
mov edx, dword [esp + 0x9c]
push edx
mov dword [ebp + 0x3b0], eax
mov dword [esp + 0x1cc], 0xffffffff
call fcn.0067abe0
jmp 0x452906
push str.CGrassObject___Could_create_Grass__invalid_Culling_Resolution_
push esi
call fcn.00677e10
fld qword [esp + 0xf0]
fstp qword [esp]
push str.CGrassObject___Culling_Resolution_must_be__8_or____0.2f_
push esi
call fcn.00677e10
add esp, 0x10
mov ecx, dword [esp + 0x1b4]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret