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

Disassembly:
sub esp, 0x104
push ebx
push ebp
push esi
push edi
xor eax, eax
xor ebp, ebp
mov ecx, 0x48
mov edi, 0xc21b70
rep stosd dword es:[edi], eax
mov eax, dword [0xc228a0]
sub eax, ebp
mov dword [0xc22884], ebp
mov dword [0xc22888], ebp
mov dword [0xc2288c], ebp
mov dword [0xc215f0], ebp
je 0x6eaef6
dec eax
jne 0x6eaf40
mov eax, dword [str.DATAwater1.dat]
mov ecx, dword [0x87215c]
mov edx, dword [0x872160]
mov dword [esp + 0xf4], eax
mov eax, dword [0x872164]
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xfc], edx
mov dword [esp + 0x100], eax
jmp 0x6eaf40
mov ecx, dword [str.DATAwater.dat]
mov edx, dword [0x87214c]
mov eax, dword [0x872150]
mov dword [esp + 0xf4], ecx
mov cx, word [0x872154]
mov dword [esp + 0xf8], edx
mov dl, byte [0x872156]
mov dword [esp + 0xfc], eax
mov word [esp + 0x100], cx
mov byte [esp + 0x102], dl
jmp 0x6eaf40
lea eax, [esp + 0xf4]
push 0x859c6c
push eax
call fcn.00538900
mov edi, eax
add esp, 8
cmp edi, ebp
jl 0x6eaf40
push edi
mov dword [0xc22884], ebp
mov dword [0xc22888], ebp
mov dword [0xc2288c], ebp
call fcn.00536f80
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x6eb5e9
mov al, byte [esi]
cmp al, 0x3b
je 0x6eb5d6
test al, al
je 0x6eb5d6
cmp al, 0x2a
je 0x6eb5d6
cmp al, 0x70
je 0x6eb5d6
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0x9c]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0xac]
push edx
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x9c]
push edx
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0xc4]
push ecx
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x90]
push edx
push str._f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__d
push esi
mov dword [esp + 0xac], 1
call fcn.008220ad
add esp, 0x7c
cmp eax, 0x1d
je 0x6eb39f
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0xb4]
push ecx
lea edx, [esp + 0xc0]
push edx
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x8c]
push eax
push str._f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f
push esi
call fcn.008220ad
add esp, 0x78
cmp eax, 0x1c
je 0x6eb39f
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x9c]
push edx
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x74]
push ecx
push str._f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__f__d
push esi
call fcn.008220ad
fld dword [esp + 0xb8]
mov edx, dword [esp + 0x74]
fmul dword [0x859a44]
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x7c]
add esp, 0x60
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
call fcn.00821b40
fld dword [esp + 0x24]
fmul dword [0x859a44]
mov byte [esp + 0x90], al
call fcn.00821b40
fld dword [esp + 0x34]
mov edx, dword [esp + 0x60]
fmul dword [0x859a44]
mov ecx, dword [esp + 0x54]
mov byte [esp + 0x91], al
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
call fcn.00821b40
fld dword [esp + 0x4c]
fmul dword [0x859a44]
mov byte [esp + 0xb0], al
call fcn.00821b40
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
mov byte [esp + 0xb1], al
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xe4], edx
mov dword [esp + 0xe8], eax
fld dword [esp + 0x28]
mov dword [esp + 0xec], ecx
fmul dword [0x859a44]
call fcn.00821b40
fld dword [esp + 0x64]
fmul dword [0x859a44]
mov byte [esp + 0xf0], al
call fcn.00821b40
fld dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x8c]
mov byte [esp + 0xf5], al
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xa0]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xa4]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.00821b40
fld dword [esp + 0x54]
push eax
call fcn.00821b40
fld dword [esp + 0x60]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xc0]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xd8]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xdc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.00821b40
fld dword [esp + 0x3c]
push eax
call fcn.00821b40
fld dword [esp + 0x48]
mov ecx, dword [esp + 0x114]
mov edx, dword [esp + 0x118]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x130]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x134]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.00821b40
fld dword [esp + 0x64]
push eax
call fcn.00821b40
push eax
call fcn.006e7d40
add esp, 0x4c
jmp 0x6eb5d6
fld dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x7c]
fmul dword [0x859a44]
mov edx, dword [esp + 0x74]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], edx
call fcn.00821b40
fld dword [esp + 0x70]
fmul dword [0x859a44]
mov byte [esp + 0xd0], al
call fcn.00821b40
fld dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
fmul dword [0x859a44]
mov edx, dword [esp + 0x1c]
mov byte [esp + 0xd1], al
mov eax, dword [esp + 0x14]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
call fcn.00821b40
fld dword [esp + 0x24]
fmul dword [0x859a44]
mov byte [esp + 0xa0], al
call fcn.00821b40
fld dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
fmul dword [0x859a44]
mov edx, dword [esp + 0x54]
mov byte [esp + 0xa1], al
mov eax, dword [esp + 0x60]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
call fcn.00821b40
fld dword [esp + 0x4c]
fmul dword [0x859a44]
mov byte [esp + 0xc0], al
call fcn.00821b40
fld dword [esp + 0x28]
mov ecx, dword [esp + 0x5c]
fmul dword [0x859a44]
mov edx, dword [esp + 0x44]
mov bl, al
mov eax, dword [esp + 0x3c]
mov byte [esp + 0xc1], bl
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], edx
call fcn.00821b40
fld dword [esp + 0x78]
mov edx, dword [esp + 0xc4]
mov byte [esp + 0xe0], al
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0xcc]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0xe0]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xe4]
mov dword [ecx + 8], edx
mov byte [esp + 0xf5], bl
mov dword [ecx + 0xc], eax
call fcn.00821b40
fld dword [esp + 0x94]
push eax
call fcn.00821b40
mov edx, dword [esp + 0xac]
push eax
mov eax, dword [esp + 0xb4]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0xc8]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xcc]
mov dword [ecx + 8], edx
fld dword [esp + 0x64]
mov dword [ecx + 0xc], eax
call fcn.00821b40
fld dword [esp + 0x6c]
push eax
call fcn.00821b40
fld dword [esp + 0x78]
mov edx, dword [esp + 0xe4]
push eax
mov eax, dword [esp + 0xec]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x100]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x104]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call fcn.00821b40
fld dword [esp + 0x54]
push eax
call fcn.00821b40
fld dword [esp + 0x60]
mov edx, dword [esp + 0x11c]
push eax
mov eax, dword [esp + 0x124]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x138]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x13c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call fcn.00821b40
fld dword [esp + 0x7c]
push eax
call fcn.00821b40
push eax
call fcn.006e7ef0
add esp, 0x64
push edi
call fcn.00536f80
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x6eaf80
push edi
call fcn.005389d0
call fcn.006e7b30
call fcn.007316a0
push str.particle
call fcn.00731850
push eax
call fcn.007319c0
mov eax, dword [0xc228ac]
add esp, 0xc
cmp eax, ebp
jne 0x6eb628
push ebp
push str.waterclear256
call fcn.007f3ac0
add esp, 8
mov dword [0xc228ac], eax
mov ecx, dword [eax]
mov eax, dword [0xc228b4]
cmp eax, ebp
mov dword [0xc228a8], ecx
jne 0x6eb64c
push ebp
push str.seabd32
call fcn.007f3ac0
add esp, 8
mov dword [0xc228b4], eax
mov edx, dword [eax]
mov eax, dword [0xc228bc]
cmp eax, ebp
mov dword [0xc228b0], edx
jne 0x6eb670
push ebp
push 0x87202c
call fcn.007f3ac0
add esp, 8
mov dword [0xc228bc], eax
mov eax, dword [eax]
mov dword [0xc228b8], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
jmp fcn.007316b0