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

Disassembly:
jmp 0x409aa0
sub esp, 0x17c
mov edx, dword [esp + 0x180]
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0xcc]
push 0
push eax
mov eax, dword [edx]
lea ecx, [esp + 0xc8]
or eax, 0x2000000
push ecx
push eax
call fcn.00406df0
add esp, 0x10
mov dword [esp + 0x14], 0
lea esi, [esp + 0xcc]
mov edi, 8
lea ecx, [esp + 0xc0]
push esi
push ecx
call fcn.00431f50
fcom dword [esp + 0x1c]
add esp, 8
fnstsw ax
and eax, 0x4100
jne 0x409b0b
fstp dword [esp + 0x14]
jmp 0x409b0d
fstp st(0)
add esi, 0xc
dec edi
jne 0x409ae7
fld dword [esp + 0x14]
fsqrt
mov ebx, dword [esp + 0x194]
lea edx, [esp + 0x12c]
push 0
lea eax, [esp + 0x9c]
mov ecx, dword [ebx]
push edx
or ecx, 0x2000000
push eax
push ecx
fstp dword [esp + 0x24]
call fcn.00406df0
add esp, 0x10
mov dword [esp + 0x10], 0
lea esi, [esp + 0x12c]
mov edi, 8
lea edx, [esp + 0x98]
push esi
push edx
call fcn.00431f50
fcom dword [esp + 0x18]
add esp, 8
fnstsw ax
and eax, 0x4100
jne 0x409b7f
fstp dword [esp + 0x10]
jmp 0x409b81
fstp st(0)
add esi, 0xc
dec edi
jne 0x409b5b
fld dword [esp + 0x10]
fsqrt
lea eax, [esp + 0x98]
lea ecx, [esp + 0xc0]
push eax
push ecx
fadd dword [esp + 0x1c]
fstp dword [esp + 0x20]
call fcn.00431f50
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
add esp, 8
fcompp
fnstsw ax
test ah, 5
jnp 0x40a192
lea edx, [esp + 0x60]
push edx
call fcn.00430b40
add esp, 4
mov esi, ebx
mov eax, dword [esi + 0x88]
test eax, eax
je 0x409bf1
lea eax, [esi + 8]
lea ecx, [esp + 0x60]
push eax
lea edx, [esp + 0x64]
push ecx
push edx
call fcn.004310a0
add esp, 0xc
mov esi, dword [esi + 0x124]
test esi, esi
jne 0x409bd1
mov eax, dword [ebx + 0x9c]
mov ecx, dword [0x7eaa04]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0x2c], 0
mov edx, dword [eax + 0x34]
mov ebp, dword [eax + 0x40]
mov esi, dword [eax + 0x1c]
test edx, edx
jle 0x40a192
mov eax, dword [ebp]
cmp eax, 1
jne 0x40a16c
mov eax, dword [ebp + 0xc]
imul eax, ecx
fld dword [esp + 0x6c]
fmul dword [esi + eax*4 + 4]
fld dword [esp + 0x78]
fmul dword [esi + eax*4 + 8]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [esi + eax*4]
faddp st(1)
fadd dword [esp + 0x84]
fstp dword [esp + 0x3c]
fld dword [esp + 0x70]
fmul dword [esi + eax*4 + 4]
fld dword [esp + 0x7c]
fmul dword [esi + eax*4 + 8]
faddp st(1)
fld dword [esp + 0x64]
fmul dword [esi + eax*4]
faddp st(1)
fadd dword [esp + 0x88]
fstp dword [esp + 0x40]
fld dword [esp + 0x74]
fmul dword [esi + eax*4 + 4]
fld dword [esp + 0x80]
fmul dword [esi + eax*4 + 8]
faddp st(1)
fld dword [esp + 0x68]
fmul dword [esi + eax*4]
faddp st(1)
fadd dword [esp + 0x8c]
fstp dword [esp + 0x44]
mov eax, dword [ebp + 0x10]
imul eax, ecx
fld dword [esp + 0x6c]
fmul dword [esi + eax*4 + 4]
fld dword [esp + 0x78]
fmul dword [esi + eax*4 + 8]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [esi + eax*4]
faddp st(1)
fadd dword [esp + 0x84]
fstp dword [esp + 0x48]
fld dword [esp + 0x70]
fmul dword [esi + eax*4 + 4]
fld dword [esp + 0x7c]
fmul dword [esi + eax*4 + 8]
faddp st(1)
fld dword [esp + 0x64]
fmul dword [esi + eax*4]
faddp st(1)
fadd dword [esp + 0x88]
fstp dword [esp + 0x4c]
fld dword [esp + 0x74]
fmul dword [esi + eax*4 + 4]
fld dword [esp + 0x80]
fmul dword [esi + eax*4 + 8]
faddp st(1)
fld dword [esp + 0x68]
fmul dword [esi + eax*4]
faddp st(1)
fadd dword [esp + 0x8c]
fstp dword [esp + 0x50]
mov eax, dword [ebp + 0x14]
imul eax, ecx
fld dword [esp + 0x6c]
fmul dword [esi + eax*4 + 4]
fld dword [esp + 0x78]
fmul dword [esi + eax*4 + 8]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [esi + eax*4]
faddp st(1)
fadd dword [esp + 0x84]
fstp dword [esp + 0x54]
fld dword [esp + 0x70]
fmul dword [esi + eax*4 + 4]
fld dword [esp + 0x7c]
fmul dword [esi + eax*4 + 8]
faddp st(1)
fld dword [esp + 0x64]
fmul dword [esi + eax*4]
mov dword [esp + 0x10], 0
lea edi, [esp + 0x3c]
mov ebx, 3
faddp st(1)
fadd dword [esp + 0x88]
fstp dword [esp + 0x58]
fld dword [esp + 0x74]
fmul dword [esi + eax*4 + 4]
fld dword [esp + 0x80]
fmul dword [esi + eax*4 + 8]
faddp st(1)
fld dword [esp + 0x68]
fmul dword [esi + eax*4]
faddp st(1)
fadd dword [esp + 0x8c]
fstp dword [esp + 0x5c]
fld dword [esp + 0x54]
fadd dword [esp + 0x48]
fadd dword [esp + 0x3c]
fmul dword [0x5a8428]
fstp dword [esp + 0x98]
fld dword [esp + 0x58]
fadd dword [esp + 0x4c]
fadd dword [esp + 0x40]
fmul dword [0x5a8428]
fstp dword [esp + 0x9c]
fld dword [esp + 0x5c]
fadd dword [esp + 0x50]
fadd dword [esp + 0x44]
fmul dword [0x5a8428]
fstp dword [esp + 0xa0]
lea eax, [esp + 0x98]
push edi
push eax
call fcn.00431f50
fcom dword [esp + 0x18]
add esp, 8
fnstsw ax
and eax, 0x4100
jne 0x409e24
fstp dword [esp + 0x10]
jmp 0x409e26
fstp st(0)
add edi, 0xc
dec ebx
jne 0x409e00
fld dword [esp + 0x10]
fsqrt
lea ecx, [esp + 0x98]
lea edx, [esp + 0xc0]
push ecx
push edx
fadd dword [esp + 0x1c]
fstp dword [esp + 0x20]
call fcn.00431f50
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
add esp, 8
fcompp
fnstsw ax
test ah, 5
jnp 0x40a153
lea eax, [esp + 0x54]
lea ecx, [esp + 0x48]
push eax
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
call fcn.00430e50
fld dword [esp + 0x2c]
fmul dword [esp + 0x4c]
add esp, 0x10
xor ecx, ecx
lea edx, [esp + 0xcc]
fchs
fld dword [esp + 0x20]
fmul dword [esp + 0x40]
fsubp st(1)
fld dword [esp + 0x24]
fmul dword [esp + 0x44]
fsubp st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x24]
fmul dword [esp + ecx*4 + 0xe0]
fld dword [esp + 0x20]
fmul dword [edx + 4]
inc ecx
faddp st(1)
fld dword [esp + 0x1c]
fmul dword [edx]
faddp st(1)
fadd dword [esp + 0x28]
fst dword [esp + 0x18]
fcomp dword [0x5a83e4]
fnstsw ax
test ah, 0x44
jp 0x409eea
add edx, 0xc
cmp ecx, 8
jl 0x409eae
jmp 0x409f38
cmp ecx, 8
jge 0x409f32
lea edx, [ecx + ecx*2]
lea edx, [esp + edx*4 + 0xd0]
fld dword [esp + 0x24]
fmul dword [edx + 4]
fld dword [esp + 0x1c]
fmul dword [edx - 4]
faddp st(1)
fld dword [esp + 0x20]
fmul dword [edx]
faddp st(1)
fadd dword [esp + 0x28]
fmul dword [esp + 0x18]
fcomp dword [0x5a83e4]
fnstsw ax
test ah, 5
jnp 0x409f2f
inc ecx
add edx, 0xc
cmp ecx, 8
jl 0x409ef9
cmp ecx, 8
je 0x40a153
mov edi, 0x5c43d4
mov eax, dword [edi - 4]
lea eax, [eax + eax*2]
shl eax, 2
fld dword [esp + eax + 0xcc]
fstp dword [esp + 0x30]
fld dword [esp + eax + 0xd0]
fstp dword [esp + 0x34]
fld dword [esp + eax + 0xd4]
mov eax, dword [edi]
fstp dword [esp + 0x38]
lea eax, [eax + eax*2]
shl eax, 2
fld dword [esp + eax + 0xcc]
fld dword [esp + eax + 0xd0]
fld dword [esp + eax + 0xd4]
fsub dword [esp + 0x38]
fstp dword [esp + 0x94]
fsub dword [esp + 0x34]
fstp dword [esp + 0x90]
fsub dword [esp + 0x30]
fst dword [esp + 0x18]
fmul dword [esp + 0x1c]
fld dword [esp + 0x90]
fmul dword [esp + 0x20]
faddp st(1)
fld dword [esp + 0x94]
fmul dword [esp + 0x24]
faddp st(1)
fst dword [esp + 0x14]
fcomp dword [0x5a83e4]
fld dword [esp + 0x14]
fnstsw ax
and eax, 0x4100
je 0x409fd9
fchs
fcomp dword [0x5a8408]
fnstsw ax
and eax, 0x4100
jne 0x40a144
fld dword [esp + 0x38]
fmul dword [esp + 0x24]
fld dword [esp + 0x34]
fmul dword [esp + 0x20]
faddp st(1)
fld dword [esp + 0x30]
fmul dword [esp + 0x1c]
faddp st(1)
fadd dword [esp + 0x28]
fdiv dword [esp + 0x14]
fchs
fst dword [esp + 0x10]
fcomp dword [0x5a83e4]
fnstsw ax
and eax, 0x100
jne 0x40a144
fld dword [esp + 0x10]
fcomp dword [0x5a83f4]
fnstsw ax
test ah, 0x41
jp 0x40a144
fld dword [esp + 0x18]
fmul dword [esp + 0x10]
lea eax, [esp + 0xa4]
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0x58]
fadd dword [esp + 0x34]
push ecx
lea eax, [esp + 0xb8]
push edx
push eax
fstp dword [esp + 0xb4]
fld dword [esp + 0xa0]
fmul dword [esp + 0x20]
fadd dword [esp + 0x44]
fstp dword [esp + 0xb8]
fld dword [esp + 0xa4]
fmul dword [esp + 0x20]
fadd dword [esp + 0x48]
fstp dword [esp + 0xbc]
call fcn.00430e50
lea ecx, [esp + 0x2c]
lea edx, [esp + 0xc0]
push ecx
push edx
call fcn.0052ac40
fcomp dword [0x5a83e4]
add esp, 0x18
fnstsw ax
test ah, 5
jnp 0x40a144
lea eax, [esp + 0xa4]
lea ecx, [esp + 0x48]
push eax
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0xb8]
push edx
push eax
call fcn.00430e50
lea ecx, [esp + 0x2c]
lea edx, [esp + 0xc0]
push ecx
push edx
call fcn.0052ac40
fcomp dword [0x5a83e4]
add esp, 0x18
fnstsw ax
test ah, 5
jnp 0x40a144
lea eax, [esp + 0xa4]
lea ecx, [esp + 0x54]
push eax
lea edx, [esp + 0x4c]
push ecx
lea eax, [esp + 0xb8]
push edx
push eax
call fcn.00430e50
lea ecx, [esp + 0x2c]
lea edx, [esp + 0xc0]
push ecx
push edx
call fcn.0052ac40
fcomp dword [0x5a83e4]
add esp, 0x18
fnstsw ax
test ah, 5
jp 0x40a19f
add edi, 8
cmp edi, str.Cant_create_the_game_world__W01_
jl 0x409f3d
mov eax, dword [0x5c432c]
mov ecx, dword [esp + 0xbc]
mov ebx, dword [esp + 0x194]
lea ebp, [ebp + eax*4]
jmp 0x40a178
cmp eax, 2
jne 0x40a178
mov edx, dword [ebp + 8]
lea ebp, [ebp + edx*8 + 0xc]
mov edx, dword [ebx + 0x9c]
mov eax, dword [esp + 0x2c]
inc eax
mov edi, dword [edx + 0x34]
mov dword [esp + 0x2c], eax
cmp eax, edi
jl 0x409c27
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x17c
ret
mov ecx, dword [esp + 0x190]
mov eax, dword [esp + 0x2c]
pop edi
pop esi
mov dword [ecx + 0x15c], eax
pop ebp
mov eax, 1
pop ebx
add esp, 0x17c
ret