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

Disassembly:
sub esp, 0xc4
push ebx
push ebp
mov ebp, dword [esp + 0xd8]
fld dword [ebp]
push esi
mov esi, dword [esp + 0xd8]
fsub dword [esi]
push edi
lea eax, [esp + 0x44]
mov dword [esp + 0x30], ecx
fstp dword [esp + 0x44]
push eax
fld dword [ebp + 4]
lea ecx, [esp + 0x84]
fsub dword [esi + 4]
push ecx
mov dword [esp + 0x54], 0
fstp dword [esp + 0x50]
fld dword [ebp + 8]
fsub dword [esi + 8]
fld dword [esp + 0x50]
fmul dword [esp + 0x50]
fld dword [esp + 0x4c]
fmul dword [esp + 0x4c]
faddp st(1)
fld st(1)
fmul st(2)
faddp st(1)
fstp dword [esp + 0x58]
fstp st(0)
call fcn.004ab180
fld dword [esp + 0xec]
mov edi, dword [esp + 0xf0]
fmul dword [esp + 0xec]
mov edx, esi
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
fstp dword [esp + 0x80]
fld dword [esp + 0xec]
add esp, 8
fmul dword [0x73d700]
xor ebx, ebx
mov dword [esp + 0x40], 0
mov dword [esp + 0x34], eax
fstp dword [esp + 0x28]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x24], ebx
fild dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x94], ecx
fmul dword [0x741c3c]
fst dword [esp + 0x20]
fcos
fld dword [esp + 0x20]
fsin
fld dword [esp + 0x84]
fmul st(1)
fld dword [esp + 0x80]
fmul st(3)
faddp st(1)
fstp dword [esp + 0xa4]
fld dword [esp + 0x84]
fmulp st(2)
fld dword [esp + 0x80]
fmul st(1)
fsubp st(2)
fstp st(0)
fld dword [esp + 0xa4]
fmul dword [esp + 0xe4]
fst dword [esp + 0x2c]
fxch st(1)
fmul dword [esp + 0xe4]
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
fadd dword [esi]
mov dword [esp + 0x90], eax
fstp dword [esp + 0x10]
fld dword [esp + 0x90]
fadd dword [esi + 4]
fstp dword [esp + 0x14]
fld dword [esp + 0x94]
fadd dword [esi + 8]
fstp dword [esp + 0x18]
fld dword [ebp]
fsub dword [esp + 0x10]
fld dword [ebp + 4]
fsub dword [esp + 0x14]
fld dword [ebp + 8]
fsub dword [esp + 0x18]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fcomp dword [esp + 0x78]
fstp st(0)
fnstsw ax
fstp st(0)
test ah, 5
fstp st(0)
jp 0x4be15f
fld dword [esp + 0x2c]
mov edx, ecx
fld dword [esp + 0x20]
mov dword [esp + 0xc4], edx
fxch st(1)
fadd dword [esp + 0x10]
fstp dword [esp + 0x6c]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
fadd dword [esp + 0x14]
fstp dword [esp + 0x70]
fld dword [esp + 0xc4]
mov ecx, dword [esp + 0x70]
fadd dword [esp + 0x18]
mov dword [esp + 0x14], ecx
fstp dword [esp + 0x74]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x18], edx
test edi, edi
je 0x4be362
mov ecx, dword [esp + 0x30]
push 0
mov dword [ecx + 0x1ac], edi
mov eax, dword [edi + 4]
mov edx, dword [edi + 0x14]
push 1
mov dword [esp + 0x68], eax
mov eax, edx
push eax
mov dword [esp + 0x74], edx
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x20]
push eax
push esi
call fcn.004bcb70
cmp eax, 1
je 0x4be2b6
xor ebx, ebx
mov dword [esp + 0x1c], 0x3f800000
lea esp, [esp]
test ebx, ebx
jne 0x4be270
fld dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
fld dword [esp + 0x20]
mov dword [esp + 0xb8], ecx
fxch st(1)
push ebx
fmul dword [esp + 0x20]
push 1
fstp dword [esp + 0xd0]
fmul dword [esp + 0x24]
fld dword [esp + 0xc0]
fmul dword [esp + 0x24]
fld dword [esp + 0xd0]
fadd dword [esi]
fstp dword [esp + 0x5c]
mov edx, dword [esp + 0x5c]
fxch st(1)
mov dword [esp + 0x18], edx
fadd dword [esi + 4]
mov edx, dword [edi + 4]
mov dword [esp + 0x84], edx
lea edx, [esp + 0x84]
fstp dword [esp + 0x60]
mov eax, dword [esp + 0x60]
fadd dword [esi + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x6c], eax
fstp dword [esp + 0x64]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x20], ecx
mov ecx, eax
push ecx
mov ecx, dword [esp + 0x3c]
push edx
lea eax, [esp + 0x20]
push eax
push esi
call fcn.004bcb70
cmp eax, 1
jne 0x4be251
mov ebx, eax
fld dword [esp + 0x1c]
fmul dword [0x73e9ac]
fst dword [esp + 0x1c]
fcomp dword [0x73dff4]
fnstsw ax
test ah, 1
je 0x4be1b0
cmp ebx, 1
jne 0x4be35e
fld dword [ebp]
fsub dword [esp + 0x10]
fld dword [ebp + 4]
fsub dword [esp + 0x14]
fld dword [ebp + 8]
fsub dword [esp + 0x18]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fcomp dword [esp + 0x50]
fstp st(0)
fnstsw ax
fstp st(0)
test bl, ah
fstp st(0)
jne 0x4be35e
mov ebx, dword [esp + 0x24]
fld dword [esp + 0x10]
lea ecx, [esp + 0x98]
fsub dword [ebp]
push ecx
fstp dword [esp + 0x9c]
fld dword [esp + 0x18]
fsub dword [ebp + 4]
fstp dword [esp + 0xa0]
fld dword [esp + 0x1c]
fsub dword [ebp + 8]
fstp dword [esp + 0xa4]
call fcn.004ab100
add esp, 4
cmp ebx, 4
jne 0x4be2fd
fmul dword [0x7455d4]
jmp 0x4be331
cmp ebx, 3
je 0x4be32b
cmp ebx, 5
je 0x4be32b
cmp ebx, 2
je 0x4be323
cmp ebx, 6
je 0x4be323
cmp ebx, 1
je 0x4be31b
cmp ebx, 7
jne 0x4be331
fmul dword [0x73f404]
jmp 0x4be331
fmul dword [0x7455d0]
jmp 0x4be331
fmul dword [0x7455cc]
fcom dword [esp + 0x40]
fnstsw ax
test ah, 1
jne 0x4be35a
mov edx, dword [esp + 0x10]
fstp dword [esp + 0x40]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
jmp 0x4be362
fstp st(0)
jmp 0x4be362
mov ebx, dword [esp + 0x24]
inc ebx
cmp ebx, 8
mov dword [esp + 0x24], ebx
jl 0x4be041
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0x34]
mov edx, eax
mov dword [edx], ecx
mov ecx, dword [esp + 0x38]
pop edi
pop esi
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
pop ebp
mov dword [edx + 8], ecx
pop ebx
add esp, 0xc4
ret 0x14