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

Disassembly:
mov eax, dword [0x10fceeec]
sub esp, 0x70
test eax, eax
push esi
mov esi, ecx
je 0x10aa0b90
mov eax, dword [esi + 0x6c]
test ah, 4
jne 0x10aa0b90
mov ecx, dword [0x10fcccac]
mov eax, dword [ecx]
push ebx
push ebp
push edi
push 1
push str.Rebuilding_Fluid_Clamp_Bitmap
call dword [eax + 0xc]
mov eax, dword [esi + 0x3dc]
imul eax, dword [esi + 0x3e0]
mov ecx, dword [esi + 0x44c]
add eax, 0x1f
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
shl eax, 2
push eax
push 0
push ecx
call fcn.109b8a90
mov edx, dword [esi + 0x3dc]
imul edx, dword [esi + 0x3e0]
mov eax, dword [esi + 0x470]
shl edx, 2
push edx
push 0
push eax
call fcn.109b8a90
mov ecx, dword [esi + 0x3dc]
imul ecx, dword [esi + 0x3e0]
mov edx, dword [esi + 0x47c]
shl ecx, 2
push ecx
push 0
push edx
call fcn.109b8a90
mov eax, dword [esi + 0x98]
mov ecx, dword [eax + 0x34]
xor edi, edi
add esp, 0x24
test ecx, ecx
mov dword [esp + 0x10], edi
jle 0x10aa090c
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + edi*4]
push ebx
call fcn.10a9fba0
add esp, 4
test ebx, ebx
je 0x10aa08f6
mov ecx, dword [ebx + 0x6c]
test ch, 0x10
jne 0x10aa08f6
test eax, eax
je 0x10aa0777
test byte [eax + 0x3f8], 1
jne 0x10aa07cb
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x10aa08f6
call fcn.10906730
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x10aa079b
mov edi, edi
cmp ecx, eax
je 0x10aa07ac
mov ecx, dword [ecx + 0x2c]
test ecx, ecx
jne 0x10aa0790
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
test eax, eax
je 0x10aa08f6
mov eax, dword [ebx + 0x40]
mov ecx, dword [eax + 0x108]
test ecx, ecx
je 0x10aa08f6
mov ecx, dword [eax + 0x128]
test ecx, ecx
je 0x10aa08f6
mov edx, dword [esi + 0x3dc]
mov ebp, 1
dec edx
cmp edx, ebp
jle 0x10aa08f6
nop
mov eax, dword [esi + 0x3e0]
mov edi, 1
dec eax
cmp eax, edi
jle 0x10aa08e2
mov eax, dword [esi + 0x3dc]
imul eax, edi
add eax, ebp
mov ecx, eax
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, dword [esi + 0x44c]
sar eax, 5
test dword [ecx + eax*4], edx
jne 0x10aa08d2
xor eax, eax
push edi
push ebp
lea edx, [esp + 0x4c]
push edx
mov ecx, esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0x3f800000
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x88], eax
call fcn.10a9eaa0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
push 0
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x4c]
push ecx
push ebx
lea ecx, [esp + 0x60]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x70]
test eax, eax
jne 0x10aa08d2
mov ecx, dword [esi + 0x3dc]
mov eax, dword [esi + 0x44c]
imul ecx, edi
add ecx, ebp
mov edx, ecx
sar edx, 5
lea eax, [eax + edx*4]
and ecx, 0x1f
mov edx, 1
shl edx, cl
or dword [eax], edx
mov eax, dword [esi + 0x3e0]
inc edi
dec eax
cmp edi, eax
jl 0x10aa07f4
mov ecx, dword [esi + 0x3dc]
inc ebp
dec ecx
cmp ebp, ecx
jl 0x10aa07e0
mov edi, dword [esp + 0x10]
mov eax, dword [esi + 0x98]
mov ecx, dword [eax + 0x34]
inc edi
cmp edi, ecx
mov dword [esp + 0x10], edi
jl 0x10aa0747
mov edx, dword [esi + 0x3dc]
mov ebp, 1
dec edx
cmp edx, ebp
mov dword [esp + 0x10], 0
jle 0x10aa0b82
jmp 0x10aa0930
mov ecx, dword [esi + 0x3e0]
mov ebx, 1
lea eax, [ecx - 1]
cmp eax, ebx
jle 0x10aa0b72
jmp 0x10aa0950
mov edi, dword [esi + 0x3dc]
mov eax, dword [0x10fcccac]
mov edx, dword [eax]
sub edi, 2
add ecx, 0xfffffffe
imul edi, ecx
push str.Fluid_Checking_Against_Level.
push edi
mov edi, dword [esp + 0x18]
push edi
push eax
call dword [edx + 0x14]
mov eax, dword [esi + 0x3dc]
imul eax, ebx
add eax, ebp
mov ecx, eax
and ecx, 0x1f
add esp, 0x10
inc edi
mov edx, 1
shl edx, cl
mov ecx, dword [esi + 0x44c]
sar eax, 5
mov dword [esp + 0x10], edi
test dword [ecx + eax*4], edx
jne 0x10aa0b60
xor edi, edi
push ebx
push ebp
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], 0x3f800000
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x88], edi
call fcn.10a9eaa0
mov eax, dword [esi + 0x98]
cmp eax, edi
je 0x10aa0a39
cmp dword [eax + 0x90], edi
je 0x10aa0a39
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov ecx, dword [eax + 0x90]
mov edx, dword [ecx]
push edi
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
lea eax, [esp + 0x60]
push eax
call dword [edx + 0x70]
test eax, eax
je 0x10aa0b3b
cmp dword [esi + 0x458], edi
je 0x10aa0b60
mov ecx, dword [0x110bb06c]
cmp ecx, edi
jne 0x10aa0a6c
push 0x10e44b40
call fcn.10ad1ca0
add esp, 4
mov dword [0x110bb06c], eax
call fcn.10abfb30
mov ecx, dword [0x110bb06c]
mov edx, dword [esi + 0x458]
mov eax, dword [edx + 0x28]
cmp eax, edi
je 0x10aa0a8b
lea esp, [esp]
cmp eax, ecx
je 0x10aa0a9a
mov eax, dword [eax + 0x2c]
cmp eax, edi
jne 0x10aa0a80
xor eax, eax
cmp ecx, edi
sete al
cmp eax, edi
je 0x10aa0b60
mov eax, dword [edx + 0x6c]
test ah, 0x10
jne 0x10aa0b60
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x458]
mov dword [esp + 0x28], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0x49000000
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], 0xc9000000
mov eax, dword [ecx]
call dword [eax + 0xd4]
push edi
push 0x86
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esi + 0x458]
push ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x74]
test eax, eax
jne 0x10aa0b60
fld dword [esp + 0x60]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x10aa0b60
mov ecx, dword [esi + 0x3dc]
mov eax, dword [esi + 0x44c]
imul ecx, ebx
add ecx, ebp
mov edx, ecx
sar edx, 5
lea eax, [eax + edx*4]
and ecx, 0x1f
mov edx, 1
shl edx, cl
or dword [eax], edx
mov ecx, dword [esi + 0x3e0]
inc ebx
lea eax, [ecx - 1]
cmp ebx, eax
jl 0x10aa0950
mov ecx, dword [esi + 0x3dc]
inc ebp
dec ecx
cmp ebp, ecx
jl 0x10aa0930
mov ecx, dword [0x10fcccac]
mov edx, dword [ecx]
call dword [edx + 0x10]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x70
ret