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

Disassembly:
sub esp, 0x1d8
push ebx
mov ebx, eax
mov eax, dword [0x72ed78]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jle 0x4e3d7e
fld dword [esp + 0x1e0]
mov cl, byte [esp + 0x1e4]
fcomp dword [esi + 0x35c]
mov byte [esi + 0x364], cl
fnstsw ax
test ah, 5
jnp 0x4e3d7e
push 0x729430
lea ecx, [ebx + 0x90]
call fcn.004284c0
test al, al
jne 0x4e3d7e
mov edx, dword [ebx]
push edi
push str.Dummy_Wake
mov ecx, ebx
call dword [edx + 0x40]
mov edi, eax
test edi, edi
jne 0x4e2e8d
push str._Wake__couldnt_find__Dummy_Wake__node_on_the_ship_
mov eax, 2
mov edi, ebx
call fcn.004e21d0
add esp, 4
cmp dword [esi], edi
je 0x4e2ea9
lea eax, [esi + 0x20]
mov ecx, 0x1e
lea esp, [esp]
mov byte [eax], 0
add eax, 0x1c
dec ecx
jne 0x4e2ea0
mov eax, dword [esp + 0x1e4]
mov ecx, dword [esi + 4]
mov dword [esi + 0x35c], eax
mov dword [esi], edi
push ebp
mov ebp, dword [ecx + 0xbc]
movzx eax, word [ebp + 0x3c]
mov edx, dword [ebp + 0x20]
shr eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x28]
push 0
mov ecx, ebp
mov dword [esp + 0x34], edx
mov dword [esp + 0x1c], eax
call fcn.00542a50
mov ecx, dword [esi + 0x350]
imul ecx, ecx, 0x1c
fld dword [ecx + esi + 8]
fsub dword [edi + 0x90]
fld dword [ecx + esi + 0xc]
fsub dword [edi + 0x94]
fld dword [ecx + esi + 0x10]
fsub dword [edi + 0x98]
mov dword [esp + 0x48], eax
lea eax, [ecx + esi + 8]
fld st(0)
add edi, 0x90
fmul st(1)
fld st(2)
mov dword [esp + 0x40], edi
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fcomp dword [0x715740]
fstp st(0)
fnstsw ax
fstp st(0)
test ah, 0x41
fstp st(0)
jne 0x4e2f50
lea eax, [esi + 0x20]
mov ecx, 0x1e
mov byte [eax], 0
add eax, 0x1c
dec ecx
jne 0x4e2f47
mov ebx, dword [esi + 0x350]
mov edx, ebx
imul edx, edx, 0x1c
mov cl, byte [edx + esi + 0x20]
test cl, cl
lea eax, [edx + esi]
jne 0x4e2fc8
mov byte [eax + 0x20], 1
fld dword [esp + 0x1e8]
mov eax, dword [esi + 0x350]
imul eax, eax, 0x1c
lea ecx, [eax + esi + 8]
mov edx, edi
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov edx, dword [edx + 8]
mov dword [ecx + 8], edx
mov eax, dword [esi + 0x350]
imul eax, eax, 0x1c
fstp dword [eax + esi + 0x14]
mov ecx, dword [esi + 0x350]
imul ecx, ecx, 0x1c
xor eax, eax
mov dword [ecx + esi + 0x18], eax
mov edx, dword [esi + 0x350]
inc edx
imul edx, edx, 0x1c
mov dword [edx + esi], eax
mov dword [esi + 0x354], eax
inc dword [esp + 0x28]
jmp 0x4e3116
fld dword [eax + 8]
fsub dword [edi]
fld dword [eax + 0xc]
fsub dword [edi + 4]
fld dword [eax + 0x10]
fsub dword [edi + 8]
fld st(1)
fmul st(2)
fld st(3)
fmul st(4)
faddp st(1)
fld st(1)
fmul st(2)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fld dword [0x72849c]
fmul dword [esi + 0x360]
fcompp
fnstsw ax
test ah, 5
jp 0x4e3d7c
xor edx, edx
lea eax, [ebx + 1]
mov ecx, 0x1e
div ecx
mov dword [esi + 0x350], edx
imul edx, edx, 0x1c
mov al, byte [edx + esi + 0x20]
test al, al
je 0x4e3055
push esi
push str.Wake__0x_x____destroying_active_point__buffer_is_full_._n
mov eax, 2
call fcn.004e21d0
fld dword [esi + 0x354]
mov edx, dword [esi + 0x350]
add esp, 8
imul edx, edx, 0x1c
fsub dword [edx + esi + 0x18]
fstp dword [esi + 0x354]
jmp 0x4e3059
inc dword [esp + 0x28]
mov eax, dword [esi + 0x350]
fld dword [esp + 0x1e8]
imul ebx, ebx, 0x1c
imul eax, eax, 0x1c
mov byte [eax + esi + 0x20], 1
mov edx, dword [esi + 0x350]
mov ecx, dword [esi]
imul edx, edx, 0x1c
add ecx, 0x90
lea eax, [edx + esi + 8]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 8]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0x350]
imul edx, edx, 0x1c
lea eax, [ebx + esi]
fstp dword [edx + esi + 0x14]
mov ecx, dword [esi + 0x350]
imul ecx, ecx, 0x1c
fld dword [ecx + esi + 8]
fsub dword [eax + 8]
fld dword [ecx + esi + 0xc]
fsub dword [eax + 0xc]
fld dword [ecx + esi + 0x10]
fsub dword [eax + 0x10]
add ecx, esi
fld st(2)
fmulp st(3)
fld st(0)
fmul st(1)
faddp st(3)
fld st(1)
fmul st(2)
faddp st(3)
fxch st(2)
fsqrt
fstp st(2)
fstp st(0)
fstp dword [ecx + 0x18]
mov edx, dword [esi + 0x350]
imul edx, edx, 0x1c
fld dword [edx + esi + 0x18]
fdiv dword [0x728498]
lea ecx, [edx + esi]
fadd dword [eax + 0x1c]
fstp dword [ecx + 0x1c]
mov eax, dword [esi + 0x350]
imul eax, eax, 0x1c
fld dword [eax + esi + 0x18]
fadd dword [esi + 0x354]
fstp dword [esi + 0x354]
mov ebx, dword [esi + 0x368]
mov eax, dword [esp + 0x28]
inc ebx
mov dword [esi + 0x368], ebx
movzx ecx, word [ebp + 0x3c]
add eax, eax
cmp eax, ecx
je 0x4e3155
cmp eax, 2
jb 0x4e3140
cmp eax, 0x3a
jae 0x4e3147
cmp eax, 2
jae 0x4e314c
mov eax, 2
jmp 0x4e314c
mov eax, 0x3a
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x34]
mov eax, dword [esi + 0x350]
imul eax, eax, 0x1c
fld dword [eax + esi + 8]
fsub dword [edi]
fld dword [eax + esi + 0xc]
fsub dword [edi + 4]
fld dword [eax + esi + 0x10]
fsub dword [edi + 8]
lea eax, [eax + esi + 8]
fld st(2)
mov ebx, 0x1e
fmulp st(3)
mov dword [esp + 0x1c], ebx
fld st(0)
fmul st(1)
faddp st(3)
fld st(1)
fmul st(2)
faddp st(3)
fxch st(2)
fsqrt
fstp st(2)
fstp st(0)
fstp dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x38], ecx
jmp 0x4e31b0
mov ebx, dword [esp + 0x1c]
lea esp, [esp]
mov ecx, dword [esi + 0x350]
lea eax, [ecx + ebx]
xor edx, edx
mov ebp, 0x1e
div ebp
sub ebp, ebx
shl ebp, 1
mov eax, edx
imul eax, eax, 0x1c
lea ebx, [eax + esi]
mov al, byte [ebx + 0x20]
test al, al
jne 0x4e33bf
test ebp, ebp
lea edx, [ebp + ebp*2]
jbe 0x4e32d5
mov ecx, dword [esp + 0x30]
lea eax, [ecx + edx*4]
lea edx, [ebp + ebp*2 - 6]
lea ecx, [ecx + edx*4]
mov ebx, dword [ecx]
mov edx, eax
mov dword [edx], ebx
mov ebx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [edx + 4], ebx
mov dword [edx + 8], ecx
lea edx, [eax - 0xc]
mov ecx, dword [edx]
add eax, 0xc
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov eax, dword [esp + 0x18]
shl ebp, 4
add ebp, eax
mov ecx, ebp
mov dword [esp + 0xa0], 0x3f800000
mov edx, dword [esp + 0xa0]
mov dword [ecx], edx
mov dword [esp + 0xa4], 0x3f800000
mov eax, dword [esp + 0xa4]
mov dword [ecx + 4], eax
mov dword [esp + 0xa8], 0x3f800000
mov edx, dword [esp + 0xa8]
mov dword [ecx + 8], edx
mov dword [esp + 0xac], 0
mov eax, dword [esp + 0xac]
mov dword [ecx + 0xc], eax
add ebp, 0x10
mov dword [esp + 0xbc], 0x3f800000
mov ecx, dword [esp + 0xbc]
mov dword [ebp], ecx
mov dword [esp + 0xc0], 0x3f800000
mov edx, dword [esp + 0xc0]
mov dword [esp + 0xc4], 0x3f800000
mov eax, dword [esp + 0xc4]
mov dword [ebp + 4], edx
mov dword [esp + 0xc8], 0
mov ecx, dword [esp + 0xc8]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
jmp 0x4e3b19
mov eax, dword [esp + 0x30]
lea eax, [eax + edx*4]
mov edx, eax
mov ecx, edi
mov ebx, dword [ecx]
mov dword [edx], ebx
mov ebx, dword [ecx + 4]
mov dword [edx + 4], ebx
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
add eax, 0xc
mov edx, edi
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov edx, dword [edx + 8]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x18]
shl ebp, 4
add ebp, eax
mov ecx, ebp
mov dword [esp + 0xd8], 0x3f800000
mov edx, dword [esp + 0xd8]
mov dword [ecx], edx
mov dword [esp + 0xdc], 0x3f800000
mov eax, dword [esp + 0xdc]
mov dword [ecx + 4], eax
mov dword [esp + 0xe0], 0x3f800000
mov edx, dword [esp + 0xe0]
mov dword [ecx + 8], edx
mov dword [esp + 0xe4], 0
mov eax, dword [esp + 0xe4]
mov dword [ecx + 0xc], eax
add ebp, 0x10
mov dword [esp + 0xf4], 0x3f800000
mov ecx, dword [esp + 0xf4]
mov dword [ebp], ecx
mov dword [esp + 0xf8], 0x3f800000
mov edx, dword [esp + 0xf8]
mov dword [esp + 0xfc], 0x3f800000
mov eax, dword [esp + 0xfc]
mov dword [ebp + 4], edx
mov dword [esp + 0x100], 0
mov ecx, dword [esp + 0x100]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
jmp 0x4e3b19
fld dword [esp + 0x1e8]
fsub dword [ebx + 0x14]
fdiv dword [0x728494]
fstp dword [esp + 0x28]
fld dword [esp + 0x34]
fadd dword [esi + 0x354]
fdivr dword [esp + 0x38]
fstp dword [esp + 0x20]
fld dword [esp + 0x38]
fadd dword [ebx + 0x18]
fstp dword [esp + 0x38]
fld dword [esp + 0x28]
fcomp dword [0x715554]
fnstsw ax
test ah, 5
jp 0x4e340b
mov dword [esp + 0x28], 0
jmp 0x4e3424
fld dword [esp + 0x28]
fcomp dword [0x70deb0]
fnstsw ax
test ah, 0x41
jne 0x4e3424
mov dword [esp + 0x28], 0x3f800000
fld dword [esp + 0x20]
fcomp dword [0x715554]
fnstsw ax
test ah, 5
jp 0x4e343f
mov dword [esp + 0x20], 0
jmp 0x4e3458
fld dword [esp + 0x20]
fcomp dword [0x70deb0]
fnstsw ax
test ah, 0x41
jne 0x4e3458
mov dword [esp + 0x20], 0x3f800000
cmp edx, ecx
jne 0x4e34b0
mov eax, dword [esi]
fld dword [eax + 0x90]
add eax, 0x90
fsub dword [ebx + 8]
fstp dword [esp + 0xe8]
mov edx, dword [esp + 0xe8]
fld dword [eax + 4]
mov dword [esp + 0xc], edx
fsub dword [ebx + 0xc]
fstp dword [esp + 0xec]
fld dword [eax + 8]
mov eax, dword [esp + 0xec]
fsub dword [ebx + 0x10]
mov dword [esp + 0x10], eax
fstp dword [esp + 0xf0]
mov ecx, dword [esp + 0xf0]
mov dword [esp + 0x14], ecx
jmp 0x4e352c
test edx, edx
fld dword [ebx + 8]
jne 0x4e34ed
fsub dword [esi + 0x334]
lea eax, [esp + 0x1c8]
fstp dword [esp + 0x1c8]
fld dword [ebx + 0xc]
fsub dword [esi + 0x338]
fstp dword [esp + 0x1cc]
fld dword [ebx + 0x10]
fsub dword [esi + 0x33c]
fstp dword [esp + 0x1d0]
jmp 0x4e3518
fsub dword [ebx - 0x14]
lea eax, [esp + 0x1a4]
fstp dword [esp + 0x1a4]
fld dword [ebx + 0xc]
fsub dword [ebx - 0x10]
fstp dword [esp + 0x1a8]
fld dword [ebx + 0x10]
fsub dword [ebx - 0xc]
fstp dword [esp + 0x1ac]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0xc], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
cmp dword [esp + 0x1c], 1
jne 0x4e357b
fld dword [esp + 0xc]
fchs
fstp dword [esp + 0x104]
mov eax, dword [esp + 0x104]
fld dword [esp + 0x10]
mov dword [esp + 0xc], eax
fchs
fstp dword [esp + 0x108]
mov ecx, dword [esp + 0x108]
fld dword [esp + 0x14]
mov dword [esp + 0x10], ecx
fchs
fstp dword [esp + 0x10c]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x14], edx
lea ecx, [esp + 0xc]
call fcn.004915a0
fstp st(0)
fld dword [esp + 0x10]
push ecx
fchs
mov edi, 0x8ec04c
fstp dword [esp + 0x16c]
fld dword [esp + 0x3c]
fmul dword [0x71573c]
fmul dword [0x715738]
fstp dword [0x8ec050]
fld dword [esp + 0x24]
fmul dword [esp + 0x2c]
fsubr dword [0x70deb0]
fstp dword [esp]
call fcn.004e2380
fld dword [esi + 0x360]
fcomp dword [0x715658]
fnstsw ax
test ah, 5
jp 0x4e36e7
fstp st(0)
mov eax, dword [esp + 0x30]
fld dword [0x7284a0]
lea ecx, [ebp + ebp*2]
fmul dword [esi + 0x360]
lea ecx, [eax + ecx*4]
fld dword [esp + 0x168]
mov edx, ecx
add ecx, 0xc
fmul st(1)
fld st(1)
fmul dword [esp + 0xc]
fstp dword [esp + 0x1c0]
fxch st(1)
fmul dword [esp + 0x14]
fstp dword [esp + 0x1c4]
fld dword [ebx + 8]
fsub st(1)
fstp dword [esp + 0x94]
mov edi, dword [esp + 0x94]
fstp st(0)
fld dword [ebx + 0xc]
fsub dword [esp + 0x1c0]
fstp dword [esp + 0x98]
fld dword [ebx + 0x10]
mov dword [edx], edi
fsub dword [esp + 0x1c4]
mov edi, dword [esp + 0x98]
mov dword [edx + 4], edi
fstp dword [esp + 0x9c]
mov edi, dword [esp + 0x9c]
mov dword [edx + 8], edi
fld dword [0x7284a0]
fmul dword [esi + 0x360]
fld dword [esp + 0x168]
fmul st(1)
fld st(1)
fmul dword [esp + 0xc]
fstp dword [esp + 0x1b4]
fxch st(1)
fmul dword [esp + 0x14]
fstp dword [esp + 0x1b8]
fadd dword [ebx + 8]
fstp dword [esp + 0xb0]
mov edx, dword [esp + 0xb0]
fld dword [esp + 0x1b4]
fadd dword [ebx + 0xc]
fstp dword [esp + 0xb4]
fld dword [esp + 0x1b8]
fadd dword [ebx + 0x10]
mov dword [ecx], edx
mov edx, dword [esp + 0xb4]
mov dword [ecx + 4], edx
fstp dword [esp + 0xb8]
mov edx, dword [esp + 0xb8]
mov dword [ecx + 8], edx
jmp 0x4e37f1
fld dword [0x7284a0]
mov ecx, dword [esp + 0x30]
fadd st(1)
lea eax, [ebp + ebp*2]
lea eax, [ecx + eax*4]
mov edx, eax
fmul dword [esi + 0x360]
fld dword [esp + 0x168]
add eax, 0xc
fmul st(1)
fld st(1)
fmul dword [esp + 0xc]
fstp dword [esp + 0x19c]
fxch st(1)
fmul dword [esp + 0x14]
fstp dword [esp + 0x1a0]
fld dword [ebx + 8]
fsub st(1)
fstp dword [esp + 0x13c]
mov ecx, dword [esp + 0x13c]
fstp st(0)
fld dword [ebx + 0xc]
fsub dword [esp + 0x19c]
fstp dword [esp + 0x140]
fld dword [ebx + 0x10]
mov dword [edx], ecx
fsub dword [esp + 0x1a0]
mov ecx, dword [esp + 0x140]
mov dword [edx + 4], ecx
fstp dword [esp + 0x144]
mov ecx, dword [esp + 0x144]
mov dword [edx + 8], ecx
fadd dword [0x7284a0]
fmul dword [esi + 0x360]
fld dword [esp + 0x168]
fmul st(1)
fld st(1)
fmul dword [esp + 0xc]
fstp dword [esp + 0x178]
fxch st(1)
fmul dword [esp + 0x14]
fstp dword [esp + 0x17c]
fadd dword [ebx + 8]
fstp dword [esp + 0xcc]
mov edx, dword [esp + 0xcc]
fld dword [esp + 0x178]
fadd dword [ebx + 0xc]
fstp dword [esp + 0xd0]
mov ecx, dword [esp + 0xd0]
fld dword [esp + 0x17c]
fadd dword [ebx + 0x10]
mov dword [eax], edx
mov dword [eax + 4], ecx
fstp dword [esp + 0xd4]
mov edx, dword [esp + 0xd4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x30]
cmp ebp, 2
jne 0x4e38df
fld dword [ebx + 0x18]
mov ecx, eax
fld dword [esp + 0xc]
add eax, 0xc
fmul st(1)
fld st(1)
fmul dword [esp + 0x10]
fstp dword [esp + 0x184]
fxch st(1)
fmul dword [esp + 0x14]
fstp dword [esp + 0x188]
fld dword [eax + 0xc]
fsub st(1)
fstp dword [esp + 0x120]
mov edx, dword [esp + 0x120]
fstp st(0)
fld dword [eax + 0x10]
fsub dword [esp + 0x184]
fstp dword [esp + 0x124]
fld dword [eax + 0x14]
mov dword [ecx], edx
fsub dword [esp + 0x188]
mov edx, dword [esp + 0x124]
mov dword [ecx + 4], edx
fstp dword [esp + 0x128]
mov edx, dword [esp + 0x128]
mov dword [ecx + 8], edx
fld dword [ebx + 0x18]
fld dword [esp + 0xc]
fmul st(1)
fld st(1)
fmul dword [esp + 0x10]
fstp dword [esp + 0x190]
fxch st(1)
fmul dword [esp + 0x14]
fstp dword [esp + 0x194]
fld dword [eax + 0x18]
fsub st(1)
fstp dword [esp + 0x88]
mov ecx, dword [esp + 0x88]
fstp st(0)
fld dword [eax + 0x1c]
fsub dword [esp + 0x190]
fstp dword [esp + 0x8c]
mov edx, dword [esp + 0x8c]
fld dword [eax + 0x20]
mov dword [eax], ecx
fsub dword [esp + 0x194]
mov dword [eax + 4], edx
fstp dword [esp + 0x90]
mov ecx, dword [esp + 0x90]
mov dword [eax + 8], ecx
mov eax, dword [esi + 0x368]
xor edx, edx
lea ecx, [eax - 0x1e]
test ecx, ecx
setl dl
dec edx
and edx, ecx
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fmul dword [0x715744]
fcomp dword [0x70deb0]
fnstsw ax
test ah, 0x41
jne 0x4e3915
fld dword [0x70deb0]
jmp 0x4e392d
xor eax, eax
test ecx, ecx
setl al
dec eax
and eax, ecx
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul dword [0x715744]
mov ecx, 0x3c
sub ecx, ebp
test ecx, ecx
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
jge 0x4e3946
fadd dword [0x715568]
cmp ebp, 2
fmulp st(1)
fmul dword [0x715708]
jbe 0x4e3a0a
mov eax, dword [esp + 0x18]
fst dword [esp + 0x11c]
mov edx, ebp
fstp dword [esp + 0x138]
shl edx, 4
add eax, edx
mov ecx, eax
mov dword [esp + 0x110], 0x3f800000
mov edx, dword [esp + 0x110]
mov dword [ecx], edx
mov dword [esp + 0x114], 0x3f800000
mov edx, dword [esp + 0x114]
mov dword [ecx + 4], edx
mov dword [esp + 0x118], 0x3f800000
mov edx, dword [esp + 0x118]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x11c]
mov dword [ecx + 0xc], edx
add eax, 0x10
mov dword [esp + 0x12c], 0x3f800000
mov ecx, dword [esp + 0x12c]
mov dword [eax], ecx
mov dword [esp + 0x130], 0x3f800000
mov edx, dword [esp + 0x130]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x138]
mov dword [esp + 0x134], 0x3f800000
mov ecx, dword [esp + 0x134]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
jmp 0x4e3ac2
mov ecx, dword [esp + 0x18]
fstp st(0)
mov eax, ebp
shl eax, 4
add eax, ecx
mov edx, eax
mov dword [esp + 0x148], 0x3f800000
mov ecx, dword [esp + 0x148]
mov dword [edx], ecx
mov dword [esp + 0x14c], 0x3f800000
mov ecx, dword [esp + 0x14c]
mov dword [edx + 4], ecx
mov dword [esp + 0x150], 0x3f800000
mov ecx, dword [esp + 0x150]
mov dword [edx + 8], ecx
mov dword [esp + 0x154], 0
mov ecx, dword [esp + 0x154]
mov dword [edx + 0xc], ecx
add eax, 0x10
mov dword [esp + 0x158], 0x3f800000
mov edx, dword [esp + 0x158]
mov dword [eax], edx
mov dword [esp + 0x15c], 0x3f800000
mov ecx, dword [esp + 0x15c]
mov dword [eax + 4], ecx
mov dword [esp + 0x160], 0x3f800000
mov edx, dword [esp + 0x160]
mov dword [esp + 0x164], 0
mov ecx, dword [esp + 0x164]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
fld dword [0x70deb0]
push ecx
fsub dword [esp + 0x2c]
mov edi, 0x8ec04c
fstp dword [esp]
call fcn.004e2380
mov edx, dword [ebx + 0x1c]
fstp st(0)
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x50], 0
mov ecx, dword [esp + 0x50]
mov dword [eax + ebp*8 + 4], edx
mov dword [esp + 0x54], edx
mov dword [eax + ebp*8], ecx
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x58], 0x3f800000
mov edx, dword [esp + 0x58]
mov dword [esp + 0x5c], ecx
mov dword [eax + ebp*8 + 8], edx
mov dword [eax + ebp*8 + 0xc], ecx
mov eax, dword [esp + 0x1c]
dec eax
test eax, eax
mov dword [esp + 0x1c], eax
jg 0x4e31a5
mov edi, dword [esp + 0x30]
mov eax, 4
mov dword [esp + 0x18], eax
add edi, 0x1c
mov dword [esp + 0x34], 0x1d
cmp eax, 0x3c
mov edx, dword [edi - 4]
mov ecx, dword [edi]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x1c], eax
jge 0x4e3cee
lea ebx, [edi + 0x18]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 6]
cmp edx, ecx
jge 0x4e3cee
mov edx, dword [ebx - 4]
mov eax, dword [ebx]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x2c]
mov eax, edx
mov dword [esp + 0x28], edx
mov edx, dword [ebx + 8]
mov dword [esp + 0xc], edx
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x10], edx
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ebp
push edx
push ecx
push eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x78]
push ecx
push edx
push eax
lea ecx, [esp + 0xa0]
mov dword [esp + 0x9c], ebp
call fcn.005162b0
add esp, 0x20
test al, al
je 0x4e3cd3
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x40], ecx
fld dword [esp + 0x40]
fsub dword [esp + 0x80]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x48], edx
fstp dword [esp + 0x40]
mov eax, dword [esp + 0x40]
fld dword [esp + 0x44]
mov dword [esp + 0x38], eax
fsub dword [esp + 0x84]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x4c], eax
fstp dword [esp + 0x44]
mov ecx, dword [esp + 0x44]
fld dword [esp + 0x48]
mov dword [esp + 0x3c], ecx
fsub dword [esp + 0x80]
fstp dword [esp + 0x48]
mov ecx, dword [esp + 0x48]
fld dword [esp + 0x4c]
mov dword [esp + 0x20], ecx
fsub dword [esp + 0x84]
fstp dword [esp + 0x4c]
mov edx, dword [esp + 0x4c]
fld dword [esp + 0x38]
mov dword [esp + 0x24], edx
fmul dword [esp + 0x38]
fld dword [esp + 0x3c]
fmul dword [esp + 0x3c]
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
faddp st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x4e3cbd
lea eax, [edi - 0x1c]
mov ecx, eax
mov edx, dword [ecx]
lea eax, [edi - 4]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
jmp 0x4e3cd3
lea edx, [edi - 0x10]
mov ecx, dword [edx]
lea eax, [edi + 8]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov eax, dword [esp + 0x1c]
add eax, 2
add ebx, 0x18
mov dword [esp + 0x1c], eax
cmp eax, 0x3c
mov eax, dword [esp + 0x18]
jl 0x4e3b77
mov ecx, dword [esp + 0x34]
add eax, 2
add edi, 0x18
dec ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], ecx
jne 0x4e3b42
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xbc]
mov edx, dword [esp + 0x30]
mov eax, dword [ecx]
push edx
call dword [eax + 0x38]
movzx ecx, ax
push ecx
lea ecx, [esp + 0x1dc]
call fcn.005497d0
mov edx, dword [esi + 4]
mov eax, dword [edx + 0xbc]
mov ecx, dword [esp + 0x1d4]
add eax, 0x10
mov dword [eax], ecx
mov edx, dword [esp + 0x1d8]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x1dc]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x1e0]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x1e8]
mov ecx, dword [esi + 4]
push 1
push eax
call fcn.00535550
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0xbc]
or byte [eax + 0x32], 5
pop ebp
pop edi
pop ebx
add esp, 0x1d8
ret 8