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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4ef59b
push eax
mov eax, 0x21bc
mov dword fs:[0], esp
call fcn.004ecd90
mov eax, dword [0x821094]
push ebx
push ebp
push esi
test eax, eax
push edi
mov esi, ecx
je 0x4ac744
lea eax, [esp + 0x68]
push 0x104
push eax
push str.D:DevProjectsJMain1SourceVTerrain.cpp
mov dword [0x8210d4], 1
call fcn.004e6240
lea ecx, [esp + 0x68]
push 0x285
push ecx
push str.Program_runs_to__s__d.
push esi
call fcn.004331c0
add esp, 0x10
mov ebx, dword [esp + 0x21dc]
push 0
push 0x80
push 3
push 0
push 1
push DirectSoundCreate
push ebx
call dword [0x4f0108]
mov edi, eax
or ebp, 0xffffffff
cmp edi, ebp
je 0x4ac7ba
push 0
push edi
call dword [0x4f0110]
mov ebx, eax
cmp ebx, ebp
je 0x4ac9eb
push ebx
call dword [0x4f01f4]
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x4ac9eb
lea edx, [esp + 0x10]
push 0
push edx
push ebx
push eax
push edi
call dword [0x4f0114]
test eax, eax
je 0x4ac9eb
push edi
call dword [0x4f010c]
jmp 0x4ac85d
push 0x82108c
lea ecx, [esp + 0x170]
call fcn.0043c5d0
push str.DataJData.pck
lea ecx, [esp + 0x170]
mov dword [esp + 0x21d8], 0
call fcn.0043c620
test al, al
je 0x4ac818
lea eax, [esp + 0x68]
push 0x104
push eax
push ebx
call fcn.00401000
add esp, 0xc
lea ecx, [esp + 0x14]
lea edx, [esp + 0x68]
push ecx
push edx
lea ecx, [esp + 0x174]
call fcn.0043c870
test al, al
jne 0x4ac830
lea ecx, [esp + 0x16c]
mov dword [esp + 0x21d4], ebp
call fcn.00474530
jmp 0x4ac9eb
lea ecx, [esp + 0x16c]
call fcn.0043c7c0
test al, al
mov dword [esp + 0x21d4], ebp
lea ecx, [esp + 0x16c]
jne 0x4ac858
call fcn.00474530
jmp 0x4ac9eb
call fcn.00474530
mov edi, dword [esp + 0x14]
lea ebx, [esi + 0x88]
mov eax, dword [edi]
add edi, 4
mov dword [esi + 0x74], eax
mov ecx, dword [edi]
add edi, 4
mov dword [esi + 0x78], ecx
mov edx, dword [edi]
add edi, 4
mov dword [esi + 0x7c], edx
mov eax, dword [edi]
add edi, 4
mov dword [esi + 0x80], eax
add edi, 4
fld dword [esi + 0x80]
fld dword [esi + 0x7c]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
add edi, 4
push edi
push ebx
faddp st(1)
fsqrt
fstp dword [0x928440]
mov ecx, dword [edi - 8]
mov dword [esi + 0x2a8], ecx
mov edx, dword [edi - 4]
fstp st(0)
fstp st(0)
mov dword [esi + 0x2ac], edx
mov dword [esi + 0x84], 8
call dword [0x4f0138]
push ebx
call dword [0x4f01ac]
lea ebp, [edi + eax + 1]
mov eax, dword [esi + 0x2b0]
push 0
push 0
mov ecx, dword [eax + 0x5f43]
lea eax, [esi + 0x36c]
push eax
push ebx
call fcn.0049c3e0
test eax, eax
jne 0x4ac9eb
mov eax, dword [esi + 0x2b0]
mov ecx, dword [eax + 0x5f3b]
mov dl, byte [ecx + 0x62]
test dl, dl
jne 0x4ac9bb
mov eax, dword [eax + 0x5e77]
lea ecx, [esp + 0x10]
push 0
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x14]
test eax, eax
jne 0x4ac9eb
mov edx, dword [esi + 0x36c]
mov ecx, 0x14
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0x50
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x20], 0x3f800000
mov dword [esp + 0x24], 0x3f800000
mov dword [esp + 0x64], 1
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [esp + 0x10]
lea edx, [esi + 0x374]
push edx
mov edx, dword [esi + 0x2b0]
mov ecx, dword [eax]
mov edx, dword [edx + 0x5e8b]
push edx
push eax
call dword [ecx + 0x14]
mov edi, dword [esi + 0x78]
mov ebx, dword [0x4f01f4]
imul edi, dword [esi + 0x74]
shl edi, 2
push edi
call ebx
add esp, 4
mov dword [esi + 0x294], eax
test eax, eax
je 0x4ac9eb
push edi
call ebx
add esp, 4
mov dword [esi + 0x298], eax
test eax, eax
jne 0x4aca0a
push str.Load_Bin__:_Error_occurs.
push esi
mov dword [0x8210d4], 1
call fcn.004331c0
add esp, 8
xor al, al
jmp 0x4acae1
mov eax, dword [esi + 0x78]
xor edx, edx
test eax, eax
jle 0x4aca5d
mov ecx, dword [esi + 0x74]
xor eax, eax
test ecx, ecx
jle 0x4aca4f
imul ecx, edx
mov edi, dword [esi + 0x294]
mov ebx, dword [ebp]
add ecx, eax
add ebp, 4
add ebp, 4
mov dword [edi + ecx*4], ebx
mov ecx, dword [esi + 0x74]
imul ecx, edx
mov edi, dword [esi + 0x298]
mov ebx, dword [ebp - 4]
add ecx, eax
inc eax
mov dword [edi + ecx*4], ebx
mov ecx, dword [esi + 0x74]
cmp eax, ecx
jl 0x4aca1c
mov eax, dword [esi + 0x78]
inc edx
cmp edx, eax
jl 0x4aca13
mov ebx, dword [0x4f01f4]
mov eax, dword [esi + 0x78]
mov edx, dword [esi + 0x74]
inc eax
inc edx
imul eax, edx
shl eax, 2
push eax
call ebx
mov dword [esi + 0x29c], eax
mov eax, dword [esi + 0x78]
add esp, 4
xor edx, edx
inc eax
test eax, eax
jle 0x4acad1
mov eax, dword [esi + 0x74]
xor ecx, ecx
inc eax
test eax, eax
jle 0x4acac8
mov edi, dword [ebp]
imul eax, edx
fld dword [esi + 0x2ac]
fsub dword [esi + 0x2a8]
mov dword [esp + 0x10], edi
mov edi, dword [esi + 0x29c]
fimul dword [esp + 0x10]
add eax, ecx
add ebp, 4
inc ecx
fmul dword [0x4f0644]
fadd dword [esi + 0x2a8]
fstp dword [edi + eax*4]
mov eax, dword [esi + 0x74]
inc eax
cmp ecx, eax
jl 0x4aca8b
mov ecx, dword [esi + 0x78]
inc edx
inc ecx
cmp edx, ecx
jl 0x4aca81
mov edx, dword [esp + 0x14]
push edx
call dword [0x4f01b4]
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x21cc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x21c8
ret 4