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

Disassembly:
sub esp, 0x1dc
mov eax, dword [0x540950]
push ebx
push ebp
push esi
push edi
push 3
push 0xd
push 0
mov ebp, ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xfc]
lea ebx, [ebp + 0x190]
mov ecx, 0x10
mov esi, 0x541610
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
mov edx, ebx
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x30], eax
mov dword [esp + 0x78], eax
xor edi, edi
push edi
lea eax, [esp + 0x4c]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x80], ecx
push eax
mov ecx, 0x5b8e10
mov dword [esp + 0x40], edx
mov dword [esp + 0x88], edx
call fcn.004b3140
mov eax, dword [0x540950]
fld dword [esp + 0x78]
lea edx, [esp + 0x48]
fsub dword [ebx]
push edx
push 0x100
push eax
fstp dword [esp + 0x84]
fld dword [esp + 0x88]
fsub dword [ebx + 4]
fstp dword [esp + 0x88]
fld dword [esp + 0x8c]
fsub dword [ebx + 8]
fstp dword [esp + 0x8c]
mov ecx, dword [eax]
call dword [ecx + 0x94]
lea eax, [esp + 0x48]
mov dword [0x541124], edi
mov dword [0x541114], eax
mov al, byte [ebp + 0x39c]
test al, al
je 0x4e2d8a
mov dword [esp + 0x20], 0x3f800000
jmp 0x4e2db1
fld dword [ebp + 0x3ac]
fadd st(0), st(0)
fld dword [0x521abc]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4e2dad
fstp st(0)
mov dword [esp + 0x20], 0x3c23d70a
jmp 0x4e2db1
fstp dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov eax, dword [0x68f0d4]
push edi
push ecx
mov ecx, dword [0x68f0d8]
push 1
push 0x3f800000
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov eax, dword [0x68f0dc]
mov dword [edx + 4], ecx
mov ecx, dword [ebp + 0xc]
fld dword [ecx + 0xb0]
mov dword [edx + 8], eax
fmul dword [0x521f20]
sub esp, 0x10
mov edx, ebx
mov ecx, dword [edx]
fstp dword [esp + 0xc]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [ebp + 0x3a0]
mov edx, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov ecx, 0x656550
call fcn.004c2400
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x84]
mov ecx, dword [0x5b7468]
push edi
push edi
push edi
push edx
mov esi, eax
call fcn.004a5990
mov ecx, dword [0x5b746c]
push eax
push esi
push 0x18
call fcn.004a2570
mov eax, dword [0x540950]
mov ecx, dword [eax]
push 1
push 0xd
push edi
push eax
call dword [ecx + 0xfc]
mov al, byte [ebp + 0x39c]
test al, al
je 0x4e3729
mov ecx, dword [0x5b7470]
push 1
push 0x3f800000
push 0x3f800000
mov esi, ecx
call fcn.00494820
mov edx, dword [esi + 0x2700]
push eax
push edx
mov ecx, esi
call fcn.00495320
push 2
mov dword [esp + 0x98], eax
mov eax, dword [eax + 0x40]
push 0x18
mov dword [esp + 0xb4], eax
mov eax, dword [0x540950]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xfc]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x64]
mov ecx, dword [0x5b7468]
push eax
call fcn.004a5990
mov dword [esp + 0x98], eax
mov dword [esp + 0x20], edi
lea ecx, [ecx]
fld dword [ebp + 0x158]
mov eax, dword [ebp + 0xc]
fld dword [ebp + 0x168]
mov ecx, dword [ebp + 0x178]
fild dword [esp + 0x20]
mov dword [esp + 0x15c], ecx
fst dword [esp + 0x9c]
fmul dword [eax + 0xb0]
fstp dword [esp + 0x10]
fxch st(1)
fmul dword [esp + 0x10]
fstp dword [esp + 0x160]
fmul dword [esp + 0x10]
fld dword [esp + 0x15c]
fmul dword [esp + 0x10]
fld dword [ebx]
fsub dword [esp + 0x160]
fstp dword [esp + 0x30]
fld dword [ebx + 4]
fsub st(2)
fstp dword [esp + 0x34]
fld dword [ebx + 8]
fsub st(1)
fstp dword [esp + 0x38]
fstp st(0)
fstp st(0)
fld dword [esp + 0x30]
fsub dword [0x68f0d4]
fld dword [esp + 0x34]
fsub dword [0x68f0d8]
fld dword [esp + 0x38]
fsub dword [0x68f0dc]
fstp dword [esp + 0xb8]
fld st(1)
fmul st(2)
fld dword [esp + 0xb8]
fmul dword [esp + 0xb8]
faddp st(1)
fld st(1)
fmul st(2)
faddp st(1)
fsqrt
fdivr dword [0x521590]
fstp dword [esp + 0x10]
fxch st(1)
fmul dword [esp + 0x10]
fstp dword [esp + 0x14]
fmul dword [esp + 0x10]
fstp dword [esp + 0x18]
fld dword [esp + 0xb8]
fmul dword [esp + 0x10]
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
fadd dword [esp + 0x14]
fmul dword [0x521418]
fadd dword [esp + 0x1c]
fld dword [esp + 0x14]
fmul st(1)
fld dword [esp + 0x18]
fmul st(2)
fstp dword [esp + 0xc0]
fld dword [esp + 0x1c]
fmul st(2)
fstp dword [esp + 0xc4]
fchs
fstp dword [esp + 0x24]
fstp st(0)
fld dword [esp + 0xc0]
mov edx, dword [esp + 0x24]
fchs
mov dword [esp + 0x3c], edx
fstp dword [esp + 0x28]
fld dword [0x521590]
mov eax, dword [esp + 0x28]
fsub dword [esp + 0xc4]
mov dword [esp + 0x40], eax
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
fmul dword [esp + 0x18]
mov dword [esp + 0x44], ecx
fld dword [esp + 0x28]
fmul dword [esp + 0x1c]
fsubp st(1)
fld dword [esp + 0x2c]
fmul dword [esp + 0x14]
fld dword [esp + 0x1c]
fmul dword [esp + 0x24]
fsubp st(1)
fchs
fld dword [esp + 0x28]
fmul dword [esp + 0x14]
fld dword [esp + 0x18]
fmul dword [esp + 0x24]
fsubp st(1)
fstp dword [esp + 0xd0]
fxch st(1)
fchs
fstp dword [esp + 0x88]
mov edx, dword [esp + 0x88]
mov dword [esp + 0xa0], edx
fchs
fstp dword [esp + 0x8c]
mov eax, dword [esp + 0x8c]
fld dword [esp + 0xd0]
mov dword [esp + 0xa4], eax
fchs
xor eax, eax
fstp dword [esp + 0x90]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0xa8], ecx
lea ecx, [esp + 0x114]
fld dword [esp + eax*4 + 0xa0]
inc eax
fstp dword [ecx]
add ecx, 0x10
cmp eax, 3
jl 0x4e30c2
xor eax, eax
lea ecx, [esp + 0x118]
lea ecx, [ecx]
fld dword [esp + eax*4 + 0x3c]
inc eax
fstp dword [ecx]
add ecx, 0x10
cmp eax, 3
jl 0x4e30e0
xor eax, eax
lea ecx, [esp + 0x11c]
fld dword [esp + eax*4 + 0x14]
inc eax
fstp dword [ecx]
add ecx, 0x10
cmp eax, 3
jl 0x4e30f8
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4e31b0
fld qword [0x5b7490]
mov ecx, 0x10
fmul dword [0x52c0b0]
mov esi, 0x541610
lea edi, [esp + 0xd4]
rep movsd dword es:[edi], dword [esi]
fld st(0)
fcos
lea edx, [esp + 0xd4]
push edx
lea eax, [esp + 0x118]
push eax
lea ecx, [esp + 0x1b4]
push ecx
fxch st(1)
fsin
fld dword [esp + 0xe0]
fmul st(1)
fchs
fstp dword [esp + 0xe4]
fld dword [esp + 0xe0]
fmul st(2)
fstp dword [esp + 0xe0]
fld dword [esp + 0xf4]
fmul st(1)
fstp dword [esp + 0xf0]
fstp st(0)
fld dword [esp + 0xf4]
fmul st(1)
fstp dword [esp + 0xf4]
fstp st(0)
call fcn.0041a620
mov ecx, 0x10
mov esi, eax
lea edi, [esp + 0x120]
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x118]
push eax
call fcn.0041a590
fld dword [0x521458]
fsub dword [esp + 0xa4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
fmul dword [0x52d108]
add esp, 8
push 0
fadd dword [0x521590]
fmul dword [eax + 0xb0]
fld dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x7c], ecx
fmul st(1)
lea ecx, [esp + 0x4c]
push ecx
mov ecx, 0x5b8e10
fstp dword [esp + 0x50]
mov dword [esp + 0x84], edx
fld dword [esp + 0x54]
mov dword [esp + 0x88], eax
fmul st(1)
mov dword [esp + 0x8c], 0x3f800000
mov dword [esp + 0x7c], 0
mov dword [esp + 0x6c], 0
fstp dword [esp + 0x54]
mov dword [esp + 0x5c], 0
fld dword [esp + 0x58]
fmul st(1)
fstp dword [esp + 0x58]
fld dword [esp + 0x60]
fmul st(1)
fstp dword [esp + 0x60]
fld dword [esp + 0x64]
fmul st(1)
fstp dword [esp + 0x64]
fld dword [esp + 0x68]
fmul st(1)
fstp dword [esp + 0x68]
fld dword [esp + 0x70]
fmul st(1)
fstp dword [esp + 0x70]
fld dword [esp + 0x74]
fmul st(1)
fstp dword [esp + 0x74]
fld dword [esp + 0x78]
fmul st(1)
fstp dword [esp + 0x78]
fstp st(0)
call fcn.004b3140
mov eax, dword [0x540950]
mov edx, dword [eax]
lea ecx, [esp + 0x48]
push ecx
push 0x100
push eax
call dword [edx + 0x94]
mov eax, dword [0x540950]
lea edx, [esp + 0x48]
mov dword [0x541114], edx
lea edx, [esp + 0x16c]
push edx
mov ecx, 0x10
mov esi, 0x541610
lea edi, [esp + 0x170]
rep movsd dword es:[edi], dword [esi]
push 0x10
mov dword [0x541124], 0
mov dword [esp + 0x194], 0x3f000000
mov dword [esp + 0x174], 0x3f000000
mov ecx, dword [eax]
push eax
call dword [ecx + 0x94]
push 0
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x98]
push 0
push 0
push eax
push ecx
mov ecx, dword [0x5b746c]
push 0xb
call fcn.004a2570
dec dword [esp + 0x20]
jns 0x4e2ee0
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x30], edx
fld dword [esp + 0x30]
fsub dword [0x68f0d4]
mov dword [esp + 0x34], eax
fld dword [esp + 0x34]
mov dword [esp + 0x38], ecx
fsub dword [0x68f0d8]
fld dword [esp + 0x38]
fsub dword [0x68f0dc]
fstp dword [esp + 0x44]
fld st(1)
fmul st(2)
fld dword [esp + 0x44]
fmul dword [esp + 0x44]
faddp st(1)
fld st(1)
fmul st(2)
faddp st(1)
fsqrt
fdivr dword [0x521590]
fstp dword [esp + 0x10]
fxch st(1)
fmul dword [esp + 0x10]
fstp dword [esp + 0x14]
fmul dword [esp + 0x10]
fstp dword [esp + 0x18]
fld dword [esp + 0x44]
fmul dword [esp + 0x10]
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
fadd dword [esp + 0x14]
fmul dword [0x521418]
fadd dword [esp + 0x1c]
fld dword [esp + 0x14]
fmul st(1)
fld dword [esp + 0x18]
fmul st(2)
fstp dword [esp + 0x40]
fld dword [esp + 0x1c]
fmul st(2)
fstp dword [esp + 0x44]
fchs
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
mov dword [esp + 0xa0], edx
fstp st(0)
fld dword [esp + 0x40]
fchs
fstp dword [esp + 0x28]
fld dword [0x521590]
mov eax, dword [esp + 0x28]
fsub dword [esp + 0x44]
mov dword [esp + 0xa4], eax
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
fmul dword [esp + 0x18]
mov dword [esp + 0xa8], ecx
fld dword [esp + 0x28]
fmul dword [esp + 0x1c]
fsubp st(1)
fld dword [esp + 0x2c]
fmul dword [esp + 0x14]
fld dword [esp + 0x1c]
fmul dword [esp + 0x24]
fsubp st(1)
fchs
fld dword [esp + 0x28]
fmul dword [esp + 0x14]
fld dword [esp + 0x18]
fmul dword [esp + 0x24]
fsubp st(1)
fstp dword [esp + 0xd0]
fxch st(1)
fchs
fstp dword [esp + 0x88]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x3c], edx
fchs
fstp dword [esp + 0x8c]
mov eax, dword [esp + 0x8c]
fld dword [esp + 0xd0]
mov dword [esp + 0x40], eax
fchs
xor eax, eax
fstp dword [esp + 0x90]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x114]
lea ecx, [ecx]
fld dword [esp + eax*4 + 0x3c]
inc eax
fstp dword [ecx]
add ecx, 0x10
cmp eax, 3
jl 0x4e34a0
xor eax, eax
lea ecx, [esp + 0x118]
jmp 0x4e34c0
fld dword [esp + eax*4 + 0xa0]
inc eax
fstp dword [ecx]
add ecx, 0x10
cmp eax, 3
jl 0x4e34c0
xor eax, eax
lea ecx, [esp + 0x11c]
jmp 0x4e34e0
fld dword [esp + eax*4 + 0x14]
inc eax
fstp dword [ecx]
add ecx, 0x10
cmp eax, 3
jl 0x4e34e0
fld qword [0x5b7490]
mov ecx, 0x10
fmul dword [0x523398]
mov esi, 0x541610
lea edi, [esp + 0xd4]
rep movsd dword es:[edi], dword [esi]
fld st(0)
fcos
lea edx, [esp + 0xd4]
push edx
lea eax, [esp + 0x118]
push eax
lea ecx, [esp + 0x1b4]
push ecx
fxch st(1)
fsin
fld dword [esp + 0xe0]
fmul st(1)
fchs
fstp dword [esp + 0xe4]
fld dword [esp + 0xe0]
fmul st(2)
fstp dword [esp + 0xe0]
fld dword [esp + 0xf4]
fmul st(1)
fstp dword [esp + 0xf0]
fstp st(0)
fld dword [esp + 0xf4]
fmul st(1)
fstp dword [esp + 0xf4]
fstp st(0)
call fcn.0041a620
mov esi, eax
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x124]
mov ecx, 0x10
lea edi, [esp + 0x124]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0041a590
mov ecx, dword [ebp + 0xc]
fld qword [0x5b7490]
add esp, 0x14
fmul dword [0x52c0b0]
fsin
fmul dword [0x5223a0]
fadd dword [0x5215f0]
fmul dword [ecx + 0xb0]
fmul dword [0x5215b4]
fld dword [esp + 0x48]
fmul st(1)
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fmul st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x50]
fmul st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x58]
fmul st(1)
fstp dword [esp + 0x58]
fld dword [esp + 0x5c]
fmul st(1)
fstp dword [esp + 0x5c]
fld dword [esp + 0x60]
fmul st(1)
fstp dword [esp + 0x60]
fld dword [esp + 0x68]
fmul st(1)
fstp dword [esp + 0x68]
fld dword [esp + 0x6c]
fmul st(1)
fstp dword [esp + 0x6c]
fld dword [esp + 0x70]
fmul st(1)
mov eax, dword [0x540950]
fstp dword [esp + 0x70]
mov ecx, 0x10
mov esi, 0x541610
fstp st(0)
lea edi, [esp + 0x16c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x16c]
push ecx
push 0x10
mov dword [esp + 0x174], 0x3f000000
mov edx, dword [eax]
push eax
call dword [edx + 0x94]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x78], edx
push 0
lea edx, [esp + 0x4c]
mov dword [esp + 0x84], ecx
push edx
mov ecx, 0x5b8e10
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], 0x3f800000
mov dword [esp + 0x7c], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x5c], 0
call fcn.004b3140
mov eax, dword [0x540950]
mov ecx, dword [eax]
lea edx, [esp + 0x48]
push edx
push 0x100
push eax
call dword [ecx + 0x94]
mov ecx, dword [0x5b746c]
push 3
lea eax, [esp + 0x4c]
push 0x3f800000
mov dword [0x541124], 0
mov dword [0x541114], eax
call fcn.0049d030
mov ecx, dword [esp + 0x98]
mov esi, dword [esp + 0x94]
push 0
push 0
push 0
push ecx
mov ecx, dword [0x5b746c]
push esi
push 0x26
call fcn.004a2570
mov eax, dword [0x540950]
mov edx, dword [eax]
push 0
push 0x18
push 0
push eax
call dword [edx + 0xfc]
mov eax, dword [esp + 0xac]
mov dword [esi + 0x40], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1dc
ret